UTC (Universal Time) Functions

VisiLogic offers the following UTC functions:

Clock menu

UTC to RTC

RTC to UTC

Com>TCP/IP menu

RFC-1305

HMI Clock Variables

Clock Display Variable, UTC

 

Note

Note that these functions use the DW as a 32-bit binary number containing the UTC value in seconds, where 1900-01-01 = 00:00.00 UTC. Vision controllers support a range from 2004 to 2035.

Since the DW is the value in seconds, you can perform time value calculations. For example, you can convert the RTC values to DWs, then calculate the difference in order to figure a time interval.

About Universal Time ( RFC-868, RFC-1305)

UTC: Setting/Synchronizing the Real Time Clock (RTC) via Ladder

Via VisiLogic's UTC functions, you can set the Real Time Clock (RTC) within an Ethernet-enabled Vision controller. Via Ethernet, you can:

Using RFC-868 to synchronize networked controllers

Using RFC-1305 to synchronize a Vision's RTC to a UTC PC server