Troubles to get started with SD240 Retrofit

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
07 Sep 2025 19:32 - 07 Sep 2025 19:36 #334588 by ziggi
The card is a 7i80HD-25 with the 7i80hd_25_sv12.bit on it, addr 10.10.10.10
I am sorry if my answers don´t get in in time, but the forum cuts out frequently so I do not always have access.

If this is of any importance:
System Debian GNU/Linux 12 bookworm X86-64
Linuxcnc 2.9.0
Last edit: 07 Sep 2025 19:36 by ziggi.

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

More
07 Sep 2025 20:36 #334593 by PCW
OK next is to test the FPGA interface

Can you power down the system, unplug the flat cable from the 7I33
power up and without launching LinuxCNC, a report the results of this
command:


mesaflash --device Ethernet --addr [your_cards_IP_address] --rpo 0x1000

[your_cards_IP_address]  is likely 10.10.10.10 or 192.168.1.121

 

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

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
08 Sep 2025 05:48 - 08 Sep 2025 05:49 #334608 by ziggi
Ok, I will of course do so, but will take a bit until I have access to the machine.
Question: there is also a 7i37 connected to the 7i80-  has the 7i37 be disconnected also? Guess so.
Last edit: 08 Sep 2025 05:49 by ziggi.

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

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
08 Sep 2025 15:01 - 08 Sep 2025 15:08 #334630 by ziggi
If I disconnect both cards (7i33 and 7i37) and type the command, it says nothing but OFF... 
Though Linux says connected

 
Attachments:
Last edit: 08 Sep 2025 15:08 by ziggi.

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

More
08 Sep 2025 20:41 #334652 by PCW
OK So it looks like the FPGA card is OK.

This leaves the 7I33 and the cable

Do the other index inputs work?
 

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

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
08 Sep 2025 21:07 - 08 Sep 2025 21:18 #334653 by ziggi
No, I also watched the Z- Index and spindle index (not as brief as X) but watched the pins in HAL-Show and they do not change either.
Thats why I thought I made a mistake in the HAL.
The 7i33: otherwise the motors rum smooth as the spindle does and are perfectly controllable (motor and spindle)
The encoder cable- most likely- I will check this asap.
Interesting is that the encoders have Ua1 and Ua2 both also inverted, but the Index Ua0 not (also spindle encoder)

 
Attachments:
Last edit: 08 Sep 2025 21:18 by ziggi.

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

More
08 Sep 2025 22:38 #334657 by PCW
Ahh, looks like the index is single ended, maybe that's the issue.

Unfortunately the 7I33, each encoder input is all differential or all single ended

So one thing to try would be to select single ended instead of differential
encoder mode one the 7I33. This is not ideal as it less resistant to noise
but may be OK.

If setting the 7I33 to single ended encode mode works, there is also
the possibility of using custom firmware that puts all the index inputs
on one 7I33 encoder connector  so you could have differential for A,B
but TTL mode for the Index signals.

Another possibility is to add a TTL to differential converter for the index signals
Mesa has such a thing, but its really just 1 chip on a board

(26ls31 or one of the many equivalents)

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

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
09 Sep 2025 05:57 - 09 Sep 2025 07:34 #334672 by ziggi
Ok- so the first thing you suggest to try would be single ended.  Is just setting the jumper DOWN really all I need to do in this case and the axis should (ideally) behave like before? Or will there be more to it?
Well, I will simply try to jumper it to TTL and see if I can run the axis single ended properly or not.

Years ago I remember such "differential converters" on Uhu´s (DC-drives) - these where small and pretty inexpensive parts. But I just knew them for converting A+B channels to A/A* and B/B* , did not need the index in this times....
If I could use such converters to get a differential Index signal out of a single one and so solve the issue I would be fine with it.
Unfortunately I can not simply exchange the encoders as these Fanuc encoders seem to be part of the servo motor and the rear end bearing of the motor.

So I will first try to run the axis with the 7i33 jumpered to TTL, see how it behaves with the single A/B signals and if I can use the index signal then.

Thank you
Sigi

 
Last edit: 09 Sep 2025 07:34 by ziggi.

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

  • ziggi
  • ziggi's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
09 Sep 2025 20:42 - 09 Sep 2025 20:49 #334731 by ziggi
So I set the jumpers on the 7i33 for X- and Z-axis to TTL (DOWN) and entered the USE INDEX- YES in the INI. Both axes behave normal and I think they home with using the index now.
Sequence:
Homing movement
Home switch trips- "home sw. X" gets yellow, "enable index" lights up yellow and the axis moves forward a bit further.Then the "hm2_7i80.0.encoder.00.input-index" flashes yellow very short, the axis frees the home switch and moves on to home-pos, stops and "x-axis homed" lights up yellow and the DRO says 0/0.

Z homes the same way. 

I think thats exactly what I wanted to achieve- correct? 
The spindle I guess can be indexed also, otherwise threading would be impossible...but the spindle likely just needs the index, A/B will not be necessary on a lathe- or am I wrong?
Well lets see how the next step can be solved.

The important hint was that the 7i33 just can process ALL inputs as TTL or ALL inputs as differential!
Thank you all so much
Sigi
Last edit: 09 Sep 2025 20:49 by ziggi.

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

More
09 Sep 2025 20:59 #334733 by PCW
Yes, sounds like its working now, sorry I missed that the index was single ended.

The 7I33 can just change the input mode of each encoder interface (A,B,IDX), not pin-by-pin
as most newer Mesa cards can do.
 
The following user(s) said Thank You: ziggi

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

Moderators: piasdom
Time to create page: 0.106 seconds
Powered by Kunena Forum