How to enable EPP on PCI parallel port card

More
14 years 11 months ago #14788 by wackopacko
Got a G540 that requires charge pump, which in turn requires EPP. I have a PCI parallel port card with EPP capability.

I have been able to figure out which port it is on the address but I am unsure how to turn on EPP. I know the port is right since I can turn charge pump off on the G540 and I can move the motors. But the db25 is obviously not getting the charge pump signal as when I turn charge pump back on the G540, it doesnt get out of fault mode.

I guess I just dont know where to start in terms of turning EPP mode on, on ubuntu, with my PCI parallel port card.

Thanks in advance.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14789 by Rick G
You might start by trying

dmesg|grep parport

from a terminal to see what you have.

Rick G

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14790 by Rick G
And take a look here...

www.pmdx.com/2PARPCI

Rick G

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago - 14 years 11 months ago #14791 by BigJohnT
Does your parallel port cable have all the pins brought out? Some do not have all the pins connected,

Why does the charge pump require EPP? AFAIK all you need to do is load the charge pump component and connect it to the correct pin on your parallel port. Some googling suggests that the EPP is a winsnows need not EMC.

wiki.linuxcnc.org/cgi-bin/emcinfo.pl?About_Charge_Pumps

John
Last edit: 14 years 11 months ago by BigJohnT.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14792 by wackopacko
Hello all.

The command dmesg|grep parport indicates the PCI port is running on ECP mode. Is there a way to change this?

Regarding the link www.pmdx.com/2PARPCI , are you suggesting in general PCI cards dont play well with things requiring EPP such as gecko drives? Or that I should essentially buy another card?

I think all the pins are brought out. I have not changed the cabling, and its the same cabling that works on a computer with a motherboard parallel port that was definately in EPP mode as set by the BIOS of said computer. I also used the same pin setting as with something that worked before. I believe it should be pin 16 for charge pump.

I am not sure if charge pump requires EPP or that gecko requires EPP, but it does state specifically in the manual it needs EPP to run, I do think I have the charge pump pin set correctly in stepconfig/.hal.

So do you mean I can safety use the g540 without using charge pump at all? I am able to make the motors move without using charge pump (the g540 has a toggle at the back so you can switch it off), but I dont know if that is the preferred configuration since the manual seems to suggest they want it, and I dont want to run into issues were the steppers miss steps or something? So is it ok to go without charge pump?

Also, isnt EPP mode just better anyway than ECP?

Thanks in advanced

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14795 by andypugh
wackopacko wrote:

Regarding the link www.pmdx.com/2PARPCI , are you suggesting in general PCI cards dont play well with things requiring EPP such as gecko drives? Or that I should essentially buy another card?

The card you have should be fine with the G540, which is just a normal step/dir drive. EPP is only useful when sending data from the parport in binary format. You are not doing that.
Also, as an aside, it probably makes no sense at all to buy a Parport card to run a G540. Mesa have just brought out the 5i25 which is like a parport on steroids, that does all the step generation and suchlike on the card itself in hardware, so you can step at MHz rates. It costs $89, which is quite a lot more than a parport card, but then it does a ton more stuff too. (You can, for example, add a second DB25 header and connect 96 more IO pins on daughter-cards)

I think all the pins are brought out. I have not changed the cabling, and its the same cabling that works on a computer with a motherboard parallel port that was definately in EPP mode as set by the BIOS of said computer.

The BIOS only enables EPP, it doesn't necessarily set the mode.

I am not sure if charge pump requires EPP or that gecko requires EPP, but it does state specifically in the manual it needs EPP to run, I do think I have the charge pump pin set correctly in stepconfig/.hal.

What is your base thread period? The G540 needs 10kHz. and to get that the base thread period needs to be <50,000nS (it would be very unusual for it not to be, though)
Have you accidentally added the charge pump to the servo thread? (If you do that, you will only get 500Hz)

So do you mean I can safety use the g540 without using charge pump at all? I am able to make the motors move without using charge pump (the g540 has a toggle at the back so you can switch it off), but I dont know if that is the preferred configuration since the manual seems to suggest they want it, and I dont want to run into issues were the steppers miss steps or something? So is it ok to go without charge pump?

Charge pump is a safety device. It means that if the control PC crashes or freezes, then the cyclic charge-pump signal stops, and the G540 shuts down.
It isn't all that critical with a stepper device, because if the PC crashes, then the steps stop coming too. But it's a good thing to have, really.

Also, isnt EPP mode just better anyway than ECP?

No, not really. It is more complicated, and less tightly specified, so there are cards out there that do EPP in different ways, so that not all EPP hardware works with all EPP ports. It's something to keep away from unless you actually need it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.333 seconds
Powered by Kunena Forum