DCTIME64_TO_STRING

DCTIME64_TO_STRING 1:

Die Funktion konvertiert eine 64-Bit-„Distributed Clock System Time“-Variable vom Typ T_DCTIME64 in einen String.

Der resultierende String hat nach der Konvertierung das folgende Format: ‘YYYY-MM-DD-hh:mm:ss.nnnnnnnnn‘

FUNCTION DCTIME64_TO_STRING: STRING (29)

DCTIME64_TO_STRING 2: Eingänge

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

Name

Typ

Beschreibung

in

T_DCTIME64

Die zu konvertierende „Distributed Clock System Time”-Variable

Beispiel:
Siehe Beschreibung der Funktion: F_GetCurDcTickTime64.

Voraussetzungen

Entwicklungsumgebung

Zielplattform

Einzubindende SPS- Bibliotheken

TwinCAT v3.1.0

PC oder CX (x86, x64, Arm®)

Tc2_EtherCAT