Hello Guest it is March 27, 2023, 07:38:07 AM

Author Topic: Gcode should rewind on Estop  (Read 2909 times)

0 Members and 1 Guest are viewing this topic.

Gcode should rewind on Estop
« on: September 17, 2008, 08:36:06 PM »
How can I set mach up to automaticly rewind the gcode to the begining when I enter estop?

All the commercial controllers I have used and have on other machinery in my shop, they all revert back to the begining of the gcode file when restarting after estop, they have a start from feature so you can choose the block or line you want to start from if you choose to start somewhere out in the middle .

I rarely am on the cycle screen when running parts and have to go over to the cycle screen to click the rewind button and have broken a number of tools when I forget to hit the rewind button after an estop , I am sure its useful to have the gcode file run from the point where you hit the estop button to some but its not std on most commercial machines and I feel like an old dog sometimes
Re: Gcode should rewind on Estop
« Reply #1 on: September 17, 2008, 10:25:22 PM »
If you have an external RESET button, the following works. It rewinds the file when you hit the external reset button.
This works well in simulation.
Use 2 OEM triggers, both assigned to the same pin. 1002 is REWIND and 1021 is RESET.
Cant do it with my small brain. ::)
RC 8)
Re: Gcode should rewind on Estop
« Reply #2 on: September 17, 2008, 10:35:33 PM »
One other thing...The external RESET button will also put it in E-Stop if it is running. It toggles the function just like the button on screen does. Id use a momentary NO button, active HI. The type of button that is not easily activated inadvertently. A typical START button.
Probably a better way, just thought I'd give it a shot.......between shots.
Re: Gcode should rewind on Estop
« Reply #3 on: September 18, 2008, 09:49:29 AM »
much thanks that should do exactly what i need