how many 'output' 'input' pins in 2 parallel ports
02 Mar 2016 15:04 #70915
by 819132306
how many 'output' 'input' pins in 2 parallel ports was created by 819132306
Hi I'm a DIY fan
if I have two parallel port
how many output in the parallel.0
how many output in the parallel.1
I want to have 7axis and 6 output pins,7*2+6=20.
the second parallel port must be input pins?
Who can solve this problem
thank you anyoe
if I have two parallel port
how many output in the parallel.0
how many output in the parallel.1
I want to have 7axis and 6 output pins,7*2+6=20.
the second parallel port must be input pins?
Who can solve this problem
thank you anyoe
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
02 Mar 2016 16:12 #70918
by Todd Zuercher
Replied by Todd Zuercher on topic how many 'output' 'input' pins in 2 parallel ports
That depends on how you have the ports are configured.in Linuxcnc.
I think the default setting is to configure the port as output which gives 12 output pins and 5 inputs.
The port can also be set for input mode that yields 13 inputs and 4 output.
There is a 3rd option that is not supported by all parallel ports (and no off the shelf breakout boards) called X mode. This has 8 outputs and 9 inputs
linuxcnc.org/docs/2.7/html/hal/parallel-port.html
So the only way you're going to get 20 outputs is to use output pins on both ports. You could get exactly 20 by configuring one port as out and one as X (12+8=20) and this would leave you with the 14 remaining pins as inputs (between the 2 ports). If you need to use conventional breakout boards you will be stuck with using both ports as out, and have 24 out and 10 in.
I think the default setting is to configure the port as output which gives 12 output pins and 5 inputs.
The port can also be set for input mode that yields 13 inputs and 4 output.
There is a 3rd option that is not supported by all parallel ports (and no off the shelf breakout boards) called X mode. This has 8 outputs and 9 inputs
linuxcnc.org/docs/2.7/html/hal/parallel-port.html
So the only way you're going to get 20 outputs is to use output pins on both ports. You could get exactly 20 by configuring one port as out and one as X (12+8=20) and this would leave you with the 14 remaining pins as inputs (between the 2 ports). If you need to use conventional breakout boards you will be stuck with using both ports as out, and have 24 out and 10 in.
Please Log in or Create an account to join the conversation.
03 Mar 2016 13:17 #70959
by andypugh
I would suggest not using parallel ports for that many axes.
Do you have a PCI slot available?
Or, consider connecting one of these to a single (EPP) parallel port to have 72 programmable IO pins and hardware step generation.
Replied by andypugh on topic how many 'output' 'input' pins in 2 parallel ports
I want to have 7axis and 6 output pins,7*2+6=20.
I would suggest not using parallel ports for that many axes.
Do you have a PCI slot available?
Or, consider connecting one of these to a single (EPP) parallel port to have 72 programmable IO pins and hardware step generation.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
03 Mar 2016 14:06 #70972
by Todd Zuercher
Replied by Todd Zuercher on topic how many 'output' 'input' pins in 2 parallel ports
Why Andy? What is the practical limit for the number of software stepgens? If he is just playing around with something in his basement then a couple of parallel ports is a great way to experiment with some motion control. Now If he's building some large robot or CNC machine for production where speed is of a significant concern then Yes by all means something from Mesa is a very good idea.
Please Log in or Create an account to join the conversation.
03 Mar 2016 14:27 #70973
by andypugh
Yes, true. The hard limit on software stepgen is 16 channels.
My logic is that if you think you need 20 pins now then you can be almost certain you will need 21 in the future.
Replied by andypugh on topic how many 'output' 'input' pins in 2 parallel ports
Why Andy? What is the practical limit for the number of software stepgens? If he is just playing around with something in his basement then a couple of parallel ports is a great way to experiment with some motion control.
Yes, true. The hard limit on software stepgen is 16 channels.
My logic is that if you think you need 20 pins now then you can be almost certain you will need 21 in the future.
Please Log in or Create an account to join the conversation.
04 Mar 2016 03:24 #71009
by 819132306
Replied by 819132306 on topic how many 'output' 'input' pins in 2 parallel ports
Hi,Todd Zuercher
Thank you ,
Does The each parallel port pin can be a step or dir.
How many axis can be in parallel port.
My English is bad.
How many parallel ports can be used in Linuxcnc.
Thanks
Thank you ,
Does The each parallel port pin can be a step or dir.
How many axis can be in parallel port.
My English is bad.
How many parallel ports can be used in Linuxcnc.
Thanks
Please Log in or Create an account to join the conversation.
04 Mar 2016 03:29 #71010
by 819132306
Hi Andy
I can't buy the mesa in china, so I want to use parallel port to learning linuxcnc.
I want build a 7axis turn mill DIY CNC by myself.
The stepgen only 16 output,if I use parallel port?
Replied by 819132306 on topic how many 'output' 'input' pins in 2 parallel ports
Why Andy? What is the practical limit for the number of software stepgens? If he is just playing around with something in his basement then a couple of parallel ports is a great way to experiment with some motion control.
Yes, true. The hard limit on software stepgen is 16 channels.
My logic is that if you think you need 20 pins now then you can be almost certain you will need 21 in the future.
Hi Andy
I can't buy the mesa in china, so I want to use parallel port to learning linuxcnc.
I want build a 7axis turn mill DIY CNC by myself.
The stepgen only 16 output,if I use parallel port?
Please Log in or Create an account to join the conversation.
04 Mar 2016 10:01 - 04 Mar 2016 10:01 #71016
by andypugh
There are 12 output pins, so it is a maximum of 6 step/dir axes per parallel port. You probably need some extra outputs for drive enable and to control the spindle.
Replied by andypugh on topic how many 'output' 'input' pins in 2 parallel ports
Yes. With the software step-generator you can configure any output pin to be step or direction in any arrangement you want.Does The each parallel port pin can be a step or dir.
linuxcnc.org/docs/2.7/html/hal/parallel-port.htmlHow many axis can be in parallel port.
There are 12 output pins, so it is a maximum of 6 step/dir axes per parallel port. You probably need some extra outputs for drive enable and to control the spindle.
LinuxCNC supports up to 8 parallel ports.How many parallel ports can be used in Linuxcnc
Last edit: 04 Mar 2016 10:01 by andypugh.
Please Log in or Create an account to join the conversation.
05 Mar 2016 03:19 #71073
by 819132306
Replied by 819132306 on topic how many 'output' 'input' pins in 2 parallel ports
Hi Andy
Thank you for your reply.
The XYZAB is on parallel port1.
The UVW is on parallel port2.
This has the influence on the real time?
I mean the axis if Not on the same parallel card, whether the impact of real time?
Thank yoy
Lee
Thank you for your reply.
The XYZAB is on parallel port1.
The UVW is on parallel port2.
This has the influence on the real time?
I mean the axis if Not on the same parallel card, whether the impact of real time?
Thank yoy
Lee
Please Log in or Create an account to join the conversation.
05 Mar 2016 10:49 #71080
by andypugh
The steps won't appear on the pins at exactly the same time, but the time difference will be tiny compared to the step frequency.
Both ports are written in the same cycle of the realtime thread, but one is written, then the other.
I don't think it is something you need to worry about.
Replied by andypugh on topic how many 'output' 'input' pins in 2 parallel ports
I mean the axis if Not on the same parallel card, whether the impact of real time?
The steps won't appear on the pins at exactly the same time, but the time difference will be tiny compared to the step frequency.
Both ports are written in the same cycle of the realtime thread, but one is written, then the other.
I don't think it is something you need to worry about.
Please Log in or Create an account to join the conversation.
Time to create page: 0.113 seconds