Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.4.6.4 <strong>Machine</strong> & Workpiece Coordinate Variables<br />
<strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />
Simulation Macro Variables, <strong>Machine</strong> & Workpiece Coordinate Variables<br />
$[L]{ABC}[TH]M Current and last machine A, B and C rotary positions<br />
Type: Numeric, Read-only<br />
These variables hold machine A, B and C rotary axis positions.<br />
$AM, $BM and $CM refer to the current A, B and C rotary head or table axis positions. In the<br />
case where the machine has two rotary axes with the same letter address, use $AHM, $BHM and<br />
$CHM to refer to the rotary head axes and $ATM, $BTM and $CTM to refer to the rotary table<br />
axes. $LAM, $LAHM, $LATM, $LBM, $LBHM, $LBTM, $LCM, $LCHM and $LCTM hold<br />
the rotary axis positions at the start of the last motion.<br />
If the machine does not have one of the named axes, the corresponding value will be zero (0).<br />
$[L]{ND}M Current and last machine attachable rotary head positions<br />
Type: Numeric, Read-only<br />
These variables hold machine primary and secondary attachable rotary head axis positions.<br />
$NM holds the primary attachable rotary head position and $DM holds the secondary attachable<br />
rotary head position. $LNM and $LDM hold the attachable rotary head positions at the start of<br />
the last motion.<br />
If the machine does not have one of the named axes, the corresponding value will be zero (0).<br />
$[L]{XYZUVWE}M Current and last machine X, Y, Z, U, V, W and E positions<br />
Type: Numeric, Read-only<br />
These variables hold the machine X, Y, Z, U, V, W and Extending (E) axis positions.<br />
$XM, $YM, $ZM, $UM, $VM, $WM and $EM represent the current axes positions. $LXM,<br />
$LYM, $LZM, $LUM, $LVM, $LWM and $LEM represent the axis positions at the start of the<br />
last motion.<br />
If the machine does not have one of the named axes, the corresponding value will be zero (0).<br />
$[L]{XYZIJK}W Current and last LCS X, Y, Z, I, J, K coordinates<br />
Type: Numeric, Read/Write<br />
These variables contain the local coordinate system (LCS) X, Y and Z coordinates of the tool tip<br />
and the I, J and K cosine vectors of the tool axis when a local coordinate frame is active. If a<br />
local coordinate frame is not active then these variables return machine coordinates instead (e.g.,<br />
$ZW returns $ZM when a local coordinate frame is not active). $XW, $YW, $ZW, $IW, $JW<br />
and $KW refer to the current position. $LXW, $LYW, $LZW, $LIW, $LJW and $LKW represent<br />
the position at the start of the last motion.<br />
<strong>ICAM</strong> Technologies Corporation – Proprietary 209