Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
21 Applied Instructions (Real Time Clock Control)
21.8 TWR / Set RTC data
560
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
The setting clock data stored in the device specified by is written into the clock data (D8013 to D8019) of
the real-time clock built in the PLC.
1) D8018 (year data) can be also changed over to four-digit mode. (See Program example.)
2) When TWR or TWRP is executed, the clock data of the real-time clock is changed immediately.
Therefore, in the device to be specified by , you are advised to transfer the clock data of several
minutes ahead, and execute the instruction when reaching the exact time.
3) When setting the clock data (time setting) by this instruction, you are not required to control the special
auxiliary relay M8015 (time stopping and time setting).
4) The day of week of FX
1S, FX1N, FX1NC, FX3S, FX3G, FX3GC, FX3U and FX3UC PLCs is set automatically
depending on the content of the date regardless of the written numeric value.
5) If a numeric value of non-existing date is entered, the clock data is not changed. Enter correct clock data,
and write again.
Cautions
1. Number of devices occupied
The device specified by occupies the subsequent seven devices.
Be careful not to overlap with the devices used in machine control.
2. Some restrictions to applicable devices.
S1: The FX3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
S2: The FX
3U and FX3UC PLCs only are applicable.
Device Item Clock data Device Item
Time setting data
D 10 Year (solar calendar)
0 to 99 (Lower 2 digits
of year)
D8018 Year (solar calendar)
Special data register
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 0 to 59
D8013 second
D 16 Day of week
0 (Sunday) to 6
(Saturday)
D8019 Day of week
TWRP
EN ENO
X000
s
D10