Time
The controller has two times of day: system time and local time. Both times are interlinked via the set time zone.
System time
The system time of the device is the time base for all the time-dependent actions of the controller. The operating system receives the system time via a maintenance-free clock chip (CMOS-RTC time).
The system time should correspond to the international UTC world time. The device saves the system time internally. If the controller is in a deenergized state, the system time is maintained for approx. 14 days. After this time has elapsed, the time will need to be set. A battery is not required.
The system time can be specified manually or via an NTP server.
–
System time - Source
0x245B:001
0x245B:001–
System time - Time
0x245B:002
0x245B:002–
NTP - Server addresses
0x245A:002 ... 0x245A:005
0x245A:002 ... 0x245A:005Local time
The local time is based on the system time. Together with the selected time zone, it is used to specify the local time. The local time can be used, for instance, to provide current events in the logbook with time information.
Set the system time and the required time zone for the site of the controller during commissioning. The local time will then be calculated automatically.
Parameter
|
Address
|
Name / setting range / [default setting]
|
Information
|
|
|
0x245B:001
|
System time: Setting method
|
Selection of the time base for the system time of the device.
|
|
|
0
|
NTP server
|
The system time is obtained from an NTP server.
–
NTP server addresses must be set in 0x245A:002 ... 0x245A:005.
–
The device itself is an NTP client and cannot be used as an NTP server.
|
|
|
1
|
EtherCAT Distributed Clocks
|
If EtherCAT is DC-synchronized and is in the "Safe-Operational" or "Operational" state, the distributed clock is used as the system time.
|
|
|
2
|
Manual input
|
The system time can be specified manually via parameter 0x245B:002.
|
|
|
0x245B:002
|
System time: Current time
0 ... [0] ... 2^64-1 ns
|
Specification of the device system time. Store the system time as UTC time.
Format:
–
Date MM/DD/YYYY
–
Time hh:mm:ss.ms
|
|
|
0x245B:003
|
System time: NTP server
|
||
|
0
|
Deactivated
|
||
|
1
|
Activated
|
||
|
0x245C:001
|
Local Time: Time Zone
|
Setting of the time zone of the device. The system time and time zone are used to determine the local time of the device.
|
|
|
0
|
Unknown time zone
|
||
|
2
|
UTC+4 (GST) Dubai
|
||
|
3
|
UTC+4:30 (AFT) Kabul
|
||
|
19
|
UTC-3 (ART) Buenos Aires
|
||
|
37
|
UTC+11 (AEDT) Melbourne
|
||
|
40
|
UTC+10 (AEST) Brisbane
|
||
|
42
|
UTC+10:30 (ACDT) Adelaide
|
||
|
43
|
UTC+9:30 (ACST) Darwin
|
||
|
45
|
UTC+8:45 (ACWST) Eucla
|
||
|
51
|
UTC+6 (BST) Dhaka
|
||
|
52
|
UTC+1/+2 (CET/CEST) Brussels
|
||
|
84
|
UTC-3:30 (NST) St. John's
|
||
|
102
|
UTC-7 (MST) Calgary
|
||
|
124
|
UTC+8 (CST) Beijing
|
||
|
129
|
UTC-1 (CVT) Praia
|
||
|
145
|
UTC+2 (EET) Cairo
|
||
|
161
|
UTC+0 (GMT) London
|
||
|
177
|
UTC-2 (GST) King Edward Point
|
||
|
187
|
UTC+7 (WIB) Jakarta
|
||
|
194
|
UTC+5:30 (IST) New Delhi
|
||
|
203
|
UTC+9 (JST) Tokyo
|
||
|
209
|
UTC+14 (LINT) Kiritimati
|
||
|
243
|
UTC+6:30 (MMT) Rangoon
|
||
|
278
|
UTC+5:45 (NPT) Kathmandu
|
||
|
280
|
UTC-11 (NUT) Alofi
|
||
|
281
|
UTC+13 (NZDT) Auckland
|
||
|
282
|
UTC+13:45 (CHADT) Chatham Islands
|
||
|
287
|
UTC-9:30 (MART) Taiohae
|
||
|
309
|
UTC+3 (MSK) Moscow
|
||
|
334
|
UTC+12 (ANAT) Anadyr
|
||
|
379
|
UTC-5 (EST) New York
|
||
|
399
|
UTC-8 (PST) Los Angeles
|
||
|
407
|
UTC-10 (HST) Honolulu
|
||
|
410
|
UTC+5 (UZT) Tashkent
|
||
|
413
|
UTC-4 (VET) Caracas
|
||
|
0x245C:002
|
Local Time: Current time
0 ... [0] ... 2^64-1 ns
|
The current local time of the device.
Format:
–
Date MM/DD/YYYY
–
Time hh:mm:ss.ms
|
|
Synchronisation with "distributed clocks" (DC)