<< Click to Display Table of Contents >> Manual > Server Creation Guide > Action Edition > Action Reference > Time sync |
How to read the manual
This chapter is for reference information only.
For construction procedures, please refer to "Synchronize the time between the PC and PLC" in the Monitoring System Construction Guide.
Features of this action
Synchronize the PC time with the PLC time.
In addition to the function to synchronize the PC clock based on the date and time information obtained from tags on PLC, it can also write the date and time information from the PC to a specified tag.
The Time sync action is not a function that directly sets the time on the PLC side. This action writes date and time information to the PLC via tags. The process for changing the time on the PLC side must be built separately using ladder logic or similar. Note that the method for setting the PLC clock and its format differ depending on the manufacturer and model, so be sure to build the process in a way that suits your PLC. |
In cases where you need to write information to a PLC device in a special time format, rather than writing directly to the PLC device, you can first write the date information to a virtual device tag, etc., and then use a Script Ver. 2 action to process the tag value into the desired format before writing it to the PLC. |
Action Settings
The settings for this action are explained below.
Action specifications |
|
---|---|
Parameters |
none
|
dialog |
■Time sync
▪Synchronization Method •Set the PC time to the PLC (tag) •Set the time of PLC (tag) to the computer (tag value is cached value) •Set the PLC (tag) time on the computer (tag value is real value)
▪Year/Month/Day/Hour/Minute/Second ▪Tag Path
|