OLD Lathe conversion to a CNC

More
15 Mar 2025 03:49 #323982 by PCW
Replied by PCW on topic OLD Lathe conversion to a CNC
What error do you get? Delayed sserial communications have no effect on Ethernet timing.
The following user(s) said Thank You: besriworld

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

  • besriworld
  • Away
  • Elite Member
  • Elite Member
More
15 Mar 2025 04:18 - 15 Mar 2025 04:47 #323986 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
Sometimes I get this warning:
hm2/m2_7198.0: Smart Serial port 0:Dolt not cleared from previous servo thread. Servo thread rate probably too fast. This message will not be
repeated, but the hm2_7198.0.sserial.O.fault-count pin will indicate if this is happening frequently

PS I'm wondering if I should try using an external LAN card in a PCI slot. What kind of PCIe x16 LAN card should I get?
Last edit: 15 Mar 2025 04:47 by besriworld.

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

More
15 Mar 2025 05:10 #323988 by PCW
Replied by PCW on topic OLD Lathe conversion to a CNC
Have you tried a 2 ms servo thread?
 

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

  • besriworld
  • Away
  • Elite Member
  • Elite Member
More
15 Mar 2025 07:10 #323993 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
I haven't tried it yet. But I think if this computer isn't good enough, I should try a new LAN card or even a new PC. I already have a hydraulic chuck and an additional servo motor waiting to be installed. The plan is to be able to mill on the lathe. :) I want to have a fast servo thread

I can't explain why there are such delays in internet communication. In many places, I see mentions that a servo thread of up to 4 kHz is possible on network cards.So, should I try a new network card first?

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

  • besriworld
  • Away
  • Elite Member
  • Elite Member
More
21 Apr 2025 18:40 - 21 Apr 2025 19:33 #326830 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
I'm not sure if this is the right place to ask about this issue, but I'm experiencing a strange and potentially dangerous problem.

I was running the same program all day without any issues. However, I had to stop the program halfway through due to a broken insert. First, I paused the program, then stopped the spindle, and finally stopped the G-code execution. The spindle was running with G96 (constant surface speed).

After fixing the issue, I reloaded the same G-code. But when the machine started moving with a G1 command, it moved at maximum speed right away. I couldn’t get it to execute G1 correctly until I restarted the LinuxCNC software.

Does anyone know what might be causing this? I was very lucky there was no damage.
I've also uploaded a video showing the problem.




Adding my configuration :


 

File Attachment:

File Name: my_LinuxCN...4-21.ini
File Size:4 KB


File Attachment:

File Name: my_LinuxCN...4-21.hal
File Size:14 KB


Is there anything wrong there?
Attachments:
Last edit: 21 Apr 2025 19:33 by besriworld.

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

  • besriworld
  • Away
  • Elite Member
  • Elite Member
More
22 Apr 2025 10:32 #326878 by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
Today I reproduced the problem again. When running code with
G96
(constant surface speed), if I stop the spindle and then start it again, the spindle runs at 40–60% lower RPM than expected.If I resume the program at that point, the cutting feed does not adjust to the reduced spindle speed, which can be dangerous. After that, I stop the program, and Gmoccapy looks like it does in the attached screenshot.
 
 Then, if I reload the program and start it from the beginning, the machine suddenly runs at a crazy high speed, and the graphical interface also shows the actual (high) speed.
Attachments:

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

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