Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block homing with certain control switches #1404

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

bdring
Copy link
Owner

@bdring bdring commented Dec 12, 2024

Door, Hold, E-Stop and fault control switches block homing.

Door, Hold, E-Stop and fault control switches block homing.
@bdring bdring requested a review from MitchBradley December 12, 2024 19:42
Door and Hold are already handled sufficiently.
@bdring
Copy link
Owner Author

bdring commented Dec 15, 2024

Here is some test data.

Door Switch

Door switch on startup reports alarm

Grbl 3.9 [FluidNC v3.9.2-pre2 (Block_Homing_with_control_switches-7b56b8fd-dirty) (wifi) '$' for help]
[MSG:ERR: safety_door_pin is active at startup]
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
<Alarm|MPos:0.000,0.000,0.000|FS:0,0|Pn:D|WCO:0.000,0.000,0.000>

$X and $H do nothing until door is deactivated. CTRL+X does a hard reset, but returns to the same mode.

Deactivating leaves you in Alarm mode. $X and $H work. CTRL+X does a hard reset without changing the mode

Hold Switch

Hold switch on startup reports alarm

Grbl 3.9 [FluidNC v3.9.2-pre2 (Block_Homing_with_control_switches-7b56b8fd-dirty) (wifi) '$' for help]
[MSG:ERR: feed_hold_pin is active at startup]
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
<Alarm|MPos:0.000,0.000,0.000|FS:0,0|Pn:H|WCO:0.000,0.000,0.000>

$X does nothing. $H will home and leave you in Idle state. CTRL+X does a hard reset without changing the mode

Fault and E-Stop

Switch on startup reports alarm

Grbl 3.9 [FluidNC v3.9.2-pre2 (Block_Homing_with_control_switches-7b56b8fd-dirty) (wifi) '$' for help]
[MSG:ERR: fault_pin is active at startup]
[MSG:INFO: ALARM: Control Pin Initially On]
ALARM:11
[MSG:INFO: Control pins:F]
<Alarm|MPos:0.000,0.000,0.000|FS:0,0|Pn:H|WCO:0.000,0.000,0.000>

$X and $H do nothing until door is deactivated. CTRL+X does a hard reset, but returns to the same mode.

Deactivating leaves you in Alarm mode. $X and $H work. CTRL+X does a hard reset without changing the mode

Combo of Door and Fault

Works as intended

Combo of Hold and Fault

Works as intended.

Wiki Note to add:

Standard Grbl only supports Door, Reset, Feed Hold and Cycle start pins. If you use the other inputs, Grbl gcode senders will probably not be very helpful with the reporting or use of these inputs.

@bdring bdring merged commit d8d37ea into main Dec 16, 2024
24 checks passed
@bdring bdring deleted the Block_Homing_with_control_switches branch December 16, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant