10.5.1.16. SAVEF
10.5.1.16. SAVEF
Explanation | This is the command to copy the controller file located in main board to T/P flash memory, USB memory or external PC. This is the function to back up the task program edited on the main board in robot language command. | ||
Syntax | SAVEF <Result parameter>,<Target location>,<Target path file name>[,<Original file name>] | ||
Parameter | Result parameter | Result is saved after the execution. 1 : Success -1 : Failed to generate target file -2 : Failed to open original file -9 : Other error |
|
Target location | TP : /Resident Flash/prj/ of teach pendant USB : / (root) of USB memory EXT : External PC |
| |
Target path file name | Path + File name of target file to be copied |
| |
Original file name | If the original file name to copy from the main board is omitted, apply the same file name as the target file name. |
| |
Example | V9%=0 SAVEF V9%,TP,”L203/2500.JOB”,”0001.JOB” WAIT V9% (This copies the 0001.JOB file of the mainboard to the /prj/L203/2500.JOB file of the T/P, 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 target 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.
l (Available in Hi5a V40.08-00 or higher versions) The target 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 (Available in Hi5a V40.08-00 or higher versions) When the target path file name parameter ends with "/", it will be recognized as a path. in this case, the original file name may not be omitted.
(e.g. SAVEF V1%,TP,”/work/RF705/”, “G00.POS”)
l (Available in Hi5a V40.08-00 or higher versions) Wildcards may be used in the original file name. When a wildcard is used in the designated file name, the target path file name parameter should be designated as a path.
(e.g. SAVEF V1%,TP,”/work/RF705/”, “2*.JOB”)