EcoStruxure Machine Expert version 1.1 does not support the M258, LMC058 and LMC078 controllers.

SysTimeRtcConvertHighResToLocal

Function Description

This function converts a high resolution time stamp value into the corresponding date and time in SYSTIMEDATE format considering the timezone settings of the runtime system. The value pTimestamp represents the UTC and will be converted to the local time, which is provided on pDate.

Graphical Representation

G-SE-0057352.1.gif-high.gif

 

 

I/O Variables Description

Input/Output

Type

Description

pTimestamp

SYSTIME

Time stamp to be converted.

pDate

SYSTIMEDATE

Local time calculated from pTimestamp.

Output

Type

Description

SysTimeRtcConvertHighResToLocal

UDINT

Runtime system error code (refer to CmpErrors.library):

0 = no error detected

NOTE: SYSTIME is an alias type based on the data type ULINT.