Mitsubishi MELSEC Q Series Programming Manual page 731

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

Advertisement

(c) The following table shows processing details of bits to be compared.
n value for
n value for
comparison of
comparison of
specified date data
specified date data
with given date data
with current date data
0001
8001
H
0002
8002
H
0003
8003
H
0004
8004
H
0005
8005
H
0006
8006
H
0007
8007
H
Other than 0001
to 0007
,8001
H
H
(7) If the data stored in the devices to be compared are not recognized as date data, SM709 will
be turned on after the instruction execution and no-conductive status will be made. Even if
they are not recognized as date data but the range of the devices is within the setting range,
SM709 will not be turned on.
Moreover, if the range of devices specified by
specified devices, SM709 will be turned on after the instruction execution and no-conductive
status will be made.
Once SM709 is turned on, on-status will be retained till when the CPU modules are reset or
powered off. Therefore, turn off SM709 if necessary.
(8) The following table shows the comparison operation results for each instruction.
Instruction
Condition
symbols in
=
DT
=
S2
S1
<>
DT
S2
S1
>
>
DT
S2
S1
<=
DT
S2
S1
<
<
DT
S2
S1
>=
DT
S2
S1
Date to be
compared
Day
H
Month
H
Month, day
H
Year
H
Year, day
H
Year, month
H
Year, month, day
H
to 8007
No objects
H
H
S1
Instruction
Comparison
operation result
symbols in
Conductive status
(DT=,DT<>,DT>,DT<=,DT<,DT>=)
Processing details
Comparison of days (
Comparison of months (
Comparison of months (
+1) and days (
S1
Comparison of years (
Comparison of years (
) and days (
S1
Comparison of years (
) and months (
S1
Comparison of years (
S1
and days (
S1
No comparison of years (
S1
and days (
+2) (Non-conductive)
S1
to
+2 or
to
+2 exceeds the range of
S1
S2
S2
Condition
=
DT
S2
S1
<>
=
DT
S2
S1
>
DT
S2
S1
<=
>
DT
S1
S2
<
DT
S2
S1
>=
<
DT
S1
S2
1
2
+2)
S1
+1)
S1
3
+2)
S1
)
S1
4
+2)
S1
+1)
S1
), months (
+1),
S1
6
+2)
), months (
+1),
S1
6
7
8
Comparison
operation result
No-conductive
status
7-357

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents