You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />
Simulation Macro Functions, <strong>Virtual</strong> <strong>Machine</strong> General Functions<br />
index and n2 specifies the secondary index. Specify 0 (zero) for both n1 and n2 to return the base<br />
fixture compensation amount.<br />
If the ALL keyword is specified, the return value is a sequence of length 16 containing the<br />
fixture compensation values for all possible axes for the specified compensation index. Otherwise,<br />
the return value is a sequence of length 6 containing the fixture compensation values for<br />
the active axes (as defined by the $AXES system variable). A sequence of zeros is returned if the<br />
compensation index is not defined.<br />
result=$FMSGFCV(n1,n2,index)<br />
result=$FMSGFCV(n1,n2,keyword)<br />
Returns: Numeric<br />
Similar to the above, this form of the $FMSGFCV function returns the fixture compensation<br />
amount for the specified axis, identified either by an index number, or by a keyword identifier. A<br />
value of zero is returned if the compensation index is not defined, or if axis is not defined in the<br />
post-processor or control emulator.<br />
index keyword Axis<br />
1 XAXIS Primary X axis<br />
2 YAXIS Primary Y axis<br />
3 ZAXIS Primary Z axis<br />
4 UAXIS Secondary X axis<br />
5 VAXIS Secondary Y axis<br />
6 WAXIS Secondary Z axis<br />
7 AAXIS,TABLE Rotary A axis table<br />
8 BAXIS,TABLE Rotary B axis table<br />
9 CAXIS,TABLE Rotary C axis table<br />
10 AAXIS Rotary A axis head<br />
11 BAXIS Rotary B axis head<br />
12 CAXIS Rotary C axis head<br />
13 QUILL Extending linear axis<br />
14 RAM[,1] Primary rotary on exchangeable head<br />
15 RAM,2 Secondary rotary on exchangeable head<br />
16 ORIENT Spindle orientation<br />
The $FMSGLCV Function<br />
result=$FMSGLCV(tool_id,n[,ALL])<br />
Returns: Sequence<br />
This function returns length compensation amounts. There are two possible forms of referencing<br />
tool length compensation values. If the machine supports “offset unique by tool” compensation,<br />
then n1 specifies the tool number and n2 specifies the compensation switch number for that tool.<br />
Otherwise, the value of n1 is ignored and n2 specifies the length compensation offset switch<br />
number. Specify 0 (zero) for both tool_id and n to return the base length compensation amount.<br />
<strong>ICAM</strong> Technologies Corporation – Proprietary 183