F_ConvExtTimeToDcTime

|  | Outdated function This function is outdated. Use the function F_ConvExtTimeToDcTime64 instead. | 
The function F_ConvExtTimeToDcTime converts an external time to the TwinCAT distributed clock system time.
FUNCTION F_ConvExtTimeToDcTime: T_DCTIME
 Inputs
 Inputs
VAR_INPUT
   ExtTime           : T_DCTIME;
   DcToExtTimeOffset : T_LARGE_INTEGER;
END_VAR| Name | Type | Description | 
|---|---|---|
| ExtTime | T_DCTIME | External time in TwinCAT "Distributed Clock" system time format | 
| DcToExtTime | T_LARGE_ | Time offset between the TwinCAT "Distributed Clock" system time and an external time | 
Prerequisites
| Development environment | Target platform | PLC libraries to include | 
|---|---|---|
| TwinCAT v3.1.0 | PC or CX (x86, x64, Arm®) | Tc2_EtherCAT |