Author Topic: PMDX-416 PIN ALLOCATIONS  (Read 3543 times)

hooked

  • Posts: 27
    • View Profile
PMDX-416 PIN ALLOCATIONS
« on: February 04, 2017, 05:05:42 PM »
Hi,

With my mechanical build nearly finished I'm looking at putting the control box together.  I have attached a PDF of the proposed wiring for my PMDX-416.  Would you be so kind as to take a look at the doc and alert me if there are any errors or omissions.  I am also incorporating two lead screws on one of my axis and I'm not sure if I need to look at extra switches to take care of any differences in stepper motor positioning for the master/slave combination. Any help or direction on this topic also greatly appreciated.

Many thanks.

Cheers - Daryl




Steve Stallings

  • Administrator
  • Posts: 527
  • www.PMDX.com/Images/Avatar120.jpg
    • View Profile
Re: PMDX-416 PIN ALLOCATIONS
« Reply #1 on: February 05, 2017, 05:38:01 PM »
Your wiring shows one of many possible arrangements of switches and inputs.

The PMDX-416 has 5 isolated inputs and 3 non-isolated inputs. When you
connect something to the non-isolated inputs that will tie the non-isolated
ground to the ground of the machine, then you have defeated the isolation
between the board and the machine. On a table top machine this is not a
big deal as long as you do not have ground loops. For larger machines I
would recommend avoiding having the non-isolated ground connected to
the machine. In your case, it is the wire or clip lead to the cutting tool
that will tie the non-isolated ground to the machine through its spindle
bearings. This is a connection that will exist only as long as the clip lead
is in place, so it is less critical with respect to picking up noise such as
from a spindle with brushes or driven by a VFD.

Your diagram shows all switches as normally open. Mach4 can be configured
to accept either normally open or normally closed switches, but in the case
of your three limit switches wired in parallel, they must be normally open.
If you had three normally closed limit switches, they would need to be
wired in series.

Standard practice for an E-Stop is to make it normally closed. This is so that
its wiring is fail safe, i.e. a broken wire will cause an E-Stop condition.

You have used individual home switch inputs. This is nice to have, but you
should be aware that Mach4 will allow home switches to share a single
input. The drawback is that Mach4 will not be able to tell you which axis
is parked on a home switch if you should power up Mach4 while a home
switch is active. Combining home switches could give you a free input
for some other purpose.

When combining switches on a single input, you tell Mach4 what you are
doing by entering the same input data in each row of the Input Signals
configuration chart for each switch function that shares the input.


Steve Stallings
www.PMDX.com

hooked

  • Posts: 27
    • View Profile
Re: PMDX-416 PIN ALLOCATIONS
« Reply #2 on: February 05, 2017, 06:26:39 PM »
THANKS for the comprehensive answer Steve.

I plan on using NPN proximity switches hence the limit & homing switches shown as normally open.

To be honest, I'm not really sure if I need homing as my current machine has neither homing or limit switches.  I like to align the job to the material and find this works well and I would probably continue this practice on my new machine. 

I do however realise that limit switches are of paramount importance.  The machine is quicker than I am when I realise I have made an error.  It crashes before I can hit the E stop. (Not ideal)

So in conclusion,  I could just have limit switches in place and configure them as both limit & home in Mach4?????  This is of course should I decide that homing does have a place in my work flow.

Also, I take your point in wiring the E stop as normally closed.

Steve Stallings

  • Administrator
  • Posts: 527
  • www.PMDX.com/Images/Avatar120.jpg
    • View Profile
Re: PMDX-416 PIN ALLOCATIONS
« Reply #3 on: February 05, 2017, 07:16:04 PM »
Yes the same switch, and therefore the same input, can be used for both
home and limit.

You have correctly treated the NPN sensors as normally open switches
wired in parallel. Normally closed NPN sensors do exist, but are rare.

Steve Stallings
www.PMDX.com