7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB

More
08 Mar 2025 12:44 #323515 by Nathan40
Hi.

How do we add the inputs for the 5axis BOB pins in the hal files? Please share the lines that needed to be added for inputs oF BOB in the hal files.

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

More
08 Mar 2025 15:01 #323525 by PCW
First you look at the pinout of the firmware:

mesaflash --device 7i95t --addr 10.10.10.10 --readhmid

And then check which GPIO connect to which DB25 pin

Then in the configuration utility or hal file you connect
the selected GPIO pin (or inverted GPIO pin) to the linuxCNC
function pin you need

The expansion pinout on a 7I95/7I95T looks like this (from mesaflash --readhmid)

PIN                             GPIO
P1-01/DB25-01          41   IOPort       None           
P1-02/DB25-14          42   IOPort       None           
P1-03/DB25-02          43   IOPort       None           
P1-04/DB25-15          44   IOPort       None           
P1-05/DB25-03          45   IOPort       None           
P1-06/DB25-16          46   IOPort       None           
P1-07/DB25-04          47   IOPort       None           
P1-08/DB25-17          48   IOPort       None           
P1-09/DB25-05          49   IOPort       None           
P1-11/DB25-06          50   IOPort       None           
P1-13/DB25-07          51   IOPort       None           
P1-15/DB25-08          52   IOPort       None           
P1-17/DB25-09          53   IOPort       None           
P1-19/DB25-10          54   IOPort       None           
P1-21/DB25-11          55   IOPort       None           
P1-23/DB25-12          56   IOPort       None           
P1-25/DB25-13          57   IOPort       None     
 

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

More
08 Mar 2025 16:32 - 08 Mar 2025 16:34 #323531 by Nathan40
Hi 

Thanks for your reply. However, please can you share the required line for inputs in the HAL file for connection eg probe.
Last edit: 08 Mar 2025 16:34 by Nathan40.

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

More
08 Mar 2025 17:52 - 08 Mar 2025 17:53 #323534 by PCW
It depends on how you created your hal initial file, as the signal names may be different,
so a suggestion may not work. Best to create the connection with the configuration program
or read through the hal file to see if there is already a signal used for the desired connection.

If I made a new signal (probe) it would be something like:

net probe motion.probe-input  <= hm2_7i95.0.gpio.054.in
Last edit: 08 Mar 2025 17:53 by PCW.

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

More
08 Mar 2025 23:48 #323546 by Nathan40
Thanks for your reply . Just curios if we need to loadrt something in hal before putting the new command.

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

More
09 Mar 2025 00:10 #323548 by PCW
No., unless you need a new component to provide the pins.
(which is not the case here)

If you are learning, I would definitely poke around a bit with halshow
(in axis it's: Machine --> Show Hal Configuration)

 

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

More
10 Mar 2025 07:03 #323594 by Nathan40
Hi

thanks for your response. The input pin if the 5A BOB has to be inverted. It is giving an error that pin cannot be inverted. Please help.

 

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

More
10 Mar 2025 22:02 #323636 by PCW
To invert a GPIO input, you use the inverted pin, for example:

hm2_7i95.0.gpio.054.in_not
The following user(s) said Thank You: Nathan40

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

More
11 Mar 2025 22:51 #323712 by Nathan40
Thank you PCW for your unconditional support.
The following user(s) said Thank You: tommylight

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

Moderators: PCWjmelson
Time to create page: 0.061 seconds
Powered by Kunena Forum