SetTimeZoneInformation (FB)ΒΆ
FUNCTION_BLOCK SetTimeZoneInformation
With this function block the specific information of the time zone can be modified.
The time zone setting will be kept even after a
Reset-Origin of the controller and can only be modified by being overwritten again.
If no automatic switch is desired, all elements of tziInfo.stStandardDate and tziInfo.stDaylightDate must be set to 0.(for further information see library
CAA_RealTimeClock)- InOut:
Scope
Name
Type
Comment
Input
xExecuteBOOLRising edge: Action startFalling edge: Resets outputs. If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values (xDone, xError, iError) are present at the outputs for exactly one cycle.tziInfoRTCLK.TIME_ZONE_INFOInformation on the time zone
Output
xDoneBOOLAction successfully completed
xBusyBOOLFunction block active
xErrorBOOLTRUE: error occurred, function block aborts actionFALSE: no erroreErrorError description for diagnosis