[SOLVED] get to work an old stepper_mm machine
- cromlin
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 1
22 Dec 2024 12:14 - 22 Dec 2024 13:30 #317140
by cromlin
[SOLVED] get to work an old stepper_mm machine was created by cromlin
Hello. I've been using linuxcnc from emc2 until 2019. now I have to restore my old machine. I cut foam. I installed 2.7.4 old distro but cannot get it to work. I saved old config files, try to use them but cannot get to work.
as far as I remember I only changed standart_pinout and that's all. Motors are connected and I cannot rotate them by hand, but cannot remember what should I do more.
from default
net Xstep => parport.0.pin-03-out
net Xdir => parport.0.pin-02-out
net Ystep => parport.0.pin-05-out
net Ydir => parport.0.pin-04-out
to
net Xstep => parport.0.pin-02-out
net Xdir => parport.0.pin-03-out
net Ystep => parport.0.pin-04-out
net Ydir => parport.0.pin-05-out.
I remember I inverted them with
setp parport.0.pin-03-out-invert 1
but it doesn't help also.
machine is very simple stepper_mm with parport.
it seems something simple but I cannot remember. please help if possible.
edit: I started Stepper Configuration Wizard and remembered that machine is based on L297.
then I tried cat /proc/ioports and lspci -v but haven't found anything 0378-037a or 278: is it possible my parallel port is dead or maybe wheezy didn't install driver for it? maybe try buster.
edit: BIOS says parport is 378, irq7.
EDIT: holy moses! i lurked linuxcnc forums and somehow from other topics found something "holds" or uses parport. then afterparport "freed" and motors began to move. thanks to linuxcnc.
I leave this thread in case if someone will be also googling similar problem.
as far as I remember I only changed standart_pinout and that's all. Motors are connected and I cannot rotate them by hand, but cannot remember what should I do more.
from default
net Xstep => parport.0.pin-03-out
net Xdir => parport.0.pin-02-out
net Ystep => parport.0.pin-05-out
net Ydir => parport.0.pin-04-out
to
net Xstep => parport.0.pin-02-out
net Xdir => parport.0.pin-03-out
net Ystep => parport.0.pin-04-out
net Ydir => parport.0.pin-05-out.
I remember I inverted them with
setp parport.0.pin-03-out-invert 1
but it doesn't help also.
machine is very simple stepper_mm with parport.
it seems something simple but I cannot remember. please help if possible.
edit: I started Stepper Configuration Wizard and remembered that machine is based on L297.
then I tried cat /proc/ioports and lspci -v but haven't found anything 0378-037a or 278: is it possible my parallel port is dead or maybe wheezy didn't install driver for it? maybe try buster.
edit: BIOS says parport is 378, irq7.
EDIT: holy moses! i lurked linuxcnc forums and somehow from other topics found something "holds" or uses parport. then after
sudo rmmod ppdev sudo rmmod lp
I leave this thread in case if someone will be also googling similar problem.
Last edit: 22 Dec 2024 13:30 by cromlin. Reason: new info
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19526
- Thank you received: 6553
04 Jan 2025 14:05 #318065
by tommylight
Replied by tommylight on topic [SOLVED] get to work an old stepper_mm machine
Thank you for reporting back with the solution.
Please Log in or Create an account to join the conversation.
Time to create page: 0.049 seconds