Skip to content
bdring edited this page Oct 13, 2020 · 2 revisions

Control Switches

Grbl allows up to 4 basic control switches These switches these are

  • Feed Hold
  • Cycle Start
  • Reset
  • Door

Feed Hold

Feed Hold, also known as hold or pause is used to stop a job quickly without loosing your position. This might be used if you see the spindle is headed for a clamp. It should not be used as a replacement for an E-Stop. The hold state can be resumed with the start button. You can quit the job in the hold state with the reset button. You define the I/O for the hold button with...

#define CONTROL_FEED_HOLD_PIN   GPIO_NUM_XX

Cycle Start

Cycle Start, also know as start or restart is used to resume a job that was put into feed hold mode. You define the I/O for the cycle start button with...

#define CONTROL_CYCLE_START_PIN    GPIO_NUM_XX

Reset

Reset can be used to end a job without loss of position when in the feed hold state. It can also be used to immediately end a job that is running with loss of position. It can clear some alarms, like soft limits. You define the I/O for the Reset pin with...

#define CONTROL_RESET_PIN      GPIO_NUM_XX

Door

Door can be used as an software interlock on an enclosure door. It normally acts like a feed hold, but you can also define a parking feature to work with this.

#define CONTROL_SAFETY_DOOR_PIN      GPIO_NUM_xx

Parking

Parking is typically used with a mill or router. When the door switch activates, the machine will stop, retract the spindle, stop the spindle. These behaviors can be tweaked a little with options in the config.h file (search for parking). You resume the job, by closing the door and sending the cycle start command or button.

#define PARKING_ENABLE
Clone this wiki locally