- Posts: 2204
- Thank you received: 486
mesa 7i76 configuring a spindle encoder
- Clive S
- Offline
- Platinum Member
-
Less
More
10 years 7 months ago #71770
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Ok Andy commented out ###loadrt lowpass names=lowpass.spindle.gain
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 7 months ago #71772
by andypugh
That wasn't the line I was suggesting you comment out. The "Offending line" is given in the error report, line 190 of the file "Myford_Lathe.hal"
Some HAL background.
When you loadrt lowpass you get the pins and parameters listed here:
linuxcnc.org/docs/2.7/html/man/man9/lowpass.9.html
So, typically lowpass.0.gain, lowpass.0.in etc.
If you use names= then the pins get new names. If you use "names = lowpass.spindle.gain" then the pins/parameters are lowpass.spindle.gain.gain and lowpass.spindle.gain.in and so on.
What you need is "loadrt lowpass names=lowpass.spindle"
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
Clive s wrote: Ok Andy commented out ###loadrt lowpass names=lowpass.spindle.gain
That wasn't the line I was suggesting you comment out. The "Offending line" is given in the error report, line 190 of the file "Myford_Lathe.hal"
Some HAL background.
When you loadrt lowpass you get the pins and parameters listed here:
linuxcnc.org/docs/2.7/html/man/man9/lowpass.9.html
So, typically lowpass.0.gain, lowpass.0.in etc.
If you use names= then the pins get new names. If you use "names = lowpass.spindle.gain" then the pins/parameters are lowpass.spindle.gain.gain and lowpass.spindle.gain.in and so on.
What you need is "loadrt lowpass names=lowpass.spindle"
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
Less
More
- Posts: 2204
- Thank you received: 486
10 years 7 months ago #71775
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Andy I am getting mixed up. Would you mind checking my HAL file and being explicate where I have to change things
I have added this to the hal file loadrt lowpass names=lowpass.spindle
I have added this to the hal file loadrt lowpass names=lowpass.spindle
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 7 months ago #71776
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
You have tried to loadrt the lowpass component twice, with two different names
Code:
loadrt lowpass names=lowpass.spindle.gain
loadrt lowpass names=lowpass.spindle
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
Less
More
- Posts: 2204
- Thank you received: 486
10 years 7 months ago #71778
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 7 months ago #71779
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
What is the background here? how did you end up with this file which has all the net commands but none of the loadrt commands?
loadrt abs names=abs.spindle
loadrt abs names=abs.spindle
Please Log in or Create an account to join the conversation.
Time to create page: 0.129 seconds