DCTIME64_TO_STRING

DCTIME64_TO_STRING 1:

The function converts a 64-bit distributed clock system time variable of type T_DCTIME64 to a string.

The string resulting the conversion has the following format: ‘YYYY-MM-DD-hh:mm:ss.nnnnnnnnn‘

FUNCTION DCTIME64_TO_STRING: STRING (29)

DCTIME64_TO_STRING 2: Inputs

VAR_INPUT
    in : T_DCTIME64; (*Distributed Clock Time*)
END_VAR

Name

Type

Description

in

T_DCTIME64

The "Distributed Clock System Time" variable to be converted

Example:
See description of the function: F_GetCurDcTickTime64.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_EtherCAT