Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ostie01 on December 22, 2015, 09:55:34 AM

Title: Mach3 execute code only if I press down a pedal, Possible?
Post by: ostie01 on December 22, 2015, 09:55:34 AM
I'm working on a mini CNC press brake and would like to know if there's a way to have Mach3 execute the code only if I press the foot pedal, if I release the foot pedal, mach will pause
and resume if I press the foot pedal again, until the cycle is done.

Or if I release the foot pedal, Mach will stop and go back up.

This is for security reason.


Thanks for any advice.

Jeff
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: BR549 on December 22, 2015, 10:50:40 AM
There IS a door safety circuit in Mach3 that stops the Gcode from running when activated. BUT that does not resolve you of the responsibility to provide the correct dead man system to protect the operator. 

(;) TP
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: Cbyrdtopper on December 23, 2015, 08:31:03 AM
Is the door safety circuit a Pin or an OEM Button of some kind?  I'm quite curious to find it now.
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: BR549 on December 23, 2015, 08:46:22 AM
It is a pin input
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: ostie01 on December 24, 2015, 05:00:41 AM
Thanks for the reply.

What happen exactly when you use this input.

Does mach pause on it's the same as an E-STOP?

Jeff
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: BR549 on December 24, 2015, 10:49:37 AM
It simply stops the execution of Gcode while it is active.
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: ostie01 on December 24, 2015, 11:52:52 AM
Thanks.

Does the program resume if you de activate that input?

Jeff
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: Overloaded on December 24, 2015, 01:04:28 PM
Thanks.

Does the program resume if you de activate that input?

Jeff

It does in simulation.
Decelerates to a controlled stop, then accelerates and resumes as normal.
R3-043-062

Russ
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: BR549 on December 24, 2015, 01:46:11 PM
Please not that this does NOT qualify as a certified safety device function. It cannot replace the need for  a physical safety stop function in any situation.  It was simply a function Art added into Mach3 as a conveniance to users. Nothing more.

(;-) TP
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: ostie01 on December 24, 2015, 05:05:55 PM
Please not that this does NOT qualify as a certified safety device function. It cannot replace the need for  a physical safety stop function in any situation.  It was simply a function Art added into Mach3 as a conveniance to users. Nothing more.

(;-) TP

Yes, I know, I will be the only one using this machine since I'm the only one in the shop.

All others safety features will be added too.

The overall dimension in only 18in wide by 30 in high, that's why I called it a mini CNC press brake.

Already started the build.

Thanbks a lot for youor help, very appreciated.

Jeff
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: Cbyrdtopper on December 28, 2015, 08:02:29 AM
It's probably right in front of my face but I cannot seem to find the input.  What is it called, I just cannot find it.  Using the ESS.
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: Overloaded on December 28, 2015, 08:43:02 AM
 :)
Title: Re: Mach3 execute code only if I press down a pedal, Possible?
Post by: Cbyrdtopper on December 28, 2015, 09:47:10 AM
Thank you Russ!  Didn't even think of looking in there. =)