Using a servo as a spindle and positional axis - keep getting vague errors

More
1 year 6 months ago #325757 by PCW

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?
 
You don't need two stepgens. Typically the way this is done is that a single stepgen is used (in velocity mode)
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.

More
1 year 6 months ago #325771 by ffffrf
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

Please Log in to join the conversation.

More
1 year 6 months ago #325772 by ffffrf
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.

More
1 year 6 months ago #325781 by COFHAL

Please Log in to join the conversation.

More
1 year 6 months ago #325787 by ffffrf
yes the one i am using has an index pulse!

Please Log in to join the conversation.

Time to create page: 0.049 seconds
Powered by Kunena Forum