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

SysTimeRtcSetTimezone

Function Description

This function is used to set the specified timezone settings.

NOTE: The execution of the function SysTimeRtcSetTimezone may take several hundred milliseconds. The increased execution time is caused by storing the TimezoneInformation parameter to a configuration file in the controller.

To help to avoid blocking other tasks by executing this function, implement one of the following measures:

oUse the asynchronous mechanism provided by the AsyncManager library to outsource the function call to an external task.

oImplement the function call in a separate task with suitable task configuration.

Graphical Representation

G-SE-0057345.1.gif-high.gif

 

 

I/O Variables Description

Input/Output

Type

Description

pTimezone

TimezoneInformation

Timezone settings to be set for the controller.

Output

Type

Description

SysTimeRtcSetTimezone

UDINT

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

0 = no error detected