Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: knucklbustr on January 02, 2015, 10:16:08 PM

Title: Estop w/ 2 Ports
Post by: knucklbustr on January 02, 2015, 10:16:08 PM
Is there a way to setup Mach3 w/ 2 ports for the Estop  ?

I have 2 ports . Input Signals Config only has 1 Estop setup.

Mach3.

Title: Re: Estop w/ 2 Ports
Post by: Hood on January 03, 2015, 02:58:23 AM
It will all depend on the breakout boards you are using, some can easily be linked together so that the E-Stop will disable both breakout boards.
Hood
Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 03, 2015, 03:35:58 AM
Gecko 540 for X-Y-A, Port 1,  Pin 10, NC side of Stop Switch

ZTW 5 axis BOB for Z,  Port 2,  Pin 10, NO side of Stop Switch

Title: Re: Estop w/ 2 Ports
Post by: Hood on January 03, 2015, 05:29:48 AM
Mach, like all other controllers I know of, only has one input for E-Stop. It will be up to you to tie your E-Stop in to your hardware.
For example most industrial machines have an E-Stop string that takes in things such as limits and fault signals from drives etc. Any one of these will not only tell the controller (Mach in this case) but also there will be hardware stops, things such as contactors dropping out the power to the drives or safety relays sending Stop signals to drives etc etc.
 If your breakout can do similar, ie disable all I/O on an E-Stop signal then you may be able to tie things in that way

Hood
Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 03, 2015, 08:47:46 AM
In other words, I can only use 1 port for Mach3 estop input, to shut down the Z driver and Gecko 540 .

Maybe tie in the EN+ from the Z driver ?  For me, its a guess for now. Here is the setup for the Z BOB- http://wiki.zentoolworks.com/index.php/Zen_Toolworks_Stepper_Motor_Driver_Breakout_Board(5_Axis_Output_with_on_board_spindle_relay) (http://wiki.zentoolworks.com/index.php/Zen_Toolworks_Stepper_Motor_Driver_Breakout_Board(5_Axis_Output_with_on_board_spindle_relay))
Title: Re: Estop w/ 2 Ports
Post by: Jeff_Birt on January 03, 2015, 08:59:54 AM
The Mach3 'EStop' input is just to tell Mach3mand EStop occurred. An EStop must function independently of the PC or any circuit board in your machine. On a small machine this can be done by having a suitable EStop in series with a power supply mains feed. On a larger machine you need to use a safety relay/contactor.
Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 03, 2015, 09:16:30 AM
Jeff, that made it more clear for me.
Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 03, 2015, 01:48:08 PM
 In your opinion what would be the best route to cutting power to the steppers ?

The 48v PS.  or the drives ?  I have some different electronic relays to incorporate, if needed.

Leaving the A/C motor out.  My E-Stop switch is mechanically hooked to the mill off switch.

The E-Stop switch I have has modules to swapped out. NO and NC.
Title: Re: Estop w/ 2 Ports
Post by: Peter Homann on January 03, 2015, 05:50:32 PM
Your Estop switch should disconnect the A/C mains power from the 48V power supply. Do not switch the 48Vdc supply with the E-Stop as this may damage the G540.

An example G540 wiring diagram Engineering Note EN010 can be found on this page;
http://www.homanndesigns.com/store/index.php?main_page=page_2

Cheers,

Peter
Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 03, 2015, 11:08:09 PM
Your Estop switch should disconnect the A/C mains power from the 48V power supply. Do not switch the 48Vdc supply with the E-Stop as this may damage the G540.

An example G540 wiring diagram Engineering Note EN010 can be found on this page;
http://www.homanndesigns.com/store/index.php?main_page=page_2

Cheers,

Peter


Looks better than my drawing .  Thanks !

Hard time understanding this, is that a manual switch for the pin 10 enable ? Instead of running thru estop.

And... why the RL-04 48/240 relay, goes to pin 6 output ?  Whats #6 for ?

Right now I have a light switch to turn power on PS w/ an inline fuse.  Is the SW-06 IEC Switch some type of safety feature ?

Sorry for all the ques, but Ive gotten this far w/out burning anything up. ;D
Title: Re: Estop w/ 2 Ports
Post by: Peter Homann on January 04, 2015, 12:20:05 AM
Hi,

The switch on the enable line allows you to de-energise the stepper motors, allowing you to adjust the axis position by hand. I find it useful for setting the z-axis to the top of the work surface.

Output #6 is switching mains power to an outlet socket. You can use it to turn on a vacuum system or flood coolant pump, etc.  The active supply to this should really go via the EStop switch as well. I need to update that on the diagram.

There is nothing special about the IEC switch block, other than it has a switch, fuse holder and IEC lead socket in a neat package. What you are using is fine.
http://www.homanndesigns.com/store/index.php?main_page=product_info&cPath=29&products_id=86

Cheers,

Peter

Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 08, 2015, 10:30:32 AM
Should limit switches be tied in w/ a power supply ?

If I understand correctly, the above posted design has limit switches thru the Geck540.
If a switch is tripped, is sent thru the Gecko540 causing a stop to axis pin 1-4. Reset thru Mach3.

Which opens another ques. If an axis has hit a limit, how can you move it off the limit if there is an estop ?
I havnt tried this yet.

I have decided to use the Neg 48v PS thru my estop.
Im also tying in the Neg from Z-driver w/ estop.

Still trying to figure using Z limits in conjunction w/ Gecko540
From my initial post, Z is handled by a separate BOB and driver on port 2. Limits are NO, not NC .
Title: Re: Estop w/ 2 Ports
Post by: Jeff_Birt on January 08, 2015, 10:57:13 AM
Quote
I have decided to use the Neg 48v PS thru my estop.

Very bad idea!!! You want to cut off the AC input to the power supply NOT the DC form power supply to the stepper drive.


Quote
Should limit switches be tied in w/ a power supply ?

Well, it depends :) If you have a small machine and running it into a hard stop at the end of the axis travel won't break things then using a limit that is just SW controlled is OK. On large machines the limits are often tied to a system that will trip an EStop, and brake the axis. On an industrial machine there are often regulations that specify how this must be handled.
Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 08, 2015, 11:30:52 AM
Why is it a bad way using 48v PS ?

Im concerned running a 120v neutral line around my mill.
Probably would have to use 12ga solid. Then enclose in a protective conduit of some type.
Title: Re: Estop w/ 2 Ports
Post by: Jeff_Birt on January 08, 2015, 11:53:14 AM
I think we are talking about different things. Your EStop should cut the AC feeding the power supply, this does not mean you run 120V to your EStop unless it is a small machine and you can mount the EStop in the same cabinet as the rest of your electronics. If your EStop is mounted remotely then your EStop circuit should trigger a contactor/safety relay that energized the power supply.

it is not a good idea to try and cut the DC power between the power supply and Stepper drive, this can lead to a blown up stepper drive.
Title: Re: Estop w/ 2 Ports
Post by: knucklbustr on January 08, 2015, 09:18:10 PM
Where do I get a power source for this relay ?
I have a SSR-25-DA. Input 3-32VDC