Time to setup my lathe with 7i76e
25 Mar 2018 08:50 #107798
by rodw
Replied by rodw on topic Time to setup my lathe with 7i76e
All you do is to add 2 instancesand use
ilowpass.0 for one axis and ilowpass.1 for the other.
That example does work as I used it on my 7i76e. Take care though, I think the scale defaulted to 1 metre per click on the MPG so I had a massive crash... I think you need to adjust your scale selector settings as well
Just get one of them going first.
loadrt ilowpass count=2
addf ilowpass.0 servo-thread
addf ilowpass.1 servo-thread
ilowpass.0 for one axis and ilowpass.1 for the other.
That example does work as I used it on my 7i76e. Take care though, I think the scale defaulted to 1 metre per click on the MPG so I had a massive crash... I think you need to adjust your scale selector settings as well
Just get one of them going first.
Please Log in or Create an account to join the conversation.
25 Mar 2018 08:53 #107799
by tecno
Replied by tecno on topic Time to setup my lathe with 7i76e
Done that Rod and it did not work, maybe some typing error so I will get back on it again today and see what I can come up with.
Please Log in or Create an account to join the conversation.
25 Mar 2018 09:09 - 25 Mar 2018 09:11 #107800
by rodw
Replied by rodw on topic Time to setup my lathe with 7i76e
Just looking at your hal file, you already have an instance of ilowpass so you will need to add 3 instances and name them all
These lines need to be sent through ilowpass
This is why I much prefer this 2 line style in my hal
As it lets you change it much more easilly.
Don't expect this to work first time but it should be close
These lines need to be sent through ilowpass
net jog-0-counts axis.0.jog-counts <= hm2_7i76e.0.7i76.0.0.enc0.count
net jog-2-counts axis.2.jog-counts <= hm2_7i76e.0.7i76.0.0.enc1.count
This is why I much prefer this 2 line style in my hal
net jog-0-counts <= hm2_7i76e.0.7i76.0.0.enc0.count
net jog-0-counts => axis.0.jog-counts
As it lets you change it much more easilly.
loadrt ilowpass, count = 3, names=ilowpas.spindle,ilowpass.mpgX,ilowpas.mpgZ
addf ilowpass.spindle servo-thread
addf ilowpass.mpgX servo-thread
addf ilowpass.mpgZ servo-thread
# X MPG ilowpass
setp ilowpass.mpgX.scale 1000
setp ilowpass.mpgX.gain 0.01
net jog-0-counts <= hm2_7i76e.0.7i76.0.0.enc0.count
net jog-0-counts => lowpass.mpgX.in
net ilowpass-0-out ilowpass.mpgX.out
net ilowpass-0-out => axis.0.jog-counts
Last edit: 25 Mar 2018 09:11 by rodw.
Please Log in or Create an account to join the conversation.
25 Mar 2018 10:13 #107804
by tecno
Replied by tecno on topic Time to setup my lathe with 7i76e
Spindle = ilowpass = NO >>>>>>>>> lopass
Are these the same?
Are these the same?
Please Log in or Create an account to join the conversation.
25 Mar 2018 10:30 - 25 Mar 2018 10:32 #107805
by rodw
Replied by rodw on topic Time to setup my lathe with 7i76e
Sorry, I got that wrong. If the names are different they are different components. It does not really matter, just starts a bit different.
loadrt ilowpass, count=2 , names=ilowpass.mpgX,ilowpass.mpgZ
addf ilowpass.mpgX servo-thread
addf ilowpass.mpgZ servo-thread
Last edit: 25 Mar 2018 10:32 by rodw.
Please Log in or Create an account to join the conversation.
25 Mar 2018 11:31 #107806
by Clive S
Replied by Clive S on topic Time to setup my lathe with 7i76e
Rod I do appreciate this " This is why I much prefer this 2 line style in my hal " This has helped me no end it trying to understand hal llines of code.
Please Log in or Create an account to join the conversation.
25 Mar 2018 11:47 #107807
by tecno
Replied by tecno on topic Time to setup my lathe with 7i76e
Happy camper over here as I now got ilowpass working.
I agree to Clives comment and I have learned a lesson today.
1. loadrt is either count or names not both
Here my HAL that is now operational
Thanks Rod for your kind help.
I agree to Clives comment and I have learned a lesson today.
1. loadrt is either count or names not both
Here my HAL that is now operational
Thanks Rod for your kind help.
Please Log in or Create an account to join the conversation.
25 Mar 2018 12:29 #107808
by rodw
Replied by rodw on topic Time to setup my lathe with 7i76e
Glad you guys learnt something today. Bengt, I just included that error as a training exercise! I told you it wouldn't work first up!
What I learnt this weekend is how to log a series of probe readings to a file. Which in turn taught me that my gantry was out by about 1.6mm in height from one side to the other. Which in turn resulted in almost a day's work shimming the gantry under probe control to get it level!
What I learnt this weekend is how to log a series of probe readings to a file. Which in turn taught me that my gantry was out by about 1.6mm in height from one side to the other. Which in turn resulted in almost a day's work shimming the gantry under probe control to get it level!
Please Log in or Create an account to join the conversation.
25 Mar 2018 12:32 #107810
by tecno
Replied by tecno on topic Time to setup my lathe with 7i76e
Yes you told me so
There is always things to do, glad you got you gantry properly leveled. It is nice to have good tools that helps.
There is always things to do, glad you got you gantry properly leveled. It is nice to have good tools that helps.
Please Log in or Create an account to join the conversation.
25 Apr 2018 10:47 #109587
by tecno
Replied by tecno on topic Time to setup my lathe with 7i76e
Need advise how to set spindel scaling.
I can manually set low speed to ~185rpm
In Axis F9 i need to press + button 3 times to get spindle starting.
M3 S300 is the lowest MDI command I can get spindle starting at ~185rpm
So giving M3 S185 will not start.
Where do I adjust to I get proper Sxxx ?
Cheers
Bengt
I can manually set low speed to ~185rpm
In Axis F9 i need to press + button 3 times to get spindle starting.
M3 S300 is the lowest MDI command I can get spindle starting at ~185rpm
So giving M3 S185 will not start.
Where do I adjust to I get proper Sxxx ?
Cheers
Bengt
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.160 seconds