Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuttering movement with corexy running bcnc autobed level code #2

Open
xnaron opened this issue Apr 22, 2019 · 1 comment
Open

Stuttering movement with corexy running bcnc autobed level code #2

xnaron opened this issue Apr 22, 2019 · 1 comment

Comments

@xnaron
Copy link

xnaron commented Apr 22, 2019

Describe the bug
I am using a drill file from flatcam. When I run it on the nucleo 401 (using the ant pcb firmware) it runs fine. However if I do an auto bed level and then run it I will get stutter on fast travel moves. I will attach the offending snippit of gcode as well as my configured parameters

The stuttering occurs with or without belts connected to the steppers. I have tried lowering the max rate for Y and X and it does not stop the stuttering. To me it seems like the timing for the stepping pulses is somehow going out of sync.

https://www.youtube.com/watch?v=tLgvMT3h3JA

Additional context
Add any other context about the problem here (e.g. tool used, configuration used, microcontroller, etc.).
$0=10 (step pulse, usec)
$1=255 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=0 (dir port invert mask:00000000)
$4=0 (step enable invert, bool)
$5=1 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.010 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=0 (soft limits, bool)
$21=1 (hard limits, bool)
$22=1 (homing cycle, bool)
$23=0 (homing dir invert mask:00000000)
$24=100.000 (homing feed, mm/min)
$25=1000.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$28=20000 (Spindle pwm period, us)
$29=1860 (Spindle pwm Max time-on, us)
$30=700 (Spindle pwm min time-on, us)
$31=1 (Spindle pwm Enabled at startup)
$100=170.000 (x, step/mm)
$101=170.000 (y, step/mm)
$102=100.000 (z, step/mm)
$110=8000.000 (x max rate, mm/min)
$111=8000.000 (y max rate, mm/min)
$112=500.000 (z max rate, mm/min)
$120=500.000 (x accel, mm/sec^2)
$121=500.000 (y accel, mm/sec^2)
$122=100.000 (z accel, mm/sec^2)
$130=160.000 (x max travel, mm)
$131=270.000 (y max travel, mm)
$132=200.000 (z max travel, mm)

(Block-name: Header)
(Block-expand: 0)
(Block-enable: 1)
(G-CODE GENERATED BY FLATCAM v8.913 - www.flatcam.org - Version Date: 2019/04/13)

(Name: drills.xln_cnc)
(Type: G-code from Excellon)
(Units: IN)

(Created on Saturday, 20 April 2019 at 15:56)

(Feedrate: 3.0 in/min)
(Feedrate rapids 3.0 in/min)

(Z_Cut: -0.08 in)
(Z_Move: 0.1 in)
(Z Toolchange: 1.0 in)
(X,Y Toolchange: 0.0000, 0.0000 in)
(Z Start: None in)
(Z End: 2.0 in)
(Steps per circle: 64)
(Postprocessor Excellon: default)

(X range: 0.0929 ... 3.3071 in)
(Y range: 0.0949 ... 3.1485 in)

(Spindle Speed: None RPM)

G20
G90
G94

G01 F3.00
(Block-name: block [autolevel])
(Block-expand: 0)
(Block-enable: 1)
G0X0Y0Z0.0989

M03
G0X0.0589Y0.15Z0.0996
G0X0.15Y0.3818Z0.1007
G0X0.2537Y0.6458Z0.1021
G0X0.4485Y1.1417Z0.1038
G0X0.6433Y1.6375Z0.103
G0X0.6667Y1.697Z0.1029
G0X0.8381Y2.1333Z0.1021
G0X1.0329Y2.6292Z0.1028
G0X1.1Y2.8Z0.1031
G1X1.1Y2.8Z-0.0769
G1X1.1Y2.8Z0.0031
G0X1.1Y2.8Z0.1031

@adichell
Copy link
Owner

Hi,
thanks for the info, I will try to reproduce it as soon as I can ( i have seen this issue opened just now, sorry).
In the meanwhile you may try the new version that solves some bugs and improves some little things.

I also wanted to ask you: What are your drivers/stepper settings? I mean in terms of Vref/current limitation and microsteppings.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants