Error: Push(): stack overflow
-
Hello everyone this is my first post so please be understanding. I am having a problem with auto calibrating my bed my bet.g looks like this:
; this script compensates for what the Z offset is
; so if G31 P500 X-30 Y-15 Z1.7 then first probe will be at
; X30 Y20 (when G30 P0 X0 Y5)M561 ; clear any bed transform
G30 P0 X10 Y10 Z-99999 ; probe near a leadscrew
G30 P1 X60 Y10 Z-99999 ; probe near a leadscrew
G30 P2 X60 Y60 Z-99999 ; probe near a leadscrew
G30 P3 X230 Y470 Z-99999 ; probe near a leadscrew
G30 P4 X250 Y470 Z-99999 ; probe near a leadscrew
G30 P5 X250 Y450 Z-99999 ; probe near a leadscrew
G30 P6 X270 Y470 Z-99999 ; probe near a leadscrew
G30 P7 X470 Y20 Z-99999 ; probe near a leadscrew
G30 P8 X470 Y5 Z-99999 ; probe near a leadscrew
G30 P9 X450 Y5 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
G32
M280 P0 S160 ; clear and reset BL touch
G1 Z10 F300
G29 S1 ; probe the bed and enable compensation
And seemingly everything works but after nine runs I got this:
19.07.2023, 21:24:26 Error: Push(): stack overflow
19.07.2023, 21:24:23 Leadscrew adjustments made: 0.002 -0.000 0.000, points used 10, (mean, deviation) before (0.000, 0.041) after (0.000, 0.041)
19.07.2023, 21:23:30 Leadscrew adjustments made: 0.003 -0.003 -0.000, points used 10, (mean, deviation) before (-0.000, 0.041) after (0.000, 0.041)
19.07.2023, 21:22:36 Leadscrew adjustments made: -0.000 0.002 0.003, points used 10, (mean, deviation) before (0.001, 0.042) after (0.000, 0.042)
19.07.2023, 21:21:43 Leadscrew adjustments made: -0.003 0.002 -0.000, points used 10, (mean, deviation) before (-0.000, 0.041) after (0.000, 0.040)
19.07.2023, 21:20:50 Leadscrew adjustments made: 0.004 0.006 0.002, points used 10, (mean, deviation) before (0.004, 0.041) after (-0.000, 0.041)
19.07.2023, 21:19:56 Leadscrew adjustments made: -0.005 0.000 0.000, points used 10, (mean, deviation) before (-0.001, 0.041) after (-0.000, 0.041)
19.07.2023, 21:19:03 Leadscrew adjustments made: -0.004 0.002 0.004, points used 10, (mean, deviation) before (0.001, 0.041) after (-0.000, 0.041)
19.07.2023, 21:18:09 Leadscrew adjustments made: 0.071 -0.012 -0.007, points used 10, (mean, deviation) before (0.015, 0.051) after (-0.000, 0.041)
19.07.2023, 21:17:16 Leadscrew adjustments made: -0.077 -0.033 -0.009, points used 10, (mean, deviation) before (-0.039, 0.062) after (0.000, 0.058)
I have no idea what to do my board is duo 3 6HC plus raspberry pi 4 printer V Core XY ratrig 500x500 proszę was o pomoc co zrobić ? -
@Zbysss the reason is that G32 runs bed.g but your bed.g contains a G32 command! So the file is infinitely recursive.
Remove the G32 line from bed.g.