Panasonic FP7 Series Command Reference Manual page 1122

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

18.4 CRD (File Data Read Instruction)
[S1]..."¥FP7¥DT.CSV"
DT50
DT51
DT52
DT53
H 00000000
DT54
DT55
DT56
Data content of file "DT.CSV" (signed 16-bit DEC format)
File pointer
DT10000
DT10001
DT10002
DT19997
DT19998
DT19999
DT20000
Precautions for programming
● Also refer to section
● 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-28
[S2]...DT50
U2
...Reading format
H 0000
...Reading mode
H 0000
...Reserved for system
...Reading position
U0
...No. of read data
_10000,_10001,_10002,_10003,.....,_199990Dh0Ah
U0
U0
U0
U0
U0
U0
U0
Data content of file "DT.CSV" (signed 16-bit DEC format)
_10000,_10001,_10002,_10003,.....,_199990Dh0Ah
File pointer
"19.9 Common Precautions for SD Memory Card Access
[n]...10000
[D]...DT10000
DT10000
DT10001
DT10002
DT19997
DT19998
DT19999
DT20000
K10000
K10001
K10002
K19997
K19998
K19999
U0
Instructions".
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents