Sainsmart 3018 making mistakes when cutting helical ramp cuts (I J K errors?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
This is quite possibly a ID-10T error but here goes:
When cutting helical ramp cuts on my 3018 cnc the machine starts fine, cutting in the expected downwards spiral, however it will occasionally (with repeatability) make mistakes with the IJK code.
Rather than cutting a downward spiral, the cnc will attempt an 8 shape. once making a mistake it will return to the intended spiral. It is as though it is using the XY Coords from the previous line. Normally this has happened well into the project - destroying my stock 😞 but the latest bit of code it happens almost immediately so I thought I would seek help.
I have posted the code below and it shows up fine in any program I simulate it on so I think the error is in the controller missing or misreading lines but I am relatively new to this.
G90 G94
G17
G21
M03 S1000
(line above has been changed as my controller seems to prefer this format to the standard Sxxx M3)
G54
Z1
(line above added as sometimes initial positioning assumes 100% flat stock and leaves marks)
G0 X106.598 Y36.962
Z2
G1 Z1 F900
G3 X104.521 Y25.077 Z0.338 I-1.039 J-5.942 F433.3
X106.598 Y36.962 Z-0.324 I1.039 J5.942
X104.521 Y25.077 Z-0.985 I-1.039 J-5.942
X106.598 Y36.962 Z-1.647 I1.039 J5.942
X104.521 Y25.077 Z-2.309 I-1.039 J-5.942
X106.598 Y36.962 Z-2.971 I1.039 J5.942
X104.521 Y25.077 Z-3.633 I-1.039 J-5.942
X111.592 Y31.019 Z-4 I1.039 J5.942
X99.527 Y31.019 I-6.033 J0
X111.592 Y31.019 I6.033 J0
G1 X111.593 Y31.429 F900
The mistake is equivalent to:
G90 G94
G17
G21
M03 S1000
G54
Z1
G0 X106.598 Y36.962
Z2
G1 Z1 F900
G3 X104.521 Y25.077 Z0.338 I-1.039 J-5.942 F433.3
X106.598 Y36.962 Z-0.324 I1.039 J5.942
X104.521 Y25.077 Z-0.985 I-1.039 J-5.942
X104.521 Y25.077 Z-1.647 I1.039 J5.942
(i have edited the above line to represent the mistake)
X104.521 Y25.077 Z-2.309 I-1.039 J-5.942
X106.598 Y36.962 Z-2.971 I1.039 J5.942
X104.521 Y25.077 Z-3.633 I-1.039 J-5.942
X111.592 Y31.019 Z-4 I1.039 J5.942
X99.527 Y31.019 I-6.033 J0
X111.592 Y31.019 I6.033 J0
G1 X111.593 Y31.429 F900
Some clarification points
-Z axis operates correctly throughout
-The cut starts with a spiral downwards climb cut as expected.
- I have had this problem repeatedly (with repeatability) and it is not apparent (to me) what causes it. Previous code with helical ramp cuts have operated fine until, in one case at the end of a 15 minute pocket cut, suddenly making this exact same mistake.
- probably not relevant but I am using a 12.7mm (1/2 inch) straight cut double fluted bit
- I am using an offline grbl offline controller as my laptop isn't going near the dust factory that is my workshop!
Could be a controller problem?
Thanks a lot in advance for any help.