Mesa 7i96s firmware for Index (2.9 release)

More
2 years 2 months ago #307990 by vibram
Yes please
Is there a way to see how you do (screenshot or whatever) in order to learn a bit also?

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

More
2 years 2 months ago #308024 by PCW
Here is 7i96s firmware that adds a stepgen index pin for all stepgens

Note that these have been added to the P1 expansion connector
so can only be used with TTL/5V level index signals. It's also advisable
to add a say 220 Ohm series resistor to each input if interfacing
machine I/O to the P1 FPGA expansion port to protect against negative
input spikes.

 

File Attachment:

File Name: 7i96ssdid_...8-17.zip
File Size:254.16 KB

 
The following user(s) said Thank You: rickjmain

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

More
2 years 2 months ago #308047 by vibram
Thanks a lot I will first check what you modified in order to understand and confirm no other impact on my setup and then flash the firmware

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

More
1 year 11 months ago #315682 by vibram
Thank you again.

I struggle with the configuration
If I understand well I need to adapt this line in my Hal file but can't figure what should I put?

net xindex-enable axis.0.index-enable <=> hm2_7i96s ???
I connected my index on i/o 36 (P1)
Thank you for your help

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

More
1 year 11 months ago #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
1 year 11 months ago #315716 by vibram
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.

Time to create page: 0.410 seconds
Powered by Kunena Forum