You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>ICAM</strong> <strong>Virtual</strong> <strong>Machine</strong> ® <strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />
Simulation Macro Functions, <strong>Virtual</strong> <strong>Machine</strong> General Functions<br />
switch to the Motion Step format. The animation mode will switch back to continuous when the<br />
$FMSETC function is later called to indicate the end of the tool change.<br />
The $FMSCMRA Function<br />
result=$FMSCMRA(n)<br />
Returns: Numeric (always returns 1)<br />
This macro function will position the camera to one of 10 predefined model camera positions.<br />
Specify the camera position using a whole number in the range 0-9. No action is taken when the<br />
selected position does not exist in the model.<br />
The $FMSETC Function<br />
result=$FMSETC( )<br />
Returns: Numeric (always returns 1)<br />
This function is used to indicate the end of a tool change. When in continuous animation mode,<br />
and the “Motion step during Tool Change” setting is active, the animation mode will switch to<br />
the Motion Step format when the $FMSBTC function is called. The animation mode will switch<br />
back to continuous when the $FMSETC function is later called to indicate the end of the tool<br />
change.<br />
The $FMSGDCV Function<br />
result=$FMSGDCV(n1,n2)<br />
Returns: Numeric<br />
This function returns tool diameter compensation amounts. There are two possible forms of<br />
referencing tool diameter compensation values. If the machine supports “offset unique by tool”<br />
compensation, then n1 specifies the tool number and n2 specifies the compensation switch<br />
number for that tool. Otherwise, the value of n1 is ignored and n2 specifies the diameter compensation<br />
offset switch number. Specify 0 (zero) for both n1 and n2 to return the base diameter<br />
compensation amount<br />
The return value is the diameter compensation offset amount. A value of zero is returned if the<br />
offset is not defined.<br />
The $FMSGFCV Function<br />
result=$FMSGFCV(n1,n2[,ALL])<br />
Returns: Sequence<br />
This form of the $FMSGFCV function returns the fixture compensation amounts associated with<br />
the fixture (or workpiece) compensation code n1. For example, on machines with a range of G<br />
codes, such as G54-G59, specify a number in the range 1-6 for n1; the value of n2 is ignored. On<br />
controllers that support an extended workpiece compensation range, n1 specifies the primary<br />
182 <strong>ICAM</strong> Technologies Corporation – Proprietary