F_GetLocalSystemtimeEx

F_GetLocalSystemtimeEx 1:

Returns the system time of a device with AMS-NetID, taking into account the time zone. Is suitable for creating system time-related timestamps.

Syntax:

FUNCTION F_GetLocalSystemtimeEx : ULINT

F_GetLocalSystemtimeEx 2: Inputs

Name

Type

Description

sNetID

T_AmsNetID

Net-ID of the system to be read

F_GetLocalSystemtimeEx 3: Outputs

Name

Type

Description

F_ GetLocalSystemtimeEx

ULINT

System time, based on the definition of T_FILETIME

F_GetLocalSystemtimeEx 4: 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)