Overview

Ready-made function blocks are provided for displaying, disabling, deleting and managing messages (alarms, warnings, etc.). The temperature control itself only provides an ErrorID and an error flag in case of an error.

Messages are entered and activated by the function block FB_MsgAppend_TcTvA() in an array of the type ST_TcTvA_Alarm_Itf (alarm history). If the cause of a message has been eliminated, this message can be disabled via Reset. The deactivation of a message takes place via the function block FB_MsgDeactivate_TcTvA(). Afterwards the message can be deleted by calling the function block FB_MsgClearPending_TcTvA() in the alarm history. So that no empty lines are created in the alarm history by deleted messages, the function block FB_MsgGarbageCollect_TcTvA() must be called cyclically.

Data types: function blocks

Name

Description

FB_MsgAppend_TcTvA()

Activates an active error message in the array of type ST_TcTvA_Alarm_Itf.

FB_MsgClearPending_TcTvA()

This function block deletes inactive errors from the error history (array of type ST_TcTvA_Alarm_Itf).

FB_MsgClearSignal_TcTvA()

This function block deletes the message.

FB_MsgDeactivate_TcTvA()

Disables an inactive error message in the array of type ST_TcTvA_Alarm_Itf.

FB_MsgGarbageCollect_TcTvA()

Must be called cyclically and re-sorts the error history (array of type ST_TcTvA_Alarm_Itf).

FB_MsgUpdateTime_TcTvA()

This function block determines the Windows system time and returns it to the application.

Data types: Structure types

Name

Description

ST_TcTvA_Alarm_Itf

Creating an array of this structure results in the alarm history.