Spindle servo step/dir Problems

More
2 years 1 week ago #313146 by Stran_ge
i get what you mean but i dont have a step scale/ direction output in my hal.

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

More
2 years 1 week ago #313147 by tommylight
Edit the ini file, not the hal file.

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

More
2 years 1 week ago #313148 by PCW
Replied by PCW on topic Spindle servo step/dir Problems
Its this (in the ini file)

OUTPUT_SCALE = 68.26667

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

More
2 years 1 week ago - 2 years 1 week ago #313149 by Stran_ge
i did invert it to:
OUTPUT_SCALE = -68.26667

and now the spindle turns correct.

The Problem with the difference between spindle-fb-rps and spindle-speed-rps still persists tho. spindle-fb-rps is negative and spindle-speed-rps is positive (in case of m3).
This lead to spindle-at-speed never beeing true.

Edit: even when i invert the encoder scale the difference btw. the fb rps and speed rps(commanded) is too big for spindle at speed to be true.
Last edit: 2 years 1 week ago by Stran_ge.

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

More
2 years 1 week ago #313150 by PCW
Replied by PCW on topic Spindle servo step/dir Problems
That indicates the original issue, the scaling in incorrect (on one or both)
The following user(s) said Thank You: Stran_ge

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

More
2 years 1 week ago #313152 by Stran_ge
with both you mean the step scale and encoder scale i suppose.

Yes i agree, the problem is i dont really have a way to find that out myself i believe.
The parameter that shows the factory default says 1024 motor resolution per revolution.

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

Time to create page: 0.360 seconds
Powered by Kunena Forum