Download Print this page

Writing Extended File Register - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Writing extended file register

ERWRITE
Writes the current value of the file register (R) in the CPU built-in memory to the extended file register (ER).
Ladder diagram
(s)
(n)
(d)
FBD/LD
EN
ENO
s
d
n
Setting data
■Descriptions, ranges, and data types
Operand
Description
(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.)
(n)
Number of write (transfer) points
(d)
Head device number which turns on when the instruction
is completed
When the reading is completed abnormally, (d)+1 turns
on.
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
(n)
(d)
*1 Only R can be used.
*2 T, ST, C cannot be used.
Word
T, ST, C, D, W,
U\G
SD, SW, R
*1
*2
Structured text
ENO:=ERWRITE(EN,s,n,d);
Range
Data type
Word
0 to 32767
16-bit unsigned binary
Bit
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
8.7 Extended File Register Operation Instruction
Data type (label)
ANY16_ARRAY
ANY16_U
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
Constant
Others
K,H
E
$
8 APPLICATION INSTRUCTION
8
425

Hide quick links:

Advertisement

loading