Welcome! Log In Create A New Profile

Advanced

Help configuration of the laser cooler loop

Posted by lukaari 
Help configuration of the laser cooler loop
September 02, 2023 02:44AM
Hello,
I require assistance in configuring the laser cooler loop for the Marlin 2.1.2.1 firmware and the MKS GEN L v1 board. I've made edits to the configuration files, but I seem to be missing something because the commands M143 S20 and M193 S20 are not being recognized.

I'm configuring the laser, although I don't intend to use it. Ideally, I would like to set up the laser cooler temperature loop without using the laser, and I'm seeking guidance on how to achieve this.

Your help and suggestions would be greatly appreciated. Thank you.
Re: Help configuration of the laser cooler loop
September 02, 2023 04:39AM
you need to set #define COOLER_PIN {number of the Laser cooler on/off pin used to control power to the cooling element (e.g., TEC, External chiller via relay)}

and

#define TEMP_SENSOR_COOLER {number of the thermistor type being used}

before M143 will work.

Edited 1 time(s). Last edit at 09/02/2023 04:47AM by Dust.
Re: Help configuration of the laser cooler loop
September 03, 2023 02:57AM
Thank you very much for advice. It worked.
Below is the part of the configuration which work with MKS GEN L v1
Servos are commented out. Cooler loop work with the fan on D9.


// Laser Cooler options
//
#if TEMP_SENSOR_COOLER
#define COOLER_MINTEMP 5 // (°C)
#define COOLER_MAXTEMP 25 // (°C)
#define COOLER_DEFAULT_TEMP 15 // (°C)
#define TEMP_COOLER_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
#define COOLER_PIN 42 // 8 Laser cooler on/off pin used to control power to the cooling element (e.g., TEC, External chiller via relay)
#define COOLER_INVERTING false
#define TEMP_COOLER_PIN 13 // Laser/Cooler temperature sensor pin. ADC is required.
#define COOLER_FAN // Enable a fan on the cooler, Fan# 0,1,2,3 etc.
#define COOLER_FAN_INDEX 0 // FAN number 0, 1, 2 etc. e.g.
#if ENABLED(COOLER_FAN)
#define COOLER_FAN_BASE 100 // Base Cooler fan PWM (0-255); turns on when Cooler temperature is above the target
#define COOLER_FAN_FACTOR 25 // PWM increase per °C above target
#endif
#endif

Edited 1 time(s). Last edit at 09/03/2023 03:01AM by lukaari.
Sorry, only registered users may post in this forum.

Click here to login