FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program example
X000
FNC161
TZCP
M3
M4
M5
↑
Even if X000 is OFF and TZCP instruction is not executed, M0
to M2 hold the status before X000 turned OFF.
S
S
+1 and
,
1
1
S
S
+1 and S
,
2
2
S
,
S
+1 and
D
,
D
+1 and
The setting range of "hour" is from 0 to 23.
The setting range of "minute" is from 0 to 59.
The setting range of "second" is from 0 to 59.
S
S
S
1
2
D 20
D 30
D 0
Turns ON in the case of "
Turns ON in the case of "
Turns ON in the case of "
S
+2
: Specify the lower limit of the comparison time zone in "hour", "minute" and "second.
1
+2
: Specify the upper limit of the comparison time zone in "hour", "minute" and "second.
2
S
+2
: Specify the time data in "hour", "minute" and "second.
D
+2
: Turn ON or OFF according to the comparison result.
21 Real Time Clock Control – FNC160 to FNC169
21.2 FNC161 – TZCP / RTC Data Zone Compare
D
M 3
D20 (hour)
D0 (hour)
>
D21 (minute)
D1 (minute)
D22 (second)
D2 (second)
D20 (hour)
D0 (hour)
≤
D21 (minute)
D1 (minute)
D22 (second)
D2 (second)
D0 (hour)
D1 (minute)
D2 (second)
".
D 30 (hour)
≤
".
D 31 (minute)
D 32 (second)
D 30 (hour)
>
".
D 31 (minute)
D 32 (second)
591
21
22
23
24
25
26
27
28
29
30