Symbol Math Instructions
Variations
Applicable Program Areas
Operand Specifications
Description
Flags
368
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
Step program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
–BCL(417)subtracts the BCD values in Su, Su+1, and CY from Mi and Mi+1
and outputs the result to R, R+1. If the result is negative, it is output to R, R+1
as a 10's complement.
Mi +1
Su+1
–
CY will turn
CY
ON when there
is a borrow.
Name
Label
Error Flag
ER
Equals Flag
=
Carry Flag
CY
Subroutines
OK
Mi
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A0 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32767
*D0 to *D32767
#00000000 to #99999999 (BCD)
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
(BCD)
Mi
(BCD)
Su
CY
(BCD)
R+1
R
Operation
ON when Mi and/or Mi +1 are not BCD.
ON when Su and/or Su +1 are not BCD.
OFF in all other cases.
ON when the result is 0.
OFF in all other cases.
ON when the subtraction results in a borrow.
OFF in all other cases.
Section 3-10
–BCL(417)
@–BCL(417)
Not supported.
Interrupt tasks
OK
Su
R
A448 to A958
---
Need help?
Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?
Questions and answers