How to setup gearbox/reducer

More
2 years 2 months ago #307917 by DPFlex
Replied by DPFlex on topic How to setup gearbox/reducer
Hello Aciera,
Can you share your note here ?.
I searched in DH-parameters for Genserkins and Vismach/Melfa-sim, could not find your note or anything mentioned about absolute encoder :)
Thank you.

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

More
2 years 2 months ago - 2 years 2 months ago #307919 by Aciera
Replied by Aciera on topic How to setup gearbox/reducer
Actually, looking at this more closely, it's probably specific to dmitrys Mechatrolink hardware as 'nyx' refers to his hardware driver:
Code:
setp nyx.0.servo-00.pos-scale [JOINT_0]SCALE

Looks like you have an EtherCAT setup so my input is not really relevant after all.

[edit]
I would expect that you need set the gear ratio in the motor drives.
Last edit: 2 years 2 months ago by Aciera.

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

More
2 years 2 months ago #308125 by DPFlex
Replied by DPFlex on topic How to setup gearbox/reducer
Hello Aciera,
I have no "nyx" hardware to test, so I chose other option.
I revise "pos-scale" of cia402: "gear ratio" * "encoder counts" / 360 degree
Code:
 setp cia402.0.pos-scale 29127.111111
It runs well this moment.

Have you tried
Code:
<modParam name="encoderResolution" value="xxx" />
in EtherCAT option ?.
I think it is better solution. My drive does not support, so I could not try. Please share your experience.
Thank you.

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

More
2 years 2 months ago #308141 by Todd Zuercher

Hello Todd,
I understand that you make example of "incremental encoder" with quadrature.
My encoder is 17 bit absolute multi-turn type, so the counts for one turn is huge value 131072.
I calculate: 131072*80/360 = 29127.111111. Is it still correct to apply ?.

I put ENCODER_SCALE = 29127.111111 to INI file, but nothing happen.
I understand need to revise HAL file to use ENCODER_SCALE, but it seem encoder component is only suitable to incremental encoder type.
linuxcnc.org/docs/devel/html/man/man9/encoder.9.html

Please advise :) Thank you.
 

This is a little bit of late reply, the encoder component documentation you referenced is a software encoder counting component applicable for reading an encoder via gpio such as through a parallel port. This would not be applicable to your situation with Ether CAT. But it sounds like you are on the right track now.
(I have no experience with Ether CAT.)
The following user(s) said Thank You: DPFlex

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

Time to create page: 0.124 seconds
Powered by Kunena Forum