8-20
8.4 Reading Data from Specified File
SP_FREAD
8.4
Reading Data from Specified File
SP_FREAD
*1 : Local devices and file registers per program cannot be used as setting data.
SP_FREAD
indicates the following instruction.
SP_FREAD
Input argument,
EN:
Executing condition
:Bit
s0:
Drive specification
:ANY16
s1:
File name
:String
Output argument,
ENO:
Execution result
:Bit
d0:
Control data
:Array of ANY16 (0..7)
d1:
Start number of the device that stores read data
:ANY16
d2:
Array to be turned ON at the process completion
:Array of bit (0..1)
Setting
data
Internal device
R, RZ
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
K, H
$
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
U
*1
U
*1
−
−
−
−
Universal
UD
Hig
h
Per
f
ormance
Structured ladder
ST
EN
EN
O
s0
d0
s1
d1
d2
S
P
_FREAD
(EN,
s0
,
s1
,
d0
,
d1
,
d2
);
EN
O
:=
S
P
_FREAD
s0
s1
d0
d1
d2
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......