AnyAxisAtHome

From Compost Wiki
Jump to navigation Jump to search

AnyAxisAtHome

Description

Returns true if any linear axis in the current axis output set has a raw value of 0.0 (home position).

This command is typically used in post processors to:

  • Detect when any axis has returned to its zero/home position
  • Conditionally suppress output of certain codes when the machine is already at home
  • Make flow decisions before issuing home-return or reference-point moves

Notes

Iterates over the post axis output set and checks the raw (pre-format, pre-WFO) value of each linear axis using EqualX comparison. Rotary axes are excluded from this check. Returns false if no linear axes are at home.

Stats

ID 514
Type Boolean
Class All Machines
Min Version N/A