- Posts: 17524
- Thank you received: 0
Using a servo as a spindle and positional axis - keep getting vague errors
1 year 6 months ago #325757
by PCW
and the velocity command comes from the commanded spindle speed in spindle mode and the position control PID
loop output in C Axis mode. The trick is returning to C axis mode after being in spindle mode with the spindle in
an arbitrary position.
Replied by PCW on topic Using a servo as a spindle and positional axis - keep getting vague errors
You don't need two stepgens. Typically the way this is done is that a single stepgen is used (in velocity mode)cofhal - I will look at your files now, I did have another idea as well - could i simply use two stepgens? one for step.dir for spindle and another one for the "C" axis? and have a mesa output pin switch a dpdr relay to simply alter where the same motor gets the input?
and the velocity command comes from the commanded spindle speed in spindle mode and the position control PID
loop output in C Axis mode. The trick is returning to C axis mode after being in spindle mode with the spindle in
an arbitrary position.
Please Log in to join the conversation.
1 year 6 months ago #325771
by ffffrf
Replied by ffffrf on topic Using a servo as a spindle and positional axis - keep getting vague errors
here is a picture of my physical manual, its slightly different than the online manual. However, do you think it actually does work and this physical copy of the manual is wrong?Also just to clarify - are you also saying that because my current encoder is not 1:1, that it will not work?I can go ahead and try to solder on the wires to my servo driver and test it out
Currently using a 1024 p/r pulley mounted encoder
Currently using a 1024 p/r pulley mounted encoder
Please Log in to join the conversation.
1 year 6 months ago #325772
by ffffrf
Replied by ffffrf on topic Using a servo as a spindle and positional axis - keep getting vague errors
Also could you explain how your physical setup for homing of the C axis / spindle? It is something I am having trouble with after modifying your HAL and INI (which I will attach here).
Please Log in to join the conversation.
1 year 6 months ago #325781
by COFHAL
Replied by COFHAL on topic Using a servo as a spindle and positional axis - keep getting vague errors
Does your encoder have index?
Please Log in to join the conversation.
1 year 6 months ago #325787
by ffffrf
Replied by ffffrf on topic Using a servo as a spindle and positional axis - keep getting vague errors
yes the one i am using has an index pulse!
Please Log in to join the conversation.
Time to create page: 0.049 seconds
