Chapter 10 CPU Function
3) If you want to send the time of the PC to the motion controller, click ‘Synchronization with PC clock’
button.
4) If you want to set up the user defined time, after changing set values of the data and time box, click
‘Send to motion controller’.
(b) Reading with the special relay
You can monitor the data by the special relay as shown in the below example.
Memory Flag name Function Data Description
%FB52 _RTC_TIME RTC data[]
%FB52~%FB59
_RTC_TIME[0] RTC data(year) h16 Year 2016
_RTC_TIME[1] RTC data(month) h11 November
_RTC_TIME[2] RTC data(day) h08 8
th
day
_RTC_TIME[3] RTC data(hour) h19 At 7 pm
_RTC_TIME[4] RTC data(minute) h12 12 minutes
_RTC_TIME[5] RTC data(second) h54 54 seconds
_RTC_TIME[6] RTC data(weekday) h02 Tuesday
_RTC_TIME[7] RTC data(a hundred years) h20 2000s(decade)
%FW30 _RTC_DATE RTC current date 2016-11-08 November 8, 2016
%FW31 _RTC_WEEK RTC current weekday 2 Tuesday
%FD16 _RTC_TOD RTC current hour 19:17:14.345 19:17:14.345