
MOD 30ML Display Guide
Application Examples
Script for Two-Key
Ramping
(continued)
ELSE
DWNCOUNT = DWNCOUNT + 1;
IF SCRLCNT == 0 THEN
OP = OP - 0.1;
IF SCRLCNT == 1 THEN
SP = SP - 0.1;
IF !TUNING THEN RETURN;
}
/* Determine if UP or DOWN key being held: */
UP_HELD:
{
UPHLD = 1;
RETURN;
}
DOWN_HELD:
{
DWNHLD = 1;
RETURN;
}
/* Reset local inputs for next use: */
UP_RELEASED:
{
UPHLD = 0;
RETURN;
}
DOWN_RELEASED:
{
DWNHLD = 0;
RETURN;
}
}
The next figure illustrates the new inputs required for this script (note that this is in
ADDITION to those illustrated in Example 1):
5 - 16
Komentarze do niniejszej Instrukcji