7-435
SP.FREAD
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.13 Reading Data from Designated File (SP.FREAD)
(2) The following program reads file "ABCD.CSV" in the PC card inserted to slot 0 as
two-column table data in CSV format when X10 is turned ON.
• Assume that 8 points from (D0) are reserved for the control data devices.
• Assume that 100 bytes from D20 are reserved for the reading devices.
• Assume that the target CSV format file contains numerical values only.
[Ladder Mode]
[List Mode]
Sets the file name
Normal completion display
Sets the execution/completion type
Sets the number of request read data
Sets the designation of number of columns
Error completion display
Instruction
Device
Step