Jump to content

Recommended Posts

Posted (edited)

Hello!

 

I have a CP2E-N at a clients site that controls a conveyor belt and logs some data. Now the client wants the timestamps to be synchronised to the outside world.

We have an internet connection on site and i can access the PLC remotely, but i can not get the Automatic clock adjustment to work with a source that is not on our LAN.

I've tried different DNS IP-s, different IP-s for the NTP servers, but every time i can not get an answer, just time out.

I tried setting up my PC as the NTP server and works just fine.

 

Has anyone tried and achieved something like this before? 

Edited by Reiskar

Posted

It sounds like the customer's IT department has blocked that type of network traffic.  It will work on the local LAN, but not through their firewalls to an actual website.  You should communicate with their IT department and see if they are blocking it and if they will allow it.  Firewalls can be customized to do about anything, if they are willing.

Posted (edited)
On 1/14/2025 at 9:50 PM, Reiskar said:

Hello!

 

I have a CP2E-N at a clients site that controls a conveyor belt and logs some data. Now the client wants the timestamps to be synchronised to the outside world.

We have an internet connection on site and i can access the PLC remotely, but i can not get the Automatic clock adjustment to work with a source that is not on our LAN.

I've tried different DNS IP-s, different IP-s for the NTP servers, but every time i can not get an answer, just time out.

I tried setting up my PC as the NTP server and works just fine.

 

Has anyone tried and achieved something like this before? 

Have you checked with your customer's IT department to see if they are blocking NTP traffic? That could be the key to solving your problem

Edit by tap road a day ago

Edited by GenieMBailey
Posted

Also make sure you set the default gateway. When used on a private network, a lot of times a gateway is not set to indicate how to get off the network.   When using DHCP like on a PC it always sets a gateway but when people set their own it sometimes is not set.

Posted
On 1/14/2025 at 9:50 PM, Reiskar said:

Hello!

 

I have a CP2E-N at a clients site that controls a conveyor belt and logs some data. Now the client wants the timestamps to be synchronised to the outside world.

We have an internet connection on site and i can access the PLC remotely, but i can not get the Automatic clock adjustment to work with a source that is not on our LAN.

I've tried different DNS IP-s, different IP-s for the NTP servers, but every time i can not get an answer, just time out.

I tried setting up my PC as the NTP server and works just fine.

 

Has anyone tried and achieved something like this before? 

Since your PC works as an NTP server, you can just set it up permanently as a local NTP server using lightweight software like Meinberg. The PC will sync with public NTP servers and serve accurate time to the CP2E over the local network. This avoids any DNS or firewall issues the PLC might face when accessing external servers directly. 

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
×
×
  • Create New...