Mesa 7i96s firmware for Index (2.9 release)

More
01 Dec 2024 02:30 #315700 by PCW
It connects to the hardware stepgen index pin
probably something like:

hm2_7i96s.0.stepgen.00.index-enable

halcmd show pin hm2 | grep index
 (when linuxcnc is running)

should list it

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

More
01 Dec 2024 08:51 #315716 by vibram
Replied by vibram on topic Mesa 7i96s firmware for Index (2.9 release)
Here is the output of the command:

 38  bit   I/O         FALSE  hm2_7i96s.0.7i73.0.0.enc0.index-enable
    38  bit   I/O         FALSE  hm2_7i96s.0.7i73.0.0.enc1.index-enable
    38  bit   I/O         FALSE  hm2_7i96s.0.7i73.0.0.enc2.index-enable
    38  bit   I/O         FALSE  hm2_7i96s.0.7i73.0.0.enc3.index-enable
    38  bit   I/O         FALSE  hm2_7i96s.0.encoder.00.index-enable <=> spindle-index-enable
    38  bit   OUT         FALSE  hm2_7i96s.0.encoder.00.input-index
    38  bit   I/O         FALSE  hm2_7i96s.0.stepgen.00.index-enable
    38  bit   IN          FALSE  hm2_7i96s.0.stepgen.00.index-invert
    38  bit   I/O         FALSE  hm2_7i96s.0.stepgen.01.index-enable
    38  bit   IN          FALSE  hm2_7i96s.0.stepgen.01.index-invert

and the end of my readhmid
O Connections for P1 -> 7I96_2
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

P1-01/DB25-01          34   IOPort       StepGen          0        Index           (In)
P1-02/DB25-14          35   IOPort       StepGen          1        Index           (In)
P1-03/DB25-02          36   IOPort       StepGen          2        Index           (In)
P1-04/DB25-15          37   IOPort       StepGen          3        Index           (In)
P1-05/DB25-03          38   IOPort       StepGen          4        Index           (In)


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 ?

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

More
01 Dec 2024 14:43 - 01 Dec 2024 16:57 #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: 01 Dec 2024 16:57 by PCW.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum