Jump to content

UTC cycle time adjustment

Recommended Posts

I am attempting to use the RFC-1305 block in a program on a V130. Currently, the block cycles every 5 seconds. This seems somewhat excessive. I would like to make it adjustable so that the user has control over the cycle time and can eliminate unnecessary clock server calls. Another problem is that if NIST servers are used, pings faster than every 10 seconds are considered denial-of-service attacks and geographically remote PLCs without an intervening local PC clock would not be able to use UTC.

Link to comment
Share on other sites

Pooling NTP server every 5 sec is definitely too excessive and you are right about blacklisting clients for too frequent pings.

Most of NTP clients offering intervals in the range from 1 hour to 1 week.

Officially ntp.org says (http://support.ntp.org/bin/view/Support/SelectingOffsiteNTPServers):

"... once you're up and running you should not be contacting your upstream servers any more than once every 1024 seconds (or so), and this shouldn't be a problem for the time servers to support."

Regarding you second question:

Yes, NTP servers are geographically related.

If you want to avoid NTP addresses reference table for each PLC and reliable connection to your time source, try to use DNS resolver for NTP Pool servers:





The resolved IP address use for RFC1305 FB

"... The machines that are "in the pool" are part of the pool.ntp.org domain as well as of several sub-domains divided by geographical zone and are distributed to NTP clients via round robin DNS. Work is being done to make the geographic zone selection unnecessary" (wiki)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...