![]() |
Repetier-Firmware
0.80
|
#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] |
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.
Currenttemperature value read from sensor.
| float currentTemperatureC |
Current temperature in °C.
| char heatManager |
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].
| byte pidDriveMax |
Used for windup in PID calculation.
| byte pidDriveMin |
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 sensorPin |
Pin to read extruder temperature.
| byte sensorType |
Type of temperature sensor.
Target temperature value in units of sensor.
| float targetTemperatureC |
Target temperature in °C.
| float tempArray[4] |
| long tempIState |
Temp. var. for PID computation.
| float tempIStateLimitMax |
| float tempIStateLimitMin |
| byte tempPointer |