chelton

SNTP omron plc

6 posts in this topic

Is it possible to do what is shown in the ETN21 manual for clock updates on the omron cs/cj plc's ? I know you can update the time via SNTP but as shown in the manual it appears as if you can then broadcast this across the network?

I can't find any other information on it. Only way i can think is to send FINS commands to each other PLC or fetch the time from other PLC's.

Thanks in advance.

6437ed093e1d8_RTCBroadcast.thumb.png.b0a

Share this post


Link to post
Share on other sites

Network Time Protocol has broadcast modes (send and receive) and peer synchronization modes, in addition to polling.  Simple Network Time Protocol is NTP abbreviated to just polling.  I'm not familiar with those specific processors, but it wouldn't surprise me if they implemented the broadcast modes of NTP.

Share this post


Link to post
Share on other sites
Quote

The EtherNet/IP Unit or built-in EtherNet/IP port can obtain the clock information from the SNTP server (see note 1) at a particular time or when a designated bit turns ON and then refresh the internal clock information of the CPU Unit to which it is mounted (referred to as the local CPU Unit).

The most simple method is to use the Automatic Clock Adjustment Function on each ETN21 card.

You can broadcast using FINS command GET CLOCK or SET CLOCK (Check FINS Command Reference Manual).

Share this post


Link to post
Share on other sites
2 hours ago, JYG said:

The most simple method is to use the Automatic Clock Adjustment Function on each ETN21 card.

You can broadcast using FINS command GET CLOCK or SET CLOCK (Check FINS Command Reference Manual).

I thought using the automatic clock adjustment would be easiest too, however you can not change the UTC offset via programming to adjust for DST. 

Looking into the SET CLOCK FINS broadcast. Thanks.

Share this post


Link to post
Share on other sites
17 hours ago, chelton said:

however you can not change the UTC offset via programming to adjust for DST

When working to produce the Omron NJ/NX support in my Ignition EtherNet/IP driver, I was shocked to learn that these models don't use UTC internally.  Running an Omron PLC's clock on anything other than UTC is therefore a problem, IMNSHO.

Share this post


Link to post
Share on other sites

I always use UTC in any device and convert to another timezone if display is necessary.

 

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now