Spindle Step/Dir and as C axis one the same Servo
30 Aug 2024 19:14 - 30 Aug 2024 19:16 #309040
by PCW
Replied by PCW on topic Spindle Step/Dir and as C axis one the same Servo
I'm not sure I understand, the stepgen position feedback
should not be connected to anything when in spindle mode.
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.
31 Aug 2024 11:55 #309083
by ustaL
Replied by ustaL on topic Spindle Step/Dir and as C axis one the same Servo
Stepgen has two connections. To Spidnle and Axis. That's why it has both feedbacks: velocity-fb and position-fb.I'm not sure I understand, the stepgen position feedback
should not be connected to anything when in spindle mode.
Please Log in or Create an account to join the conversation.
31 Aug 2024 13:57 #309087
by PCW
Replied by PCW on topic Spindle Step/Dir and as C axis one the same Servo
position feedback must be unconnected in spindle mode
Please Log in or Create an account to join the conversation.
31 Aug 2024 18:53 #309105
by ustaL
Replied by ustaL on topic Spindle Step/Dir and as C axis one the same Servo
That would be ideal. And how should I do that?position feedback must be unconnected in spindle mode
Please Log in or Create an account to join the conversation.
31 Aug 2024 19:12 - 31 Aug 2024 19:13 #309109
by PCW
Replied by PCW on topic Spindle Step/Dir and as C axis one the same Servo
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.
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.
31 Aug 2024 21:09 #309113
by ustaL
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.
Replied by ustaL on topic Spindle Step/Dir and as C axis one the same Servo
The question is how? As I understand there is no command like UNlink signal with pin.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.
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.
31 Aug 2024 22:35 #309115
by PCW
Replied by PCW on topic Spindle Step/Dir and as C axis one the same Servo
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)
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