Time Sync using MODBUS Variable

Time Sync using MODBUS Variable

Hi guys.
We don't have NTP. We need to sync time with DCS based on a trigger from dcs on 5 AM everyday. So DCS connected on MODBUS TCP will trigger bit called Time_sync everyday at 5 AM and when yhis trigger is received we need to set time in our runtime (windows based) copa data application for 5 am.
Any one can help with the script for this please.

This is a migrated post! Originally posted on 29.02.2020 by user mn3020. Please be aware that information can be outdated.