Programming extra PWM signal to go with extruder activation March 25, 2015 02:40PM |
Registered: 10 years ago Posts: 6 |
Re: Programming extra PWM signal to go with extruder activation March 27, 2015 05:15AM |
Registered: 13 years ago Posts: 2,705 |
Re: Programming extra PWM signal to go with extruder activation March 27, 2015 11:05AM |
Registered: 10 years ago Posts: 6 |
Thank-you. I read the description below the extruder cooler pin to mean that it wasn't always on while the extruder was active, but rather would cycle on if the extruder needed it.Quote
repetier
That is what EXT0_COOLER_FAN is meant for. It will activate a cooler when extruder is hot or on.
I was looking through pins.h and didn't see that cross-mapping for my board, but I'll give it a shot both ways. I did verify that the Azteeg X3 Pro documentation was wrong and the pin assignment in pins.h is correct for the min/max x-end-stops.Quote
repetier
ORIG_E0_ENABLE_PIN gets stored later in pins,.h to EXT0_ENABLE_PIN . Reason is the online config tool where you can select pins for everything and that uses the original pins.
Re: Programming extra PWM signal to go with extruder activation March 27, 2015 11:16AM |
Registered: 13 years ago Posts: 2,705 |
// Original pin assignmats to be used in configuration tool #define X_STEP_PIN ORIG_X_STEP_PIN #define X_DIR_PIN ORIG_X_DIR_PIN #define X_ENABLE_PIN ORIG_X_ENABLE_PIN #define X_MIN_PIN ORIG_X_MIN_PIN #define X_MAX_PIN ORIG_X_MAX_PIN #define Y_STEP_PIN ORIG_Y_STEP_PIN #define Y_DIR_PIN ORIG_Y_DIR_PIN #define Y_ENABLE_PIN ORIG_Y_ENABLE_PIN #define Y_MIN_PIN ORIG_Y_MIN_PIN #define Y_MAX_PIN ORIG_Y_MAX_PIN #define Z_STEP_PIN ORIG_Z_STEP_PIN #define Z_DIR_PIN ORIG_Z_DIR_PIN #define Z_ENABLE_PIN ORIG_Z_ENABLE_PIN #define Z_MIN_PIN ORIG_Z_MIN_PIN #define Z_MAX_PIN ORIG_Z_MAX_PIN
Re: Programming extra PWM signal to go with extruder activation March 27, 2015 12:36PM |
Registered: 10 years ago Posts: 6 |
That makes perfect sense, I had assumed I would need to do this manually.Quote
repetier
If you have multiple extruders, after homing it will go to the right so that all extruders can be selected without hitting endstop.
#define EXT0_EXTRUDER_COOLER_PIN -1 #define EXT1_EXTRUDER_COOLER_PIN -1 #define EXT2_EXTRUDER_COOLER_PIN -1 #define EXT3_EXTRUDER_COOLER_PIN -1to
#define EXT0_EXTRUDER_COOLER_PIN HEATER_5_PIN #define EXT1_EXTRUDER_COOLER_PIN ORIG_FAN_PIN #define EXT2_EXTRUDER_COOLER_PIN ORIG_FAN2_PIN #define EXT3_EXTRUDER_COOLER_PIN LIGHT_PIN
Re: Programming extra PWM signal to go with extruder activation April 22, 2015 08:40PM |
Registered: 10 years ago Posts: 6 |
Re: Programming extra PWM signal to go with extruder activation April 23, 2015 03:28AM |
Registered: 13 years ago Posts: 2,705 |
if(act->currentTemperatureC < EXTRUDER_FAN_COOL_TEMP && act->targetTemperatureC < EXTRUDER_FAN_COOL_TEMP) extruder[controller].coolerPWM = 0; else extruder[controller].coolerPWM = extruder[controller].coolerSpeed;
if( act->targetTemperatureC < 20) extruder[controller].coolerPWM = 0; else extruder[controller].coolerPWM = extruder[controller].coolerSpeed;
Re: Programming extra PWM signal to go with extruder activation April 23, 2015 11:01AM |
Registered: 10 years ago Posts: 6 |