Technical FAQs

Ask a Question

How to sync the M340 CPU time without NTP sever

Question:
How to sync the M340 CPU time without NTP sever?
 
Answer:
Without NTP sever, we need at least one time source(PC, HMI or SCADA) from which we could sync the time.
Manually, we could connect the PC with PLC via Unity Pro and implement the time sync via update PC->PLC.
Automaticly, first of all we need to setup communication to fetch the local time from HMI/SCADA, then there are two ways to implement the CPU time sync.
Way1: store the time to %SW50 ~ %SW53 and sync the CPU time via %S50
Way2: sync the CPU time via WRTC_DT EFB.
 
Was this helpful?
What can we do to improve the information ?