Troubleshooting guide

High Speed Ethernet Server Driver
GP-Pro EX Device/PLC Connection Manual
17
File Read Command
Inputs commands directly from D script.
Control address
Address Item Details
+0000 Status
0: Initial value, 1: Run instruction, 16: In-process,
256: Normal completion, 4096: Error
+0001 Line count
Number of lines in the obtained file
Protocol is updated after send is complete.
+0002 Save location
*1*2
*1 The usable external strage varies depending on the Display. Refer to the Display manual for details.
*2 Saving to external strage is available only select [Binary file] or [One time data backup] in the [File
type]. Unable to save in other file types. In addition, [One time data backup] will not be able to save on
memory.
0: Memory, 1: CF/SD, 3: USB
+0003 File type
1: Job program, 2: Tool info file, 3: IO comment file, 4: Text file, 5: Binary
file, 6: One time data backup
+0004 Starting address USER area address for the output destination
+0005 Starting line
*3
File list output starting line 0 - 4999
If a line is designated where no data exists, the output result will be filled with
0x00.
+0006 Character count
Maximum number of characters on each line
Filled with 0x00 during overflow. Excess is truncated.
+0007
Number of
output lines
Number of output file names 1 - 5000
If a line is designated where no data exists, the output result will be filled with
0x00.
+0008 -
+0025
File name
Load 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.
Also used as the file name when saving to CF
+0026 Folder name
Path name of save location (Max. 64 characters) Variable length
Set 0x00 at the end of the character string.
Designated when saving to CF or loading from CF into controller.
(There is no concept of the directory in the load target controller.)
Control address
Attribute: Designate 0 (reserved)
Instance: Designate 0 (reserved)
Class: 0x4C0
[w:[PLC1](04C0,00000,00,0000)]