1 configuring the expression - operators and, Operands – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual
Page 141

Micro-PWC CONFIGURATION GUIDE
Grafx Editor 121
an expression which can be true (1) or false (0). Below the Expression entry box are two sets of attributes
with associated toggle buttons and entry boxes. The first set of attributes is labelled True; the second set is
labelled False. This allows the dynamic attributes of an object to be configured separately for both true and
false conditions, after the expression has been configured. Dynamic attributes which can be configured via
the Expression Dynamics window include:
•
visibility
•
text
•
text color
•
fill
•
fill color
•
fill pattern
•
line color
•
line style
•
line width
•
blink
•
spin
Section 4.3.4, Dynamic Configuration Examples
.
4.3.1.1 Configuring the Expression - Operators and Operands
Operators are symbols used in expressions to represent arithmetic, logical, or relational operations. An
expression consists of operators and operands, or values. Operands used in these expressions can be of
the following types:
1.
A controller database point (in the form tagname.atom) - the current value of the atom is used
in the expression.
2.
A numeric constant; for example, 3.14.
3.
A variable name, such as LENGTH, can be used if the model loaded in the Grafx editor is a
submodel. For example, in the entry for the "less than" operator (<) in
, the example
could be written LENGTH < 100, instead of tcon01.PV < 100.
In the following examples, several database points are used as operands. Assume that atoms PV, SP and
OUT have numeric values, while atoms PA and AIH have logical values, i.e., 0 (false) or 1 (true).
✎ Note
Configuring an expression (or set of expressions) which exceeds
3500 bytes for a given object will cause an error message to be
displayed.