Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 57

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

Advertisement

■Adding/subtracting 16-bit binary block data
Instruction symbol
Description
BK+
Adds the 16-bit binary bit data in the device area ((n) points) from (s1) and the data or constants in
the device area ((n) points) from (s2) at once, and stores the result in the device area ((n) points)
BK+P
from (d).
BK+_U
BK+P_U
BK-
Subtracts the 16-bit binary bit data in the device area ((n) points) from (s1) and the data or
constants in the device area ((n) points) from (s2) at once, and stores the result in the device area
BK-P
((n) points) from (d).
BK-_U
BK-P_U
■Adding/subtracting 32-bit binary block data
Instruction symbol
Description
DBK+
Adds the 32-bit binary bit data in the device area ((n) points) from (s1) and the 32-bit data or
constants in the device area ((n) points) from (s2), and stores the result in the device area specified
DBK+P
by (d) and later.
DBK+_U
DBK+P_U
DBK-
Subtracts the 32-bit binary bit data in the device area ((n) points) from (s1) and the 32-bit data or
constants in the device area ((n) points) from (s2) and later, and stores the result in the device area
DBK-P
specified by (d) and later.
DBK-_U
DBK-P_U
■Incrementing/decrementing 16-bit binary data
Instruction symbol
Description
(d) + 1  (d)
INC
INCP
INC_U
INCP_U
(d) - 1  (d)
DEC
DECP
DEC_U
DECP_U
■Incrementing/decrementing 32-bit binary data
Instruction symbol
Description
[(d)+1, (d)] + 1  [(d)+1, (d)]
DINC
DINCP
DINC_U
DINCP_U
[(d)+1, (d)] -1  [(d)+1, (d)]
DDEC
DDECP
DDEC_U
DDECP_U
Reference
Page 236
Page 238
Reference
Page 240
Page 243
Reference
Page 245
Page 246
Reference
Page 247
Page 248
3 CPU MODULE INSTRUCTION
3.2 Basic Instruction
3
55

Hide quick links:

Advertisement

loading