SSI absolute encoders and analog servos

More
10 years 6 months ago - 10 years 6 months ago #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
Last edit: 10 years 6 months ago by terkaa.

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

More
10 years 6 months ago #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.

More
10 years 6 months ago #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

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

More
10 years 6 months ago #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
Code:
loadrt hosmot2 loadrt hm2_pci show pin show param

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

More
10 years 6 months ago #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

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

More
10 years 5 months ago #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)

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

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