beautypg.com

Micromod MOD: 30ML Functions Data Base Reference User Manual

Page 25

background image

MOD 30ML Functions

DISPLAY BLOCK

000:
Statement1;
BREAK;
001:
Statement2;
BREAK;
002:
Statementx;
BREAK;
.
.
.
255:
Statementy;
BREAK;
DEFAULT:
Statementz;
}

TUNE Statements
The TUNE; statement switches to the corresponding tuning display. The variables listed in
the associated tuning list block provides a scroll list for the display. The TUNELIST attribute
is writeable, so that under script or host control a display block can reference any number of
tuning list blocks. If a tune password has been configured, the password will be requested
before entry and, if it is correct, tuning will be allowed. Otherwise, access will be read only.

RETURN Statements
The RETURN; statement immediately exits from a script. This prevents the script from
performing any additional functions, including predefined system level functions.

Assignment Statements
The assignment statement assigns a value to a given target. The target of an assignment can
be an input name, a local attribute name, or one of several predefined names listed below. All
assignment statements have an expression as their right hand side. The target will be
assigned the value of that expression. Results of assignment statements depend upon the
data type as listed in Appendix A. See Display Language Grammar for usage rules.

The following names represent display resources. They can only be the target of an
assignment. They cannot appear in an expression. They all begin with a pound sign (#).

#RBAR #RISEG1 #RISEG2 #RISEG3 #RISEG4
#MBAR #MISEG1 #MISEG2 #MISEG3 #MISEG4
#LBAR #LISEG1 #LISEG2 #LISEG3 #LISEG4
#LINE1 #LINE2

#LINE3 #LINE4 #LINE5 #LINE6

#LED #BEEPER

#UPDN


If the target is one of the predefined names having the suffix .SRC, the expression must be
just a source name (an input name or local attribute name), and the target will be
continuously updated with the value associated with that name.

#RBAR.SRC #RISEG1.SRC #RISEG2.SRC #RISEG3.SRC #RISEG4.SRC
#MBAR.SRC #MISEG1.SRC #MISEG2.SRC #MISEG3.SRC #MISEG4.SRC
#LBAR.SRC #LISEG1.SRC #LISEG2.SRC #LISEG3.SRC #LISEG4.SRC
#LINE1.SRC #LINE2.SRC #LINE3.SRC #LINE4.SRC #LINE5.SRC #LINE6.SRC
#LED.SRC #BEEPER.SRC

#UPDN.SRC

2-17