Will a Mesa 7i96s work in my case?

More
14 Dec 2023 22:47 - 14 Dec 2023 23:33 #288175 by PCW
Well, there are no negative voltages so perhaps you have the wrong ground reference.

The step pulses at P1 should be positive, of the programmed length  and ~3.3V

Note, P1 pin number are not the same as DB25 pin numbers (as listed in the Mach setup screen)
so make sure you keep this in mind if checking at the 7I96S and not the DB25 cable.

If you don't get pulses at the Geckos, maybe the wiring does not match what you expect
This may be something that needs to be traced.

I would expect the tuning routine to block access by other programs
to the card just as LinuxCNC does when it is running running.

Have you tried an actual LinuxCNC test?
Last edit: 14 Dec 2023 23:33 by PCW.

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

More
15 Dec 2023 00:46 - 15 Dec 2023 00:47 #288180 by PCW
Here's what I get on P2 pin 3, DB25 pin 2 (step 0)
with a 5 usec (5000 ns) step time selected:

 
Attachments:
Last edit: 15 Dec 2023 00:47 by PCW.

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

More
15 Dec 2023 16:07 - 15 Dec 2023 16:09 #288228 by hpeyerl
Thanks. I may not be able to get back to this today or even tomorrow.

Well, there are no negative voltages so perhaps you have the wrong ground reference.


Perhaps. I was clipped onto a pin on the JTAG connector that appeared to attach to the ground plane (pin 9 I think). I was getting noise when clipped to one of the plated screw holes.

Note, P1 pin number are not the same as DB25 pin numbers (as listed in the Mach setup screen) so make sure you keep this in mind if checking at the 7I96S and not the DB25 cable.


oh. This may be my problem. I hadn't noted the table on p.7 of the 7i96sman.pdf which cross references P1 pin to DB25 pin. I saw the text above that says P1 has a pin-out that matches standard parallel port breakout cards but didn't look at the table. The 26 pin IDC on my controller box does normally have a 1:1 ribbon cable to the DB25 on the back of the box. So clearly I can't use a 1:1 26 pin ribbon cable to connect P1 to the 26 pin IDC on my controller. I'll need to re-arrange that cable and thus, I wonder if I should just go to TB1/TB2 instead.

I would expect the tuning routine to block access by other programs to the card just as LinuxCNC does when it is running running.


I meant that once I start the tuning routine, I can no longer ping the LinuxCNC IP address (and icmp is handled inside the Linux kernel). As soon as I stop the tuning routine, the Linux kernel begins to respond to pings again.

Have you tried an actual LinuxCNC test?


Nope. I'm definitely not that smart yet.
Last edit: 15 Dec 2023 16:09 by hpeyerl.

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

More
15 Dec 2023 16:12 #288229 by PCW
If the breakout was intended to connect to a parallel port,
its 26 pin header should match. That is, if I use a 1-1 flat cable
HDR26 --> DB25 from the 7I96S Expansion connector, the DB25 end
will match a normal parallel port pinout. (For example DB25 pin 2
will be Step0)
 

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

More
15 Dec 2023 16:31 - 15 Dec 2023 16:32 #288233 by hpeyerl
I just realized I confused myself because the DB-25 pins are sequential along the top row and then continue to be sequential on the bottom row in stark contrast to an IDC connector and that's what the table is doing.

So ok, I'm glad my cable is theoretically fine. When I built it, I ensured that P1:1 mated with Pin 1 on the controller (there is a symbol on the solder mask of the controller which matches with Pin 1 of the DB-25 cable assembly that was previously connected).  Unless the '1' symbol on the solder mask is actually pin 2 and thus connects to pin 14 of the DB-25.  I'll check that next time I get in front of it.
Last edit: 15 Dec 2023 16:32 by hpeyerl.

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

More
16 Dec 2023 17:58 #288352 by hpeyerl
I added a header between the two ends of my ribbon so I can poke my scope in the path with relative ease. So now I can see STEP/DIR activity on P1:3 and P1:5, at the correct levels (GND on P1:12) No movement on the motors. But now I've convinced myself that the pulses are getting into the mystery-controller. There's a bank of resistors and a couple SN74ACT14's between the HDR on the controller and the Gecko 201 STEP/DIR pins. I can see my X-STEP pulses on Pin 1 of one of the SN74ACT14's but I don't see anything on Pin 2. My pulses are 3.16v but the SN74ACT14's are supposed to switch below that anyway.

Checking further, looks like I have no Vcc at the SN74ACT14's.

So that would be the smoking gun. sigh. That's the end of my fun-time for the day.

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

More
17 Dec 2023 16:46 #288427 by hpeyerl
ok. So the problem was that P1:18/20/22/24/26 were causing the 5v supply on the mystery controller to shut down. This is with W6 down (Cable power disabled). If I enabled W6 (up), then my 5v bench supply went over-current.

Anyway, I cut 18/20/22/24/26 and now all of my steppers move (albeit crappily but now I can tune them).

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

More
17 Dec 2023 17:05 #288428 by PCW
Sounds like the breakout was not really parallel port compatible
as a PC parallel port has DB25 pins 18 through 25
(HDR26 pins 10,12,14,16,18,20,22,24) grounded

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

More
26 Dec 2023 22:36 #289120 by hpeyerl
Spent the holidays nursing a surprise Covid infection and getting all my limit switches hooked up/working, my tool probe, tuning and did some fine air milling. Decided I could button everything up now. Drilled some nice holes in my enclosure, found some nice 4-40 hardware, did some zip-tying, nibbled a hole for my RJ-45.

Final step was to power the board from inside the old controller chassis instead of my bench supply. I wasn't really thinking clearly (See: Covid) when I found the 30V supply to my Geckos and wired it to the 5V connector on the 7i96s.

So, what do you think the chances are that I blew only CR43 and nothing further down the line? Doesn't look like any toasted traces. C66 is probably implicated as well.

I can do the rework if I know what the part is.

I am my own worst enemy sometimes.
Attachments:

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

More
26 Dec 2023 22:57 #289122 by PCW
The part (CR43)  is a SMBJ5V0 TVS diode.
Typically this would be the only failed component, unless
you plugged the 30V in hot so the current spike was huge.
The following user(s) said Thank You: hpeyerl

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

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