SSI absolute encoders and analog servos
09 Apr 2016 05:07 - 09 Apr 2016 05:25 #72985
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Hi,
Ok this is what I need. Does this work with Pncconf or does that need XML file also? I need to make an order for cards asap Thank you
Tero
Ok this is what I need. Does this work with Pncconf or does that need XML file also? I need to make an order for cards asap Thank you
Tero
Last edit: 09 Apr 2016 05:25 by terkaa.
Please Log in or Create an account to join the conversation.
09 Apr 2016 05:37 #72986
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
I dont think there's much hope of this working with pncconf
Please Log in or Create an account to join the conversation.
09 Apr 2016 05:52 - 09 Apr 2016 05:54 #72987
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Hi,
Ok. Could you give me simple example manual configuration?
Tero
Ok. Could you give me simple example manual configuration?
Tero
Last edit: 09 Apr 2016 05:54 by terkaa.
Please Log in or Create an account to join the conversation.
09 Apr 2016 09:09 #72990
by andypugh
Replied by andypugh on topic SSI absolute encoders and analog servos
Start by setting up something vaguely close, just to get the file structure, and work from there.
Please Log in or Create an account to join the conversation.
09 Apr 2016 09:18 #72992
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Hi,
I tried to use 5i25 with 7174 but it does not seem to work. Also was unable to find SSI configuration with Mesa cards. Not to mention that 7i83 is not in Pncconf serial daughter card list. So it is hard to make a config with Pncconf that is even close to what I am looking for.
Tero
I tried to use 5i25 with 7174 but it does not seem to work. Also was unable to find SSI configuration with Mesa cards. Not to mention that 7i83 is not in Pncconf serial daughter card list. So it is hard to make a config with Pncconf that is even close to what I am looking for.
Tero
Please Log in or Create an account to join the conversation.
09 Apr 2016 09:23 #72993
by andypugh
Replied by andypugh on topic SSI absolute encoders and analog servos
Actually, rather than adding a layer of complexity (guessing how to get anything out of pncconf) it's probably easier to pick
configs->by interface->mesa->hm2-servo->5i20. That will copy the config into your LinuxCNC directory.
The go thorough the INI changing things (like board name) to suit your machine. (change the board to 5i25 and CONFIG to "")
Then you need to go through the HAL changing things to suit the actual pin names in your config.
You can get the list of mesa-card pins once the hardware is connected and powered by opening a terminal and
configs->by interface->mesa->hm2-servo->5i20. That will copy the config into your LinuxCNC directory.
The go thorough the INI changing things (like board name) to suit your machine. (change the board to 5i25 and CONFIG to "")
Then you need to go through the HAL changing things to suit the actual pin names in your config.
You can get the list of mesa-card pins once the hardware is connected and powered by opening a terminal and
loadrt hosmot2
loadrt hm2_pci
show pin
show param
Please Log in or Create an account to join the conversation.
09 Apr 2016 10:28 #72995
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Ok. Thank you for advice. I should receive needed cards in few weeks. After that I can start configuring.
Tero
Tero
Please Log in or Create an account to join the conversation.
03 May 2016 08:19 #74162
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Hi,
I flashed card with mesaflash. And did the best I could with config files. Now I see following with show pins :
omponent Pins:
Owner Type Dir Value Name
13 float IN 100 hm2_5i25.0.dpll.01.timer-us
13 float IN 100 hm2_5i25.0.dpll.02.timer-us
13 float IN 100 hm2_5i25.0.dpll.03.timer-us
13 float IN 100 hm2_5i25.0.dpll.04.timer-us
13 float IN 1.00062 hm2_5i25.0.dpll.base-freq-khz
13 u32 OUT 0x0000002A hm2_5i25.0.dpll.ddsize
13 float OUT 127.9507 hm2_5i25.0.dpll.phase-error-us
13 u32 IN 0x00400000 hm2_5i25.0.dpll.plimit
13 u32 OUT 0x00000008 hm2_5i25.0.dpll.prescale
13 u32 IN 0x000007D0 hm2_5i25.0.dpll.time-const
13 bit OUT TRUE hm2_5i25.0.gpio.000.in
13 bit OUT FALSE hm2_5i25.0.gpio.000.in_not
13 bit IN FALSE hm2_5i25.0.gpio.000.out
13 bit OUT TRUE hm2_5i25.0.gpio.001.in
13 bit OUT FALSE hm2_5i25.0.gpio.001.in_not
13 bit IN FALSE hm2_5i25.0.gpio.001.out
13 bit OUT TRUE hm2_5i25.0.gpio.002.in
13 bit OUT FALSE hm2_5i25.0.gpio.002.in_not
13 bit IN FALSE hm2_5i25.0.gpio.002.out
13 bit OUT TRUE hm2_5i25.0.gpio.003.in
13 bit OUT FALSE hm2_5i25.0.gpio.003.in_not
13 bit IN FALSE hm2_5i25.0.gpio.003.out
13 bit OUT TRUE hm2_5i25.0.gpio.004.in
13 bit OUT FALSE hm2_5i25.0.gpio.004.in_not
13 bit IN FALSE hm2_5i25.0.gpio.004.out
13 bit OUT TRUE hm2_5i25.0.gpio.005.in
13 bit OUT FALSE hm2_5i25.0.gpio.005.in_not
13 bit IN FALSE hm2_5i25.0.gpio.005.out
13 bit OUT TRUE hm2_5i25.0.gpio.006.in
13 bit OUT FALSE hm2_5i25.0.gpio.006.in_not
13 bit IN FALSE hm2_5i25.0.gpio.006.out
13 bit OUT TRUE hm2_5i25.0.gpio.007.in
13 bit OUT FALSE hm2_5i25.0.gpio.007.in_not
13 bit IN FALSE hm2_5i25.0.gpio.007.out
13 bit OUT TRUE hm2_5i25.0.gpio.008.in
13 bit OUT FALSE hm2_5i25.0.gpio.008.in_not
13 bit IN FALSE hm2_5i25.0.gpio.008.out
13 bit OUT TRUE hm2_5i25.0.gpio.009.in
13 bit OUT FALSE hm2_5i25.0.gpio.009.in_not
13 bit IN FALSE hm2_5i25.0.gpio.009.out
13 bit OUT FALSE hm2_5i25.0.gpio.010.in
13 bit OUT TRUE hm2_5i25.0.gpio.010.in_not
13 bit IN FALSE hm2_5i25.0.gpio.010.out
13 bit OUT FALSE hm2_5i25.0.gpio.011.in
13 bit OUT TRUE hm2_5i25.0.gpio.011.in_not
13 bit IN FALSE hm2_5i25.0.gpio.011.out
13 bit OUT TRUE hm2_5i25.0.gpio.012.in
13 bit OUT FALSE hm2_5i25.0.gpio.012.in_not
13 bit IN FALSE hm2_5i25.0.gpio.012.out
13 bit OUT TRUE hm2_5i25.0.gpio.013.in
13 bit OUT FALSE hm2_5i25.0.gpio.013.in_not
13 bit IN FALSE hm2_5i25.0.gpio.013.out
13 bit OUT TRUE hm2_5i25.0.gpio.014.in
13 bit OUT FALSE hm2_5i25.0.gpio.014.in_not
13 bit IN FALSE hm2_5i25.0.gpio.014.out
13 bit OUT TRUE hm2_5i25.0.gpio.015.in
13 bit OUT FALSE hm2_5i25.0.gpio.015.in_not
13 bit IN FALSE hm2_5i25.0.gpio.015.out
13 bit OUT TRUE hm2_5i25.0.gpio.016.in
13 bit OUT FALSE hm2_5i25.0.gpio.016.in_not
13 bit IN FALSE hm2_5i25.0.gpio.016.out
13 bit OUT TRUE hm2_5i25.0.gpio.017.in
13 bit OUT FALSE hm2_5i25.0.gpio.017.in_not
13 bit IN FALSE hm2_5i25.0.gpio.017.out
13 bit OUT TRUE hm2_5i25.0.gpio.018.in
13 bit OUT FALSE hm2_5i25.0.gpio.018.in_not
13 bit IN FALSE hm2_5i25.0.gpio.018.out
13 bit OUT TRUE hm2_5i25.0.gpio.019.in
13 bit OUT FALSE hm2_5i25.0.gpio.019.in_not
13 bit IN FALSE hm2_5i25.0.gpio.019.out
13 bit OUT TRUE hm2_5i25.0.gpio.020.in
13 bit OUT FALSE hm2_5i25.0.gpio.020.in_not
13 bit IN FALSE hm2_5i25.0.gpio.020.out
13 bit OUT TRUE hm2_5i25.0.gpio.021.in
13 bit OUT FALSE hm2_5i25.0.gpio.021.in_not
13 bit IN FALSE hm2_5i25.0.gpio.021.out
13 bit OUT TRUE hm2_5i25.0.gpio.022.in
13 bit OUT FALSE hm2_5i25.0.gpio.022.in_not
13 bit IN FALSE hm2_5i25.0.gpio.022.out
13 bit OUT TRUE hm2_5i25.0.gpio.023.in
13 bit OUT FALSE hm2_5i25.0.gpio.023.in_not
13 bit IN FALSE hm2_5i25.0.gpio.023.out
13 bit OUT TRUE hm2_5i25.0.gpio.024.in
13 bit OUT FALSE hm2_5i25.0.gpio.024.in_not
13 bit IN FALSE hm2_5i25.0.gpio.024.out
13 bit OUT TRUE hm2_5i25.0.gpio.025.in
13 bit OUT FALSE hm2_5i25.0.gpio.025.in_not
13 bit IN FALSE hm2_5i25.0.gpio.025.out
13 bit OUT TRUE hm2_5i25.0.gpio.026.in
13 bit OUT FALSE hm2_5i25.0.gpio.026.in_not
13 bit IN FALSE hm2_5i25.0.gpio.026.out
13 bit OUT TRUE hm2_5i25.0.gpio.027.in
13 bit OUT FALSE hm2_5i25.0.gpio.027.in_not
13 bit IN FALSE hm2_5i25.0.gpio.027.out
13 bit OUT TRUE hm2_5i25.0.gpio.028.in
13 bit OUT FALSE hm2_5i25.0.gpio.028.in_not
13 bit IN FALSE hm2_5i25.0.gpio.028.out
13 bit OUT TRUE hm2_5i25.0.gpio.029.in
13 bit OUT FALSE hm2_5i25.0.gpio.029.in_not
13 bit IN FALSE hm2_5i25.0.gpio.029.out
13 bit OUT TRUE hm2_5i25.0.gpio.030.in
13 bit OUT FALSE hm2_5i25.0.gpio.030.in_not
13 bit IN FALSE hm2_5i25.0.gpio.030.out
13 bit OUT TRUE hm2_5i25.0.gpio.031.in
13 bit OUT FALSE hm2_5i25.0.gpio.031.in_not
13 bit IN FALSE hm2_5i25.0.gpio.031.out
13 bit OUT TRUE hm2_5i25.0.gpio.032.in
13 bit OUT FALSE hm2_5i25.0.gpio.032.in_not
13 bit IN FALSE hm2_5i25.0.gpio.032.out
13 bit OUT TRUE hm2_5i25.0.gpio.033.in
13 bit OUT FALSE hm2_5i25.0.gpio.033.in_not
13 bit IN FALSE hm2_5i25.0.gpio.033.out
13 bit IN FALSE hm2_5i25.0.led.CR01
13 bit IN FALSE hm2_5i25.0.led.CR02
13 s32 OUT 18208 hm2_5i25.0.read.time
13 s32 OUT 0 hm2_5i25.0.read_gpio.time
13 bit I/O FALSE hm2_5i25.0.watchdog.has_bit
13 s32 OUT 3712 hm2_5i25.0.write.time
13 s32 OUT 0 hm2_5i25.0.write_gpio.time
But these pins are there even if 7i44 or its daughtercards are unconnected. How can I see actual pins for daughtercards I connect?(2 7i71's are connected via 7i44 but no more pins are listed)
I flashed card with mesaflash. And did the best I could with config files. Now I see following with show pins :
omponent Pins:
Owner Type Dir Value Name
13 float IN 100 hm2_5i25.0.dpll.01.timer-us
13 float IN 100 hm2_5i25.0.dpll.02.timer-us
13 float IN 100 hm2_5i25.0.dpll.03.timer-us
13 float IN 100 hm2_5i25.0.dpll.04.timer-us
13 float IN 1.00062 hm2_5i25.0.dpll.base-freq-khz
13 u32 OUT 0x0000002A hm2_5i25.0.dpll.ddsize
13 float OUT 127.9507 hm2_5i25.0.dpll.phase-error-us
13 u32 IN 0x00400000 hm2_5i25.0.dpll.plimit
13 u32 OUT 0x00000008 hm2_5i25.0.dpll.prescale
13 u32 IN 0x000007D0 hm2_5i25.0.dpll.time-const
13 bit OUT TRUE hm2_5i25.0.gpio.000.in
13 bit OUT FALSE hm2_5i25.0.gpio.000.in_not
13 bit IN FALSE hm2_5i25.0.gpio.000.out
13 bit OUT TRUE hm2_5i25.0.gpio.001.in
13 bit OUT FALSE hm2_5i25.0.gpio.001.in_not
13 bit IN FALSE hm2_5i25.0.gpio.001.out
13 bit OUT TRUE hm2_5i25.0.gpio.002.in
13 bit OUT FALSE hm2_5i25.0.gpio.002.in_not
13 bit IN FALSE hm2_5i25.0.gpio.002.out
13 bit OUT TRUE hm2_5i25.0.gpio.003.in
13 bit OUT FALSE hm2_5i25.0.gpio.003.in_not
13 bit IN FALSE hm2_5i25.0.gpio.003.out
13 bit OUT TRUE hm2_5i25.0.gpio.004.in
13 bit OUT FALSE hm2_5i25.0.gpio.004.in_not
13 bit IN FALSE hm2_5i25.0.gpio.004.out
13 bit OUT TRUE hm2_5i25.0.gpio.005.in
13 bit OUT FALSE hm2_5i25.0.gpio.005.in_not
13 bit IN FALSE hm2_5i25.0.gpio.005.out
13 bit OUT TRUE hm2_5i25.0.gpio.006.in
13 bit OUT FALSE hm2_5i25.0.gpio.006.in_not
13 bit IN FALSE hm2_5i25.0.gpio.006.out
13 bit OUT TRUE hm2_5i25.0.gpio.007.in
13 bit OUT FALSE hm2_5i25.0.gpio.007.in_not
13 bit IN FALSE hm2_5i25.0.gpio.007.out
13 bit OUT TRUE hm2_5i25.0.gpio.008.in
13 bit OUT FALSE hm2_5i25.0.gpio.008.in_not
13 bit IN FALSE hm2_5i25.0.gpio.008.out
13 bit OUT TRUE hm2_5i25.0.gpio.009.in
13 bit OUT FALSE hm2_5i25.0.gpio.009.in_not
13 bit IN FALSE hm2_5i25.0.gpio.009.out
13 bit OUT FALSE hm2_5i25.0.gpio.010.in
13 bit OUT TRUE hm2_5i25.0.gpio.010.in_not
13 bit IN FALSE hm2_5i25.0.gpio.010.out
13 bit OUT FALSE hm2_5i25.0.gpio.011.in
13 bit OUT TRUE hm2_5i25.0.gpio.011.in_not
13 bit IN FALSE hm2_5i25.0.gpio.011.out
13 bit OUT TRUE hm2_5i25.0.gpio.012.in
13 bit OUT FALSE hm2_5i25.0.gpio.012.in_not
13 bit IN FALSE hm2_5i25.0.gpio.012.out
13 bit OUT TRUE hm2_5i25.0.gpio.013.in
13 bit OUT FALSE hm2_5i25.0.gpio.013.in_not
13 bit IN FALSE hm2_5i25.0.gpio.013.out
13 bit OUT TRUE hm2_5i25.0.gpio.014.in
13 bit OUT FALSE hm2_5i25.0.gpio.014.in_not
13 bit IN FALSE hm2_5i25.0.gpio.014.out
13 bit OUT TRUE hm2_5i25.0.gpio.015.in
13 bit OUT FALSE hm2_5i25.0.gpio.015.in_not
13 bit IN FALSE hm2_5i25.0.gpio.015.out
13 bit OUT TRUE hm2_5i25.0.gpio.016.in
13 bit OUT FALSE hm2_5i25.0.gpio.016.in_not
13 bit IN FALSE hm2_5i25.0.gpio.016.out
13 bit OUT TRUE hm2_5i25.0.gpio.017.in
13 bit OUT FALSE hm2_5i25.0.gpio.017.in_not
13 bit IN FALSE hm2_5i25.0.gpio.017.out
13 bit OUT TRUE hm2_5i25.0.gpio.018.in
13 bit OUT FALSE hm2_5i25.0.gpio.018.in_not
13 bit IN FALSE hm2_5i25.0.gpio.018.out
13 bit OUT TRUE hm2_5i25.0.gpio.019.in
13 bit OUT FALSE hm2_5i25.0.gpio.019.in_not
13 bit IN FALSE hm2_5i25.0.gpio.019.out
13 bit OUT TRUE hm2_5i25.0.gpio.020.in
13 bit OUT FALSE hm2_5i25.0.gpio.020.in_not
13 bit IN FALSE hm2_5i25.0.gpio.020.out
13 bit OUT TRUE hm2_5i25.0.gpio.021.in
13 bit OUT FALSE hm2_5i25.0.gpio.021.in_not
13 bit IN FALSE hm2_5i25.0.gpio.021.out
13 bit OUT TRUE hm2_5i25.0.gpio.022.in
13 bit OUT FALSE hm2_5i25.0.gpio.022.in_not
13 bit IN FALSE hm2_5i25.0.gpio.022.out
13 bit OUT TRUE hm2_5i25.0.gpio.023.in
13 bit OUT FALSE hm2_5i25.0.gpio.023.in_not
13 bit IN FALSE hm2_5i25.0.gpio.023.out
13 bit OUT TRUE hm2_5i25.0.gpio.024.in
13 bit OUT FALSE hm2_5i25.0.gpio.024.in_not
13 bit IN FALSE hm2_5i25.0.gpio.024.out
13 bit OUT TRUE hm2_5i25.0.gpio.025.in
13 bit OUT FALSE hm2_5i25.0.gpio.025.in_not
13 bit IN FALSE hm2_5i25.0.gpio.025.out
13 bit OUT TRUE hm2_5i25.0.gpio.026.in
13 bit OUT FALSE hm2_5i25.0.gpio.026.in_not
13 bit IN FALSE hm2_5i25.0.gpio.026.out
13 bit OUT TRUE hm2_5i25.0.gpio.027.in
13 bit OUT FALSE hm2_5i25.0.gpio.027.in_not
13 bit IN FALSE hm2_5i25.0.gpio.027.out
13 bit OUT TRUE hm2_5i25.0.gpio.028.in
13 bit OUT FALSE hm2_5i25.0.gpio.028.in_not
13 bit IN FALSE hm2_5i25.0.gpio.028.out
13 bit OUT TRUE hm2_5i25.0.gpio.029.in
13 bit OUT FALSE hm2_5i25.0.gpio.029.in_not
13 bit IN FALSE hm2_5i25.0.gpio.029.out
13 bit OUT TRUE hm2_5i25.0.gpio.030.in
13 bit OUT FALSE hm2_5i25.0.gpio.030.in_not
13 bit IN FALSE hm2_5i25.0.gpio.030.out
13 bit OUT TRUE hm2_5i25.0.gpio.031.in
13 bit OUT FALSE hm2_5i25.0.gpio.031.in_not
13 bit IN FALSE hm2_5i25.0.gpio.031.out
13 bit OUT TRUE hm2_5i25.0.gpio.032.in
13 bit OUT FALSE hm2_5i25.0.gpio.032.in_not
13 bit IN FALSE hm2_5i25.0.gpio.032.out
13 bit OUT TRUE hm2_5i25.0.gpio.033.in
13 bit OUT FALSE hm2_5i25.0.gpio.033.in_not
13 bit IN FALSE hm2_5i25.0.gpio.033.out
13 bit IN FALSE hm2_5i25.0.led.CR01
13 bit IN FALSE hm2_5i25.0.led.CR02
13 s32 OUT 18208 hm2_5i25.0.read.time
13 s32 OUT 0 hm2_5i25.0.read_gpio.time
13 bit I/O FALSE hm2_5i25.0.watchdog.has_bit
13 s32 OUT 3712 hm2_5i25.0.write.time
13 s32 OUT 0 hm2_5i25.0.write_gpio.time
But these pins are there even if 7i44 or its daughtercards are unconnected. How can I see actual pins for daughtercards I connect?(2 7i71's are connected via 7i44 but no more pins are listed)
Please Log in or Create an account to join the conversation.
03 May 2016 09:16 #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.
03 May 2016 09:37 #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.
Time to create page: 0.097 seconds