EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Subtracting BCD 4-Digit Data

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...
262
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
Subtracting BCD 4-digit data
B-(P) [when two operands are set]
These instructions perform subtraction between the two sets of BCD 4-digit data specified.
Execution condition
Setting data
Description, range, data type
Applicable devices
Processing details
These instructions subtract the BCD 4-digit data in the device specified by (s) from the 32-bit binary data in the device
specified by (d), and store the operation result in the device specified by (d).
If an underflow occurs, the result will be as follows. In this case, SM700 does not turn on.
Ladder ST
Not supported
( Page 264 B-(P) [when three operands are set])
FBD/LD
Not supported
( Page 264 B-(P) [when three operands are set])
Instruction Execution condition
B-
B-P
Operand Description Range Data type Data type (label)
(s) Subtrahend data or the device where subtrahend data is
stored
0 to 9999 BCD 4-digit ANY16
(d) Device where minuend data is stored 0 to 9999 BCD 4-digit ANY16
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 $
(s)  
(d) 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s) (d)
(d) (s) (d)
0 6 78 02 34 04 44
-
Filled with 0s.
0 0 01 00 03 99 98
-

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals