Mitsubishi MELSEC-Q/L Programming Manual page 651

Table of Contents

Advertisement

(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]
Step
Instruction
7.18.14 SP.DEVST
Writing data to standard ROM
7.18.14
SP.DEVST
SP.DEVST
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)
S
n2
:The number of write points (BIN 16-bit)
:
+0: FCompletion device (bit)
D
D
+1: FError completion device (bit)
D
Internal Devices
Setting
Data
Bit
Word
n1
––
––
S
n2
––
1
––
*
D
*1:
Devices assigned as local devices can not be used.
Sets the execution/completion type
Sets the number of request read data
Sets the designation of number of columns
Sets the file name
Normal completion display
Error completion display
Device
Command
J
\
R, ZR
Bit
Word
1
*
High
Basic
Process
Redundant
performance
SP.DEVST
n1
S
n2
Zn
U
\G
––
––
––
––
SP.DEVST
Universal
LCPU
D
Constants
Other
K, H
––
––
––
––
––
––
649
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents