7 example 7 - using text and text attributes to, Indicate conditions – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual

Page 164

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

144 Grafx Editor

4.3.4.7 Example 7 - Using Text and Text Attributes to Indicate Conditions

Process Conditions:

Switches on a tank indicating High Level (LI101HL.OUT) and High High Level (LI101HHL.OUT) are used
to indicate alarm conditions.

Objective:

Display a text message on a graphic to indicate the condition of these switches, using the parameters in
the following table:

Procedure:

1.

Put a text object on a Graphic.

2.

Position the pointer over the object, then click the right mouse button. Select the Dynamic
Attributes
item from the resulting pop-up menu. The Expression Dynamics window will appear.

3.

Configure the expression and settings from the two tables below.

Input Condition

Text

Color

LI101HL.OUT = 0 and LI101HHL.OUT = 0

Normal

Green

LI101HL.OUT = 1 and LI101HHL.OUT = 0

Hi Level

Yellow

LI101HL.OUT = 1 and LI101HHL.OUT = 1

Hi Hi Level

Red

LI101HL.OUT = 0 and LI101HHL.OUT = 1

Unknown

White Flash

NUMBER

EXPRESSION

TRUE SETTINGS

FALSE

SETTINGS

1

LI101HL.OUT == 0 && LI101HHL.OUT == 1

Blink (See Below)

None

2

LI101HL.OUT == 0 && LI101HHL.OUT == 0

text = Normal
text color = 2

None

3

LI101HL.OUT == 1 && LI101HHL.OUT == 0

text = Hi Level
text color = 3

None

4

LI101HL.OUT == 1 && LI101HHL.OUT == 1

text = Hi Hi Level
text color = 1

None

5

LI101HL.OUT == 0 && LI101HHL.OUT == 1

text = Unknown
text color = 7

None

Blink Configuration (For Expression 1)

PERIOD

PHASE

BLINK

COLOR 1

DURATION 1

BLINK

COLOR 2

DURATION 2

STEADY

COLOR

2

1

7

1

0

1

0

Advertising