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