Time Synchronization Function - Mitsubishi Electric MELSEC iQ-F Series User Manual

Programmable controller
Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

4.4

Time Synchronization Function

This function programmatically reflects the clock data of the TimeSynchronization service sent from the BACnet workstation or
BACnet controllers to the FX5 CPU module.
The clock data of the TimeSynchronization service sent from the BACnet workstation or BACnet controllers can be
programmatically reflected to the FX5 CPU module. The following figure shows the procedure of the time synchronization
function.
'TimeSynchronization'
(Un\G8502 to Un\G8508)
'TimeSynchronization_Received_Flag'
(Un\G8509)
Clock data of the FX5 CPU module
(SD210 to SD216, SD8013 to SD8019)
1.
When the Ethernet module receives the TimeSynchronization service while 'TimeSynchronization_Received_Flag'
(Un\G8509) is set to 0: Not received, the clock data is stored in 'TimeSynchronization' (Un\G8502 to Un\G8508).
2.
When the clock data is stored in 'TimeSynchronization' (Un\G8502 to Un\G8508), 1: Received is stored in
'TimeSynchronization_Received_Flag' (Un\G8509).
3.
Use the TWR(P) instruction to write the clock data of 'TimeSynchronization' (Un\G8502 to Un\G8508) to the clock data
(SD210 to SD216, SD8013 to SD8019) of the FX5 CPU module.
 MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
4.
When newly receiving the TimeSynchronization service, write 0: Not received to 'TimeSynchronization_Received_Flag'
(Un\G8509).
Precautions
When the Ethernet module receives the TimeSynchronization service while 'TimeSynchronization_Received_Flag'
(Un\G8509) is set to 1: Received, the clock data of the TimeSynchronization service will be discarded. (The clock data is not
stored in 'TimeSynchronization' (Un\G8502 to Un\G8508).)
Clock data
The following table lists the clock data that can be received by the TimeSynchronization service.
Item
Year
Month
Day
Time
Minute
Second
Day of week
For the clock data that can be received by the TimeSynchronization service, refer to the following:
Page 83 Time synchronization (Un\G8502 to Un\G8508)
TimeSynchronization
service received (2019/10/1)
2018/8/15
0: Not received
2017/7/30
Settings for receiving wild card
Discarded
1900 to 2153 (4-digit year)
1 to 12
1 to 31
0 to 23
0 to 59
0 to 59
0 (Sunday) to 6 (Saturday)
System processing
* The time data is a temporary value.
2019/10/1
1: Received
2019/10/1
TWR(P) instruction execution
Output to the buffer memory
1900 to 2153 (4-digit year), FFFFH
1 to 12, FFFFH
1 to 31, FFFFH
0 to 23, FFFFH
0 to 59, FFFFH
0 to 59, FFFFH
0 (Sunday) to 6 (Saturday), FFFFH
4.4 Time Synchronization Function
4
4 FUNCTIONS
47

Advertisement

Table of Contents
loading

Table of Contents