Hello Guest it is July 14, 2020, 08:00:45 PM

Author Topic: Mach3 execute code only if I press down a pedal, Possible?  (Read 2522 times)

0 Members and 1 Guest are viewing this topic.

Mach3 execute code only if I press down a pedal, Possible?
« 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

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #1 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
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #2 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.
Chad Byrd

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #3 on: December 23, 2015, 08:46:22 AM »
It is a pin input
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #4 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

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #5 on: December 24, 2015, 10:49:37 AM »
It simply stops the execution of Gcode while it is active.
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #6 on: December 24, 2015, 11:52:52 AM »
Thanks.

Does the program resume if you de activate that input?

Jeff
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #7 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

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #8 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
Re: Mach3 execute code only if I press down a pedal, Possible?
« Reply #9 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