556
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
21 Real Time Clock Control – FNC160 to FNC169
21.8 FNC167 – TWR / Set RTC data
- D8018 (year data) can be converted into the 4-digit mode. (Refer to the program example shown later.)
- When TWR (FNC167) instruction is executed, the clock data of the real time clock is immediately
changed. Accordingly, transfer the clock data several minutes ahead to
to
+6 in advance,
and then execute FNC167 instruction when the accurate time has come.
- When setting the clock data (time) using this instruction, it is not necessary to control the special
auxiliary relay M8015 (time stop and time setting).
- If a numeric value indicating impossible date/time is set, the clock data is not changed.
Set the correct clock data, and then write it.
Caution
1. Number of occupied devices
Seven devices are occupied by
.
Make sure that these devices are not used in other controls for the machine.
Device
Item
Clock data
Device
Item
Ti
m
e
d
a
ta
to be
s
e
t
D 10
Year
0 to 99
(lower two digits)
→
D8018
Year
Spe
c
ia
l da
ta re
giste
r
D 11
Month
1 to 12
→
D8017
Month
D 12
Day
1 to 31
→
D8016
Day
D 13
Hour
0 to 23
→
D8015
Hour
D 14
Minute
0 to 59
→
D8014
Minute
D 15
Second
o to 59
→
D8013
Second
D 16
Day of week
0 (Sunday) to
6 (Saturday)
→
D8019
Day of week
S
S
S