Topic: DMD0223 Synchronizing the Clocks on Multiple Do-more PLCs |
|
The TimeSync Configuration option allows the Ethernet-equipped Do-more PLCs on a local network to automatically synchronize their internal real-time clocks. A typical network of Do-more PLCs will have one configured as a TimeSync Server A Do-more CPU that is confiugured to generate TimeSync messages for other Do-more CPUs on the network that are configured as Clients and Alternates. At each Update Interval or any time the Server's real-time clock is changed, a TimeSync Server will broadcast TimeSync messages to Clients and Alternates., one or more PLCs configured as TimeSync Alternates, and the remaining PLC configured as TimeSync Clients. The TimeSync packet contains the current time from the TimeSync Server and the Update Interval so that a TimeSync Client A Do-more PLC that is configured to receive process TimeSync messages that are sent from a TimeSync Server. Each time a Client receives a TimeSync message it will update it's real-time clock with the real-time clock information in the TimeSync packet. or a TimeSync Alternate A Do-more CPU configured to normally function as a TimeSync Client but will promote itself to a TimeSync Server if there are no TimeSync packets received within the Update Interval. will know when to expect the next TimeSync packet.
TimeSync packets are automatically sent by the TimeSync Server at the specified Update Interval. A TimeSync packet is also sent any time the real-time clock on the TimeSync Server is manually changed by the Do-more Designer Programming Software, or changed by a NETTIME (SNTP Client) instruction in the PLC.
Because the current Date and Time for a given PLC is rendered from component values, TimeSync packets contain all of the information required for each PLC to render a synchronized value. These packets contain the TimeSync Server's UTC time value, the Time Zone adjustment, and the $SummerTime setting. With these settings synchronized, the PLCs will all render the same $LocalTime value for their internal clocks.
Note: This feature uses TCP/IP broadcast packets to synchronize the real-time clocks of the Clients and Alternates, which means that only PLCs within the TimeSync Server's Broadcast Domain A broadcast domain is a logical network segment in which any device connected to the network can directly transmit to any other on the domain without having to go through a routing device. These are typically very basic networks that use hubs rather than switches or routers. A special broadcast address consisting of all 1s is used to send frames to all devices on the network. can be synchronized.
|
|
Configuring a Do-more CPU to participate in a TimeSync network is done through the CPU Configuration page of the System Configuration utility.
There are four possible options for the TimeSync Configuration feature:
Update Interval
is used in the following three ways:
|
|
See Also:
Synchronizing the Clocks on Multiple Do-more PLCs
|
|