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

More
2 years 2 months ago #309087 by PCW
position feedback must be unconnected in spindle mode

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

More
2 years 2 months ago #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
2 years 2 months ago - 2 years 2 months ago #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: 2 years 2 months ago by PCW.

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

More
2 years 2 months ago #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
2 years 2 months ago #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.

More
9 months 5 days ago #342021 by edimas93
Is there any hal to configure this 2-mode configuration!
 

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

Time to create page: 0.386 seconds
Powered by Kunena Forum