How To Work With Columns In NA HMI User Alarm Viewer Object

Introduction

This article explains how to work with properties of User Alarm Viewer in the NA to view different columns. For the purposes of this article it is assumed that you have a basic knowledge of how alarms work in NA HMI. For more general information about alarms in NA please read 'Introduction To NA Alarms' article.

Columns order and Column Titles:

The appearance of the columns in User Alarm Viewer is dictated by 'ColumnOrder' property of the User Alarm Viewer. This property is text based and manual entry of keywords is required.

When the User Alarm Viewer dragged and dropped on the page the default values are put in automatically:

User Alarm Viewer supports 8 different column types. The full list of supported columns with their keywords and separator syntax is as follows:

Time|Name|Priority|Message|Status|Group|AlarmCode|LoggedInUser

Once 'ColumnOrder' property is filled in, the column titles have to be set. The number of columns in 'ColumnTitles' property needs to match number of columns set in 'ColumnOrder' property.

Fill in the properties in the way presented below:

This results in additional columns appearing in the page developer and eventually in Runtime :

 

The Column Titles are stored in resources and can be translated, for more information on Resources and Translation see Understanding NA Resources.

Note 1: If the 'ColumnOrder' property is field incorrectly (wrong keyword, incorrect separator), the User Alarms Viewer will not display faulty columns. Sysmac Studio project will still build with no errors or warnings
Note 2: If number of columns in 'ColumnOrder' property  does not match number of columns in 'ColumnTitles' property , the User Alarm Viewer will not display all columns. Sysmac Studio project will still build with no errors or warnings.
Note 3: When 'ColumnWidths' property is not set up (left blank) the default width will be applied. 
Changing order:
Order in which the columns are displayed is controlled by 'ColumnOrder' property. Column titles will not update automatically when a reorder has been performed. 
See Also:

Introduction to the NA series HMI


Link:
http://www.myomron.com/index.php?action=kb&print=1659



Comments  

Translate: