||Whether to activate this temperaturecontrol module. You can create as many temperaturecontrol modules as you want, simply by giving a new module a name, and setting it's enable option to true
||Pin for the thermistor to read. ADC ports TH1 to TH4 are pins 0.23 to 0.26.
||How many times per second to read temperature from the sensor.
||How many times per second to switch the heating element on or off. Set to a low value ( 20 ) if using a Solid State Relay.
||Pin that controls the heater. This can be used to control a Mosfet on board or an external Solid State Relay. Set to nc if a readonly thermistor is being defined
||Set the thermistor model for this module. Several different common models are pre-defined, see here for a list
||Manually set the beta value for your thermistor. This is useful if your thermistor is not in the common pre-defined models.
||Manually set the r0 resistance value for your thermistor. This is useful if your thermistor is not in the common pre-defined models. Besides beta and r0 which are properties of your thermistor, you can also set the r1, r2 and t0 values, but those are properties of your board so they usually never have to be changed.
||Calling this M-code will return the current temperature.
||This is the M-code for simply setting the temperature. For example here, the value is 104 so you use M104 S50 to set this module's heater's temperature to 50.
||This is the M-code for setting the temperature then waiting for that temperature to be reached before doing anything. For example here, the value is 109 so you use M109 S50 to set this module's heater's temperature to 50 and then wait.
||The letter this module's temperature will be identified as in the M105 command's answer. For example here the value is T, so M105 will answer ok T:23.4 /0.0 @0
||P factor for PID temperature regulation
||I factor for PID temperature regulation
||D factor for PID temperature regulation
||Maximum PWM value for the heating element. This can be from 0 to 255 . 64 is a good value if driving a 12v resistor with 24v. 255 is the default and the normal value if you are using the right voltage for your heating element.
||Set to true to use bang bang control rather than PID
||Set to the temperature in degrees C to use as hysteresis for bang bang control
||Maximum value for the I variable in the PID control. This should usually be set to about the same value as max_pwm ( as a rule of thumb, it is not actually a pwm setting ). This helps with preventing overshoot when initially heating up. If you get a strong ( >10°C ) overshoot on startup, try setting this to a value lower than max_pwm
||Set the type of sensor used to read temperature. Values can be thermistor for the usual thermistor reading via ADC method, or max31855 to read values from a thermocouple over SPI. See Reading a thermocouple
||If the sensor is set to max31855, sets the chip select pin for the SPI port. This allows you to have multiple sensors sharing the same SPI port, as long as they each get a chip select ( CS ) pin.
||If the sensor is set to max31855, SPI channel using which to talk to the thermocouple chip.
||If set, no temperature above this will be accepted and if the temperature exceeds this value the system will be forced into a HALT state.
||If set, and we take longer than this many seconds to heatup, the system will be forced into a HALT state.
||If set, and the target temperature is reached, and temperature diverges from the target temperature by more than this, the system will be forced into a HALT state.