Axis Names

From Compost Wiki
Revision as of 21:12, 12 August 2016 by Danm (talk | contribs) (→Meta Names: '2STROTARY' does not appear to be correct, while '2ndRotary' appears to work correctly.)
Jump to navigation Jump to search

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.