Hello and welcome to a new video on Movicon.NExTâ„¢.
In this video, we are going to show you how to assign text to an
alarm defined in a Movicon.NExTâ„¢
project.
Video
Notes
Below are some examples on the use of text alert in combination
with the Add Tag Description and List Tag Alias properties.
Alarm text defined + Add Description
Tag property enabled
In this case, for the translation of the alarm text, it is necessary
to have previously defined a corresponding String ID. The description
is not translated, but to display it, it is necessary to add the
parameter {0} in the string table at each language.
Example
ENG:Variable:Alarm {0}
At runtime it will result in:
ENG:Variable:Alarm TextDescription
Empty alarm text + Add Tag
Description property enabled
The alarm text is displayed with the default format "<TagDescription>
- <TagName>:<DefinitionName>" because no text
has been set for the alarm threshold. By adding a String ID "Desc2
- Tag002:AlarmOnlyDesc" the entire alarm text can be customized.
Example
The text Desc2 - Tag002:AlarmOnlyDesc is defined as the String
ID, and then, you will translate the strings. At runtime, for
the English language, you will have: ENG_Desc2 - Tag002:AlarmOnlyDesc
Alarm text defined + Add Tag
Description property enabled + Alias Tag List property (list of
parameters)
To display at runtime the list of items, or only some of them,
it is necessary to specify in the string table the n-th item with
the parameter {n}. It is used to insert the description in the
alert text in the correct position. When there are no there are
parameter tags attached to the alarm, the description parameter
will be {0}, but when there are one or more parameter tags, the
description parameter number will be the last parameter tag number
+1.
Example
Having defined a list of three aliases, each with value 44,55,33,
in the string table you will have
ENG:Variable:Alarm {0}, {1}, {2}, ({3})