Troubleshooting guide

High Speed Ethernet Server Driver
GP-Pro EX Device/PLC Connection Manual
24
•File Write
Writes the designated file to the robotic controller.
Designates the file data to be written and the file being stored in the CF card.
File Write command
Inputs commands directly from D script.
Control address
Example of D script execution
Read Job (\123\ABC.JBI) from CF card and write controller.
[t:0000]=[w:[PLC1](04C1,0000,00,1000)]# [t:0001]
[t:0000] is a temporary address required to perform the file access. (Undefined value is set.)
Set up the [t:0001] to "0".
Address Item Details
+0000 Status
0: Initial value, 1: Run instruction, 16: In-process, 256: Normal completion,
4096: Error
+0001 -
+0018
File name
File name (Max. 32 characters + extension)
18 Word is reserved.
Overflow digits (Byte units) are filled with 0x00, or 0x00 unnecessary when
inputting maximum character count.
+0019 Folder name
Path name (Max. 64 characters) Variable length
Set 0x00 at the end of the character string.
// File name
[w:[#INTERNAL]USR01001]=0x4241 // AB
[w:[#INTERNAL]USR01002]=0x2E43 // C.
[w:[#INTERNAL]USR01003]=0x424A // JB
[w:[#INTERNAL]USR01004]=0x0049 // I
// Folder name
[w:[#INTERNAL]USR01019]=0x3231 // 12
[w:[#INTERNAL]USR01020]=0x0033 // 3
[w:[#INTERNAL]USR01000]=1 // Status : Run instruction
[t:0000]=[w:[PLC1](04C1,00000,00,1000)]#[t:0001]
Control address
Attribute: Designate 0 (reserved)
Instance: Designate 0 (reserved)
Class: 0x4C1
[w:[PLC1](04C1,00000,00,0000)]