567
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
21 Real Time Clock Control – FNC160 to FNC169
21.2 FNC161 – TZCP / RTC Data Zone Compare
21
FNC160
-F
NC1
69
R
eal
T
ime C
lock
C
ontrol
22
FNC17
0-F
NC
179
E
xternal D
evice
23
FNC
180
Alternate
Instructions
24
FN
C181-
FNC18
9
O
thers
25
FNC190
-F
NC1
99
Bl
oc
k D
ata
Op
er
atio
n
26
FNC20
0-F
NC209
C
har
ac
te
r S
trin
g
Con
tro
l
27
FNC2
10-
FNC21
9
Dat
a
Operati
on 3
28
FNC220
-F
NC2
49
Da
ta
C
omp
ari
son
29
FNC25
0-F
N
C
269
D
ata T
abl
e
Operation
30
FNC2
70-
FNC275
Ex
-Dev
ice
Inverter C
om
m
s
Cautions
1) Number of occupied devices
Three devices are occupied respectively by
,
,
, and
.
Make sure that these devices are not used in other controls for the machine.
2) When utilizing the time (hour, minute, and second) of the built-in PLC real time clock
Read the values of special data registers by TRD (FNC166) instruction, and then specify those word devices as
the operands.
Program example
S
1
S
2
S
3
D
Turns ON in the case of " ".
Turns ON in the case of " ".
Turns ON in the case of " ".
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
1
: Specify the lower limit of the comparison time zone in "hour", "minute" and "second.
S
1
+1 and
+2
S
1
,
S
2
S
2
+1 and S
2
+2
,
: Specify the upper limit of the comparison time zone in "hour", "minute" and "second.
S
S
+1 and
+2
S
,
: Specify the time data in "hour", "minute" and "second.
+1 and
+2
D
D
D
,
: Turn ON or OFF according to the comparison result.
X000
FNC161
TZCP
D 20
D 30
D 0
M 3
S
1
S
2
S
D
M3
>
M4
M5
↑
Even if X000 is OFF and TZCP instruction is not executed, M0
to M2 hold the status before X000 turned OFF.
D1 (minute)
D0 (hour)
D2 (second)
D21 (minute)
D20 (hour)
D22 (second)
D 31 (minute)
D 30 (hour)
D 32 (second)
≤
≤
>
D21 (minute)
D20 (hour)
D22 (second)
D1 (minute)
D0 (hour)
D2 (second)
D1 (minute)
D0 (hour)
D2 (second)
D 31 (minute)
D 30 (hour)
D 32 (second)
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......