F_GetLocalSystemtime

F_GetLocalSystemtime 1:

Returns the local system time, taking into account the time zone. Is suitable for creating system time-related timestamps.

Syntax:

FUNCTION F_GetLocalSystemtime : ULINT

F_GetLocalSystemtime 2: Outputs

Name

Type

Description

F_ GetLocalSystemtime 

ULINT

System time, based on the definition of T_FILETIME

F_GetLocalSystemtime 3: Possible events

ID

Description

Alarm/Message

30x

Error when retrieving the local system time

Message

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT >= v3.1.4024.54 (recommended)
TwinCAT >= v3.1.4024.42 (required)

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v12.8.1.0)