Introduction
The BMENOR2200H module supports clock synchronization as an SNTP client and RTU protocol.
When the SNTP client is enabled, the module synchronizes the internal clock from the time server. This time is the basis for time stamping RTU events.
Features of the Service
The clock synchronization via SNTP offers:
periodic time corrections obtained from the reference standard, for example, the SNTP server
automatic switchover to a backup time server if an abnormal event is detected with the normal server system
local time zone configurable and customizable (including daylight saving time adjustments)
Controller projects use a function block to read the clock, a feature that allows events or variables in the project to be time stamped.
Time stamping is accurate to:
5 ms typical
10 ms worst case
Access the SNTP Configuration
Access the SNTP parameters in the Control Expert DTM:
Step |
Action |
---|---|
1 |
|
2 |
In the menu, expand ( ) the sub-menu. |
3 |
Select . |
4 |
Configure the SNTP parameters. NOTE: The parameters are described in the next table.
|
5 |
|
Time Synchronization Parameters
These SNTP parameters are available for your module:
Field |
Parameter |
Description |
---|---|---|
Time Source Setting |
Time Synchronize Source |
Select a value from the drop-down list to identify the time source of synchronization:
|
SNTP Server |
Primary IP Address |
Enter a valid IP address for the primary SNTP server. |
Secondary IP Address |
Enter a valid IP address for the secondary SNTP server. |
|
Polling period |
This value represents the number of seconds between updates from the SNTP server. |
|
Time Zone |
Time Zone |
Select a time zone from the pull-down menu. |
Timezone Offset |
This value represents the difference (in minutes) between the configured time zone and UTC. |
|
Automatically adjust clock for daylight saving |
checked: Adjust the clock for daylight saving time. |
|
unchecked: The clock is not adjusted for daylight saving time. |
||
Start Daylight Saving |
Configure the start and end times for daylight saving in the available fields. |
|
End Daylight Saving |
||
TIME TO CPU |
Update Clock to CPU |
checked: Update the clock time to the CPU. |
unchecked:The clock time is not updated to the CPU. |
Clock Synchronization Terms
SNTP terms:
Term |
Description of Service |
---|---|
local clock offset |
Accurate local time adjustments are made via a local clock offset. The local clock offset is calculated as:
where:
|
time accuracy |
The local time margin is < 10 ms compared to the referenced SNTP server time.
|
settling time |
Maximum accuracy is obtained after 2 updates from the SNTP server. |
polling period dependency |
Accuracy depends on the polling period. Less than 10 ms of margin is achieved for polling periods of 120 ms or less. To obtain a high degree of accuracy (when your network bandwidth allows), reduce the polling period to a small value—for example, a polling time of 5 s provides better accuracy than a time of 30 s. |
leap second |
To compensate for the deceleration of the earth rotation, the module automatically inserts a leap second in the UTC time every 18 months via an international earth rotation service (IERS). Leap seconds are inserted automatically as needed. When needed, they are inserted at the end of the last minute in June or December, as commanded by the SNTP server. |
Serial Port Configuration
Step |
Action |
---|---|
1 |
|
2 |
In the menu, expand ( ) the sub-menu. |
3 |
Select . |
4 |
Configure the serial port parameters. NOTE: The parameters are described in the next table.
|
5 |
|
Serial Port Parameters
These parameters apply to the serial port for your module:
Parameter |
Description |
Physical Line |
Select the type of physical line for the port. |
Signals |
Select the type of signal that is supported by the physical line. |
Baud Rate |
Select a transmission speed for the port. |
Data Bits |
Adjust the number of data bits to correspond to the remote device in use. |
Stop Bits |
Select the number of bits to stop in a single transmission. |
Parity |
Configure the addition (or not) of the parity bit. |
Obtaining and Maintaining Accuracy
The time service clock starts at 0 and increments until the Ethernet network time is fully updated from the module.
The M580's clock is synchronized when the module starts. This is the default start time in the display:
Model |
Starting Date |
---|---|
M580 |
January 1, 1980 00:00:00.00 |
Later, the module will look for the SNTP time source or wait for the RTU time synchronization command from the client. The default date of the M580 is as follows.
Clock characteristics:
Clock accuracy is not affected by issuing stop/run commands on the PLC.
Clock updates are not affected by issuing stop/run commands on the PLC.
Mode transitions have no effect on the accuracy of the Ethernet network.
General Time Synchronization Terms
General terms:
Term |
Description of Service |
---|---|
time zone |
The default format is universal time, coordinated (UTC). Optionally you may configure the service to use a local time zone (for example, GMT+1 for Barcelona or Paris). Refer to the note at the end of this table. |
daylight saving time |
The module automatically adjusts the time change in the spring and fall. Refer to the note at the end of this table. |
update clock to CPU |
When no other time source is configured, the BMENOR2200H module sends the source clock synchronization signal to the CPU over X Bus. |