probe basic lath to define a net spindle-index-en spindle.0.index-enable

More
25 Mar 2026 23:09 #344744 by leexi
hi, I am using a absolute multiturn spindle encoder , it is working but I need to simulate de Z index for G33 and G73
so I define the follow net

net spindle-index-en    and2.2.out => spindle.0.index-enable

but always say spindle-index-en and after some test I found spindle.0.index-enable it is already linked
So I delete may hal and leave just basic things like lcec  etc.. basic to make my ethercat network working 
but any way say the signal is already linked, I made allot names changes and this has the same result   
on ini file I have only a call to this hal file.  
after I comment the net line and run the linuxcnc
On hal show I look for the linked spindle.0.index-enable, and I can toggle  the input spindle.0.index-enable
on bash I look for the variable 
halcmd show pin
spindle.0.index-enable
at moment the linuxcnc probe basic stance running, there is not link result.
so mean that input is not linked jet, but after I close the linuxcnc instance and remove the comment the net on hal file I get the same error,
spindle.0.index-enable already liked 
I been using probe basic GUI for lathe. i found that you can simulate the spindle feedback or use the encoder feed back, is this option can declare this spindle input?


as additional comment I have the encoder count working and can calculate the right speed test as  tested whit tachometer and it is really precise , so I can control the spindle position 
net spindle-revs-raw rev_scale.out => motion.spindle-0-revs
but not
net spindle-index-en    and2.2.out => spindle.0.index-enable


Any advice

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

Time to create page: 1.085 seconds
Powered by Kunena Forum