Micromod MOD: 30ML Display Script Guide User Manual

Page 34

Advertising
background image

MOD 30ML Display Guide

Display Basics

2 -28

To determine correct values for an attribute refer to the Database Reference Manual for
the corresponding block. Additional examples of State Tables for specific applications
are shown later in the manual.

The State Table names are entered in the Display Format section of the Display Block
when the user wants to associate the text with the input.

In the Display Block, if a Display Format type of “State” is selected then an entry in the
Display State Table field is required. This will be the name the user has given the table
that relates to the particular attribute. In the above example, the user would enter Opms
in the Display State Table field.

If an Entry Method other than “None” is selected and a Display Format type of “State”
is selected, there must be a state table name entered in the Entry State Table. When a
state input value can be operator selected, the order in which each state name appears on
the display is based on the order in which the names appear in the Table. If an attribute’s
list of possible display states is the same as those for operator selection, then the Display
State Table
and the Entry State Table names can be the same. There may be cases
where the operator may not be permitted to select every possible state. For example,
although display might indicate a PID’s Output Mode Status (OPMS) of “fault” the
operator should not be able to place the PID into a fault mode. In this case you must
make a separate Entry State Table that would not include fault as an option.

2.5.1 Exercise: Creating “Clear Totalizer” Keys using State Tables

The previous exercise showed how to create an indicating totalizer. This exercise adds to
that display, the ability to clear the totalizer from the front keyboard and have the totalizer
immediately begin again. The Totalizer strategy from the previous exercise is required to
complete the following actions.

Exercise: Using
State Tables



Action



Comment

1. Load the Indicating Totalizer strategy from

the previous exercise.

2. Open the display block.

3. Type

“CLR” in the Line 5 Initial Value

field.

The quotation marks are REQUIRED and
indicate text. This will identify the Scroll
key as the Clear Totalizer key.

4. Type:

clear in the Initial value field for

Line 6

This is the name of Input 2 in the Input
List. We will add this input in the next
step.

5. Select

the

Inputs tab and select the Add

button. See next figure.

6. Give a name Clear for this input and

change its data type to Discrete.

This will activate the RESET input in the
Totalizer block, resetting the totalizer to
zero. It will immediately begin counting
again from zero. Remember that this is
case sensitive!

Advertising