PDA

View Full Version : My cnc reduces speed when cornering



SaporeCNC
25-06-2018, 11:19 PM
Hello everyone !!!
Before discussing my problem, I pass the components of the equipment

1) 4 motors ES-M23480 (with encoders), 4 drivers ES-D1008 and 2 sources SPS-608 all Leadshine
2) CSMIO-IP-M controller and generic 24V source
3) 20mm recirculating ball screws step 5 (on all axes)
4) HIWIN linear guides of 25 on Y and A axes (slave axis) and 20 on X and Z axes
5) Structure made of 7071 aluminum of 10 and 20mm thickness and Bosch profiles of 40x80 / ​​40x40mm
5) HY spindle from 3KW to 220V (Chinese)
6) PC with Windows XP Soft Mach3 Version R3.043.066

I describe the components as it seems necessary to expose my problem and see if someone can help me ...

cnc is underway a week ago and I'm still testing speed settings and axes movements, they are already calibrated from the mach, the machine runs through the mm. that I indicate until here everything perfect, the axes move at constant speed and even in X, Y-A and Z even if I move X and Y-A at the same time everything is perfect! :peaceful::peaceful:

but my problem is when I load a G code (done in Mastercam X5) to make a square of 100mm on the side with "rounded tips", on the straights it is perfect in speed, but when it reaches the curve it becomes slow and starts as a Take short steps seems to stop and continues slowly ... does not make a smooth and even as in the straight
I do not know if it is due to the wrong G code or some configuration of the Mach3. :confusion:

The mach in "General Configuration" I have it as in the photo that I attached, but I do not know if it is ok

from now I appreciate your time and help

Greetings to all!

magicniner
26-06-2018, 01:40 AM
My CAM has a % slowdown setting for corners and another for controlling whether curves are posted as curves or a myriad of short straight lines.
Could you provide a sample of code where the issue occurs?

SaporeCNC
26-06-2018, 04:42 AM
magicniner I pass the code, it's something simple

the example is done in Vectric Aspire, in this code the movement was smoother, with fewer stops ...

it seems to me that everything is due to the "postprocessor" that each software uses to make the code G

Can it be or am I going the wrong way?

Thank you
regards !!!

N0G90
N10
N20M6T1
N30M3 S18000
N40G0 X8.764 Y18.331 Z6,000
N50G1 Z-10,000 F762.0
N60G3 X20.264 Y6.831 I20.264 J18.331 F2540.0
N70G1 X100.264
N80G3 X111.764 Y18.331 I100.264 J18.331
N90G1 Y98.331
N100G3 X100.264 Y109.831 I100.264 J98.331
N110G1 X20.264
N120G3 X8.764 Y98.331 I20.264 J98.331
N130G1 Y18.331
N140G0 Z6,000
N150M30

phill05
26-06-2018, 07:41 AM
Check in Aspire with Vector Validator as you have a problem on line 8 radius differs from start to end.

Phill

magicniner
26-06-2018, 08:00 AM
magicniner I pass the code, it's something simple

the example is done in Vectric Aspire, in this code the movement was smoother, with fewer stops ...

it seems to me that everything is due to the "postprocessor" that each software uses to make the code G

Can it be or am I going the wrong way?

Thank you
regards !!!

N0G90
N10
N20M6T1
N30M3 S18000
N40G0 X8.764 Y18.331 Z6,000
N50G1 Z-10,000 F762.0
N60G3 X20.264 Y6.831 I20.264 J18.331 F2540.0
N70G1 X100.264
N80G3 X111.764 Y18.331 I100.264 J18.331
N90G1 Y98.331
N100G3 X100.264 Y109.831 I100.264 J98.331
N110G1 X20.264
N120G3 X8.764 Y98.331 I20.264 J98.331
N130G1 Y18.331
N140G0 Z6,000
N150M30

Really? Are you sure that ran?
And the reason you didn't post the MasterCam code you were talking about would be.....?
If behaviour differs with code from different CAM packages that strongly suggests your issue is code, not controller or it's settings, most of which are not on the General Config tab.

SaporeCNC
26-06-2018, 11:42 AM
Thank you for your words...

the mastercam code does not publish it because it modifies it so many times that in the end it does anything, and the truth is, I realize that the problem is in the codes and not in the machine

I have no experience in making codes, I only made reference to some videos published on the internet and they do not work as I should, I will have to continue learning to do it correctly

I was worried that it could be my machine's problem and its configuration

Thank you
regards