Repetier-Firmware  0.80
TemperatureController Struct Reference

#include <Reptier.h>

Data Fields

byte pwmIndex
 pwm index for output control. 0-2 = Extruder, 3 = Fan, 4 = Heated Bed
byte sensorType
 Type of temperature sensor.
byte sensorPin
 Pin to read extruder temperature.
int currentTemperature
 Currenttemperature value read from sensor.
int targetTemperature
 Target temperature value in units of sensor.
float currentTemperatureC
 Current temperature in °C.
float targetTemperatureC
 Target temperature in °C.
unsigned long lastTemperatureUpdate
 Time in millis of the last temperature update.
char heatManager
 How is temperature controled. 0 = on/off, 1 = PID-Control.
long tempIState
 Temp. var. for PID computation.
byte pidDriveMax
 Used for windup in PID calculation.
byte pidDriveMin
 Used for windup in PID calculation.
float pidPGain
 Pgain (proportional gain) for PID temperature control [0,01 Units].
float pidIGain
 Igain (integral) for PID temperature control [0,01 Units].
float pidDGain
 Dgain (damping) for PID temperature control [0,01 Units].
byte pidMax
 Maximum PWM value, the heater should be set.
float tempIStateLimitMax
float tempIStateLimitMin
byte tempPointer
float tempArray [4]

Detailed Description

TemperatureController manages one heater-temperature sensore loop. You can have up to 4 loops allowing pid/bang bang for up to 3 extruder and the heated bed.


Field Documentation

Currenttemperature value read from sensor.

Current temperature in °C.

How is temperature controled. 0 = on/off, 1 = PID-Control.

unsigned long lastTemperatureUpdate

Time in millis of the last temperature update.

float pidDGain

Dgain (damping) for PID temperature control [0,01 Units].

Used for windup in PID calculation.

Used for windup in PID calculation.

float pidIGain

Igain (integral) for PID temperature control [0,01 Units].

byte pidMax

Maximum PWM value, the heater should be set.

float pidPGain

Pgain (proportional gain) for PID temperature control [0,01 Units].

byte pwmIndex

pwm index for output control. 0-2 = Extruder, 3 = Fan, 4 = Heated Bed

byte sensorPin

Pin to read extruder temperature.

byte sensorType

Type of temperature sensor.

Target temperature value in units of sensor.

Target temperature in °C.

float tempArray[4]
long tempIState

Temp. var. for PID computation.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Defines