mesa 7i76 configuring a spindle encoder

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



File Attachment:

File Name: Myford_Lathe-2-3.hal
File Size:9 KB
Attachments:

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

More
10 years 7 months ago #71772 by andypugh
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.

More
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



File Attachment:

File Name: Myford_Lat...-3-4.hal
File Size:9 KB
Attachments:

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

More
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.

More
10 years 7 months ago #71778 by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Ok I have commented this out #loadrt lowpass names=lowpass.spindle.gain
Attachments:

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

More
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

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

Time to create page: 0.129 seconds
Powered by Kunena Forum