I have setup the pru index pin as a general gpio input and test from halcmd 
show pin = work fine.

But i never see some reset for count vs rawcount when this pin is set for 
pru index else never see some changing status False/True.

setp hpg.encoder.00.chan.00.A-pin 0         # 931 
setp hpg.encoder.00.chan.00.B-pin 1         # 929 
setp hpg.encoder.00.chan.00.index-pin 2     # 930

P9_29 pruin # ENCyB
P9_30 pruin # ENCyI
P9_31 pruin # ENCyA


net spindle-index-enable hpg.encoder.00.chan.00.index-enable <=> 
motion.spindle-index-enable
or 
net spindle-index-enable <= motion.spindle-index-enable
net spindle-index-enable <=> hpg.encoder.00.chan.00.index-enable
or
#setp motion.spindle-index-enable 1


Is there something i can try for check if this index work correctly ?

Br

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/f1a9db11-ce0b-48d3-b1fb-136a8171e213%40googlegroups.com.

Reply via email to