Mesa 7i96s firmware for Index (2.9 release)

More
1 year 11 months ago - 1 year 11 months ago #315734 by PCW
 I connected normal input on IO 34 qnd 35, it works fine. But how should I tell the system the stepgen index for axis X is on the 36 and for the axis z on the 37 ?

You cannot, the index mapping is fixed by the firmware. That is, GPIO 34 is always the index for stepgen 00,
GPIO 35 is the index for stepgen 01 etc. You can, however map any stepgen to any axis.
Last edit: 1 year 11 months ago by PCW.

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

More
1 year 6 months ago #326319 by rickjmain
Hi PCW, I'm still fairly early in my latest build, just testing things out. I've flashed over the firmware, and it shows the Index function on GPIO 34-38. I've also made an adapter cable with 220 ohm resistors. I can see the GPIO pins change in halshow when i connect them to ground but the hm2_7i96s.0.stepgen.xx.index-enable pin doesn't change. Should I be linking like so:

net x-index-enable <= hm2_7i96s.0.gpio.034.in
net x-index-enable => joint.0.index-enable

or like this:

net x-index-enable <= hm2_7i96s.0.stepgen.00.index-enable
net x-index-enable => joint.0.index-enable

Thanks for your help on this!

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

More
1 year 6 months ago #326325 by PCW
net x-index-enable <= hm2_7i96s.0.stepgen.00.index-enable
net x-index-enable => joint.0.index-enable

Would be correct.

To test: (with linuxcnc running and watching  x-index-enable with halshow)

halcmd -kf
halcmd:  sets x-index-enable
(this should set x-index-enable true)

Then toggle the index input
(that should set x-index-enable false)
 
The following user(s) said Thank You: rickjmain

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

More
1 year 6 months ago #326326 by rickjmain
That worked perfectly, thanks!

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

Time to create page: 0.052 seconds
Powered by Kunena Forum