XFC_GetCurDcTaskTime 1:

The function XFC_GetCurDcTaskTime determines the start time of the current PLC cycle.

The function optimizes the calls of the system function F_GetCurDcTaskTime by answering several queries within a PLC task cycle with the same time, without calling the system function repeatedly.

Return value


Return value of the function

Complete 64-bit distributed clock system time. Start time of the current PLC cycle (cycle of the task that calls this function.)