Hybrid View
-
30-01-2013 #1
Any thoughts?
-
31-01-2013 #2
Explain what your trying to achive and will look at it closer but from what I'm seeing your overly complicating something very simple.?
Regards limits it's very easy and common practice to just wire them NC in series and use 1 input. The E-stop can be included in the series has well.
While Mach provides individual inputs for ++X --X and E-stop etc it doesn't care and any one switch tripping E-stops the system. This is why they can be wired in series along with E-stop.
In Mach you just tell the E-stop and all limits to watch the same Pin.
The only functionality you loose is that Mach won't light up the Individual Limit LED in diagnostics and instead light all the limit LEDs has well as the E-stop LED. But like Bubba says you'll know which switch has tripped by the crash bang wallop.!!
Another thing you can do to save Inputs is use Limits has home switches. When working and cutting Mach see's the switches and treats them has limits E-stopping the machine if tripped but when it's homing it ignores the switches has limits and uses them to indicate home position.
It does this by moving one Axis at a time Starting with Z axis then Y axis then X axis. Each time it hits the switch it stops, backs off the switch then Zero's the machine coordinate DRO's then moves the next Axis and does the same. This is why they can be wired in series because each switch is tripped then backed off to reset. In reality push any of the switches and it will set the position for the axis MAch is homing.? By this I mean you could trick MACH to set the X axis Home position by pushing the Y or Z axis switch. MAch doesn't know or care which actual switch was pressed all it's knows is that Pin (what ever) has changed state and stops and does it thing for that Axis it was moving.
What you can't do with series wired Home switches is Home ALL AXIS at the same time in one go. But this is not standard procedure for MACh anyway and to do this in MACH requires the Home all AXis macro altering anyway.
So with just 1 input used you have E-stop, limits and Homing leaving 4 more spare inputs on you typical PP.
Personally I don't like using limits has home switches so sacrifice another input and just wire the Home switches in series.
I do this mainly because don't actually run or use Limit's and E-stop switches thru BOB inputs like you would with 5V inputs on BOB using software driven E-stop has it's not safe enough for me.
Instead use hard wired E-stop system and run them thru Relays with 24v thru them to eliminate noise and potential false e-stops etc, I just use or control the 5v PP/BOB signal, again thru relay contacts to tell the software E-stop has occured and stop the G-code.
All powered devices are stopped by relays breaking the circuits so it's very safe and controlled. Only when machines safe will the system be allowed to restart via a dedicated momentary Re-set button.
This does however mean I can't use Limits has homes and that's the main reason I use separate Home switches on it's own input. Thou another reason is the ability to move my homing positions to any place on the table and not at the very extremes where Limit switches are usually located.
So to recap you only need 1 input if you want too or 2 at worst whether you choose to use software driven or hard wired E-stop system. Leaving 3 inputs for probes etc.!!Last edited by JAZZCNC; 31-01-2013 at 01:55 AM.
-
The Following User Says Thank You to JAZZCNC For This Useful Post:
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
EMC2 home/limit switches... only acting as limit?
By vputz in forum LinuxCNC (EMC)Replies: 4Last Post: 15-10-2014, 09:51 AM -
Limit Switches
By Leadhead in forum General ElectronicsReplies: 1Last Post: 16-10-2013, 10:41 AM -
Limit Switches with LED's
By manofgresley in forum General ElectronicsReplies: 30Last Post: 02-01-2013, 03:08 PM -
Limit switches keep activating
By davethefixer in forum General DiscussionReplies: 2Last Post: 23-09-2012, 10:12 PM -
Limit Switches
By Lee Roberts in forum General ElectronicsReplies: 13Last Post: 27-06-2008, 02:21 AM
Bookmarks