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

SysTimeRtcGet

Function Description

This function is used to read the value of the real time clock (RTC) of the controller. The RTC is provided as time stamp which indicates the number of seconds since January 1st, 1970 00:00:00.

Graphical Representation

G-SE-0003919.1.gif-high.gif

 

 

I/O Variables Description

Input/Output

Type

Description

pResult

UDINT

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

0 = no error detected

Output

Type

Description

SysTimeRtcGet

DWORD

RTC of the controller (number of seconds since January 1st, 1970 00:00:00)

NOTE: An example using this function is provided in this document.