Expression editor, Expression operators, constants, and functions – Super Systems Compact HMI User Manual

Page 17

Advertising
background image

Compact HMI and Compact HMI Editor Operations Manual

Super Systems Inc.

Page 17 of 60

Please refer to Appendix 1: Software Best Practices, “When Configuring Connections and Tags

in Compact HMI Editor,” for information on best practices for configuring connections and tags

in Compact HMI Editor.

Expression Editor

The Expression Editor is used in conjunction with two Control properties: Display Expression

and Display Conditions. The Expression Editor will be displayed when Display Expression or

Display Conditions is selected (for example, from the Control Properties Grid).

NOTE: Some Display Conditions (described in more detail below) and the Expression Editor

utilize Tags.

Figure 18 - Expression Editor window

Expression Operators, Constants, and Functions

Tag names identify register locations within a data device. Each register is constituted by a word

containing 16 bits. Compact HMI Editor provides ways of evaluating values contained within data

device registers against values defined by the user. In order to program valid expressions, it is

important to understand the expression syntax used in Compact HMI.

A Tag can be called using the following syntax:
Tag(“[ConnectionName]TagName”)

where

ConnectionName

is the name of a defined

connection and

TagName

is the name of a defined Tag within that connection.

A particular bit can be called according to one of the following two syntaxes:

Advertising