- Posts: 19899
- Thank you received: 4655
SSI absolute encoders and analog servos
- andypugh
- Offline
- Moderator
-
Less
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?
What firmware did you flash the 5i25 with?
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
Less
More
- Posts: 261
- Thank you received: 3
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.
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.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 5 months ago #74167
by andypugh
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)
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.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
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.
[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.
- terkaa
- Offline
- Elite Member
-
Less
More
- Posts: 261
- Thank you received: 3
10 years 4 months ago - 10 years 4 months ago #75746
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Last edit: 10 years 4 months ago by terkaa.
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
Less
More
- Posts: 261
- Thank you received: 3
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
Tero
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 1.416 seconds