422
8 APPLICATION INSTRUCTION
8.7 Extended File Register Operation Instruction
8.7
Extended File Register Operation Instruction
Reading extended file register
ERREAD
Reads the current value of the extended file register (ER) to the file register (R) in the CPU built-in memory.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1 Only R can be used.
*2 T, ST, C cannot be used.
Ladder diagram
Structured text
ENO:=ERREAD(EN,s,n,d);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s)
The device number of file register (R) in the data storage
destination (Extended file register (ER) in the data
transfer source and (s) is the same number.)
Word
ANY16_ARRAY
(n)
Number of read (transfer) points
0 to 32767
16-bit unsigned binary
ANY16_U
(d)
Head device number which turns on when the instruction
is completed
When the reading is completed abnormally, (d)+1 turns
on.
Bit
ANYBIT_ARRAY
(Number of elements: 2)
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K,H
E
$
(s)
(n)
(d)
(s)
(n)
(d)
EN
ENO
s
d
n
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......