beautypg.com

Key event, Display event, Assignment statements – Micromod MOD: 30ML Display Script Guide User Manual

Page 43: 3 assignment statements

background image

MOD 30ML Display Guide

Display Scripts

Pre-Defined Events

Key

Event

ALARM_PRESSED ALARM_HELD ALARM_RELEASED

TAG_PRESSED TAG_HELD TAG_RELEASED

MANUAL_PRESSED MANUAL_HELD MANUAL_RELEASED

AUTO_PRESSED AUTO_HELD AUTO_RELEASED

RL_PRESSED

RL_HELD

RL_RELEASED

SCROLL_PRESSED

SCROLL_HELD

SCROLL_RELEASED

UP_PRESSED

UP_HELD

UP_RELEASED

DOWN_PRESSED

DOWN_HELD

DOWN_RELEASED

Display Event

ENTRY

ACTIVE

EXIT

When an Event occurs, the associated Event Script is executed. The event script is made
up of one or more Assignment Statements, IF Statements, CASE Statements, TUNE
statements and RETURN statements.

3.2.3 Assignment

Statements

The assignment statement assigns a value to a given target. The target of an assignment
can be an input name, a local attribute name, or one of several display resource names.

All assignment statements have an expression as their right hand side. The target will be
assigned the value of that expression. If the target is one of the display resource names
having the suffice ‘.SRC’, the expression must be just a source name (an input name or
local attribute name). The target will be continuously updated with the value associated
with that name.

Display Resources are the six alphanumeric lines, three bargraphs, twelve intensified
segments, LED, Beeper (annuncicator) and up/down arrows. They can be assigned a
constant value, meaning they will not change dynamically during operation, or a variable,
in which case a source must be defined. The resource names are pre-defined and appear in
Table 3-2.

3 - 5