Home Page with Town List
Topics Topics Help/Instructions Help Edit Profile Profile Member List Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  
This forum was closed 18 May '07 and transferred to here. The user database was not transferred - sorry, but you will have to register again.

Forum * .80. Computer Hardware & Software * Parallell Port breakout - getting the signals from the PC to the drivers < Previous Next >

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Gerald_D
Registered
Username: Gerald_d

Post Number: 40
Registered: 11-2005
Posted on Wednesday, April 26, 2006 - 07:02 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

In this thread we saw the "drivers" and saw that they needed signals. The Mach software puts out signals on the parallel printer cable. This is a way of connecting from the printer cable (bottom right) to the drivers (top):

PMDX-120


Apologies for the general mess! A lot of the wires in the picture are for getting a spindle to behave itself.

The printer cable enters a "breakout card" on the right, in this case a PMDX-120. From the top edge of the breakout card there is a grey 3-core cable to each of the drivers. At this point one has enough connections to actually turn the stepper motors from keyboard commands.

The other black wires from the top of the breakout card are for limit switches, E-stop, Z-zero plate, etc. The connections at the left edge are from relays to turn on/off router/spindle/dust collection/vacuum etc.
Top of pagePrevious messageNext messageBottom of page Link to this message

Patrick Toomey
Registered
Username: Patricktoomey

Post Number: 1
Registered: 06-2006
Posted on Thursday, June 22, 2006 - 09:05 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Gerald,

I'm starting to design my Gecko/Mach controller for my ShopBot and I have a question for you. I see that the PMDX-120 is a 4 channel card so that would handle my X1, X2, Y and Z drivers. I also run a spindle so I would need a 5th driver. Could I go with 2 PMDX-120's hooked up to 2 different parallel ports? If so, would Mach 3 be ok with that and be able to use the second port for the 4th axis (indexer)? Would there be an easier way than this, such as driving two Geckos for X1 and X2 from one of the PMDX channels and just reversing the step direction on one of them?
Top of pagePrevious messageNext messageBottom of page Link to this message

Gerald_D
Registered
Username: Gerald_d

Post Number: 139
Registered: 11-2005
Posted on Thursday, June 22, 2006 - 10:02 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Hi Patrick

Two PMDX-120's hooked to two parallel ports will double the number of outputs/inputs, and Mach3 can handle this.
But, you don't need a "5th channel" to drive a "spindle". A spindle is actually a remarkably dumb device and all you need is a on/off relay to start/stop the spindle. (The speed of the spindle is controlled by the VFD - it is possible to have Mach3 control the spindle speed, but it is not typical). The "MechMate" has a spindle and that single PMDX-120 seen in the pic above is controlling the whole system.

However, for "MechMate 2", I have gone for the PMDX-122 as opposed to the PMDX-120 because I discovered how important the "charge pump" feature is...... You must have seen what happens when you have a live printer plugged into a PC and you reboot the PC - the printer often gives a kick or prints a random character. During the booting of a PC, it often puts out junk on its parallel port. We found out the dangerous way what effect this has......

Sean was busy changing a bit on the spindle. At the same time, I was in another corner of the shop and tripped the power and then switched it back on. The MechMate PC re-booted automatically because of the power interruption - and it sent a random signal to start the spindle, flinging out the wrench! The "charge pump" prevents this. We have actually built a charge pump for the PMDX-120 and it explains the lone wire going to one of the parallel pins in the photo above and the masking tape label on another hacked part of the board.

Before I confuse you too much, how much control over the spindle do you want Mach3 to do? Just the normal start/stop, or something more elaborate?
Top of pagePrevious messageNext messageBottom of page Link to this message

Patrick Toomey
Registered
Username: Patricktoomey

Post Number: 2
Registered: 06-2006
Posted on Thursday, June 22, 2006 - 10:09 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Gerald,

Oops, I keep mixing my terminology, I do have a spindle that I want to control start/stop and preferably RPM's but what I meant to say is that I have an indexer that I need to use as a 4th axis.
Top of pagePrevious messageNext messageBottom of page Link to this message

Gerald_D
Registered
Username: Gerald_d

Post Number: 140
Registered: 11-2005
Posted on Friday, June 23, 2006 - 07:44 am:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Ah, that makes more sense now :-)

I once explored the issues of driving the two x-motors off the same channel and the official technical response was that it is quite easily do-able. Either two Gecko's from one channel, and even 2 low-current motors from 1 Gecko. But, special conditions apply and best you check those with the suppliers.

Mach3 has a facility for squaring the gantry using separate limit switches for the 2 x-motors. You will lose this if you combine the motors onto one channel.

I am not up to date on spindle speed control via Mach3. It is something fairly popular with the metal-cutting guys who do things like threads. I think they have a frequency to voltage converter after the parallel port and the VFD reads the voltage level.

From what I read of the G100 from Gecko, that will make a parallel port system fairly obsolete. And it will give you lots of "channels". But, until that is fully ready, I think you need a pair of pair of PMDX-120's

However, The way in which I use the PMDX-122 with my spindle, I still have a pair of outputs doing nothing. Maybe they could step/direction an indexer? I am out of my depth here.....
Top of pagePrevious messageNext messageBottom of page Link to this message

Patrick Toomey
Registered
Username: Patricktoomey

Post Number: 3
Registered: 06-2006
Posted on Friday, June 23, 2006 - 03:37 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

I read up on the PMDX 122 and that's definitely the way I'll go. I didn't know about the charge pump option but that makes a lot of sense. That could be incredibly dangerous without that. I was looking at the G100 which looked awesome but a little too experimental for now since I do need my machine for production work and can't afford big downtimes.

I'll figure on 2 PMDX-122's so I'll be sure to have plenty of inputs and outputs. I saw on another thread that you are going to have pause and resume buttons. Can you just specify in Mach3 which inputs should correspond to which actions? I'm thinking if that's the case maybe I could rig up a remote pendant with jogging and fixed stepping buttons? There are many times when I'd like to be close to the spindle moving it to a position to start cutting. Right now I have to keep walking back and forth between the computer and where the spindle is which is a real pain.
Top of pagePrevious messageNext messageBottom of page Link to this message

Gerald_D
Registered
Username: Gerald_d

Post Number: 143
Registered: 11-2005
Posted on Friday, June 23, 2006 - 04:41 pm:   Edit Post Delete Post Print Post    Move Post (Moderator/Admin Only)

Mach3 can handle a lot of customising, and remote pendants with "MPG's" have become all the rage. A MPG is a manual pulse generator, or a small handwheel that makes pulses as you turn it. Some guys are supplying pendants that connect to the serial port, I think? The main source of info for all this is the Yahoo Mach support forum.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration