Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: NASPC on December 03, 2018, 03:28:19 PM

Title: Mach 4 setting up Limit switches
Post by: NASPC on December 03, 2018, 03:28:19 PM
Hello,

Anyone here that can guide a noob in setting up Limit switches in Mach4?
I am very confused on the process.
Title: Re: Mach 4 setting up Limit switches
Post by: jmm2020 on December 05, 2018, 04:57:06 PM
I just completed mine and added both homing switches and limits as I read numerous posts about keeping them separate...I have a Pokeys 57CNC board and the setup is going to be different for whatever electronics you are using. I used NPN proximity switches as I have them around here and am familiar with them.
After getting them on the machine with the P57 you have Axis+ and Axis- and Home in different areas again you will have to consult your electronics and connect.
Setup in Mach was pretty straight up  with telling Mach what and where you have them after configuring for your specific plugin which will have it's own config...P57 uses dedicated and identified pins for each and its' pretty basic...start in the Pulse Engine section for me and then in the Mach Homing/Limit tab...again in my case after setting parameters in plugin they showed up in Mach.

Throw a bit more about your setup, switches and specific issues and I am sure you can get it sorted around here.
John
Title: Re: Mach 4 setting up Limit switches
Post by: NASPC on December 05, 2018, 09:36:12 PM
Hi John,

Thanks for replying.

I have a XZero CNC router kit that I put together along with a controller box.  The CNC controller is a Leadshine MX3660 with a UC100 (Parallel to USB connection).

The Leadshine MX3660 has 4 Inputs:

Input 1 is pin 17
Input 2 is pin 1
Input 3 is pin 8
Input 4 is pin 9

I am planning on using 2 limit switches for each axis connected in series on Input 1 through 3.  For Input 4 I want to connect 3 limit switched in series for the Homing.

My issue is when setting this up in Mach4 the Input pins are not 17, 1, 8, and 9.  I only see 10 though 13.  These pins according to the manual output pins.

Now the in the Leadshine MX3660 manual it looks like the output pins are connected to the input pins.  
Example:  Input 1 pin 17 is connected to Output 1 pin 10.

I would expect to see when configuring my Inputs i should see pins 17, 1, 8, ad 9 for the Inputs.  Any ideas?

this is the link to the manual, page 20 has the pins layout.  http://www.leadshineusa.com/UploadFile/Down/MX3660hm_V1.2.pdf