7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
789
7
Reading data from designated file
SP.FREAD
*1 Local devices and the file registers set for individual programs cannot be used.
• Universal model QCPU: Models other than Q00UJCPU, Q00UCPU, and Q01UCPU
• Built-in Ethernet port LCPU: Supported
• L02SCPU and L02SCPU-P cannot be used.
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
Bit Word Bit Word K, H $
(S0)
(D0)
(S1)
(D1)
*1
(D2)
*1
(Other than T, ST, C)
*1
Setting
data
Meaning Setting range Set by Data type
U0 Dummy BIN 16 bits
(S0) Drive designation 2 User BIN 16 bits
(D0) Head number of the devices storing the control data. The following control data is required. BIN 16 bits
Device Item Contents/setting data Setting range Set by
(D0) Execution/
completion
type
Designate the execution type.
0000H: Read binary data
0100H: Read data after CSV format conversion
0000H
0100H
User
(D0)+1 (Not used) Used by system System
(D0)+2 No. of request
read data
Designate the number of data to request reading.
(Unit: Word)
Even when byte is specified at (D0)+7 by data type
specification, specify the value in units of words (16
bits), not in units of bit devices.
1 to 480
1 to 32767
*2
User
(D0)+3 (Not used)
Basic
Process
High
performance
Redundant
Universal
LCPU
Ver. Ver.
SP.FREAD
Command
SP.FREAD
S0
D0 S1 D2
D1
U0