Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-16
BKCMP
,BKCMP
P
(4) The results of the comparison operations for the individual instructions are as follows:
(5) If all comparison results stored n points from are ON (1), SM704 (block comparison
signal) goes 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 range of the device n points from a device designated by , or exceeds the
relevant device. (Error code: 4101)
The device range for n points starting from the device designated by overlaps with the
device range for n points starting from the device designated by .
(Error code: 4101)
The device range for n points starting from the device designated by overlaps with the
device range for n points starting from the device designated by .
(Error code: 4101)
Program Example
(1) The following program compares, when X20 is turned ON, the data stored at D100 to D103
with the data stored at R0 to R3 and stores the operation result into the area starting from
M10.
[Ladder Mode] [List Mode]
[Operation]
Instruction
Symbols
Condition
Comparison
Operation Result
Instruction
Symbols
Condition
Comparison
Operation Result
BKCMP=
=
ON (1)
BKCMP=
OFF (0)
BKCMP<>
BKCMP<>
=
BKCMP>
>
BKCMP>
BKCMP<=
BKCMP<=
>
BKCMP<
<
BKCMP<
BKCMP>=
BKCMP>=
<
S2
S1 S1
S2
S1
S2 S2
S1
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
D
S1
S2
D
S1
D
S2
D
Step
Instruction
Device
4D0
b15 b0
(BIN)
D101 (BIN)
(BIN)
1000
2000
4000
3000 (BIN)
D100
D102
D103
b15 b0
1000 (BIN)
R1
2000 (BIN)
4000 (BIN)
5000 (BIN)
R0
R2
R3
ON
M11
ON
ON
OFF
M10
M12
M13