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 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 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
 

Please Log in to join the conversation.

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

 

Attachment not found



Attachment not found



Everything fits well.  I temporarily put on the blue caps.  Someday I'll do better. :)
 

Please Log in 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?

Please Log in 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

 

Attachment not found



 

Attachment not found



 

Please Log in to join the conversation.

More
2 years 3 months ago #306394 by RotarySMP
I should have done the same on my last build.

Please Log in to join the conversation.

More
2 years 2 months ago #307472 by besriworld
Quick video of the first tests. I'm still learning how to work.

Please Log in to join the conversation.

More
2 years 2 months ago #307551 by besriworld
I made another video :)
Most likely I also have a problem with electrical noise. When I turn on the lubrication pump of the spindle, the screen flashes (the display is connected with an hdmi cable). Also in two weeks twice lost connection with 7i73


Please Log in to join the conversation.

More
2 years 2 months ago #307559 by tommylight
Find some of those doughnut shaped ferrite rings and wind the pup wires twice through it.
Plenty of those on old equipment.

Please Log in to join the conversation.

Time to create page: 4.836 seconds
Powered by Kunena Forum