T_DCTIME32

32 bit TwinCAT "Distributed Clock System Time" time format. The smallest unit is nanosecond.

Note:

This 32-bit DC System Time is formed from the complete, absolute 64-bit DC System Time (T_DCTIME), by using only the lowest-value 32 bits. As a result, the property of an absolutely unambiguous time is lost, and the assumption that has to be made that this 32-bit time will only be used within a time window of ± 2.147 seconds on either side of the current system time, since it is only unambiguous within this range. There are many applications in which this assumption is possible.
If the assumption is not satisfied, errors can arise in the interpretation and the further processing of this time.

TYPE T_DCTIME32 : UDINT;
END_TYPE

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v2.11.0 Build >= 1524 or higher

PC or CX (x86, ARM)

TcEtherCAT.Lib
( Standard.Lib; TcBase.Lib; TcSystem.Lib, TcUtilities.Lib are included automatically )