Mitsubishi MELSEC Q Series Programming Manual page 221

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(2) The comparison operation is executed in 32-bit units.
(3) The constant in the device specified by
(BIN 32-bit data).
+1,
S1
(4)
specifies out of the device range of n-point devices starting from the device specified by
D
and
S1
(5) The following table shows the results of the comparison operations for each individual
instruction.
Instruction
Symbols
DBKCMP=
DBKCMP<>
DBKCMP>
DBKCMP<=
DBKCMP<
DBKCMP>=
(6) If all comparison results stored into the devices starting from the device specified by
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.
When all results of comparison operations are on(1)
No.
Number
Initial execu-
tion/Scan
1
SM704
ON
2
SM716
ON
3
SM717
––
4
SM718
––
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.
S2
b31
b0
S2
32800
(BIN)
S2
S1
S2
.
S2
Comparison
Condition
Operation Result
=
S2
S1
S2
S1
>
S2
S1
ON (1)
S2
S1
<
S2
S1
S2
S1
Interrupt (other
than l45)/Fixed
Interrupt(l45)
scan execution
ON
––
ON
––
can be between
S1
b31
+1,
32700
(BIN)
S2
+3,
+2
40000
(BIN)
S2
+5,
+4
32800
(BIN)
S2
+n 1,
+n 2
2147400
(BIN)
S2
Instruction
Symbols
DBKCMP=
DBKCMP<>
DBKCMP>
DBKCMP<=
DBKCMP<
DBKCMP>=
When results of comparison operations have a result of
Initial execution/
Scan
ON
OFF
––
OFF
––
––
ON
––
DBKCMP
,DBKCMP
2147483648 and 2147483647
Operation result
b0
D
ON
+1
D
OFF
n
+2
D
ON
+n 1
D
OFF
Comparison
Condition
Operation Result
S2
S1
=
S2
S1
S2
S1
OFF (0)
>
S2
S1
S2
S1
<
S2
S1
D
off(0)
Interrupt (other
than l45)/Fixed
Interrupt(l45)
scan execution
OFF
OFF
––
––
OFF
––
––
OFF
P
1
2
(1)
(0)
n
(1)
3
(0)
4
4
6
7
8
to
6-19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents