- Posts: 17524
- Thank you received: 0
Spindle Step/Dir and as C axis one the same Servo
2 years 2 months ago #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.
Please Log in to join the conversation.
2 years 1 month ago #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 to join the conversation.
2 years 1 month ago #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 to join the conversation.
2 years 1 month ago #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 to join the conversation.
2 years 1 month ago #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.
Please Log in to join the conversation.
2 years 1 month ago #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 to join the conversation.
2 years 1 month ago #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 to join the conversation.
9 months 3 days ago #342021
by edimas93
Replied by edimas93 on topic Spindle Step/Dir and as C axis one the same Servo
Is there any hal to configure this 2-mode configuration!
Please Log in to join the conversation.
9 months 3 days ago #342036
by spumco
github.com/LinuxCNC/linuxcnc/issues/3556
A few posts down the author attached a configuration zip file.
It's not extremely complicated, but neither is it simple.
And the issue reported in the post is still present. I'm almost done with my attempt at a configuration based on the posted one, and I'll be testing if the joint.N.index-enable signal is what causes motion errors.
Replied by spumco on topic Spindle Step/Dir and as C axis one the same Servo
Yes. This post has a configuration using a step/dir spindle drive to manage spindle, orient, and c-axis modes:Is there any hal to configure this 2-mode configuration!
github.com/LinuxCNC/linuxcnc/issues/3556
A few posts down the author attached a configuration zip file.
It's not extremely complicated, but neither is it simple.
And the issue reported in the post is still present. I'm almost done with my attempt at a configuration based on the posted one, and I'll be testing if the joint.N.index-enable signal is what causes motion errors.
Please Log in to join the conversation.
Time to create page: 0.054 seconds
