Spindle Step/Dir and as C axis one the same Servo

More
30 Aug 2024 19:14 - 30 Aug 2024 19:16 #309040 by PCW
I'm not sure I understand, the stepgen position feedback
should not be connected to anything when in spindle mode.
Last edit: 30 Aug 2024 19:16 by PCW.

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

More
31 Aug 2024 11:55 #309083 by ustaL

I'm not sure I understand, the stepgen position feedback
should not be connected to anything when in spindle mode.

Stepgen has two connections. To Spidnle and Axis. That's why it has both feedbacks: velocity-fb and position-fb.
 
Attachments:

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

More
31 Aug 2024 13:57 #309087 by PCW
position feedback must be unconnected in spindle mode

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

More
31 Aug 2024 18:53 #309105 by ustaL

position feedback must be unconnected in spindle mode

That would be ideal. And how should I do that?

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

More
31 Aug 2024 19:12 - 31 Aug 2024 19:13 #309109 by PCW
in spindle mode, the stepgen velocity command comes directly from
the (perhaps scaled) spindle velocity. The stepgen feedback position
would be ignored in spindle mode. The joint feedback could be looped
back from the C joint commanded position this case. Finally, a homing
to index move would be done to re-synchronize the spindle position to
absolute C coordinates.
Last edit: 31 Aug 2024 19:13 by PCW.

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

More
31 Aug 2024 21:09 #309113 by ustaL

The joint feedback could be looped
back from the C joint commanded position this case. Finally, a homing
to index move would be done to re-synchronize the spindle position to
absolute C coordinates.

The question is how? As I understand there is no command like UNlink signal with pin.
I cannot use mux2 to switch source of pos-fb (that was my first idea), because if I have position-fb = 300 in stepgen AND joint AND pid, and then somehow stepgen position-fb became 0.0 (or source of this value became 0.0 and joint/pid have 300) -> joint error occur.

 

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

More
31 Aug 2024 22:35 #309115 by PCW
One mux2 would be the one that selects the stepgen velocity command to come from
the PID output or the scaled spindle speed command.

The other mux2 would select the joint feedback from either the stepgen feedback
or the joint position command.

The trick is not to switch the second mux back to stepgen feedback until
the joint command and stepgen feedback are zeroed (ideally by
homing to index)

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

Time to create page: 0.121 seconds
Powered by Kunena Forum