Mesa 7i95t and 7i83 Analogue servo card

More
12 Mar 2024 12:00 #295738 by NT4Boy
I'm using an RPI5 and the 2.92 Bookworm install. 
mesact finds the 7i95t  once RPI wired connection has a static IP assigned.
however the daughter board pull down doesn't have 7i83 in the list, only 7i76,77,78,85 and 7i85s.
How do I get around that please?

Thanks

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

More
12 Mar 2024 13:36 #295741 by PCW
Currently I think the only option would be to edit the hal file.
you would need to:

Connect the 7I83 analog out hal pins to the PID outputs
Connect the 7I83 analog enable hal pins to the joint enables

setp the analog scale parameters from the ini file joint values

The full names of these pins/parameters would be reported with this command:

halcmd show all | grep *7i83*

(when LinuxCNC is running _and_ the 7I83 is connected and powered)

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

More
12 Mar 2024 14:37 #295747 by NT4Boy
Thanks PCW.
I have the 7i83 Serial Interface RJ45 jack wired to TB 4 on the 7i95t
pin 19 thru 24 ground and 5 volts ok,
RX1- to TXA
RX1+ to TXB
TX1- to RXA
TX1+ to RXB
I assume this is wrong as your halcmd show nothing.
However, "halcmd show all" without the filter shows nothing other than PID 1652 status. Shouldn't it show the 7i95T details?

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

More
12 Mar 2024 14:47 #295749 by PCW
You can use the color code guide in the 7I95T manual as a wiring guide.

halcmd show all should show a large number of pins and parameters _if_
LinuxCNC is running and connected to the 7I95T

You also need 12/24V power to the 7I83 for it to work

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

More
12 Mar 2024 15:02 #295752 by NT4Boy
Linuxcnc has to be running for the halcmd to work...makes perfect sense!

Colours in manual correspond to my wiring, and an LED on the 7i83 is illuminated from the serial connection, but good to know we need the main power supply as well.
Another stupid question from me. When you say:-
"Connect the 7I83 analog out hal pins to the PID outputs"
Is that a physical wire, or something to be written in the hal file?

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

More
12 Mar 2024 15:10 #295753 by PCW
By connection I mean in hal

Connections from pin to pin are done by net statements in hal:

net signalx pina pinb

connects pina to pinb using signalx

pina and pinb must exist (they are exported by components and hardware drivers)

signalx is an arbitrary name, I think of signals as wire names
The following user(s) said Thank You: NT4Boy

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

More
12 Mar 2024 15:11 #295754 by tommylight

Another stupid question from me. When you say:-
"Connect the 7I83 analog out hal pins to the PID outputs"
Is that a physical wire, or something to be written in the hal file?

In hal, make a new config for 7i76E with 7i77, that should get you all the pins for everything, then make a copy and edit the copy to match the Mesa naming and pins:
Stepgens change from 7i76E to 7i95
Encoders change from 7i77 to 7i95
analog out/pid change from 7i77 to 7i83
The following user(s) said Thank You: NT4Boy

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

More
12 Mar 2024 16:35 #295760 by NT4Boy
"In hal" At my level that implies use halcmd to create a new hal, but I cannot see how to do that, so I suspect it actually means something else.
I tried using mesact with those two cards, and I get to see the card names in the tabs, but I cannot save an incomplete configuration as the build button tells me I have to configure an axis. So, I think I need full set of appropriate characteristics at my fingertips to progress.

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

More
12 Mar 2024 16:43 #295761 by PCW
In hal means you edit an existing hal file with a text editor.

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

More
12 Mar 2024 17:27 #295765 by NT4Boy
Ok. Understood now.
I have now got 15 volts on the 7i83 and it is communicating with the 7i95. Many more lights on.
when I kill the 15 volts, linuxcnc errors, including hm2_7i95.0.7i83.0.1 local error = (13)
However the halcmd show all | grep *7i83* still shows a blank.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum