I am researching the best way to rapidly turn off the motors in the case of a crash on my K40-S
There are times when running Gcode tests that the carriage gets driven into the stops and I want to release the motors quickly. I suspect there are other times when I want to shut down due to unplanned interference’s in the work area.
I know that I can turn off the motors from my GLCD panel but it takes to much time to traverse the menu items after a crash. This is the approach that I currently use. I also know that I could do this by issuing a Mcode from LW.
I need this button to be remote from the smoothieboard because in my setup it is not accessible.
I am hoping for a button that when pushed stops/pauses the current operation, releases the motors and then with another action will go back to an operational state.
…
So I am researching the use of the kill switch for this function.
Which has generated some questions numbered below.
…
From this link: http://smoothieware.org/killbutton#toc0
“When in the halted state (after kill button is pressed) the play led will flash rapidly. Kill can be cleared by holding down the kill button for 2 seconds or more”
-
By “clear” does this mean the machine will resume normal operation (exit the halt state) or is a reset necessary?
…
“If the kill button is pressed … enters the Halt state, in this state the play led flashes, and the state can be cleared by issuing M999 or holding the flashing kill button for 2 seconds (it can also be cleared from the LCD panel).” -
I could not find a reference as to how it is cleared from the LCD panel.
…
From this link: http://smoothieware.org/panel#toc5
“The button on the glcd and VIki2 can be wired as a Kill button by following This guide. In that case the panel.back_button_pin should be commented out.”
-
This reference took me to this link: http://smoothieware.org/pausebutton which currently has no content.
-
What button on the GLCD is this referring to?
…
My plan is to:
A: connect a 4 wire harness to a Stop LED and Stop PB on my K40 control panel.
A1: LED to JP24
A2: Momentary PB switch to JP23
B: change the configuration file as such:
…kill_button_enable true # set to true to enable a kill button
…kill_button_pin 2.12 # kill button pin. default is same as pause button 2.12 (Add ^ for external buttons)
5. If I am wiring the PB to JP23 I will not need the ^ in the config?
I expect the operation to be:
To stop: Push the stop button and the machine goes into halt. The LED will pulse rapidly. Will this turn off the motor drive?
To resume: Push and hold the stop button for 2 sec. and machine will resume i.e. exit the halt state.
I would appreciate any advice and help from the “experts”.
I will document and publish the end results for all.