You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4.4 Model Customization<br />
<strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />
This section describes the model customization features available with QUEST.<br />
� <strong>Virtual</strong> <strong>Machine</strong> uses the <strong>ICAM</strong> Macro Language facility (described starting on page<br />
123) to customize models. This is the same programming facility used with CERUN and<br />
GENER.<br />
� The Startup macro and Shutdown macro (on page 145) allow you to customize the actions<br />
of the model at the start and end of processing.<br />
� Event macros (on page 146) provide customization control at other key events in the<br />
simulation of the program.<br />
� The Dialog Editor (on page 148) allows you to build custom dialog boxes, which can be<br />
activated during processing to query the NC programmer for any necessary information.<br />
� Many built-in <strong>Virtual</strong> <strong>Machine</strong> specific macro functions (on page 147) are available to<br />
control model behavior.<br />
� There are also a couple of <strong>Virtual</strong> <strong>Machine</strong> specific macro variables (on page 194) that<br />
may prove useful.<br />
Syntax Conventions<br />
The syntax for the macro language is listed using the following format:<br />
� Square brackets [ ] encase syntax that is optional. The ~ symbol preceding the item, as in<br />
~[,a], indicates that the item can be repeated zero or more times.<br />
� Parentheses ( ) encase syntax that lists a number of choices, one of which is required. The<br />
~ symbol preceding the item, as in ~(,a), indicates that the item can be repeated one or<br />
more times. The parentheses are omitted when the syntax is a simple choice among a<br />
number of keywords.<br />
� Any value not contained in square brackets or parentheses must be programmed each<br />
time the command is used.<br />
� Formal keywords will be shown in upper case, as in ON and WHILE.<br />
� Lower case italicized words identify requirements for numeric values, as in label_name<br />
or value.<br />
� Alternate forms for a command will be listed separately, with the command name repeated.<br />
<strong>ICAM</strong> Technologies Corporation – Proprietary 122