None of the axis are moving - using mesa 7i92t with 7i76u

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
03 May 2025 21:37 #327642 by tommylight

Enable signal:
This signal is used for enabling/disabling the drive.
High level +5V (NPN control signal) for enabling the drive, and low level for disabling the drive.

PNP and Differential control signals are on the contrary, namely Low level for enabling.

By default it is left UNCONNECTED (ENABLED).

Contradicting info.
Not unusual on China stuff, at all.

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

More
13 May 2025 20:02 #328414 by SteepLearningCurve
Replied by SteepLearningCurve on topic None of the axis are moving - using mesa 7i92t with 7i76u
Hi All
Just to recap, as its been a week or two, I have one 7i92t and one 7i76u, and need currently need 4 axis XYYZ,  and 4 limit/home switch inputs.

Thank you , I did not know that P2 was the first connector by convention.  I have since connected the 7i76u straight to the P2 connector of the 7i92t (the genders do work fine). The config from before could not find the inputs (that it previously found) and it wouldn't run.  I figured the names are probably different, I fiddled about but didn't get it to work.
I tried again using pncconf this time.
The firmware I am using is called 7i92t_7i76x2d.bin,  and I am only entering info into the P2 tab.
I see in the manual of 7i76u (page5) that its P1 has the following
db25pin to gpio to direction
10  IO13  IN
11  IO14  IN
12  IO15 IN
13 IO16  IN
This maps to the manual of 7i92t connectors (page5) for P2 as
10  IO13
11 IO14
12 IO15
13 IO16
So seems like both go together fine in both db25 pins, and in IO names.
In the HAL file these pins are  ([HMOT] CARD0=hm2_7i92.0)
# external input signals

# --- MIN-HOME-X ---
net min-home-x     <=  [HMOT](CARD0).gpio.013.in

# --- MIN-HOME-Y ---
net min-home-y     <=  [HMOT](CARD0).gpio.014.in

# --- MIN-HOME-Y2 ---
net min-home-y2     <=  [HMOT](CARD0).gpio.015.in

# --- MAX-HOME-Z ---
net max-home-z     <=  [HMOT](CARD0).gpio.016.in
On the 7i76u the field inputs (0 through 15) are on TB6 
(I previously had input4, input5, input6, and input7 working, when using the incorrect P connector)
I changed the inputs this time.
Eventually,  my question ...
Where does gpio 13,14,15 and 16 pop out on TB6? (on the field io inputs)
is input13, on TB6 , is that IO13 ? therefore I wire my x home input into pin TB6 pin 14?
Apologies for the highlighting and scribble on the manual images (these are well read, just not well understood ... yet)



 

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

More
13 May 2025 21:09 - 13 May 2025 21:16 #328420 by PCW
You do not use the GPIO pins on P1 or P2, these are for communication with the 7I76

When using pncconf you would setup the I/O on the 7i76 TB5 and TB6 tabs and the hal file connections
would look like this:

# --- MIN-HOME-X ---
net min-home-x     <=  [HMOT](CARD0).7i76.0.0.input-13

# --- MIN-HOME-Y ---
net min-home-y     <=  [HMOT](CARD0).7i76.0.0.input-14

# --- MIN-HOME-Z ---
net min-home-z     <=  [HMOT](CARD0).7i76.0.0.input-15


7I76 Inputs 13,14,15 are TB6 pins 14,15,16  (7I76U manual page 9)

 
Last edit: 13 May 2025 21:16 by PCW.

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

More
13 May 2025 22:45 #328424 by SteepLearningCurve
Replied by SteepLearningCurve on topic None of the axis are moving - using mesa 7i92t with 7i76u
Hi PCW

"When using pncconf you would setup the I/O on the 7i76 TB5 and TB6 tabs ..."

Ah, we must be looking at different software outcomes, because I have no TB5 and TB6 tabs :)

Maybe the menus are dynamically generated by the selected choices?

Attached are images of the two drop down choices that I have available

Which options should I be selecting (for a 7i92t with a 7i76u directly attached)?

for board:  7i92-internal-data (is the one I was using (does it refer to the 7i92t? or the 7i76u? )
for firmware: I have tried the first two, and the last one
None of them generated any TB5 and TB6 tabs.
 
Attachments:

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

More
13 May 2025 23:19 - 13 May 2025 23:35 #328428 by PCW
Looks like you set the number of sserial ports to 0, disabling the 7I76 field I/O  


 
Attachments:
Last edit: 13 May 2025 23:35 by PCW.

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

More
14 May 2025 00:31 #328429 by SteepLearningCurve
Replied by SteepLearningCurve on topic None of the axis are moving - using mesa 7i92t with 7i76u
Hi PCW
Yes, I did set it to zero :)
I did not know that Smart Serial Ports were needed to make anything io cards work.
I thought Smart Serial IO was to link via serial connectivity to some kind of remote daughter board.
I shall search on the forum to find out more about it.
Many thanks for your help :)
Much appreciated.

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

More
14 May 2025 00:43 #328430 by PCW
Yes, the field I/O section of a 7I76 is a Sserial device (basically a 7I84 but local)

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

More
14 May 2025 17:04 #328474 by SteepLearningCurve
Replied by SteepLearningCurve on topic None of the axis are moving - using mesa 7i92t with 7i76u
Hi All
I added one Smart Serial (instead of previously none) , which did indeed restore the missing 7i76u TB5 and TB6 tabs.
I tried configuring it with pncconf (hal, ini attached) and with mesact2 (hal, ini and .io attached)
I tried two different sets of physical inputs on TB6.
first using (on TB6, where pin 1 is at the bottom edge of the 7i76u board)
input4  (pin5)  x limit and home
input5 (pin6)   y limit and home
input6 (pin7)   y1 limit and home
input7 (pin8)  z limit and home
which linuxcnc did not like,  and it exited with an error (see attached reports)
I then moved the four physical inputs
and configured on TB6 using
input0 pin 1 x limit and home
input1 pin2  y limit and home
input2 pin3  y1 limit and home
input3 pin4  z x limit and home
which linuxcnc did not like,  and it exited with an error.
'hm2_7i92.0.7i76.0.0.input-00' does not exist

two of the inputs (x and z) are normally closed switches providing 24 volts , and two (y and y1) are proximity sensors providing 24 volts .

Using a multimeter all four inputs measure 24v field io (when measured between 7i76 Field IO Power FG, and the relevant TB pin)

I added a photo so that you can see where the input wiring is going.

On power up the 7i92t has PWR led on yellow, CR1 led on green  , the 7i76u has CR3 led on yellow, and the watchdog CR6 led on red (it does not get reset, because the config fails to load)
If Linuxcnc doesn't like the config and aborts , then there is nothing to see using halshow.

its got to be something obvious , just it's not obvious to me :)
 

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

More
14 May 2025 17:12 #328477 by PCW
Looks like no 5V to the 7I76U

(7I92T W4 needs to be "up")

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

More
15 May 2025 14:16 #328512 by SteepLearningCurve
Replied by SteepLearningCurve on topic None of the axis are moving - using mesa 7i92t with 7i76u
Hi All
Yes, the W4 jumper on the 7i92t was down, and it is now up.
The linuxcnc config loads,  the inputs also work , and there is also movement on the motors :)
A very very big thank you, to the knowledgeable folks on this forum, for sharing your valuable time, wisdom, and knowledge with me, it is greatly appreciated.
As a person new to Linuxcnc , there are so many things that we don't know.
Be braver than me, post a question sooner than I did.
(For folks reading this post in the future, the wiring currently is differential, and seems to be working fine).
 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.117 seconds
Powered by Kunena Forum