mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 21:41:15 +00:00
Pulled in calibration.cfg.
This commit is contained in:
@@ -1,21 +1,27 @@
|
|||||||
[gcode_macro PID_TEST_BED]
|
[gcode_macro PID_TEST_BED]
|
||||||
gcode:
|
gcode:
|
||||||
|
# Parameters
|
||||||
|
{% set TARGETTEMP = params.TEMP|default(70)|int %}
|
||||||
|
|
||||||
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
|
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
|
||||||
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
|
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
|
||||||
G28
|
G28
|
||||||
G90
|
G90
|
||||||
G1 X{max_x/2} Y{max_y/2} Z40 F6000
|
G1 X{max_x/2} Y{max_y/2} Z40 F6000
|
||||||
PID_CALIBRATE HEATER=heater_bed TARGET=70
|
PID_CALIBRATE HEATER=heater_bed TARGET={TARGETTEMP}
|
||||||
|
|
||||||
[gcode_macro PID_TEST_HOTEND]
|
[gcode_macro PID_TEST_HOTEND]
|
||||||
gcode:
|
gcode:
|
||||||
|
# Parameters
|
||||||
|
{% set TARGETTEMP = params.TEMP|default(245)|int %}
|
||||||
|
|
||||||
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
|
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
|
||||||
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
|
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
|
||||||
G28
|
G28
|
||||||
G90
|
G90
|
||||||
G1 X{max_x/2} Y{max_y/2} Z10 F6000
|
G1 X{max_x/2} Y{max_y/2} Z10 F6000
|
||||||
M106 S64
|
M106 S64
|
||||||
PID_CALIBRATE HEATER=extruder TARGET=245
|
PID_CALIBRATE HEATER=extruder TARGET={TARGETTEMP}
|
||||||
|
|
||||||
# TODO test this
|
# TODO test this
|
||||||
[gcode_macro PID_TEST_ALL]
|
[gcode_macro PID_TEST_ALL]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ enable_force_move: True
|
|||||||
[temperature_sensor raspberry_pi]
|
[temperature_sensor raspberry_pi]
|
||||||
sensor_type: temperature_host
|
sensor_type: temperature_host
|
||||||
|
|
||||||
# NOTE If you're using a an Orange Pi, you can uncomment the next 2 lines, optionally.
|
# NOTE If you're using a an Orange Pi, you can uncomment the next 3 lines, optionally.
|
||||||
# [temperature_sensor Orange_Pi]
|
# [temperature_sensor Orange_Pi]
|
||||||
# sensor_type: temperature_host
|
# sensor_type: temperature_host
|
||||||
# sensor_path: /sys/class/thermal/thermal_zone0/temp
|
# sensor_path: /sys/class/thermal/thermal_zone0/temp
|
||||||
|
|||||||
Reference in New Issue
Block a user