SSI ABS Encoder

More
08 May 2021 00:56 #208273 by PCW
Replied by PCW on topic SSI ABS Encoder
What does:

halcmd show all | grep ssi

show?

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

More
08 May 2021 01:31 #208276 by PCW
Replied by PCW on topic SSI ABS Encoder
I ask because SSI support has been working for at least 10 years
though possible only with multi-turn encoders

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

More
08 May 2021 02:06 - 08 May 2021 02:07 #208279 by nhanpham
Replied by nhanpham on topic SSI ABS Encoder

I ask because SSI support has been working for at least 10 years
though possible only with multi-turn encoders


The scalemax para should be accessed by '''hm2_7i80.0.ssi.00.zencoder-scalemax```
It's my mistake. I read manual and it is hm2_7i80.0.ssi.00.zencoder.scalemax

it is :
~/linuxcnc-dev/src $ halcmd show all | grep ssi
    29  bit   OUT         FALSE  hm2_7i80.0.ssi.00.data-invalid
    29  bit   OUT          TRUE  hm2_7i80.0.ssi.00.steps
    29  bit   OUT         FALSE  hm2_7i80.0.ssi.00.steps-not
    29  float OUT    0.02197802  hm2_7i80.0.ssi.00.zencoder ==> z-pos-fbss
                         <== hm2_7i80.0.ssi.00.zencoder
    29  bit   RW          FALSE  hm2_7i80.0.ssi.00.clock.invert_output
    29  bit   RW          FALSE  hm2_7i80.0.ssi.00.clock.is_opendrain
    29  float RW            300  hm2_7i80.0.ssi.00.frequency-khz
    29  u32   RW     0x00000002  hm2_7i80.0.ssi.00.timer-number
    29  float RW              1  hm2_7i80.0.ssi.00.zencoder-scalemax
 hm2_7i80.0.ssi.00.clock.invert_output            hm2_7i80.0.gpio.012.invert_output
 hm2_7i80.0.ssi.00.clock.is_opendrain             hm2_7i80.0.gpio.012.is_opendrain
Last edit: 08 May 2021 02:07 by nhanpham.

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

More
08 May 2021 02:15 #208280 by nhanpham
Replied by nhanpham on topic SSI ABS Encoder
hi,

in manual itt is:
b: (Boolean) No Parameters.
u: (Unsigned)

(float, r/w) hm2_XXXX.N.ssi.MM.<name>.scalemax. The scaling factor for the
channel.

s: (Signed)

(float, r/w) hm2_XXXX.N.ssi.MM.<name>.scalemax. The scaling factor for the channel.

f: (bitField): No parameters.

maybe, we need to change this in the manual.

Sorry for my mistake.

thank you very much

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

More
09 May 2021 19:44 #208410 by andypugh
Replied by andypugh on topic SSI ABS Encoder
I saw your pull request for the docs.

Looking through the code, there is no occurence of .scalemax anywhere, so we can just change the doc to -scalemax.

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

Time to create page: 0.093 seconds
Powered by Kunena Forum