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

Access the DTM configuration for your module.

2

In the CONFIGURATION menu, expand ( +) the Communication sub-menu.

3

Select Network Timing Service.

4

Configure the SNTP parameters.

NOTE: The parameters are described in the next table.

5

  • Click the Apply button to implement your configuration changes.

  • Click the OK button to implement your changes and close the dialog box.

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:

  • RTU Protocol: If SCADA or the client synchronizes time with the BMENOR2200H module, its time source is the Controlling Station.

  • SNTP Server: If the NTP client is enabled and connected with the NTP server, its time source is the NTP server when it synchronizes the BMENOR2200H module’s clock.

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.

NOTE: When the Control Expert window is active, you can hover the cursor over any parameter field to see a description of the functionality and the available range of values.

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:

((T2 - T1) + (T4 - T3))/2

where:

  • T1 = time when SNTP request is transmitted from the module

  • T2 = time when SNTP server receives the request (provided by the module in response)

  • T3 = time when the SNTP server transmits the response (provided to the module in the response)

  • T4 = time when SNTP response is received by the module

time accuracy

The local time margin is < 10 ms compared to the referenced SNTP server time.

  • typical: 5 ms

  • worst case: <10 ms

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

Access the DTM configuration for your module.

2

In the CONFIGURATION menu, expand ( +) the Communication sub-menu.

3

Select Serial Port.

4

Configure the serial port parameters.

NOTE: The parameters are described in the next table.

5

  • Click the Apply button to implement your configuration changes.

  • Click the OK button to implement your changes and close the dialog box.

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.

NOTE: For details, refer to the descriptions of available time sources.

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.

NOTE: This setting is implemented at the module level even if there is no SNTP configuration for the module. The implementation of this setting owes to the BMENOR2200H module's support for several time sources (for example, DNP3). It you, therefore, use DNP3 for time synchronization instead of SNTP, the time zone is applied to the module.