Setting
device
Description
S Specifies the number of characters in the filename of the read file. (Specify the full path.)
S+1
Specify the file to be read.
● The full path configuration is up to a maximum of 256 characters including the folder name
+ filename
■
[D2] to [D2+3]: Specification of read position and upper limit
Setting
device
Settings
Details
D2
Read position
(File pointer)
Specifies the byte position from the start of the file. Each line feed
character (CR(0DH) or LF(0AH) is counted as one character.
After the instruction is executed, [D2, D2+1] is updated with a read
pointer value that has had the number of bytes that were read added to
it. If the reading operation is performed again in this state, the next data
will be read.
The reading position can be specified by eight bits (by one byte).
D2+1
D2+2
Maximum number
of bytes to be read
(Setting range: 1 to
4,096)
Sets the maximum number of bytes in the read data.
The setting range becomes 1 to 4,096.
When 0 is set, operation is performed as 4096.
When a line feed character (CR(0DH), LF(0HA) or CR+LF) exists before
reaching the specified maximum number of bytes, the reading operation
ends at that point.
D2+3
Reserved for
system
Set to 0.
18.9 CRD1 (One Line Read from File)
WUME-FP7CPUPGR-12 18-43