Control - Longus/FluidNC GitHub Wiki

Control

This section is used for control input. These are typically uses with switches

macro0 through macro3 These switches will activate the macro configured in this section.

control:
  safety_door_pin: NO_PIN
  reset_pin: NO_PIN
  feed_hold_pin: NO_PIN
  cycle_start_pin: NO_PIN
  macro0_pin: NO_PIN
  macro1_pin: NO_PIN
  macro2_pin: NO_PIN
  macro3_pin: NO_PIN

Tips:

Ideally you would use electronic filtering to reduce the effects of noise and contact bounce. You can also add firmware debouncing at the machine level with the switch_debounce_ms: setting