Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 266

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

Advertisement

B-(P) [when three operands are set]
RnPCPU
RnCPU RnENCPU
(Process)
These instructions perform subtraction between the two sets of BCD 4-digit data specified.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
( is to be replaced by either of the following: BMINUS, BMINUSP.)
■Execution condition
Instruction
B-
B-P
Setting data
■Description, range, data type
Operand
Description
(s1)
Minuend data or the device where minuend data is stored
(s2)
Subtrahend data or the device where subtrahend data is
stored
(d)
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
264
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:=BMINUS(EN,s1,s2,d);
ENO:=BMINUSP(EN,s1,s2,d);
Range
0 to 9999
0 to 9999
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
BCD 4-digit
ANY16
BCD 4-digit
ANY16
BCD 4-digit
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents