spindle tristate_index

More
29 Sep 2017 18:51 #99637 by billykid
Hello
I managed to run the spindle orientation without index though.
Now that I work, I would like to use the spindle index enable.
I put tristate_bit and it works, in g76 is enabled and with M19 disabled
I'm not very clear how to link index-enable to orient mode, if anyone can help me ... just start that damn index!
regards
Mauro

newsig tristate.index bit
sets tristate.index true
net tristate.index => tristate-bit.0.in
net spindle-index <= tristate-bit.0.out
net ori-index or2.2.out => tristate-bit.0.enable
net spindle-index <= motion.spindle-index-enable
net spindle-index <=> hm2_5i23.0.encoder.03.index-enable

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

More
03 Oct 2017 19:24 #99835 by billykid
Replied by billykid on topic spindle tristate_index
since it is too complicated to use the index, I compiled the component from master 2.8 and it works fine though after using the g76 first.
is there a way to do this automatically when linuxcnc starts?
thank you
Mauro

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

More
05 Oct 2017 07:25 #99951 by massimodamassa
You can maybe run a G76 close to zero machine so it does not cause any problems.

For example

G59
T1M6
M3S100
G76 P1 Z-10 I-2 J0.5 K3,065 H1 R2 Q30 E1 L1
G28X0Z0M5
G54
M30

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

More
05 Oct 2017 12:26 #99958 by andypugh
Replied by andypugh on topic spindle tristate_index
It might suffice to have a "sets spindle-index 1" in your HAL file. Then the encoder will zero on the first pass through index, and should then be correct for the remainder of the session.
Just make sure you don't try to orient until the spindle has one one full rev.

I have a branch waiting to be merged (after 2.8) that will support multiple spindles and also allow spindles to be part of the home sequence.
The following user(s) said Thank You: billykid

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

More
05 Oct 2017 13:46 #99959 by billykid
Replied by billykid on topic spindle tristate_index
thanks Andy works!
apparently it is not possible to set this signal with the orient mode.
I tried but I did not succeed ... but that's fine, then if in 2.8 it will be better.

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

Time to create page: 0.096 seconds
Powered by Kunena Forum