Download Print this page

Arithmetic Operation Instructions - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

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

Advertisement

7.2

Arithmetic Operation Instructions

Adding 16-bit binary data
+(P)(_U) instruction and ADD(P)(_U) instruction can be used for addition of 16-bit binary data.
+(P)(_U) [using two operands]
These instructions add the 16-bit binary data in the device specified by (d) and the 16-bit binary data in the device specified by
(s), and store the result in the device specified by (d).
Ladder diagram
(s)
FBD/LD
Not supported.
Setting data
■Descriptions, ranges, and data types
Operand
(s)
+(P)
+(P)_U
(d)
+(P)
+(P)_U
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
(d)
7 BASIC INSTRUCTIONS
182
7.2 Arithmetic Operation Instructions
(d)
Description
Addend data or the device where the data that
is added to another is stored
Device where the data to which another is
added is stored
Word
T, ST, C, D, W,
SD, SW, R
Structured text
Not supported
Range
-32768 to +32767
0 to 65535
-32768 to +32767
0 to 65535
Double word Indirect
U\G
Z
LC
Data type
16-bit signed binary
16-bit unsigned binary
16-bit signed binary
16-bit unsigned binary
Constant
specification
LZ
K, H
Data type (label)
ANY16_S
ANY16_U
ANY16_S
ANY16_U
Others
E
$

Hide quick links:

Advertisement

loading