Hello Guest it is March 19, 2024, 07:15:10 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jevs

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
201
So it is all done now. Working like a charm. No more limit crashing ever! My override button works perfect and everything. I must have been thinking ahead, because I had 3 extra terminal blocks open to do everything and I had already labeled all the home switch wires I was not using :)

So, now when you turn off soft limits and jog z above home, then hit a reference all, Z will travel up and hit the limit. Mach ignores it (which is dumb), but it overrides everything and kills the drives anyway.

The only thing is, mach never thinks it went into an E-stop or anything happened and the Z numbers just climb forever unless you hit the E stop. It still thinks it is moving Z. Not a big deal, but if anyone knows a way to force it to acknowledge it has stopped, I am open to making it so it does know it was stopped.


202
EstopInput - Z Limit - Y Limit - Z Limit - E-Stop - E-stop output(+24 when circuit is open)
                                                       ^
                                                    Pin 1-15

This works.
Pin 1-15 will see 24V coming through the E-stop if any limit opens and the E-stop has not been pressed. This will light up the limit switch inputs in mach.
EstopInput will see an e-stop if anything opens and kill the drives.

The only thing is you will not see the limit active in mach if you hit the E-stop. This will open up 1-15 no matter what.

This could be a little tricky to diagnose, but in real life, if you hit the limit while moving it will show in diagnostics. At this point E-stop has been activated for you and your probably not going to hit the real E-stop since it already stopped.

Worst case scenario is that you do hit the E-stop and then the limit lights are not on in mach. You  might not figure it out until you undo e-stop and then they show lit again and nothing happens.

This does require a momentary enable switch across the limits if you ever want to move off the switch. You will have to hold the enable and reset mach and the E-stop if you pressed it. Then you can make a move.

The good thing is that Mach cannot ignore limits during a home sequence. If I have an axis past the home switch for some reason and reference home, the worst that will happen is an emergency stop.

203
My mach is still reporting switch conditions etc even when E-stop is hit. E-stop kills the drives and stuff in my machine, but the IO board and computer are still on. Hitting the E-stop kills the enable output from the IO board that goes to the enable relay which kills the drives and anything that moves like the coolant, cabinet fans, way oiler. Mach is still active, just in E-stop mode, it just gets a signal on pin 10 that the E-stop was hit.

So, my thought was that it would be much easier to just look at the diagnostics screen and see the limits tripped and know instantly where the issue is. Sure I can figure it out, but it would be nice if Mach just said the limit was hit.

204
Have to think about that. The bad thing about that is that it will indicate a limit hit if you hit the E-stop. When in fact it has not been.
I had something that I thought was going to work. It seems that adding them with the E stop and trying to indicate a limit issue only when the limits are tripped and not the E-stop is the challenge (without adding more parts).

Just checked and my enable relay that kicks on the main relay is switching AC...so using that won't work.

One thing I might be able to do is run the 24 volts for the enable relay through all my limits, but I kind of hate to have the coil current on them all the time. I have no idea what their rating is. They are big and heavy duty looking with sealed connections etc, but I have no idea their rating.

205
The problem is that there is no way to "output a signal from the e-stop circuit" from what I have.
If I wire the limits in series with the e-stop, then it Is just a string of NC switches.

On another note, using the machines original home switches is going to put my home in the opposite corner to what I had it set. Basically the spindle will be in the back right corner of the table. Is this normal?
I had it set so the head is in the front left corner when home. This seems more logical to think the head is moving from 0 to positive x and y values.
I think this may be why I did not use them in the first place.....

206
Alright. I am ready to fix this thing now.
Any ideas how I can wire the limits so that it either still reports to Mach in the diagnostics screen or lights an LED on my panel?
I can put them in series with the e-stop, but that won't specifically tell me a limit is tripped for diagnostics of what has gone wrong.
I suppose I could use a relay, but that will add a tiny more delay.

207
I am not sure of I can wire them to disable the drives and also still report as limits to Mach. I will have to look into it.

208
First off. Do you agree I should take all the limits and tie them to the E-stop (enable relay)?
I can make this my first priority tommorow. At least then I can't crash it figuring out the rest

209
Yeah, there is a plate with a bunch of dogs that hit all the switches so originally it would know the start and stop of the tool change, home and limits.

I will have to think about this more tomorrow. At least I got all the welding and grinding and repair done today.

What stinks is that this is completely not what I needed to be getting done this weekend :(

Now, I have to make this thing 100% bullet proof safe though.

210
I know and what I am saying is on my machines I have extended the trigger so that it goes active and stays active if I travel further in that direction.

My controllers/drives can handle that situation and back off if I request a home and the switch is active. I do not think the ESS supports that feature but it may but also as mentioned there is an option in General Config which may work by telling you its active and not homing.

Other option is to alter the VB in the RefAll button and have it look at the LED for the Z Home, if it is active have it pop a message telling you and then have it stop any homing happening before it starts.

Hood

I got you. However I cannot do this. My mechanics would not allow Z to go all the way down if I had a rod keeping that switch active. I will have to think about this.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »