U0
[S1]..."¥FP7¥DT.CSV"
[S2]...DT50
U2
H 0000
H 0000
DT50
DT51
DT52
U0
U0
U0
DT10000
U0
U0
U0
U0
[n]...10000 [D]...DT10000
...Reading format
...Reading mode
...Reserved for system
File pointer
Data content of file "DT.CSV" (signed 16-bit DEC format)
_10000,_10001,_10002,_10003,.....,_199990Dh0Ah
K10000
K19997
K10001
K10002
K19998
K19999
U0
File pointer
Data content of file "DT.CSV" (signed 16-bit DEC format)
_10000,_10001,_10002,_10003,.....,_199990Dh0Ah
H 00000000
DT53
DT54
...Reading position
...No. of read data
DT55
DT56
DT10001
DT10002
DT19999
DT19998
DT19997
・
・
・
DT10000
DT10001
DT10002
DT19999
DT19998
DT19997
・
・
・
DT20000
DT20000
■
Precautions for programming
● Also refer to section "19.9 Common Precautions for SD Memory Card Access Instructions".
● The SD memory card access instruction active flag (SR3A) turns ON after the execution
condition has turned ON until the completion of the execution of the instruction. During this
time other SD memory card access instructions cannot be executed.
● When there are two consecutive double quotation marks ("") in character strings, each one
(") is read as one character. Double quotes alone are ignored.
● If a space, comma or line break is inserted at the position of file pointer after reading a CSV
file, the file pointer output to the result data is at the data position next to the comma or line
break. A space, comma or line break at the end of data is skipped.
● When reading a CSV file, null fields (such as parts with successive commas) are skipped,
and the data is not stored in devices. The next data to be read is stored in the next device
(that is not a skipped null field). In this case, the skipped data is counted as part of the data
count.
● During the execution of the CRD instruction, data values read from an SD memory card are
written from the beginning of a specified device area in order. Until the completion of the
CRD instruction, do not read the data of the device specified by the CRD instruction.
18.4 CRD (File Data Read Instruction)
18-28 WUME-FP7CPUPGR-12