Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 274

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

Advertisement

DB-(P) [when three operands are set]
RnPCPU
RnCPU RnENCPU
(Process)
These instructions perform subtraction between the two sets of BCD 8-digit data specified.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
( is to be replaced by either of the following: DBMINUS, DBMINUSP.)
■Execution condition
Instruction
DB-
DB-P
Setting data
■Description, range, data type
Operand
Description
(s1)
Minuend data or the start device where minuend data is
stored
(s2)
Subtrahend data or the start device where subtrahend data
is stored
(d)
Start device for storing the operation result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
6 BASIC INSTRUCTIONS
272
6.2 Arithmetic Operation Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DBMINUS(EN,s1,s2,d);
ENO:=DBMINUSP(EN,s1,s2,d);
Range
0 to 99999999
0 to 99999999
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
BCD 8-digit
ANY32
BCD 8-digit
ANY32
BCD 8-digit
ANY32
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents