Micromod MOD: 30ML Display Script Guide User Manual
Page 87

MOD 30ML Display Guide
Application Examples
The next figure shows the State Table to be added to the State Table file in the ST block.
The first recipe should be zero. Any alphanumeric names may be substituted, as the
application requires, however they must start with an alpha character.
State Table, recipe
selection
recipeD, 8, "????????" /* Recipe names */
{
0, "RECIPE A";
1, "RECIPE B";
2, "RECIPE C";
}
The next figure shows the script for the Recipe Display Block. The cases 0, 1, 2
correspond to the states defined in the State Table.
Display Block
Menus, Basic PID
Display
DEFAULTS:
{
ACTIVE:
{
CASE RECIPE OF
{
0:
{
PRESSURE = 250.0;
TEMPERAT = 198.0;
BREAK;
}
1:
{
PRESSURE = 200.0;
TEMPERAT = 186.0;
BREAK;
}
2:
{
PRESSURE = 275.0;
TEMPERAT = 205.0;
BREAK;
}
}
}
}
When RECIPE A is selected the
pressure and temperature PID
block setpoint values will be set to
250 and 198 respectively.
When RECIPE B is selected
the values for the pressure
and temperature set-point
change to these new values.
5 - 33