AtEvent

From Compost Wiki
Revision as of 09:08, 12 June 2025 by FabienT (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

AtEvent?('n')

Description

This command will return true if the current step is at the specified event. The available events are:

  • FlowStart
  • OpChange
  • ApproachStart
  • ApproachPartClearance
  • RetractPartClearance
  • RetractEnd
  • ToolChange
  • ToolpathStart
  • ToolpathEnd
  • OpStart
  • OpEnd
  • CannedPathEnd
  • PartSpindleState
  • ToolSpindleState
  • PartSpindleApproach
  • PartSpindleRetract
  • OnPartParkEvent
  • OffPartParkEvent
  • TGChange
  • ToolPosChange
  • ToolIDChange
  • ToolOffsetChange
  • ToolSubPosChange
  • ProgStop
  • NonToolUtilOp
  • Diff1stAngle
  • Diff2ndAngle
  • DiffRotSide
  • BeforeWPJump
  • AfterWPJump
  • TurningMillingSpindleTransition
  • ForcedOffPart
  • FlowEnd
  • ProgramEnd
  • HoleStart
  • HoleEnd
  • RepeatStart
  • RepeatEnd
  • FinalHoleEnd
  • AxisSetChange
  • PolarInterpOn
  • PolarInterpOff
  • CylindricalInterpOn
  • CylindricalInterpOff


The strings are not case sensitive.


Notes

More events will be implemented as soon as prog iterator support exists. Custom features will be sent to the post as events that are named the same as the custom feature name.


Additional Info

This command is supported in any post that allows events in the Compost4 Form (including stepper posts). Posts with "Allow Events/Custom Features" disabled may not receive all possible events depending on what inter-op loops they use and the configuration of the events in the MDD.


Stats

ID 484
Type Boolean
Class Any Machine
Scope Op Loop
Min Version GibbsCAM version 11.0