machines/systems/flexibot/docs/marlin/_gcode/M193.md
2025-03-11 23:32:39 +01:00

2.5 KiB

tag title brief author group since codes related requires notes parameters examples
m0193 Set Laser Cooler Temperature Set a new target laser coolant temperature. descipher thermal 2.0.8
M193
M143
TEMP_SENSOR_COOLER, TEMP_COOLER_PIN, COOLER_PIN, LASER_FEATURE
This command may block the command queue. Enable `EMERGENCY_PARSER` so that hosts can break in using [`M108`](/docs/gcode/M108.html).
Use [`M143`](/docs/gcode/M143.html) to set the cooler temperature and proceed without waiting.
Configuration settings.
`COOLER_MINTEMP` Provides a low end safe operating temperature, cannot be lower than 1°C. CO2 lasers tubes can be damaged with values less than 15°C.
`COOLER_MAXTEMP` Provides a high end safe operating temperature, when breached the system will shutdown if `THERMAL_PROTECTION_COOLER` is defined. CO2 laser tube life degrades exponentially at temperatures above 24°C.
`COOLER_DEFAULT_TEMP` LCD menu default value is 16°C.
`TEMP_COOLER_HYSTERESIS` The accepatble temperature variance + or - to the target.
`COOLER_PIN` Cooler on/off pin used to control power to the cooling element.
`COOLER_INVERTING` Inverts the on value to 0.
`TEMP_COOLER_PIN` Laser/Cooler temperature sensor pin.
`COOLER_FAN` Enables a fan on the cooler.
`COOLER_FAN_INDEX` Defines which fan to use 0,1,2 etc.
`COOLER_FAN_BASE` Base cooler fan PWM (0-255); on when the cooler is enabled.
`COOLER_FAN_FACTOR` PWM increase per °C above target.
`THERMAL_PROTECTION_COOLER` Enables thermal shutdown protection.
`THERMAL_PROTECTION_COOLER_PERIOD` Thermal protection check interval in seconds.
`THERMAL_PROTECTION_COOLER_HYSTERESIS` Thermal variance +- limits check interval.
`WATCH_COOLER_TEMP_PERIOD` Check interval in seconds before runaway condition shutdown.
`WATCH_COOLER_TEMP_INCREASE` Allowable increase during check interval.
tag optional description values
S true Target laser coolant temperature.
tag type
temp float
pre code
Set laser coolant target temperature to 15°C and wait until it's reached.
M193 S15

M193 optionally sets the cooler target temperature and dwells until the cooler temperature is equal to or below the target. Any value greater than the COOLER_MAXTEMP (set in Configuratin_adv.h) will be set to the COOLER_MAXTEMP value. Use M143 if you want to set the target temperature without waiting or to turn the cooler off.