Axis Names: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
No edit summary
Jeffm (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 8: Line 8:


==Meta Names==
==Meta Names==
The post engine defines a number of special axis names. They allow a post processor to reference some commonly used axes with out needing to know the specific axis name. These axes will be axes in the current interpolation set or flow axis set.
The post engine defines a number of special axis names. They allow a post processor to reference some commonly used axes without needing to know the specific axis name. These axes will be axes in the current interpolation set or flow axis set.


* '''X'''  The current horizontal axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveX" commands.
* '''X'''  The current horizontal axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveX" commands.
Line 17: Line 17:
* '''C'''  The current rotary axis that is aligned with the depth axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveC" commands.
* '''C'''  The current rotary axis that is aligned with the depth axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveC" commands.
* '''1STROTARY'''  The current rotary axis that is closest to the part, this is the axis used for "Rotary Milling" style operations or the "4th" axis.
* '''1STROTARY'''  The current rotary axis that is closest to the part, this is the axis used for "Rotary Milling" style operations or the "4th" axis.
* '''2STROTARY'''  The current rotary axis that is attached to the 1st rotary axis, this is the axis that is commonly called the "5th" axis.
* '''2ndRotary'''  The current rotary axis that is attached to the 1st rotary axis, this is the axis that is commonly called the "5th" axis.
* '''PlaneH'''  The interpolation set axis that aligns with the horizontal axis of the current plane mode.
* '''PlaneV'''  The interpolation set axis that aligns with the vertical axis of the current plane mode.
* '''PlaneD'''  The interpolation set axis that aligns with the depth axis of the current plane mode.
 
 
Available in GibbsCAM 12.0.22 and later
 
* '''1stRotaryFromPart'''  The current rotary axis that is closest to the part, this is the axis used for "Rotary Milling" style operations or the "4th" axis.
* '''2ndRotaryFromPart'''  The current rotary axis that is attached to the 1st rotary axis, this is the axis that is commonly called the "5th" axis.
* '''1stRotaryFromTool'''  The current rotary axis that is closest to the tool, similar to 1st and 2nd Rotary, but indexed backwards. (useful for Haas machines)
* '''2ndRotaryFromPart'''  The current rotary axis that is next closest to the tool, similar to 1st and 2nd Rotary, but indexed backwards.(useful for Haas machines)
* '''PolarH'''  The linear interpolation set axis that aligns with the horizontal axis of the current polar output mode.
* '''PolarV'''  The linear interpolation set axis that aligns with the vertical axis of the current polar output mode.
* '''PolarD'''  The linear interpolation set axis that aligns with the depth axis of the current polar output mode.
* '''PolarRad'''  The linear interpolation set axis that moves radially for face rotary milling operations (the one that actually moves)
* '''PolarPerp'''  The linear interpolation set axis that is perpendicular to the radial axis and depth axis for face rotary milling operations (the one that doesn't move)
* '''CylindricalRad'''  The linear interpolation set axis that moves radially for non-face rotary milling operations (the depth axis)
* '''CylindricalPerp'''  The linear interpolation set axis that is perpendicular to the radial axis and aligned axis for non-face rotary milling operations (the one that doesn't move)
* '''CylindricalAligned'''  The linear interpolation set axis that is aligned with the rotary axis for non-face rotary milling operations.
 
 
==AxisPreset Loop==
During the [[EachPresetAxis]]/[[NextPresetAxis]] loop the special axis value of 'THIS' can be used to reference the currently preset axis in the loop.


[[Category:Articles]]
[[Category:Articles]]

Latest revision as of 18:27, 8 November 2018

Axis Names

A number of commands take Axis Names as arguments. These can be specific axis names as defined in the MDD or specific special "Meta-names" that define commonly used axes.

MDD Axes

Fixed machine axes are defined in the MDD and follow the MTM Axis Labels naming schemes.

Meta Names

The post engine defines a number of special axis names. They allow a post processor to reference some commonly used axes without needing to know the specific axis name. These axes will be axes in the current interpolation set or flow axis set.

  • X The current horizontal axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveX" commands.
  • Y The current vertical axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveY" commands.
  • Z The current depth axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveZ" commands.
  • A The current rotary axis that is aligned with the horizontal axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveA" commands.
  • B The current rotary axis that is aligned with the vertical axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveB" commands.
  • C The current rotary axis that is aligned with the depth axis in the current interpolation set with the current TG/WP combination. This is the axis used in legacy "MoveC" commands.
  • 1STROTARY The current rotary axis that is closest to the part, this is the axis used for "Rotary Milling" style operations or the "4th" axis.
  • 2ndRotary The current rotary axis that is attached to the 1st rotary axis, this is the axis that is commonly called the "5th" axis.
  • PlaneH The interpolation set axis that aligns with the horizontal axis of the current plane mode.
  • PlaneV The interpolation set axis that aligns with the vertical axis of the current plane mode.
  • PlaneD The interpolation set axis that aligns with the depth axis of the current plane mode.


Available in GibbsCAM 12.0.22 and later

  • 1stRotaryFromPart The current rotary axis that is closest to the part, this is the axis used for "Rotary Milling" style operations or the "4th" axis.
  • 2ndRotaryFromPart The current rotary axis that is attached to the 1st rotary axis, this is the axis that is commonly called the "5th" axis.
  • 1stRotaryFromTool The current rotary axis that is closest to the tool, similar to 1st and 2nd Rotary, but indexed backwards. (useful for Haas machines)
  • 2ndRotaryFromPart The current rotary axis that is next closest to the tool, similar to 1st and 2nd Rotary, but indexed backwards.(useful for Haas machines)
  • PolarH The linear interpolation set axis that aligns with the horizontal axis of the current polar output mode.
  • PolarV The linear interpolation set axis that aligns with the vertical axis of the current polar output mode.
  • PolarD The linear interpolation set axis that aligns with the depth axis of the current polar output mode.
  • PolarRad The linear interpolation set axis that moves radially for face rotary milling operations (the one that actually moves)
  • PolarPerp The linear interpolation set axis that is perpendicular to the radial axis and depth axis for face rotary milling operations (the one that doesn't move)
  • CylindricalRad The linear interpolation set axis that moves radially for non-face rotary milling operations (the depth axis)
  • CylindricalPerp The linear interpolation set axis that is perpendicular to the radial axis and aligned axis for non-face rotary milling operations (the one that doesn't move)
  • CylindricalAligned The linear interpolation set axis that is aligned with the rotary axis for non-face rotary milling operations.


AxisPreset Loop

During the EachPresetAxis/NextPresetAxis loop the special axis value of 'THIS' can be used to reference the currently preset axis in the loop.