Movicon Help on Line - Rel. 11.7.1301
Movicon allows you to customize windows used for entering comments that open when a comment is required for Tracing variables or acknowledging alarms. This can be done by creating Customized panels using Movicon screens and symbols. This would entail creating a screen with an "Editable Display" and a series of "Buttons". In order to be managed by Movicon instead of the one for default, the screen must be inserted in the project's "Trace Comment Screen (Audit)" or "ACK Comment Screen (Audit)" execution properties. In this way when the comment window is requested, Movicon will open the customised screen instead of the one for default. This screen will open in modal mode.
In addition to the two "Trace Comment Screen" or the "ACK Comment Screen' other local system variables will be needed so that authentication procedures work correctly. The local variables are:
Comment Screen in variable trace:
title_
CurrentValue_
Comment_
ChangingValue_
ChangingObject_
OK_
Comment Screen in Alarm Acks:
Comment_
Help_
OK_
state_
TimeOff_
TimeOn_
UseForAll_
title_
The meanings of these variables are as follows:
title_ = indicates the name of the variable changing value, in cases with pads for comments in the variable trace or text of an alarm to be acknowledged for the comment pad in the alarm.
CurrentValue_ = the variable's current value formatted using the variable's default format is set with one.
Comment_ = String value containing the edited comment
ChangingValue_ = New value obtained by variable, formatted using the variable's default format is set with one.
ChangingObject_ = String variable containing the name of the object changing variable
OK_ = This variable is needed when closing the screen. If its value is not set at zero, when the screen is closed the local Comment variable value will be recorded on Database. When set with the zero value, the comment value will not be recorded when the screen closes. The OK_ variable is Bit type.
Help_ = Contains any alarm help strings
state_ = Indicates the alarm state
TimeOn_ = Alarm activation date and time formatted using the international settings.
TimeOff_ = Alarm deactivation date and time formatted using the international settings.
UseForAll_ = Option for using comments for All alarm ACKs
|
The above described variables must be created by the programmer when needed respecting the syntax exactly. In cases where Templates are used from the Movicon Symbol library, the local variables will be created automatically when inserting the Template on screen. |