7-424
SP.FREAD
7.18.13 Reading Data from Designated File (SP.FREAD)
SP.FREAD
*1: Local devices and the devices designated for individual programs cannot be used.
*2: Indicates the range applicable only for the Universal model QCPU.
Setting
Data
Internal Devices
R, RZ
J\
U\G
Zn
Constants
Other
Bit Word Bit Word K, H $
–– –– ––
–– –– –– –– ––
–– –– –– –– ––
–– –– –– ––
*1 *1
–– –– –– ––
Setting
Data
Meaning Setting Range Set by Data Type
U0
Dummy
–– ––
BIN 16 bits
Drive designation
2User
Head number of the devices storing the control data
The following control data is required.
Device Item Contents/Setting Data Setting Range Set by
Execution/
completion
type
Designate the execution type.
0000
H
: Read binary data
0100
H
: Read data after CSV format conversion
0000H
0100H
User
+1
(Not used)
Used by system
––
System
+2
No. of
request
read data
Designate the number of data to request
reading.
(Unit: Word)
Even when byte is specified at +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
+3
(Not used)
–– –– ––
Process
High
performance
Redundant
Universal
Basic
SP.FREAD
Command
SP.FREAD
S0
D0 S1 D2
D1
U0
S0
D0
S1
D1
D2
S0
D0
D0
D0
D0
D0
D0