OLD Lathe conversion to a CNC

More
12 Jul 2024 05:17 #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
12 Jul 2024 05:25 #304966 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
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
12 Jul 2024 13:45 #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
29 Jul 2024 13:03 #306328 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
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. :)
 
Attachments:
The following user(s) said Thank You: tommylight

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

More
30 Jul 2024 09:05 #306389 by RotarySMP
Replied by RotarySMP on topic OLD Lathe conversion to a CNC
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
30 Jul 2024 10:03 #306392 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
Thanks ! I used the free program kicad. I have no experience with boards, but the important thing is that everything works

 

 

 
Attachments:
The following user(s) said Thank You: RotarySMP

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

More
30 Jul 2024 10:14 #306394 by RotarySMP
Replied by RotarySMP on topic OLD Lathe conversion to a CNC
I should have done the same on my last build.

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

More
11 Aug 2024 09:13 #307472 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
Quick video of the first tests. I'm still learning how to work.

The following user(s) said Thank You: RotarySMP, tommylight, Mecanix

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

More
12 Aug 2024 15:31 #307551 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
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


The following user(s) said Thank You: Mecanix

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Aug 2024 16:12 #307559 by tommylight
Replied by tommylight on topic OLD Lathe conversion to a CNC
Find some of those doughnut shaped ferrite rings and wind the pup wires twice through it.
Plenty of those on old equipment.
The following user(s) said Thank You: besriworld

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

Moderators: piasdom
Time to create page: 0.153 seconds
Powered by Kunena Forum