7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
- Nathan40
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 1
08 Mar 2025 12:44 #323515
by Nathan40
Replied by Nathan40 on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
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.
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
08 Mar 2025 15:01 #323525
by PCW
Replied by PCW on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
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
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.
- Nathan40
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 1
08 Mar 2025 16:32 - 08 Mar 2025 16:34 #323531
by Nathan40
Replied by Nathan40 on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
Hi
Thanks for your reply. However, please can you share the required line for inputs in the HAL file for connection eg probe.
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
08 Mar 2025 17:52 - 08 Mar 2025 17:53 #323534
by PCW
Replied by PCW on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
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
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.
- Nathan40
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 1
08 Mar 2025 23:48 #323546
by Nathan40
Replied by Nathan40 on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
09 Mar 2025 00:10 #323548
by PCW
Replied by PCW on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
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)
(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.
- Nathan40
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 1
10 Mar 2025 07:03 #323594
by Nathan40
Replied by Nathan40 on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
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.
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18275
- Thank you received: 4979
10 Mar 2025 22:02 #323636
by PCW
Replied by PCW on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
To invert a GPIO input, you use the inverted pin, for example:
hm2_7i95.0.gpio.054.in_not
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.
- Nathan40
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 1
11 Mar 2025 22:51 #323712
by Nathan40
Replied by Nathan40 on topic 7i95t pin and firmware files with Stepgens and Inputs 5Axis BoB
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: PCW, jmelson
Time to create page: 0.061 seconds