Need help with CNC machine build up

More
21 Mar 2025 23:38 #324495 by BX-CNC
Replied by BX-CNC on topic Need help with CNC machine build up

These USB adapters won't work.

You have to buy PCI card adapter with Sunix, Netmos or Moschip chipset.
 

Okay thanks a lot for your help. I will get them asap. Appreciate everything you responded

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

More
21 Mar 2025 23:39 #324496 by ContinenteCNC
Replied by ContinenteCNC on topic Need help with CNC machine build up

lspci -v
sudo cat /proc/ioports | grep parport
ls /dev/parport*
these commands
 
user@linuxcnc:~$ sudo cat /proc/ioports | grep parport
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
user@linuxcnc:~$ ls /dev/parport*
ls: cannot access '/dev/parport*': No such file or directory

This is what i get after enter the password, nothing happen

 

 

It seems you don't have a parallel port at all.

Are you using an old computer with onboard parallel port or a new computer with PCI card?
 


and I did try using the parallel port tester but i got this
user@linuxcnc:~$ halrun -I -f ptest.hal
Could not open command file 'ptest.hal'
halcmd:


 

You have to open the Terminal Emulator in the same folder where your parallel port tester files are. For this, right click somewhere inside the folder then "Open Terminal Here".

But with USB to parallel adapter it wouldn't work in anyway. Find a good parallel port PCI card and try again. Avoid any WCH chipsets.
The following user(s) said Thank You: tommylight

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

More
23 Mar 2025 20:30 #324690 by BX-CNC
Replied by BX-CNC on topic Need help with CNC machine build up

lspci -v
sudo cat /proc/ioports | grep parport
ls /dev/parport*
these commands
 
user@linuxcnc:~$ sudo cat /proc/ioports | grep parport
[sudo] password for user:
Sorry, try again.
[sudo] password for user:
user@linuxcnc:~$ ls /dev/parport*
ls: cannot access '/dev/parport*': No such file or directory

This is what i get after enter the password, nothing happen

 

 

It seems you don't have a parallel port at all.

Are you using an old computer with onboard parallel port or a new computer with PCI card?
 


and I did try using the parallel port tester but i got this
user@linuxcnc:~$ halrun -I -f ptest.hal
Could not open command file 'ptest.hal'
halcmd:


 



You have to open the Terminal Emulator in the same folder where your parallel port tester files are. For this, right click somewhere inside the folder then "Open Terminal Here".

But with USB to parallel adapter it wouldn't work in anyway. Find a good parallel port PCI card and try again. Avoid any WCH chipsets.

Hi, I find a PCI on Amazon, the chip is Asix AX99100 chip.
www.amazon.ca/StarTech-com-1-Port-Parall...1a&gad_source=1&th=1
The link is here. Will this PCI work? or do you have any recommendation? Thank you.

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

More
24 Mar 2025 02:03 - 24 Mar 2025 02:06 #324718 by ContinenteCNC
Last edit: 24 Mar 2025 02:06 by ContinenteCNC.
The following user(s) said Thank You: BX-CNC

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

More
27 Mar 2025 17:39 - 27 Mar 2025 17:51 #325078 by BX-CNC
Replied by BX-CNC on topic Need help with CNC machine build up
Hi,
I get a PC with build-in parallel port. But i ran the parallel port tester and still got no response.

I can now toggle the machine power in linuxCNC. When I toggle it on, the machine can move when i toggle the machine power off it locks. But still no movement yet.
Last edit: 27 Mar 2025 17:51 by BX-CNC.

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

More
27 Mar 2025 18:21 #325084 by BX-CNC

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

More
27 Mar 2025 18:22 #325085 by BX-CNC
Replied by BX-CNC on topic Need help with CNC machine build up
I’m at this stage noticing that I can’t change the velocity of y-axis (the one I’m testing). I think it might be the motor driver setting up problem.
Attachments:

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

More
01 Apr 2025 00:38 - 01 Apr 2025 00:49 #325435 by ContinenteCNC
Replied by ContinenteCNC on topic Need help with CNC machine build up

Hi,
I get a PC with build-in parallel port. But i ran the parallel port tester and still got no response.

I can now toggle the machine power in linuxCNC. When I toggle it on, the machine can move when i toggle the machine power off it locks. But still no movement yet.
 


You have to flip the enable pin state.

You may run stepconf wizard once more and invert Amplifier Enable pin or you could edit it directly in you hal file.

What do you mean by no response? Have you tested inputs and outputs? Is everything powered up? You have to plug the USB cable to power the computer side in your bob and also 12-24 volts to power the machine side.

Try running parallel port tester and try to toggle pin 17 to see if built in relay will make any sound.
Last edit: 01 Apr 2025 00:49 by ContinenteCNC.

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

More
01 Apr 2025 00:43 #325437 by ContinenteCNC
Replied by ContinenteCNC on topic Need help with CNC machine build up

I’m at this stage noticing that I can’t change the velocity of y-axis (the one I’m testing). I think it might be the motor driver setting up problem.

I have never seen anything like this. Have you tried to type a value? I don't use stepconf wizard very often.

You can always finish stepconf configuration and edit the .ini file.

But I can tell the motor driver config has no influence on this (if you mean the switches configuration).

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

Time to create page: 0.087 seconds
Powered by Kunena Forum