649
SP.DEVST
1
2
3
4
4
6
7
8
7.18
Ot
her inst
ructions
7.18.1
4
SP.DEVS
T
(2) The following program reads file "ABCD.CSV" in the memory card inserted to drive 2 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]
n1
:Write offset of the device data storage file (specified in units of 16-bit words) (BIN 32-bit)
:Head device number written to the standard ROM (device name)
n2
:The number of write points (BIN 16-bit)
:
+0: FCompletion device (bit)
+1: FError completion device (bit)
*1:
Devices assigned as local devices can not be used.
7.18.14 SP.DEVST
Writing data to standard ROM
7.18.14
SP.DEVST
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
n1
––
––
––
––
––
––
––
n2
––
––
––
*
1
––
*
1
––
––
––
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
I
nstruct
i
on
De
vi
ce
Step
Universal
LCPU
Bas
i
c
Hi
gh
performance
Process
Redundant
SP.DEVST
SP
.
D
E
VS
T
n2
S
n1
D
Command
S
D
D
D
S
D