Troubleshooting guide

High Speed Ethernet Server Driver
GP-Pro EX Device/PLC Connection Manual
25
•File List
Loads a list of files stored in the robotic controller.
The loaded file list is stored in the designated address.
File List command
Inputs commands directly from D script.
Control address
Example of D script execution
Load 3 places from the 7th position, and store in USR10000 . with a file name of maximum 12 characters
[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 List count
The number of obtained lists
Number of files of the file type unit that was read out.
(Not the number of outputs.)
+0002 File type
0: *.*
1: *.JBI JBI file list
2: *.DAT DAT file list
4: *.PRM PRM file list
5: *.SYS SYS file list
6: *.LST LST file list
+0003 Starting address USER area address for the output destination
+0004 Starting line
File list output starting line 0 - 4999
If a line is designated where no data exists, the output result will be filled with
0x00.
+0005 Character count
Maximum number of characters on each line
Filled with 0x00 during overflow. Excess is truncated.
+0006 Output count
Number of output file names 1 - 5000
If a number of lines are designated where no data exists, the output result will
be filled with 0x00.
[w:[#INTERNAL]USR01002]=1 // File type : JOB program
[w:[#INTERNAL]USR01003]=10000 // Starting address : JOB program
[w:[#INTERNAL]USR01004]=6 // Starting line
[w:[#INTERNAL]USR01005]=12 // Character count
[w:[#INTERNAL]USR01006]=3 // Output count
[w:[#INTERNAL]USR01000]=1 // Status : Run instruction
[t:0000]=[w:[PLC1](04C2,00000,00,1000)]#[t:0001]
Control address
Attribute: Designate 0 (reserved)
Instance: Designate 0 (reserved)
Class: 0x4C2
[w:[PLC1](04C2,00000,00,0000)]