Micromod MOD: 30MLTraining Manual User Manual
Page 230

Training Manual
Sequence Display Lab
B – BUILD THE STATE TABLES
State Tables serve as “lookup tables” for the Display Block, when a variable changes its value. For example,
each time the Sequence Block changes to a new step, the Display Block compares the step number to the
State Table and displays the appropriate text.
Two State Tables are required for this display:
1. To display the current step on Line 1, at all times
2. To show “NO” and “YES” on Line 6 when the sequence is in the Idle step, and the operator
pushes the UP or DOWN key to start the sequence.
Step Procedure
Comments
1. Double-click on the ST (State Table) block
2. Click on the Tables tab and use the scroll bar to scroll to the
bottom of the list of tables
3. Click in the blank space under the last table and press the
ENTER key on the keyboard twice, to add two lines
• Each State Table begins with a line that includes the
table’s unique name; the maximum number of characters
(usually 8 or 3); and what should be displayed if none of
the conditions are met.
You can comment the state tables by
enclosing your text with /* */
17 - 4