PMDX Forum

General Category => General Discussion => Topic started by: racline98 on December 03, 2016, 08:07:11 PM

Title: How do configure my limit switches?
Post by: racline98 on December 03, 2016, 08:07:11 PM
I'm new to the world of CNC machines and just finished building a 3 axis machine.  My machine uses the PMDX 422 board with Mach4.  I think the 3 axis motors are configured ok (They jog as they should).  The E-Stop is connect to pin 10 and works.  I would like to know how to configure the limit switches.  Presently I have the -Y +Y switches connected in series to input pin 11,  -Z +Z switches connected in series to pin 12, and -Y +Y switches  connected in series to pin 13.  The input goes to 5v when the limit is reached. Also I would like to use these switches as the home switches. Can someone please advise me?  Thanks in advance
Title: Re: How do configure my limit switches?
Post by: Steve Stallings on December 04, 2016, 06:14:15 PM
Your current wiring will work fine and is one of many possible configurations.

When configuring your functions in the Mach4 input signals chart, you will
duplicate the settings on the line for each function that uses the same
input. Assuming that you have the Y axis assigned to Motor1, then you
would put the same entries in the Input Signal line for:

Motor 1 Home
Motor 1 ++
Motor 1 --

These lines are not near the top of the Input Signals chart and you will
need to scroll down to see them.

You would enter these settings in the respective columns for each Y axis line:

MappingEnabled    green check mark (click to toggle)
Device                    SmartBOB USB (click in box, then select from drop down list)
Input Name            Pin 11 (click in box, then select from drop down list)
Active Low              red X mark (click to toggle)

Repeat the process for the X and Z axes.



Title: Re: How do configure my limit switches?
Post by: racline98 on December 10, 2016, 05:36:48 PM
I just set it per your instructions and and the limit switches now work.
Thanks
Ron