F_GetCurExtTime64
![F_GetCurExtTime64 1:](Images/png/2285527307__Web.png)
The function returns the external time in TwinCAT distributed clock system time format (T_DCTIME64).
FUNCTION F_GetCurExtTime64: T_DCTIME64
Inputs
VAR_INPUT
DcToExtTimeOffset : ULINT;
DcToTcTimeOffset : ULINT;
END_VAR
Name | Type | Description |
---|---|---|
DcToExtTime | ULINT | Time offset between the TwinCAT "Distributed Clock" system time and an external time |
DcToTcTime | ULINT | Time offset between the TwinCAT "Distributed Clock" system time and the TwinCAT system time |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.0 | PC or CX (x86, x64, ARM) | Tc2_EtherCAT |