Hi 

i'm really not a advanced user but i think is possible with simindex.comp

this code is from Marius Alksnys i hope thi scan help you.


newinst simindex simindex-s
net spindle-index-enable motion.spindle-index-enable <=> 
simindex-s.index-enable pid-s.index-enable
net spindle-enc-count hpg.encoder.00.chan.00.rawcounts => simindex-s.count
setp simindex-s.scale [SPINDLE]ENCODER_ABS_SCALE

net spindle-revs-raw hpg.encoder.00.chan.00.position => simindex-s.pos-in
net spindle-revs simindex-s.pos-out => motion.spindle-revs


addf simindex-s servo-thread

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Attachment: simindex.comp
Description: Binary data

Reply via email to