6-36
B+(P), B-(P)
When three data are set ( + , - )
Function
B+
(1) Adds the BCD 4-digit data designated by and the BCD 4-digit data designated by , and
stores the result of the addition at the device designated by .
(2) 0 to 9999 (BCD 4 digits) can be assigned to , and .
(3) If the result of the addition operation exceeds 9999, the higher bits are ignored.
The carry flag in this case does not go ON.
B-
(1) Subtracts the BCD 4-digit data designated by and the BCD 4-digit data designated by ,
and stores the result of the subtraction at the device designated by .
(2) 0 to 9999 (BCD 4 digits) can be assigned to , and .
: Data to be added to/subtracted from or head number of the devices where the data to be added
to/subtracted from is stored (BCD 4 digits)
: Data for adding/subtracting or head number of the devices where the data for adding/subtracting is stored
(BCD 4 digits)
: Head number of the devices where the addition/subtraction operation result will be stored (BCD 4 digits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
––
–– ––
S1
S2
D
S1
S2
D
Command
Command
P
B+, B-
B+P,B-P
S1
S2
D
S1
S2
D
B+/B-
indicates an instruction symbol of .
S1
S2
D
S1
S2
D
S1
S2
D
961221346578
S1
S2
D
S1
S2
D
4632
00155383
S1
S2
D
Digits exceeding the designated
number of digits are assumed to be 0.
4
0
44
2
03
4
6078
S1
D
S2
S1
S2
D