Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-60
BK+(P),BK-(P)
(4) The following will happen when an underflow or overflow is generated in an operation result:
The carry flag in this case does not go ON.
BK-
(1) Subtracts n points of BIN data from the device designated by and n-points of BIN data
from the device designated by and stores the result from the device designated by
onward.
(2) Block subtraction is performed in 16-bit units.
(3) The constant designated by can be between 32768 and 32767 (BIN 16-bit data).
(4) The following will happen when an underflow or overflow is generated in an operation result:
The carry flag in this case does not go ON.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
The n-bit range from the , or device exceeds the range of that device.
(Error code: 4101)
The device ranges of and overlap. (Except when the same device is assigned to
and ) (Error code: 4101)
The device ranges of and overlap. (Except when the same device is assigned to
and ) (Error code: 4101)
K32767
(7FFF
H
)
K 32767
(8001
H
)
+K
2
+K2
K 32767
K32767
(0002
H
)(8001
H
)
(FFFE
H
)(7FFF
H
)
S1
S2
D
(BIN)
(BIN)
(BIN)
b15 b0
1234
5678
9876
(BIN)4321
(BIN)4000
(BIN)
(BIN)
(BIN)
b15 b0
7531
3210
551
(BIN)679
(BIN)352
(BIN)
(BIN)
(BIN)
b15 b0
8765
8888
9325
(BIN)5000
(BIN)4352
+1
+2
+(n 2)
+(n 1)
n
S1
S2
D
S1
S1
S1
S1
+1
+2
+(n 2)
+(n 1)
S2
S2
S2
S2
n
+1
+2
+(n 2)
+(n 1)
n
D
D
D
D
S2
(BIN)
b15 b0
8880
(BIN)
(BIN)
(BIN)
b15 b0
8
445
(BIN)
(BIN)
(BIN)
(BIN)
(BIN)
b15 b0
8765
8888
9325
(BIN)5000
(BIN)
4352
+1
+2
+(n 2)
+(n 1)
n
S1
S2
D
S1
S1
S1
S1
+1
+2
+(n 2)
+(n 1)
n
D
D
D
D
115
4528
3880
K 32768
(8000
H
)
K32767
(7FFF
H
)
K
2
K2
K32766
32767
(0002
H
)
(8001
H
)(FFFE
H
)
(7FFE
H
)
S1
S2
D
S1
D
S1
D
S2
D
S2
D