- Posts: 4737
- Thank you received: 1480
Mill with auxilarry spindle
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
6 years 8 months ago #158788
by Todd Zuercher
Replied by Todd Zuercher on topic Mill with auxilarry spindle
That isn't surprising that it would not load. When you change a stepgen from position to velocity mode, it changes what the pin names are for that stepgen. So the pin named stepgen.3.position-cmd no longer existed causing a hal file error and Linuxcnc not to start.
Please Log in or Create an account to join the conversation.
6 years 8 months ago #158807
by bobhare
Replied by bobhare on topic Mill with auxilarry spindle
Thanks again for your reply and as you can guess my knowledge of these things is woefully inadequate; please bear with me. I studied the HAL tutorial last night and am now a little wiser but not wise enough.
I found another Linux post, "4th Axis rotational angle limit problem" where the issue was similar to mine and changed the hal file in a similar way but without success.
I attach the modified hal file.
If you can help i would be grateful.
I found another Linux post, "4th Axis rotational angle limit problem" where the issue was similar to mine and changed the hal file in a similar way but without success.
I attach the modified hal file.
If you can help i would be grateful.
Please Log in or Create an account to join the conversation.
6 years 8 months ago #158808
by bobhare
Replied by bobhare on topic Mill with auxilarry spindle
Doesn't look like the file got attached. Also the debug message was 'axis.3.motor-vel-cmd' does not exist.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
6 years 8 months ago #158810
by tommylight
Replied by tommylight on topic Mill with auxilarry spindle
setp stepgen.3.velocity-cmd [AXIS_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 36000
setp stepgen.3.dirsetup 36000
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
net avel-cmd axis.3.motor-vel-cmd => stepgen.3.velocity-cmd
net avel-fb axis.3.motor-vel-cmd => axis.3.motor-vel-fb net avel-fb axis.3.motor-vel-fb => axis.3.motor-vel-fb
net astep <= stepgen.3.step
net adir <= stepgen.3.dir
net aenable axis.3.amp-enable-out => stepgen.3.enable
Also attach the errror part where it says
debug info
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 36000
setp stepgen.3.dirsetup 36000
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
net avel-cmd axis.3.motor-vel-cmd => stepgen.3.velocity-cmd
net avel-fb axis.3.motor-vel-cmd => axis.3.motor-vel-fb net avel-fb axis.3.motor-vel-fb => axis.3.motor-vel-fb
net astep <= stepgen.3.step
net adir <= stepgen.3.dir
net aenable axis.3.amp-enable-out => stepgen.3.enable
Also attach the errror part where it says
debug info
Please Log in or Create an account to join the conversation.
6 years 7 months ago #158987
by bobhare
Replied by bobhare on topic Mill with auxilarry spindle
I added, "net avel-fb axis.3.motor-vel-fb => axis.3.motor-vel-fb" to the hal file and the resulting debug message was:-
./ Mill-Lathe.hal.103: Pin 'axis.3.motor-vel-cmd' does not exist 4004.
The hal file is attached.
./ Mill-Lathe.hal.103: Pin 'axis.3.motor-vel-cmd' does not exist 4004.
The hal file is attached.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4737
- Thank you received: 1480
6 years 7 months ago #158989
by Todd Zuercher
Replied by Todd Zuercher on topic Mill with auxilarry spindle
That is because that pin does not in fact exist
There is a pin axis.N.joint-vel-cmd. (but not a motor version)
There is a pin axis.N.joint-vel-cmd. (but not a motor version)
Please Log in or Create an account to join the conversation.
Time to create page: 0.065 seconds