Wrong movements while running
LinusOakery opened this issue · 5 comments
Hey!
Now I have more problems unfortunately.
When I run my current project, the machine makes completely unexpected movements. See pictures.
The first picture is from my tests, it happens at about the same time, but there are variations, both on how the error forms, and where it starts.
here it is the code that is run in small band with the error.
try 1
G1X311.884Y211.778
ok
X312.222Y200.442
ok
Y144.334
ok
X117.999Y109.964
ok
X90.441Y105.087Z-8.988F600
ok
Y160.119Z-10.93
ok
X91.333Y182.261Z-11.712
ok
X92.621Y190.305Z-12
ok
X94.498Y202.037F800
ok
ok
G2X116.905Y241.36I73.64J-15.917
ok
G1X124.678Y247.73
ok
X133.812Y253.639
X144.416Y259.086
ok
X156.595Y264.07
ok
X170.448Y268.588
ok
X186.071Y272.637
X203.547Y276.216
ok
X218.408Y278.482
ok
X231.986Y279.71
ok
X244.315Y279.922
ok
X255.431Y279.148
ok
X265.367Y277.418
ok
ok
G2X310.854Y222.246I-12.747J-56.846
ok
G1X311.884Y211.778
ok
X312.222Y200.442
ok
Y144.334
ok
X90.441Y105.087
Y160.119
ok
X91.333Y182.261
try2
ok
X92.621Y190.305Z-12
ok
X94.498Y202.037F800
ok
ok
G2X116.905Y241.36I73.64J-15.917
ok
G1X124.678Y247.73
ok
X133.812Y253.639
X144.416Y259.086
ok
X156.595Y264.07
ok
X170.448Y268.588
ok
X186.071Y272.637
X203.547Y276.216
ok
X218.408Y278.482
ok
X231.986Y279.71
ok
X244.315Y279.922
ok
X255.431Y279.148
ok
X265.367Y277.418
ok
ok
G2X310.854Y222.246I-12.747J-56.846
ok
G1X311.884Y211.778
ok
X312.222Y200.442
ok
Y144.334
ok
X90.441Y105.087
Y160.119
ok
X91.333Y182.261
Machine settings:
[19:59:31] [ ] Grbl 1.2d ['$' for help]
[19:59:31] [ ] [MSG:'$H'|'$X' to unlock]
[19:59:32] [ $$ ] $0=10 ;Step pulse time, microseconds
[19:59:32] [ $$ ] $1=255 ;Step idle delay, milliseconds
[19:59:32] [ $$ ] $2=0 ;Step pulse invert, mask
[19:59:32] [ $$ ] $3=0 ;Step direction invert, mask
[19:59:32] [ $$ ] $4=0 ;Invert step enable pin, boolean
[19:59:32] [ $$ ] $5=1 ;Invert limit pins, boolean
[19:59:32] [ $$ ] $6=0 ;Invert probe pin, boolean
[19:59:32] [ $$ ] $10=1 ;Status report options, mask
[19:59:32] [ $$ ] $11=0.020 ;Junction deviation, millimeters
[19:59:32] [ $$ ] $12=0.001 ;Arc tolerance, millimeters
[19:59:32] [ $$ ] $13=0 ;Report in inches, boolean
[19:59:32] [ $$ ] $20=0 ;Soft limits enable, boolean
[19:59:32] [ $$ ] $21=0 ;Hard limits enable, boolean
[19:59:32] [ $$ ] $22=1 ;Homing cycle enable, boolean
[19:59:32] [ $$ ] $23=10 ;Homing direction invert, mask
[19:59:32] [ $$ ] $24=300.000 ;Homing locate feed rate, mm/min
[19:59:32] [ $$ ] $25=1000.000 ;Homing search seek rate, mm/min
[19:59:32] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds
[19:59:32] [ $$ ] $27=15.000 ;Homing switch pull-off distance, millimeters
[19:59:32] [ $$ ] $30=12000 ;Maximum spindle speed, RPM
[19:59:32] [ $$ ] $31=550 ;Minimum spindle speed, RPM
[19:59:32] [ $$ ] $32=0 ;Laser-mode enable, boolean
[19:59:32] [ $$ ] $100=100.000 ;X-axis steps per millimeter
[19:59:32] [ $$ ] $101=100.000 ;Y-axis steps per millimeter
[19:59:32] [ $$ ] $102=400.000 ;Z-axis steps per millimeter
[19:59:32] [ $$ ] $103=100.000 ;undefined
[19:59:32] [ $$ ] $104=400.000 ;undefined
[19:59:32] [ $$ ] $110=5000.000 ;X-axis maximum rate, mm/min
[19:59:32] [ $$ ] $111=5000.000 ;Y-axis maximum rate, mm/min
[19:59:32] [ $$ ] $112=800.000 ;Z-axis maximum rate, mm/min
[19:59:32] [ $$ ] $113=5000.000 ;undefined
[19:59:32] [ $$ ] $114=800.000 ;undefined
[19:59:32] [ $$ ] $120=300.000 ;X-axis acceleration, mm/sec^2
[19:59:32] [ $$ ] $121=300.000 ;Y-axis acceleration, mm/sec^2
[19:59:32] [ $$ ] $122=200.000 ;Z-axis acceleration, mm/sec^2
[19:59:32] [ $$ ] $123=300.000 ;undefined
[19:59:32] [ $$ ] $124=200.000 ;undefined
[19:59:32] [ $$ ] $130=400.000 ;X-axis maximum travel, millimeters
[19:59:32] [ $$ ] $131=200.000 ;Y-axis maximum travel, millimeters
[19:59:32] [ $$ ] $132=200.000 ;Z-axis maximum travel, millimeters
[19:59:32] [ $$ ] $133=200.000 ;undefined
[19:59:32] [ $$ ] $134=200.000 ;undefined
This is the gcode file:
issue254.gcode.txt
Hi @LinusDerome,
Please, also post the $I command result to show your grbl-Mega-5X version and axis definition.
@++;
Gauthier.
P.S. It should be better to put your GCode file in an uploaded file rather than directly pasted in the comment.
[19:22:23] [ GCODE Parser ] GCODE File Loaded, please wait while we render a preview...
[19:22:24] [ GCODE Parser ] GCODE Preview Rendered Succesfully: Total lines: 3647 / Estimated GCODE Run Time: 00h:21m
[19:22:31] [ $I ] [VER:1.2d.20210930:]
[19:22:31] [ $I ] [AXS:5:XYZYZ]
[19:22:31] [ $I ] [OPT:VNMGH,35,255,80]
[19:22:31] [ $I ] ok
now i´m back att the workshop.
I will now try to do the project from gcode generated in Freecad instead of fusion 360.
Hi @LinusDerome,
This also may be due to loss of steps in the stepper motors...
Your GCode file seams to be right. But the working speed is may be too speed for cutting forces.
I think that your speed parameters and especially acceleration may be are too large!
Perhaps you can try lowest values in the parameters and also the F values in the GCode. And if it work, try to find the optimum for you.
@++;
Gauthier.