Showing results 1 to 2 of 2

Thread: Time Sync using MODBUS Variable

  1. #1
    Join Date
    28.02.2020
    Posts
    4

    Default 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.

  2. #2
    Join Date
    18.12.2017
    Posts
    20

    Default Re: Time Sync using MODBUS Variable

    Hi!

    There are probably many ways to do this. One simple way is with a Batch or Powershell-script.

    zenon use the OS clock. You need to set the clock in Windows. It require Admin rights.
    Create a Powershell script for setting the time and call it from zenon with a function of type "Start program" in the Windows section.
    Trigger the function in limit values or a REMA for the Modbus-variable, "Time_sync".

    Best regards

    Fredrik

Similar Threads

  1. Replies: 4
    Last Post: 1st October 2019, 09:00
  2. Zenon Time Sync
    By Praveen Kumar Karthikeyan in forum zenon Supervisor
    Replies: 1
    Last Post: 3rd September 2019, 08:38
  3. Replies: 2
    Last Post: 29th March 2011, 10:46
  4. Real Variable Modbus TCP
    By pkreisel in forum Drivers
    Replies: 1
    Last Post: 15th February 2011, 23:39
  5. compare time variable with system time
    By flajoso in forum VBA
    Replies: 7
    Last Post: 25th August 2008, 06:47

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •