
adccommunitymod (AutomationDirect) asked a question.
Click NTP server
Created Date: March 06,2019
Created By: Ryan_Poethke
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
How about the ability for a Click PLC to fetch current time and date from one of the myriad NTP servers available on the web? The RTC drifts and it's not convenient (or even reasonably possible) to connect with the programming computer just to reset the time/date. While we 're at it, how about a way to account for Daylight Savings Time automatically; I know it's possible to code for DST. Thanks, Ryan Poethke
Created Date: March 06,2019
Created by: Ryan_Poethke
How about the ability for a Click PLC to fetch current time and date from one of the myriad NTP servers available on the web? The RTC drifts and it's not convenient (or even reasonably possible) to connect with the programming computer just to reset the time/date.
While we 're at it, how about a way to account for Daylight Savings Time automatically; I know it's possible to code for DST.
Thanks,
Ryan Poethke
Created Date: March 07,2019
Created by: kewakl
The RTC drifts and it's not convenient (or even reasonably possible) to connect with the programming computer just to reset the time/date.
Version 2.00 allows for setting date/time through code/modbus comms - help topic CL194
Created Date: March 07,2019
Created by: Ryan_Poethke
Version 2.00 allows for setting date/time through code/modbus comms - help topic CL194
I'm aware of that, but how do I use that ability to reach out to a NTP or SNTP server and update the time in the PLC? I'm hoping for something like the NETTIME instruction for the DoMore series. I imagine that this instruction would only be available for use with Click PLC's that have an Ethernet port.
Thanks,
Ryan Poethke
Created Date: March 07,2019
Created by: MikeN
You may be able to use a small piece of software on a PC somewhere that acts as a modbus server and gets the PC time (which gets it from a NTP server somewhere) and the PLC pulls the time over modbus from the PC.
Created Date: March 07,2019
Created by: BobO
If only there were PLCs that offered this feature... ;)
Created Date: March 07,2019
Created by: Adisharr
If only there were PLCs that offered this feature... ;)
I switched from the Click to the BRX a while ago. The only thing I don't like is the pre-wired I/O cable connectors, they are just too large. Other than that, it's a great product.
Created Date: March 08,2019
Created by: Ryan_Poethke
You may be able to use a small piece of software on a PC somewhere that acts as a modbus server and gets the PC time (which gets it from a NTP server somewhere) and the PLC pulls the time over modbus from the PC.
Any recommendations on that piece of software? I have a Ras Pi 3 on the network doing some network functions that could be pressed into service.
As to using the BRX, I can't really go back to the client and tell them I need to yank the two month old PLC out of the cabinet and replace it, as much as I'd like to :)
That said, I'm in the middle of designing a project that will use (28) BRX PLC's and two 15 " C-more's, all networked together. Oh, and motion control too. That will be a large project.
Ryan Poethke