Micromod MOD: 30MLTraining Manual User Manual

Page 231

Advertising
background image

Training Manual

Sequence Display Lab

4. Create the table that will be associated with the Start Pushbutton

(StartPB) input.
Enter the state table as shown below:



Start, 3, “???”
{
0, “NO”;
1, “YES”;
}

Table name = Start; maximum characters
= 3; if the input is neither 0 nor 1, display
??? (this must be enclosed in quotes)
This will be used to make the bottom line
of the Sequence display show “NO” or
“YES” depending on the state of the
StartPB input.

)

Multiple display blocks can refer to the same State Table.

For example, there is only one set of State Tables for the PID
loops, which is referenced by all standard PID displays.

5. Press the ENTER key on the keyboard twice

6. Create the table that will cause the current step name to appear

on Line 1.
Enter the state table as shown below:



StepName,8,”????????”

{
1, “IDLE”;
2, “CHARGE”;
3, “HEAT”;
4, “COOK”;
5, “COOL”;
6, “DRAIN”;
}

We will create an input to the Sequence
Display block and connected to the
Sequence Block output “Step”. As the
value of this input changes, the text
displayed on Line 1 will change
accordingly.

The brackets, quotes and semicolons must
be entered exactly as shown. This is the
syntax of the State Table block.

7. You can check the syntax of your entries by pressing the

checkmark box in the toolbar of the State Table dialog box.

Any errors will be reported in the bottom
panel of the ViZapp main window.

8. Click OK to close the State Table dialog box.

17 - 5

Advertising
This manual is related to the following products: