Hello Guest it is March 28, 2024, 06:58:01 AM

Author Topic: Another 2nd parallel port question  (Read 9443 times)

0 Members and 1 Guest are viewing this topic.

Offline Jackal

*
  •  169 169
    • View Profile
Another 2nd parallel port question
« on: October 11, 2011, 08:25:14 PM »
I ordered the Rosewill  parallel port that was recommended and tested by Simpson:

http://www.newegg.com/Product/Product.aspx?Item=N82E16815166007

My Mach is up and running with a PMDX 126 board & 107 spindle controller. I have the machine where it will jog around on all  3 axis.

Spindle & VFD are  working fine.

The computer won't recognize the 2nd port. I've installed and removed the drivers, 2 or 4 times.

The pendant is a cnc4pc :

http://www.cnc4pc.com/Store/osc/product_info.php?cPath=40&products_id=162

It is connected by this pendant board recommended by Arturo at cnc4pc:

http://www.cnc4pc.com/Store/osc/product_info.php?cPath=40&products_id=159

I have installed all of the brains associated with the c22 card and pendant. Disabled and enabled all or some of them, at various points.

The port doesn't seem to be recognized.   I don't want to mess with running the sample .xml from cnc4pc, because all of my settings for my motors and VFD/spindle are already  there.

When you turn on the PC/Controller for the machine, the red led on the pendant lights up.  As windows starts to boot up, the led goes out.

The address for the 2nd parallel port card is :

A800-A807
AC00-AC07

A00-A007
A400-A407

I only use the first part of the address # ex: A800

In the hardware manager, there is (2) new ports listed: Port #2 & Port#3

The pin connector on the board must be for a ribbon connector to add another port   through the header.

Why is it showing 4 addresses for (2) new ports?

Any help would be greatly appreciated.

I am running the pmdx in "normal mode" with charge pump.

Is this asking too much for a second parallel port, to have a pendant on it?

Not sure how many open inputs I have left, or outputs either.

The C22 board is supposed to  intercept  all of the commands and communicate through the second port.

There may be some conflict between pins on the pmdx board and the CNC4pc c22 board.

Thanks for all of the help,

JAckal
Everything is bio-degradable if you run over it enough with a lawnmower.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Another 2nd parallel port question
« Reply #1 on: October 12, 2011, 02:35:48 AM »
Jackal,

There are some other threads, both here and on the Zone relating to just this problem  http://www.machsupport.com/forum/index.php?topic=11381.0

I don't know if this helps.

Tweakie.
PEACE

Offline Jackal

*
  •  169 169
    • View Profile
Re: Another 2nd parallel port question
« Reply #2 on: October 12, 2011, 03:24:01 PM »
Thanks Tweakie.

I looked at that link you posted several times before starting a new thread.

Every available address has been done.

It could be that the pendant is bad or the c22 board, but I don't want to   send  parts back  without being able to test them.
Maybe someone else will chime in with the same problem and the same Break out board & stuff.

With the pmdx board set on normal mode it leaves the maximum amount of usable pins for the  2nd parallel port.

Does the C-22 board & brain take in all of the info from the pendant and decide what goes where, like a Modio or modbus?

My pendant has like 21 wires in it, and they can't all be functioning through the few available pins at once. ;D ::)< (Overlook my stupidity on this. I have never really studied the modbus or modio).

Thanks for everyone's help,

JAckal :)
Everything is bio-degradable if you run over it enough with a lawnmower.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Another 2nd parallel port question
« Reply #3 on: October 12, 2011, 03:58:24 PM »
Can you not just swap the cables around , that way you can see if the pendant works on the original port and the drives etc work on the new one. Obviously have to swap the addresses around in Mach so you dont have to reassign all the pins.
Hood

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Another 2nd parallel port question
« Reply #4 on: October 12, 2011, 03:59:13 PM »
Jackel you need to speak with the manf of the 126 board, in expanded mode(mux) it has some VERY special features. That may interfere with your pendant useage of the port you installed.

Mach3 can ONLY use 2 lpt port addresses. IF the 126 somehow uses UP those adresses then you may have NONE left to work with for the pendant.

CAll them and explain the problem they are great to work with.

Just a thought(;-) TP

Offline Jackal

*
  •  169 169
    • View Profile
Re: Another 2nd parallel port question
« Reply #5 on: October 12, 2011, 07:11:10 PM »
Hood,

I wondered about that. Could I just swap the Break out board parallel cable and pendant cable, then go into device manager and switch names on the ports?

 Or would I need  to go in and change/check each individual pin? It  would seem that if ports addresses were changed, just a swap of the cables.

BR,

I will try this change of ports and then get in touch with PMDX. Steve Stallings (PMDX) is super quick on the electronics stuff. Maybe what I'm wanting to do can't be done with a 126 board. The expanded mode and several different header plug-ins on it, may make this impossible to plug-and play.

If so, Steve can probably tell me how to take the end off of the pendant cable, and wire up the axis switch and MPG direct.

When  asking him for help, I just want to be able to say I've tried most things already.

I'll try the port address thing, and then get in touch with  PMDX.

You'll know in a few days how it works out.

Thanks to all of you for your help.

I am a little deeper involved in electronics that I had intended, but it pulls you in and you have to go deeper to understand  it.

Maybe some day I can return the favor. ;)

JAckal :)
 
Everything is bio-degradable if you run over it enough with a lawnmower.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Another 2nd parallel port question
« Reply #6 on: October 13, 2011, 03:01:57 AM »
Jackal.
swap cabl;es and go into Mach and swap Port addresses, that way there will be no need to change port and pins.
Hood

Offline Jackal

*
  •  169 169
    • View Profile
Re: Another 2nd parallel port question
« Reply #7 on: October 13, 2011, 02:07:05 PM »
I swapped the cables around. Added the ribbon cable & header for the 3 parallel port.

Tried Mach on all 3 ports, no luck on #2 or# 3.

Called them all port #1,2 or 3 at one time. Went through all of the assigned addresses in device manager, too.

Pendant didn't work on port #1 ( motherboard provided port).

I have noticed that the LED on the pendant come on when you start the machine.

It stays on while Windows is booting up. A couple of seconds before  the Main Windows screen ( with the icons) comes up, the pendant LED goes  out. ???

I'm not sure but that sounds like something to do with the "charge pump" circuit.

There are (2) different CNC4PC brains. One is with charge pump, and the other W/O charge pump.< I've tried both 


About an hour ago I sent an e-mail to Steve @ PMDX. This may be impossible, or he may have a 10 second fix.

I would be willing to wire this pendant pin-by-pin if takes that.

The only  thing really needed is:

MPG

Axis selector

Axis increments; .001, .01, 01.

The E-stop had a relay that is wired outside the comm cable.

Stay tuned for further updates. ;)


JAckal ;D
Everything is bio-degradable if you run over it enough with a lawnmower.

Offline Jackal

*
  •  169 169
    • View Profile
Re: Another 2nd parallel port question
« Reply #8 on: October 14, 2011, 09:32:59 PM »
Steve Stallings replied to my E-mail. Steve gave me a few things to change and had me remove the .xml file and save it. Then install a factory  Mach3 .Xml file and see if Mach recognizes the 2nd port. It didn't .

Also, he said to remove any PMDX Plug-ins. These are for expanded mode only, and  configure the second port on the unused pins of Port 1. < I didn't' have any of these.

Pmdx came out with a #145 card for pendants about a month ago, but there isn't a users manual out, yet.  When asked   about this, Steve said  he didn't want to give up on my 2nd Port just yet.

This is a common problem and is necessary for any hardwired pendant.

After changing several drivers found online, the LED on the pendant stays on now. ;)

I installed The cnc4pc .xml on the computer in the house just to see the port and pins settings.

My thoughts are  to add these changes to the pins & ports, etc on  my mill and see if it works. I can always change to the back-up .xml if needed.

All comments, ideas, experiences, and warnings appreciated. ;D

Stay tuned,

JAckal

JAckal
Everything is bio-degradable if you run over it enough with a lawnmower.

Offline simpson36

*
  •  1,369 1,369
    • View Profile
Re: Another 2nd parallel port question
« Reply #9 on: October 19, 2011, 09:27:05 AM »
I just checked and the chip on the lastest card (the link provided in a previous post) is the same as the one on my old card.

Couple things to check:

1) Make sure you get the drives from the MOSCHIP site and do not use the drivers that come with the card. The versions may have changed by now so this may not still be valid, but I had no success with the drivers from Roswell.

2) The pin header is indeed for the second port. Don't assume that the first set of addresses reported by Windows is on the built in port and that the second set of numbers is the pin header. It could be either way and also the windows port numbers have no relevance to Mach's port numbers. Mach talks to the port addresses. You may have given Mach the address of the pin header. Try the other address.

3) Just FWIW, I had some odd behavior from the built-in port on the motherboard, and it would not run above the default lowest speed for Mach so I have it disabled and use both ports on the Roswell card. I can run at 60 thru the Rosewell card with an otherwise mediocre computer.