OLD Lathe conversion to a CNC

More
2 years 3 months ago #304965 by PCW
Replied by PCW on topic OLD Lathe conversion to a CNC
I'm not sure I understand the issue.

There is no logic in the hal file to limit the spindle acceleration

No following error would be expected since the spindle is not an axis

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

More
2 years 3 months ago #304966 by besriworld
I want the machine to stop if the spindle stops or the RPM slow down.
Also, when starting the spindle, there should be a set acceleration.

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

More
2 years 3 months ago #304996 by PCW
Replied by PCW on topic OLD Lathe conversion to a CNC
It looks like you have the needed components for this (limit2 and near)
but they are not connected.

That is you have the PID spindle speed  command coming directly
from the commanded spindle speed:net spindle-vel-cmd-rpm => pid.s.commandRather than having been fed through the limit2 component.

 Also the limit2 maxv (which limits the ramp rate) is not set

Similarly you do not have the near component connected
nor is the near components  scale or difference values set
 
The following user(s) said Thank You: besriworld

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

More
2 years 3 months ago #306328 by besriworld
A little update, the board for the control panel has arrived.

 



Everything fits well.  I temporarily put on the blue caps.  Someday I'll do better. :)
 
The following user(s) said Thank You: tommylight

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

More
2 years 3 months ago #306389 by RotarySMP
Nice work. What did you use to design and layout the panel PCB?
The following user(s) said Thank You: besriworld

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

More
2 years 3 months ago #306392 by besriworld
Thanks ! I used the free program kicad. I have no experience with boards, but the important thing is that everything works

 

 

 
The following user(s) said Thank You: RotarySMP

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

Time to create page: 0.391 seconds
Powered by Kunena Forum