EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 251

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
249
6
D-(P)(_U) [when three operands are set]
These instructions perform subtraction between the two sets of 32-bit binary data specified.
Execution condition
Setting data
Description, range, data type
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
In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Ladder ST
ENO:=DMINUS(EN,s1,s2,d);
ENO:=DMINUSP(EN,s1,s2,d);
ENO:=DMINUS_U(EN,s1,s2,d);
ENO:=DMINUSP_U(EN,s1,s2,d);
FBD/LD
( is to be replaced by any of the following: DMINUS, DMINUSP, DMINUS_U, DMINUSP_U.)
Instruction Execution condition
D-
D-_U
D-P
D-P_U
Operand Description Range Data type Data type (label)
(s1) D-(P) Minuend data or the start device where
minuend data is stored
-2147483648 to 2147483647 32-bit signed binary ANY32_S
D-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(s2) D-(P) Subtrahend data or the start device where
subtrahend data is stored
-2147483648 to 2147483647 32-bit signed binary ANY32_S
D-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(d) D-(P) Start device for storing the operation result 32-bit signed binary ANY32_S
D-(P)_U 32-bit unsigned binary ANY32_U
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,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1) 
(s2) 
(d) 
Operand Bit Word Constant
SA\X, SA\Y, SA\M, SA\SM, SA\B SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD K, H
(s1) 
(s2) 
(d) 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s1) (s2) (d)
EN ENO
ds1
s2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals