Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-19
BKCMP
,BKCMP
P
1
2
3
4
4
6
7
8
6.1 Comparison Operation Instructions
6.1.7 BIN 32-bit block data comparisons (DBKCMP
,DBKCMP
P)
(2) The comparison operation is executed in 32-bit units.
(3) The constant in the device specified by can be between 2147483648 and 2147483647
(BIN 32-bit data).
(4) specifies out of the device range of n-point devices starting from the device specified by
and .
(5) The following table shows the results of the comparison operations for each individual
instruction.
(6) If all comparison results stored into the devices starting from the device specified by to
nth device are on(1), or one of the results is off(2), the special relays will be on or off in
accordance with the conditions as follows.
In a standby program, a special relay depending on the caller program turns on or off.
(7) If the value specified by n is 0, the instruction will be not processed.
Instruction
Symbols
Condition
Comparison
Operation Result
Instruction
Symbols
Condition
Comparison
Operation Result
DBKCMP=
=
ON (1)
DBKCMP=
OFF (0)
DBKCMP<>
DBKCMP<>
=
DBKCMP>
>
DBKCMP>
DBKCMP<=
DBKCMP<=
>
DBKCMP<
<
DBKCMP<
DBKCMP>=
DBKCMP>=
<
No. Number
When all results of comparison operations are on(1)
When results of comparison operations have a result of
off(0)
Initial execu-
tion/Scan
Interrupt (other
than l45)/Fixed
scan execution
Interrupt(l45)
Initial execution/
Scan
Interrupt (other
than l45)/Fixed
scan execution
Interrupt(l45)
1 SM704 ON ON ON OFF OFF OFF
2 SM716 ON –– –– OFF –– ––
3 SM717 –– ON –– –– OFF ––
4 SM718 –– –– ON –– –– OFF
S1
(BIN)32800
S1 S1
(0)
(1)
OFF
(0)
OFF
ON
(1)
ON
1
2
n
b31 b0
(BIN)
(BIN)
(BIN)
(BIN)
32700
40000
32800
2147400
2
4
D
S2
n 1n 2
S2
S2
S2
D
D
D
n
3,
5,
S2
n 1,
S2
1,
S2
S2
b31 b0
1,
Operation result
D
S1
S2
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