Hello Guest it is March 28, 2024, 10:06:35 AM

Author Topic: Mach 4 setting up software I/O.  (Read 2998 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach 4 setting up software I/O.
« Reply #10 on: May 20, 2020, 03:28:33 PM »
Hi,
clear all the outputs in the Mach Control plugin OutputSignals page.

What you are doing is assigning pin 2 as Output#1 in one plugin and as X Step in the UC100 plugin.
So which plugin has control of the state of the pin? If the UC100 motion plugin requests that pin 2
pulse on and off to cause the motor to work and yet the Control plugin commands Output#1 to be 0,
who wins?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Mach 4 setting up software I/O.
« Reply #11 on: May 20, 2020, 03:30:39 PM »
Hi,
next question, do your drivers have an enable input?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline Stev

*
  •  16 16
    • View Profile
Re: Mach 4 setting up software I/O.
« Reply #12 on: May 20, 2020, 03:57:18 PM »
Yes my driver's have enable inputs, I didn't know how to wire it up and thought those were just optional by what the schematic said.

20200520-144852" border="0
Re: Mach 4 setting up software I/O.
« Reply #13 on: May 21, 2020, 02:26:36 AM »
Hi,
the enables of all your drivers will have to be wired up.

Its traditional to use an output of the controller as an enable output and that output would enable ALL
your drivers. In your case you are so limited with the UC100 you may have to forgoe the enable contol
and wire thrm direct to a 5V supply to enable each driver.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach 4 setting up software I/O.
« Reply #14 on: May 21, 2020, 05:25:11 AM »


From the data sheet the manufacturers of the drives say that if you are not going to be using the Enable inputs then they do not need to be connected.

Tweakie.
PEACE

Offline Stev

*
  •  16 16
    • View Profile
Re: Mach 4 setting up software I/O.
« Reply #15 on: May 21, 2020, 09:22:08 AM »
So I have to wire the ENABLE+(+5V) to my +5VDC power supply and ENABLE-(ENB) to a output on the controller?

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach 4 setting up software I/O.
« Reply #16 on: May 21, 2020, 09:48:24 AM »
So I have to wire the ENABLE+(+5V) to my +5VDC power supply and ENABLE-(ENB) to a output on the controller?

If you want to use the Enable / Disable function then Yes.
If, on the other hand, you do not want to use the Enable / Disable function then leave them unconnected.

Tweakie.
PEACE
Re: Mach 4 setting up software I/O.
« Reply #17 on: May 21, 2020, 12:52:23 PM »
Motor drivers with step and direction inputs typically use the unfortunate industry convention of calling an input ENABLE when in reality applying an active signal to this input will DISABLE the driver. Don't like it, but there is nothing we can do about it. If you don't need to disable the driver, you can leave this input not connected.
Steve Stallings
www.PMDX.com

Offline Stev

*
  •  16 16
    • View Profile
Re: Mach 4 setting up software I/O.
« Reply #18 on: May 21, 2020, 01:04:06 PM »
Do I wire anything up or not? I'm getting mixed information here.
Re: Mach 4 setting up software I/O.
« Reply #19 on: May 21, 2020, 01:26:53 PM »
To say that the WANTAI DQ542MA user manual is confusing and poorly written is an understatement.

I am almost certain that if you do not need a DISABLE function, you do not need any connections to the ENBL+ or the ENBL- terminals. Certainly powering up the system without these connections will not harm anything, so just try it.
Steve Stallings
www.PMDX.com