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 />
If NEXT is specified, this axis motion will be deferred and included with the next model motion<br />
event. NOW (the default) causes the axis to move immediately. All pending NEXT motions can<br />
be processed by calling $FMSMOVE(0,0,0,NOW).<br />
The $FMSMSP Function<br />
result=$FMSMSP(n)<br />
Returns: Numeric (always returns 1)<br />
This function sets the master (or current) spindle by giving the spindle ID number n. Spindle ID<br />
numbers are set when creating model stock, tool and rotary axes that can also represent a spindle.<br />
The master spindle is the one that will be controlled by the built-in spindle processing of CERUN<br />
or GENER. Use this function if it is necessary to override the default assignment of master<br />
spindle.<br />
The $FMSPCK Function<br />
result=$FMSPCK(n)<br />
Returns: Numeric component ID or zero<br />
This function returns the component ID of the pocket associated with tool number n.<br />
The $FMSSDCV Function<br />
result=$FMSSDCV(n1,n2,n3)<br />
Returns: Numeric<br />
This function sets tool diameter compensation amounts. There are two possible forms of referencing<br />
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 set the base diameter<br />
compensation value, which will be added to any diameter compensation offset in effect.<br />
This function sets the tool diameter compensation amount for the specified index to n3.<br />
A value of 1 is returned if the diameter compensation amount was successfully applied, otherwise<br />
a value of 0 (zero) is returned.<br />
The $FMSSFCV Function<br />
result=$FMSSFCV(n1,n2,q[,ALL])<br />
Returns: Numeric<br />
This form of the $FMSSFCV function sets the fixture compensation amounts to be associated<br />
with the fixture (or workpiece) compensation code n1. For example, on machines with a range of<br />
G codes, such as G54-G59, specify a number in the range 1-6 for n1; the value of n2 is ignored.<br />
On controllers that support an extended workpiece compensation range, n1 specifies the primary<br />
188 <strong>ICAM</strong> Technologies Corporation – Proprietary