Hybrid View
-
16-12-2020 #1
Thanks for your welcome Clive.
Your reply is encouraging in that it seems I can use this board for the limit switches. The input terminal (IN1) I notice has my tool setter connected to it, which I guess works in a similar way to how the limit switches work. Would I be right in thinking that all the switches would connect to this one input terminal and the ground to the OV terminal. If that is correct then the wiring would be straightforward even for me, if using micro switches. I would be still keen to find out if I could use the optical switches I have here which have a third wire for which I guess would be the signal wire.
Regards
Roy
-
16-12-2020 #2
No. You would need to connect them to the other inputs (in 2 to ....) and then set them up in Mach3 under the correct section.
Not sure what optical switches you have. You could use sensor like :- https://www.ebay.co.uk/itm/Inductive...EAAOSwqMdcvJ7e
There are two types pnp and npn they can also be got from China much cheaper.
The trouble with these are you might require another power supply say 12-24 V for them...Clive
The more you know, The better you know, How little you know
-
16-12-2020 #3
I think it would be simpler and easier for me to stick with micro switches.
So that I am clear on this the connections would be made as follows?
2 micro switches for the X axis into IN2 (already occupied by the emergency stop switch)
2 micro switches for the Y axis into IN3
2 micro switches for the Z axis into IN4
All configured in Mach 3
Sorry if I am confusing the matter it's just electronics are not my strong point here.
Regards
Roy
-
16-12-2020 #4
I would wait for a little longer and see if one of the electronic guys show up.
It might be possible to connect the three home switches to one input.
https://www.machsupport.com/forum/in...?topic=31845.0
edit: It would be good to quote the other names next to the inputs as the cable is obscuring themLast edited by Clive S; 16-12-2020 at 04:12 PM.
..Clive
The more you know, The better you know, How little you know
-
16-12-2020 #5
Hi Roy,
You can do this several ways, ranging from using just 1 input and 3 switches(4 if twin motors) or upto 10 switches with each axis using 3 inputs.!!
In your case the best option would be to use just 2 inputs. One for the limits and one for the Homes. Use separate switches for Homes and Limits.
I would Leave the E-stop on it's own Input and use separate for limits/homes.
The Limits you would wire all the switches in series using NC (normally closed) switches. Series meaning the first switch connects to the second and so on like a daisy chain. This way if any one switch gets tripped the circuit is broken and Mach3 see's the trip.
The Home switches you will wire in parallel, meaning each switch goes to the one Input.
You can do this because when Mach3 Homes it only moves one axis at a time and it doesn't care which Input it see's triggered, it just watches the Input it's told to watch.
So you set each Axis to watch the same Input when homing. So when for instance your homing X axis you could actually trip the Y axis switch and Mach3 will think it's the X axis Home postion that tripped because that's the axis it was moving.
Obviously if you wanted you could assign a separate input to each Axis and Home all of the axis at same time, but by default Mach3 only moves one axis at a time, starting with Z, then Y and X, so the above works. To move all 3 at same time would require a tweak to a file in Mach3 and it's also wasteful of Inputs.
There is one last option which uses just one input and one switch on each axis for both Limits and Homes.
To do this you have the switch travel with the axis and at each end of travel you have a target the trips the switch. The switch will also need to NO type so the Homes will work.
The down side to this being the NO switch isn't has safe for the limits because if a wire breaks or the switch gets damaged you won't know about it until it doesn't work when hit. Using NC type for limits is much safer. Hence why I would use two inputs with NC Limits and NO Homes.
Edit:
Another option is to only fit HOME switch and set Softlimts within Mach3. Softlimits will keep you from crashing the machine provided you HOME the machine when first turned on.
To be honest even if you have LIMIT swithces fitted I would set Softlimits as they won't allow you to crash the machine, even if you deliberatley tried to crash it they won't let you and bring the machine to a nice controlled stop when comes to end of travel. Mach3 also checks the G-code and warns you if the code exceeds the Softlimits.Last edited by JAZZCNC; 16-12-2020 at 09:19 PM.
-use common sense, if you lack it, there is no software to help that.
Email: [email protected]
Web site: www.jazzcnc.co.uk
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Wiring limit switches to latest Banggood 3018 control board
By JBaz in forum Chinese MachinesReplies: 5Last Post: 05-05-2021, 10:44 AM -
New Mach3 settings but limit switches do not work, using a JK02 breakout board help!
By JimK in forum Artsoft Mach (3 & 4)Replies: 1Last Post: 27-09-2019, 11:54 PM -
About homing and switches...
By JW1977 in forum General ElectronicsReplies: 39Last Post: 09-09-2019, 09:16 PM -
Wiring Limit Switches, and can it be done with my control box?
By ravihotwok in forum General DiscussionReplies: 8Last Post: 22-06-2017, 11:23 PM -
EMC2 home/limit switches... only acting as limit?
By vputz in forum LinuxCNC (EMC)Replies: 4Last Post: 15-10-2014, 09:51 AM
Bookmarks