mesa 7i76 configuring a spindle encoder
16 Mar 2016 18:35 #71739
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
Starting from scratch isn't the way, this shouldn't be this difficult.
(And, to an extent, learning what these errors mean and how to fix them is useful)
What error do you get if you comment out the offending line?
(And, to an extent, learning what these errors mean and how to fix them is useful)
What error do you get if you comment out the offending line?
Please Log in or Create an account to join the conversation.
16 Mar 2016 18:41 - 16 Mar 2016 18:42 #71740
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Ok Andy that is helpful I will report back tomorrow with the degbug msg I know there are bugs in PnCConf shall I re submit my hal file as well?Starting from scratch isn't the way, this shouldn't be this difficult.
Last edit: 16 Mar 2016 18:42 by Clive S.
Please Log in or Create an account to join the conversation.
17 Mar 2016 09:33 #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.
17 Mar 2016 10:27 #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
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.
17 Mar 2016 11:54 #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.
17 Mar 2016 12:04 #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
loadrt lowpass names=lowpass.spindle.gain
loadrt lowpass names=lowpass.spindle
Please Log in or Create an account to join the conversation.
17 Mar 2016 12:13 #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.
17 Mar 2016 12:24 #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.
17 Mar 2016 12:36 #71782
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
OK Andy WE (you) are getting there axis now loads with no errors .
The file was generated by PnCConf for my lathe But I know there are bugs in PnCConf some have been sorted but have missed 2.7.4
Now I need to connect up the index A and B from the encoder. I will report back when I have done it
The file was generated by PnCConf for my lathe But I know there are bugs in PnCConf some have been sorted but have missed 2.7.4
Now I need to connect up the index A and B from the encoder. I will report back when I have done it
Please Log in or Create an account to join the conversation.
17 Mar 2016 12:56 #71784
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Thanks Andy can I trouble you with the setting up now.
I have connected the A, B and index to the 7i76 What do I have to set in the hal and ini file to make it work
I have connected the A, B and index to the 7i76 What do I have to set in the hal and ini file to make it work
Please Log in or Create an account to join the conversation.
Time to create page: 0.171 seconds