F_GetLocalSystemtime
Returns the local system time, taking into account the time zone. Is suitable for creating system time-related timestamps.
Syntax:
FUNCTION F_GetLocalSystemtime : ULINT
Outputs
Name | Type | Description |
---|---|---|
F_ GetLocalSystemtime | ULINT | System time, based on the definition of T_FILETIME |
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) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.8.1.0) |