10.5.1.15. LOADF
10.5.1.15. LOADF
Explanation | This is the command to copy the controller file located in T/P flash memory, USB memory or external PC to the main board. This is the function to store large scale step data in large supplementary memory device to open and play during the task. | ||
Syntax | LOADF <Result parameter>,<Original location>,<Original path file name>[,<Target file name>] | ||
Parameter | Result parameter | Result is saved after the execution. 1 : Success -1 : Failed to open original file -2 : Failed to open target file -3 : Failed to record target file -4 : Unsupported file type -5 : Target file is protected -6 : Cannot copy during playback -9 : Other error |
|
Original location | TP : /prj/ of teach pendant USB : / (root) of USB memory EXT : External PC |
| |
Original path file name | Path + File name of original file to copy |
| |
Target file name | If the target file name to copy to main board is omitted, apply the same file name as the original file name |
| |
Example | V9%=0 LOADF V9%,TP,”L203/2500.JOB”,”0001.JOB” WAIT V9% (This copies the /prj/L203/2500.JOB file of the T/P to the 0001.JOB file of the mainboard, and waits until the completion.) |
l When using the original location as EXT, LOADF/SAVEF service must be running on the external PC.
l In the example, the file designated as the original path file name parameter will be expressed in the File Manager as the 2500.JOB file in the /prj/L203 folder under the T/P. (It corresponds to the /ResidentFlash/prj/L203/2500.JOB file in the T/P.)
l (Available in Hi5a V40.08-00 or higher versions) The original path file name may start with "/". The difference is as follows: When "/" is omitted, TP/prj/ will be the basis; and when the file name starts with "/", TP/ will be the basis.
Original path file name parameter | Location in the File Manager. |
“L203/2500.JOB” | TP/prj/L203/2500.JOB |
“/L203/2500.JOB” | TP/L203/2500.JOB |
l Wildcards may be used in the original path/file name. When a wildcard is used in the file name, the target file name should be omitted.
(e.g. LOADF V1%,TP,”L203/2*.JOB”)