modify this to auto enter values for z probe offset?
-
can this be used along with bed leveling g32, to auto write the probe z value from the bed surface to the trigger height of the bltouch and write that offset value to the G31 P500 X0 Y0 Z4.247 in config.g ?
re purpose this to suit ?
T0
M291 P"Press ""OK"" if you would you like to calibrate the Z-offset for this Tool ." R"Calibrate Z-Offset" S3
M291 P"Make sure your nozzle is free of debris. Press ""Cancel"" if you need to stop and clean the nozzle." R"Calibrate Z-Offset" S3
M291 P"Homing, please wait..." R"Calibrate Z-Offset" S1
M98 P/sys/homeall.g
M208 S1 Z-2 ; allow movement below Z0
G1 X220 Y330 Z8 F2000 ; move to center of bed
M558 P0
G30 S-2
M500 ; save results
M501 ; load new data
M208 S1 Z0 ; disallow movement below Z0
G1 Z25 ; drop build plate
M291 P"Z-offset calibration complete! " R"Calibrate Z-Offset" S1 T3 -
to store the G31 parameters. you need to use M500 P31
-
@Veti said in modify this to auto enter values for z probe offset?:
M500 P31
ok so after changing:
T0
M291 P"Press ""OK"" if you would you like to calibrate the Z-offset for this Tool ." R"Calibrate Z-Offset" S3
M291 P"Make sure your nozzle is free of debris. Press ""Cancel"" if you need to stop and clean the nozzle." R"Calibrate Z-Offset" S3
M291 P"Homing, please wait..." R"Calibrate Z-Offset" S1
M98 P/sys/homeall.g
M208 S1 Z-2 ; allow movement below Z0
G1 X220 Y330 Z8 F2000 ; move to center of bed
M558 P0
G30 S-2
M500 P31; save results
M501 ; load new data
M208 S1 Z0 ; disallow movement below Z0
G1 Z25 ; drop build plate
M291 P"Z-offset calibration complete! " R"Calibrate Z-Offset" S1 T3and running it gives errors
:8/29/2020, 10:15:57 AM M292
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-0.5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-0.5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-0.5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-0.5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-0.5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-0.5 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M120 G91 G1 Z-0.05 F6000 G90 M121
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.
8/29/2020, 10:15:57 AM M292
Warning: No M501 command was executed in config.g
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 894C.im on Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.05.1
-
add the M501 at the end of your config.g
-
the errors have resolved, but i noticed that the G31 P500 X0 Y0 Z4.247 does not change
what do i have to do to make it save and change this ofset value of 4.247 to the new value ??
-
did you have a look at the conditional script in the linked forum post?
-
@Veti said in modify this to auto enter values for z probe offset?:
yup. looks like its just a warning of what potential it ha with the heater error.s, still dont understand the conditionals part for the other