- Posts: 40
- Thank you received: 0
Basic IO Test with Parallel port
3 years 4 months ago #274357
by PedroSMS
Basic IO Test with Parallel port was created by PedroSMS
Hi all,
I'm very new to linuxcnc. I have installed it on a debian 10 PC.
I have a parallel port available, and connected to an interface board.
I have run the IO Setup wizard, and assigned port address, pin functions etc.
Before I connect it to the amplifiers etc, I want to do a basic IO test on it - is there a tool in the linuxcnc bundle to do that?
Kind regards
Pedro
I'm very new to linuxcnc. I have installed it on a debian 10 PC.
I have a parallel port available, and connected to an interface board.
I have run the IO Setup wizard, and assigned port address, pin functions etc.
Before I connect it to the amplifiers etc, I want to do a basic IO test on it - is there a tool in the linuxcnc bundle to do that?
Kind regards
Pedro
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
3 years 4 months ago #274548
by tommylight
Replied by tommylight on topic Basic IO Test with Parallel port
Thank you for your patience.
Yes, there is a tool included with LinuxCNC for exactly that, from the menu start LinuxCNC and on the config picker choose "sample configurations" then "apps" then "parport" and one of the two choices, it will ask to copy so OK but it will not work for you now, you have to close it, navigate to the configs folder and edit the hal file by adding the address of your parallel port, save, and start by right clicking on the .ini file and choosing to run it with LinuxCNC.
To test, attach the BOB and check the BOB manual on how to trigger the inputs while checking the LED's on screen.
Yes, there is a tool included with LinuxCNC for exactly that, from the menu start LinuxCNC and on the config picker choose "sample configurations" then "apps" then "parport" and one of the two choices, it will ask to copy so OK but it will not work for you now, you have to close it, navigate to the configs folder and edit the hal file by adding the address of your parallel port, save, and start by right clicking on the .ini file and choosing to run it with LinuxCNC.
To test, attach the BOB and check the BOB manual on how to trigger the inputs while checking the LED's on screen.
Please Log in to join the conversation.
3 years 3 months ago #274554
by PedroSMS
Replied by PedroSMS on topic Basic IO Test with Parallel port
Thank you for your reply @tommylight.
I am away at the moment. I will have a look at that when I return.
I have noticed that the parallel port address in the configuration file is static. My machine has two PCI > LPT ports, and knowing that the PC BIOS can on rare occasions swap the addresses of these ports. Does LinuxCNC have any protections for this occurrence?
Kind regards
Pedro
I am away at the moment. I will have a look at that when I return.
I have noticed that the parallel port address in the configuration file is static. My machine has two PCI > LPT ports, and knowing that the PC BIOS can on rare occasions swap the addresses of these ports. Does LinuxCNC have any protections for this occurrence?
Kind regards
Pedro
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
3 years 3 months ago #274559
by tommylight
Replied by tommylight on topic Basic IO Test with Parallel port
No, not LinuxCNC, that should be set in BIOS, something like resource assignment should be set from auto to manual, meaning the PC at boot time assigns addresses and IRQ's for PCI cards and everything in it.
Please Log in to join the conversation.
3 years 3 months ago #274615
by PedroSMS
Replied by PedroSMS on topic Basic IO Test with Parallel port
Thanks again for your reply @tommylight,
I will install some software that will check the hardware configuration, before it allows LinuxCNC to run.
Kind regards
Pedro
I will install some software that will check the hardware configuration, before it allows LinuxCNC to run.
Kind regards
Pedro
Please Log in to join the conversation.
Time to create page: 0.095 seconds
