Repetier-Firmware  0.91
Extruder Class Reference

Data to drive one extruder. More...

#include <Extruder.h>

Static Public Member Functions

static void step ()
 Sends the high-signal to the stepper for next extruder step. Call this function only, if interrupts are disabled.
static void unstep ()
 Sets stepper signal to low for current extruder.
static void setDirection (uint8_t dir)
 Activates the extruder stepper and sets the direction.
static void enable ()
static void manageTemperatures ()
static void disableCurrentExtruderMotor ()
static void selectExtruderById (uint8_t extruderId)
 Select extruder ext_num.
static void disableAllHeater ()
static void initExtruder ()
 Initalizes all extruder.
static void initHeatedBed ()
static void setHeatedBedTemperature (float temp_celsius, bool beep=false)
static float getHeatedBedTemperature ()
static void setTemperatureForExtruder (float temp_celsius, uint8_t extr, bool beep=false)

Data Fields

uint8_t id
int32_t xOffset
int32_t yOffset
float stepsPerMM
 Steps per mm.
uint8_t enablePin
 Pin to enable extruder stepper motor.
uint8_t enableOn
float maxFeedrate
 Maximum feedrate in mm/s.
float maxAcceleration
 Maximum acceleration in mm/s^2.
float maxStartFeedrate
 Maximum start feedrate in mm/s.
int32_t extrudePosition
 Current extruder position in steps.
int16_t watchPeriod
 Time in seconds, a M109 command will wait to stabalize temperature.
int16_t waitRetractTemperature
 Temperature to retract the filament when waiting for heatup.
int16_t waitRetractUnits
 Units to retract the filament when waiting for heatup.
TemperatureController tempControl
const char *PROGMEM selectCommands
const char *PROGMEM deselectCommands
uint8_t coolerSpeed
 Speed to use when enabled.
uint8_t coolerPWM
 current PWM setting

Static Public Attributes

static Extrudercurrent

Detailed Description

Data to drive one extruder.

This structure contains all definitions for an extruder and all current state variables, like current temperature, feeder position etc.


Member Function Documentation

void disableAllHeater ( ) [static]
void disableCurrentExtruderMotor ( ) [static]
static void enable ( ) [inline, static]
float getHeatedBedTemperature ( ) [static]
void initExtruder ( ) [static]

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 ( ) [static]
void manageTemperatures ( ) [static]
void selectExtruderById ( uint8_t  extruderId) [static]

Select extruder ext_num.

This function changes and initalizes a new extruder. This is also called, after the eeprom values are changed.

static void setDirection ( uint8_t  dir) [inline, static]

Activates the extruder stepper and sets the direction.

void setHeatedBedTemperature ( float  temp_celsius,
bool  beep = false 
) [static]
void setTemperatureForExtruder ( float  temp_celsius,
uint8_t  extr,
bool  beep = false 
) [static]
static void step ( ) [inline, static]

Sends the high-signal to the stepper for next extruder step. Call this function only, if interrupts are disabled.

static void unstep ( ) [inline, static]

Sets stepper signal to low for current extruder.

Call this function only, if interrupts are disabled.


Field Documentation

uint8_t coolerPWM

current PWM setting

uint8_t coolerSpeed

Speed to use when enabled.

Extruder * current [static]
uint8_t enableOn
uint8_t enablePin

Pin to enable extruder stepper motor.

int32_t extrudePosition

Current extruder position in steps.

uint8_t id

Maximum acceleration in mm/s^2.

float maxFeedrate

Maximum feedrate in mm/s.

Maximum start feedrate in mm/s.

const char* PROGMEM selectCommands
float stepsPerMM

Steps per mm.

Temperature to retract the filament when waiting for heatup.

Units to retract the filament when waiting for heatup.

int16_t watchPeriod

Time in seconds, a M109 command will wait to stabalize temperature.

int32_t xOffset
int32_t yOffset

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