![]() |
Repetier-Firmware
0.80
|
Defines | |
| #define | NUM_TEMPERATURE_LOOPS NUM_EXTRUDER |
| #define | NUMTEMPS_1 28 |
| #define | NUMTEMPS_2 21 |
| #define | NUMTEMPS_3 28 |
| #define | NUMTEMPS_4 20 |
Functions | |
| void | initHeatedBed () |
| void | initExtruder () |
| Initalizes all extruder. | |
| void | updateTempControlVars (TemperatureController *tc) |
| void | extruder_select (byte ext_num) |
| Select extruder ext_num. | |
| void | extruder_set_temperature (float temp_celsius, byte extr) |
| void | heated_bed_set_temperature (float temp_celsius) |
| float | heated_bed_get_temperature () |
| void | extruder_disable () |
| Disable stepper motor of current extruder. | |
| int | read_raw_temperature (byte type, byte pin) |
| float | conv_raw_temp (byte type, int raw_temp) |
| int | conv_temp_raw (byte type, float tempf) |
| void | disableAllHeater () |
| void | autotunePID (float temp, int controllerId) |
| void | write_monitor () |
| Writes monitored temperatures. | |
| bool | reportTempsensorError () |
| Report defect sensors. | |
| void | manage_temperatures () |
Variables | |
| Extruder * | current_extruder |
| prog_char ext0_select_cmd[] | PROGMEM = EXT0_SELECT_COMMANDS |
| Extruder | extruder [NUM_EXTRUDER] |
| TemperatureController * | tempController [NUM_TEMPERATURE_LOOPS] |
| byte | manage_monitor = 255 |
| Temp. we want to monitor with our host. 1+NUM_EXTRUDER is heated bed. | |
| unsigned int | counter_periodical = 0 |
| volatile byte | execute_periodical = 0 |
| byte | counter_250ms = 25 |
| uint8 | osAnalogInputCounter [ANALOG_INPUTS] |
| uint | osAnalogInputBuildup [ANALOG_INPUTS] |
| uint8 | osAnalogInputPos = 0 |
| volatile uint | osAnalogInputValues [ANALOG_INPUTS] |
| byte | autotuneIndex = 255 |
| #define NUM_TEMPERATURE_LOOPS NUM_EXTRUDER |
| #define NUMTEMPS_1 28 |
| #define NUMTEMPS_2 21 |
| #define NUMTEMPS_3 28 |
| #define NUMTEMPS_4 20 |
| void autotunePID | ( | float | temp, |
| int | controllerId | ||
| ) |
| float conv_raw_temp | ( | byte | type, |
| int | raw_temp | ||
| ) |
| int conv_temp_raw | ( | byte | type, |
| float | tempf | ||
| ) |
| void disableAllHeater | ( | ) |
| void extruder_disable | ( | ) |
Disable stepper motor of current extruder.
| void extruder_select | ( | byte | ext_num | ) |
Select extruder ext_num.
This function changes and initalizes a new extruder. This is also called, after the eeprom values are changed.
| void extruder_set_temperature | ( | float | temp_celsius, |
| byte | extr | ||
| ) |
| float heated_bed_get_temperature | ( | ) |
| void heated_bed_set_temperature | ( | float | temp_celsius | ) |
| void initExtruder | ( | ) |
Initalizes all extruder.
Updates the pin configuration needed for the extruder and activates extruder 0. Starts a interrupt based analog input reader, which is used by simple thermistors for temperature reading.
| void initHeatedBed | ( | ) |
| void manage_temperatures | ( | ) |
Makes updates to temperatures and heater state every call.
Is called every 100ms.
| int read_raw_temperature | ( | byte | type, |
| byte | pin | ||
| ) |
| bool reportTempsensorError | ( | ) |
Report defect sensors.
| void updateTempControlVars | ( | TemperatureController * | tc | ) |
| void write_monitor | ( | ) |
Writes monitored temperatures.
This function is called every 250ms to write the monitored temperature. If monitoring is disabled, the function is not called.
| byte autotuneIndex = 255 |
| byte counter_250ms = 25 |
| unsigned int counter_periodical = 0 |
| volatile byte execute_periodical = 0 |
| byte manage_monitor = 255 |
Temp. we want to monitor with our host. 1+NUM_EXTRUDER is heated bed.
| volatile uint osAnalogInputValues[ANALOG_INPUTS] |
| const byte temptables_num [7] PROGMEM = EXT0_SELECT_COMMANDS |
{
&extruder[0].tempControl
}