Basic Information:
Printer Model: Ender 3 v2
MCU / Printerboard: Creality 4.2.2
Describe your issue:
Hi,
Currently my start-print is as follows:
[gcode_macro START_PRINT]
gcode:
{% set T_BED = params.T_BED|default(50) %}
{% set T_EXTRUDER = params.T_EXTRUDER|default(205) %}
# Use absolute coordinates
G92
M109 S0
#HEAT BED & BUILD MESH
{% if T_BED > 70 %}
M190 S70
{% else %}
M190 S{T_BED}
{% endif %}
G28 ; Home all axes
BED_MESH_CALIBRATE
BED_MESH_PROFILE LOAD=default
# Move Nozzle To Heating Posistion
G0 Z0 X240 Y40
# Start heating and continue
M190 S{T_BED}
M109 S{T_EXTRUDER}
# Wipe Nozzle
NOZZLE_WIPE
# Prime line
PRIME_LINE
As can be seen i try to pre-heat the bed to T_BED value, unless it is above 70. In this case i want it to heat at 70 to do the bed leveling sequence. This is because my CR-Touch can’t handle more then 70C.
But my issue is that this is not working. The equation doesn’t work. Am i missing a value indexer of some sort?
How can i make this work?
Thnx