Bed Leveling G32 or G29
-
Hey guys I have two Z 2:6 I set up bed.g like this below. G32 get me this Error: Bad command: :called to perform automatic bed compensation via G32, follow by this Leadscrew adjustments made: 0.005 0.008, points used 2, deviation before 0.007 after 0.000. I am trying to figure which one to use G32 or G29 or can I use both. I comment out M561 and G29 .
; bed.g
:called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v2 on Mon Dec 10 2018 01:47:39 GMT+0000 (GMT)
G28 ; home
G30 P0 X0 Y210 Z-99999 ; probe near a leadscrew
G30 P1 X375 Y210 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors;M561 ; clear any bed transform
;G29 ; probe the bed and enable compensationThank You
-
@karim said in Bed Leveling G32 or G29:
:called to perform automatic bed compensation via G32
That line should start with a semicolon, not a colon. Try this:
; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v2 on Mon Dec 10 2018 01:47:39 GMT+0000 (GMT) M561 ; clear any bed transform G28 ; home G30 P0 X0 Y210 Z-99999 ; probe near a leadscrew G30 P1 X375 Y210 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors G29 ; probe the bed and enable compensation
Or you can use G29 S1 at the end instead of G29 if you want to load a previously-stored height map.
-
G32
Leadscrew adjustments made: 0.054 0.033, points used 2, deviation before 0.045 after 0.00025 points probed, mean error 0.011, deviation 0.482
Height map saved to file heightmap.csvHow does this look.
-
I try re level the bed and get this now, what do you guys see.
G32
Leadscrew adjustments made: -0.205 0.154, points used 2, deviation before 0.181 after 0.00025 points probed, mean error 0.049, deviation 0.151
Height map saved to file heightmap.csv
-
Looking better. What is your probe? You can try increasing the A value of M558 to try and get more consistent values from the probe points.
You could increase the probe point density further to see how the bed shape varies more closely.
-
MINI DIFFERENTIAL IR HEIGHT SENSOR
https://www.filastruder.com/collections/electronics/products/mini-differential-ir-height-sensorHow can I get better resolution. What do you mean by (You can try increasing the A value of M558)
; Z-Probe
M574 Z0 S2
M558 P1 H5 F120 T6000
G31 P500 X0 Y0 Z2.493
M557 X30:375 Y50:390 S82 -
@karim https://duet3d.dozuki.com/Wiki/GCode#Section_M558_Set_Z_probe_type
The A and S parameters control multiple probing. Probing is repeated until two consecutive probe attempts produce results that differ by no more than the S parameter; then the average of those two results is used. However, if the number of attempts specified by the A parameter is reached without getting two consecutive results within tolerance of each other, no further probe attempts are made and the average result of all the attempts is used.
For instance, I use M558 A10 S0.005 with my BLTouch
-
I don't know what to change , I hope dc42 can answer this.