Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 239

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

+(P)(_U) [when three operands are set]
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions add the two sets of 16-bit binary data specified.
Ladder
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
( is to be replaced by any of the following: PLUS, PLUSP, PLUS_U, PLUSP_U.)
■Execution condition
Instruction
+
+_U
+P
+P_U
Setting data
■Description, range, data type
Operand
Description
(s1)
+(P)
First addend data or the device where the first
addend data is stored
+(P)_U
(s2)
+(P)
Second addend data or the device where the
second addend data is stored
+(P)_U
(d)
+(P)
Device for storing the operation result
+(P)_U
EN
Execution condition
ENO
Execution result
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Operand
Bit
SA\X, SA\Y, SA\M, SA\SM, SA\B
(s1)
(s2)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=PLUS(EN,s1,s2,d);
ENO:=PLUSP(EN,s1,s2,d);
ENO:=PLUS_U(EN,s1,s2,d);
ENO:=PLUSP_U(EN,s1,s2,d);
Range
Data type
-32768 to 32767
16-bit signed binary
0 to 65535
16-bit unsigned binary
-32768 to 32767
16-bit signed binary
0 to 65535
16-bit unsigned binary
16-bit signed binary
16-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
6.2 Arithmetic Operation Instructions
Data type (label)
ANY16_S
ANY16_U
ANY16_S
ANY16_U
ANY16_S
ANY16_U
BOOL
BOOL
Constant
Others
specification
K, H E
$
Constant
K, H
6 BASIC INSTRUCTIONS
6
237

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents