TIMESTRUCT

Uhrzeit im Systemzeitformat.

TYPE TIMESTRUCT
STRUCT
   wYear         : WORD;
   wMonth        : WORD;
   wDayOfWeek    : WORD;
   wDay          : WORD;
   wHour         : WORD;
   wMinute       : WORD;
   wSecond       : WORD;
   wMilliseconds : WORD;
END_STRUCT
END_TYPE

wYear: Das Jahr: 1970 ~ 2106;

wMonth: Der Monat: 1 ~ 12 (Januar = 1, Februar = 2 usw.);

wDayOfWeek: Der Wochentag: 0 ~ 6 (Sonntag = 0, Montag = 1 usw. );

wDay: Tag des Monats: 1 ~ 31;

wHour: Stunde: 0 ~ 23;

wMinute: Minute: 0 ~ 59;

wSecond: Sekunde: 0 ~ 59;

wMilliseconds: Millisekunde: 0 ~ 999;

Voraussetzungen

Entwicklungsumgebung

Zielplattform

Einzubindende SPS-Bibliotheken (Kategoriegruppe)

TwinCAT v3.1.0

PC oder CX (x86, x64, ARM)

Tc2_Utilities (System)