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 />
to define the length compensation values for all possible axes for the specified offset switch<br />
number. Otherwise, use a sequence of length 6 to define the length compensation values for the<br />
active axes (as defined by the $AXES system variable).<br />
Alternatively, the length compensation offsets can be specified for the XYZ axes using numeric<br />
variables or constants (if x,y is omitted they are set to zero).<br />
A value of 1 is returned if the length compensation amount was successfully applied, otherwise a<br />
value of 0 (zero) is returned.<br />
result=$FMSSLCV(tool_id,n,index,amount)<br />
result=$FMSSLCV(tool_id,n,keyword,amount)<br />
Returns: Numeric<br />
Similar to the above, this form of the $FMSSLCV function sets the length compensation amount<br />
for the specified axis, identified either by an index number, or by a keyword identifier (a table of<br />
valid index numbers and keywords can be found on page 183). A value of 1 is returned if the<br />
length compensation amount was successfully applied, otherwise a value of 0 (zero) is returned.<br />
Note: Currently, length compensation is supported only for the XYZ linear axes and for the ABC<br />
rotary head axes, conditional upon these axes being defined in the post-processor or control<br />
emulator.<br />
The $FMSTRN Function<br />
result=$FMSTRN(from_part_id,to_part_id [,space_type])<br />
Returns: Numeric (always returns 1)<br />
This function transfers part, stock or fixture components from the stock axis identified by<br />
from_part_id to the stock axis identified by to_part_id. Component ID‟s are obtained using the<br />
$FMSID function. The space_type flag defines how the stock is moved, as follows:<br />
0 Local space (default): Object‟s relationship to to_part_id will be the same as the object‟s<br />
original relationship to from_part_id. Object typically will move.<br />
1 Global space: Object will be transferred from from_part_id to to_part_id without physically<br />
moving<br />
190 <strong>ICAM</strong> Technologies Corporation – Proprietary