- Posts: 19899
- Thank you received: 4655
SSI absolute encoders and analog servos
- andypugh
- Offline
- Moderator
-
A typo in the docs or a typo in your HAL file?terkaa wrote: Also there is a small typo with SSI pins. It says positon where should be position. ie pin positon.position
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
- Posts: 261
- Thank you received: 3
2 float OUT 1.118481e+07 hm2_5i25.0.ssi.00.positon.position
12 s32 OUT 11184810 hm2_5i25.0.ssi.00.positon.rawcounts
12 bit I/O FALSE hm2_5i25.0.ssi.00.positon.reset
All three lines have positon.xxxxx
Tero
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
- Posts: 18115
- Thank you received: 5334
so if that's misspelled all the position pins will be
( there are no positon strings in the hostmot2 driver )
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
terkaa wrote: Typo in pins of SSI+sserial firmware. This is halcmd show pins output:
2 float OUT 1.118481e+07 hm2_5i25.0.ssi.00.positon.position
12 s32 OUT 11184810 hm2_5i25.0.ssi.00.positon.rawcounts
12 bit I/O FALSE hm2_5i25.0.ssi.00.positon.reset
All three lines have positon.xxxxx
github.com/LinuxCNC/linuxcnc/search?utf8=%E2%9C%93&q=positon
I don't see it there. The ssi pins are pretty much _all_ given names from the HAL file.
What does your "loadrt hm2_pci" HAL line say?
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
- Posts: 261
- Thank you received: 3
12 float RW 400 hm2_5i25.0.ssi.00.frequency-khz
12 u32 RW 0x00000100 hm2_5i25.0.ssi.00.positon.counts-per-rev
12 float RW 1 hm2_5i25.0.ssi.00.positon.scale
12 u32 RW 0x00000001 hm2_5i25.0.ssi.00.timer-number
So that is timer-number
Tero
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
- Posts: 261
- Thank you received: 3
Please Log in or Create an account to join the conversation.