F_GetCurDcTaskTime

F_GetCurDcTaskTime 1:

This function supplies the task target start time (in TwinCAT Distributed Clock system time format. The returned time is the target time of the task where the function is called.

FUNCTION F_GetCurDcTaskTime : T_DCTIME

T_DCTIME

VAR_INPUT
(*none*)
END_VAR

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 )