OLD Lathe conversion to a CNC

More
1 year 7 months ago #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.

Please Log in to join the conversation.

More
1 year 7 months ago #323986 by besriworld
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?

Please Log in to join the conversation.

More
1 year 7 months ago #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 to join the conversation.

More
1 year 7 months ago #323993 by besriworld
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 to join the conversation.

More
1 year 6 months ago #326830 by besriworld
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 :


 

Attachment not found



Attachment not found



Is there anything wrong there?

Please Log in to join the conversation.

More
1 year 6 months ago #326878 by besriworld
Today I reproduced the problem again. When running code with
Code:
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.
 

Attachment not found


 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.

Please Log in to join the conversation.

More
1 year 6 months ago #326889 by andypugh
This looks very odd. It looks like a gmoccapy glitch, but can you try the same sequence in:
1) The gmoccapy lathe sim config
2) The axis lathe sim config
And see if you see the same behaviour?

Please Log in to join the conversation.

More
1 year 6 months ago #326900 by besriworld
I guess there is a problem with the hall configuration. Today I broke 2 carbide inserts. After 10 made parts the axis started to move with a larger feed. But not too much, maybe 20-30% more. I tried in simulation but I don't know how to load my configuration into the simulation. There is no problem with the sample configurations.

Please Log in to join the conversation.

More
1 year 6 months ago #326923 by PCW
Replied by PCW on topic OLD Lathe conversion to a CNC
Not sure if it's related, but here is a similar issue, also using gmoccapy:

forum.linuxcnc.org/20-g-code/44739-g96-issue
 

Please Log in to join the conversation.

More
1 year 6 months ago #326934 by besriworld
It seems that the two problems are related. I just have to try another gui

Please Log in to join the conversation.

Time to create page: 6.678 seconds
Powered by Kunena Forum