SSI absolute encoders and analog servos

More
10 years 5 months ago #74164 by andypugh
Replied by andypugh on topic SSI absolute encoders and analog servos
The smart-serial cards need to be powered-up to be detected. You should see some LED flickering on the cards as hm2_pci loads too.

What firmware did you flash the 5i25 with?

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

More
10 years 5 months ago #74166 by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Hi,

Yes adding field power did the trick, thank you. It was flashed with
"freeby.mesanet.com/ssi_ss.zip
Has bit and added source files for a 5i25/6i25 8xSSI+8xSSerial config for a 1 or 2 7I74s
(4 SSI+4SSerial per 7I74 SSI channels first on 7I74 (0..3), SSerial last (4..7)) "

Still would like to know correct config for it to place in INI file. For 4 SSI encoders + 4 sserial cards.

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

More
10 years 5 months ago #74167 by andypugh
Replied by andypugh on topic SSI absolute encoders and analog servos

terkaa wrote: (4 SSI+4SSerial per 7I74 SSI channels first on 7I74 (0..3), SSerial last (4..7)) "


The config string for hm2_pci is normally only needed if you want to turn off modules to make the pins usable as GPIO or to set the software data mode of some smart-serial devices.

I can't remember what the SSI driver does with no config string. You should probably try it with one to see if that makes the SSI pins show up.
The format of the config string is described here:
linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html#Synchronous Serial Interface (SSI)

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

More
10 years 5 months ago #74168 by andypugh
Replied by andypugh on topic SSI absolute encoders and analog servos
Can you paste the pin-description bit from dmesg too? That might be useful reference info.

[code]
sudo dmesg -c
halrun
loadrt hostmot2
loadrt hm2_pci
exit
dmesg[/quote]

Ignore the output of the first dmesg, and paste the output of the second one.

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

More
10 years 4 months ago - 10 years 4 months ago #75746 by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Hi,

I have now made some progress and connected these card amongst many other things. I am now having following problem: It seems that Port 7 is only port working on 7i74. Any card I connect to this port starts blinking green after starting linuxcnc. Ports 4-6 remain red led on. Is it me or?

[IMG


[IMG


Tero
Last edit: 10 years 4 months ago by terkaa.

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

More
10 years 4 months ago #75748 by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Yes it was me. I had ssi_encoders statement on config line and that disabled all ports except no 7.


Tero

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

Moderators: PCW, jmelson
Time to create page: 1.416 seconds
Powered by Kunena Forum