Servo Wiring and Tuning detailed How To example Mesa 7i77.

More
7 years 2 months ago - 7 years 2 months ago #141627 by Todd Zuercher
Check to see if the input pins "axis.N.motor-pos-fb" for each axis are connected to anything. (for 2.7 and older for 2.8+ the pin name may be joint.N.motor-pos-fb.

Those pins need to be connected to the encoder position feed back pins (via some signal name). That same signal name will also need to be connected to the position feedback for the PID component as well.
Last edit: 7 years 2 months ago by Todd Zuercher.
The following user(s) said Thank You: tommylight

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

More
7 years 2 months ago #141629 by tommylight
Thank you Todd, very well explained.
I think there is also an encoder_fb line somewhere, but not sure.
Sorry for the wague replies lately but am on phone.
Regards,
Tom.
The following user(s) said Thank You: Type_Zero_Design

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

More
7 years 2 months ago #141653 by Type_Zero_Design
Tommy,

No worries!

I have attached my HAL and INI if anyone wanted to take a look.

Im going to spend some quality time with the HAL manual tonight so I can have a more educated conversation here.

File Attachment:

File Name: TC225.ini
File Size:4.15 KB

File Attachment:

File Name: TC225.hal
File Size:10.23 KB

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

More
7 years 2 months ago #141660 by tommylight
:woohoo:
Why are stepgens in your hal file ?????
Oh well, that explains a lot ! That is for 7i76E !
What Mesa card are you using ?
New config for servo ?
Regards,
Tom.
The following user(s) said Thank You: Type_Zero_Design

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

More
7 years 2 months ago #141709 by Type_Zero_Design
Tommy,
I'm running a 7i76e with a 7i85 for my encoder inputs.

My drives are pulse/direction I'm assuming that's where are the step gens coming to play??

I'm honestly not sure my hall file has been mostly untouched other than making the changes to get the 7i85 communicating.
The following user(s) said Thank You: tommylight

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

More
7 years 2 months ago #141720 by tommylight
Oh good, in that case the feedback has to come from encoders as someone mentioned here a while back.
Look for stepper motors with encoders here on the forum, there are some configs to look at to get an idea on how it works and what has to be changed. Basicaly everything with "fb" in it has to be wired to encoders in hal.
That means some 3 or 4 lines have to be changed for each axis.
The following user(s) said Thank You: Type_Zero_Design

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

Time to create page: 0.177 seconds
Powered by Kunena Forum