fajar
Hi everybody, so i want to program ladder on esp32 with a timer that will operate for days. Based on the board specification, the timer might drift several second after days of operation. Is there any way sync the timer with NTP server or maybe is there another way to reduce the shift?
Reply 0 0
fg71
Yes, you could use Arduino extension to do that. There is example in this forum how to do it.
Reply 0 0
thiagoralves
Here is the link to the example in question:
 
As far as timers are concerned, OpenPLC has its own timers implementation to keep track of time. It seems to be very accurate across platforms, but definitely it is worth testing on the ESP32 to be sure it works well.
Reply 0 0
Reply