diamond hotend setup


Hi all,
I have been trying to set up may diamond hotend printer in repetier. I have tried using the online config tool but it results in errors on build.
see below.
I began by loading the diamoned hotend config file from here http://reprap.org/wiki/File:DiamondRepetierConfiguration.h
The main changes were about selecting ->
Mixing Extruder (1 Nozzle/heater + 2 or more filament feeder) (MIXING_EXTRUDER)
and adding two extra extruders.
See excerpts from generated config file at end. 
What is the correct steps for configuring a diamond hotend?

Thanks.



Extruder.cpp:44: error: 'TEMP_3_PIN' was not declared in this scope
Extruder.cpp: In static member function 'static void Extruder::initExtruder()':
Extruder.cpp:523: error: 'DIOORIG_E2_DIR_PIN_DDR' was not declared in this scope
Extruder.cpp:523: error: 'DIOORIG_E2_DIR_PIN_PIN' was not declared in this scope
Extruder.cpp:524: error: 'DIOORIG_E2_STEP_PIN_DDR' was not declared in this scope
Extruder.cpp:524: error: 'DIOORIG_E2_STEP_PIN_PIN' was not declared in this scope
Extruder.cpp: In static member function 'static void Extruder::step()':
Extruder.cpp:921: error: 'DIOORIG_E2_STEP_PIN_WPORT' was not declared in this scope
Extruder.cpp:921: error: 'DIOORIG_E2_STEP_PIN_PIN' was not declared in this scope
Extruder.cpp:921: error: 'DIOORIG_E2_STEP_PIN_WPORT' was not declared in this scope
Extruder.cpp:921: error: 'DIOORIG_E2_STEP_PIN_PIN' was not declared in this scope
Extruder.cpp:1019: error: 'DIOORIG_E2_STEP_PIN_WPORT' was not declared in this scope
Extruder.cpp:1019: error: 'DIOORIG_E2_STEP_PIN_PIN' was not declared in this scope
Extruder.cpp:1019: error: 'DIOORIG_E2_STEP_PIN_WPORT' was not declared in this scope
Extruder.cpp:1019: error: 'DIOORIG_E2_STEP_PIN_PIN' was not declared in this scope
Extruder.cpp: In static member function 'static void Extruder::unstep()':
Extruder.cpp:1081: error: 'DIOORIG_E2_STEP_PIN_WPORT' was not declared in this scope
Extruder.cpp:1081: error: 'DIOORIG_E2_STEP_PIN_PIN' was not declared in this scope
Extruder.cpp:1081: error: 'DIOORIG_E2_STEP_PIN_WPORT' was not declared in this scope
Extruder.cpp:1081: error: 'DIOORIG_E2_STEP_PIN_PIN' was not declared in this scope
Extruder.cpp: In static member function 'static void Extruder::setDirection(uint8_t)':
Extruder.cpp:1139: error: 'DIOORIG_E2_DIR_PIN_WPORT' was not declared in this scope
Extruder.cpp:1139: error: 'DIOORIG_E2_DIR_PIN_PIN' was not declared in this scope
Extruder.cpp:1139: error: 'DIOORIG_E2_DIR_PIN_WPORT' was not declared in this scope
Extruder.cpp:1139: error: 'DIOORIG_E2_DIR_PIN_PIN' was not declared in this scope
Extruder.cpp:1144: error: 'DIOORIG_E2_DIR_PIN_WPORT' was not declared in this scope
Extruder.cpp:1144: error: 'DIOORIG_E2_DIR_PIN_PIN' was not declared in this scope
Extruder.cpp:1144: error: 'DIOORIG_E2_DIR_PIN_WPORT' was not declared in this scope
Extruder.cpp:1144: error: 'DIOORIG_E2_DIR_PIN_PIN' was not declared in this scope
Extruder.cpp: In static member function 'static void Extruder::enable()':
Extruder.cpp:1210: error: 'DIOORIG_E2_ENABLE_PIN_WPORT' was not declared in this scope
Extruder.cpp:1210: error: 'DIOORIG_E2_ENABLE_PIN_PIN' was not declared in this scope
Extruder.cpp:1210: error: 'DIOORIG_E2_ENABLE_PIN_WPORT' was not declared in this scope
Extruder.cpp:1210: error: 'DIOORIG_E2_ENABLE_PIN_PIN' was not declared in this scope
Extruder.cpp: In static member function 'static void Extruder::disableCurrentExtruderMotor()':
Extruder.cpp:1715: error: 'DIOORIG_E2_ENABLE_PIN_WPORT' was not declared in this scope
Extruder.cpp:1715: error: 'DIOORIG_E2_ENABLE_PIN_PIN' was not declared in this scope
Extruder.cpp:1715: error: 'DIOORIG_E2_ENABLE_PIN_WPORT' was not declared in this scope
Extruder.cpp:1715: error: 'DIOORIG_E2_ENABLE_PIN_PIN' was not declared in this scope
Extruder.cpp: At global scope:
Extruder.cpp:2577: error: 'ORIG_E2_ENABLE_PIN' was not declared in this scope

from config file
#define EXT2_TEMPSENSOR_PIN TEMP_3_PIN
            "sensorPin": "TEMP_3_PIN",


#define EXT2_X_OFFSET 0
#define EXT2_Y_OFFSET 0
#define EXT2_Z_OFFSET 0
#define EXT2_STEPS_PER_MM 370
#define EXT2_TEMPSENSOR_TYPE 1
#define EXT2_TEMPSENSOR_PIN TEMP_3_PIN
#define EXT2_HEATER_PIN HEATER_3_PIN
#define EXT2_STEP_PIN ORIG_E2_STEP_PIN
#define EXT2_DIR_PIN ORIG_E2_DIR_PIN
#define EXT2_INVERSE 1
#define EXT2_ENABLE_PIN ORIG_E2_ENABLE_PIN
#define EXT2_ENABLE_ON 0
#define EXT2_MIRROR_STEPPER 0
#define EXT2_STEP2_PIN ORIG_E2_STEP_PIN
#define EXT2_DIR2_PIN ORIG_E2_DIR_PIN
#define EXT2_INVERSE2 0
#define EXT2_ENABLE2_PIN ORIG_E2_ENABLE_PIN
#define EXT2_MAX_FEEDRATE 50
#define EXT2_MAX_START_FEEDRATE 20
#define EXT2_MAX_ACCELERATION 5000
#define EXT2_HEAT_MANAGER 3
#define EXT2_WATCHPERIOD 1
#define EXT2_PID_INTEGRAL_DRIVE_MAX 230
#define EXT2_PID_INTEGRAL_DRIVE_MIN 40
#define EXT2_PID_PGAIN_OR_DEAD_TIME 7
#define EXT2_PID_I 2
#define EXT2_PID_D 40
#define EXT2_PID_MAX 255
#define EXT2_ADVANCE_K 0
#define EXT2_ADVANCE_L 0
#define EXT2_ADVANCE_BACKLASH_STEPS 0
#define EXT2_WAIT_RETRACT_TEMP 150
#define EXT2_WAIT_RETRACT_UNITS 0
#define EXT2_SELECT_COMMANDS ""
#define EXT2_DESELECT_COMMANDS ""
#define EXT2_EXTRUDER_COOLER_PIN -1
#define EXT2_EXTRUDER_COOLER_SPEED 255
#define EXT2_DECOUPLE_TEST_PERIOD 12000
#define EXT2_JAM_PIN -1
#define EXT2_JAM_PULLUP 0

#define FEATURE_TWO_ZSTEPPER 0
#define Z2_STEP_PIN   ORIG_E1_STEP_PIN
#define Z2_DIR_PIN    ORIG_E1_DIR_PIN
#define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN
#define FEATURE_THREE_ZSTEPPER 0
#define Z3_STEP_PIN   ORIG_E2_STEP_PIN
#define Z3_DIR_PIN    ORIG_E2_DIR_PIN
#define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN


Comments

  • #define Motherboard 33 in the config file means Ramps 1.4 is that what you are using?

    As it only has 2 extruder stepper drivers, ORIG_E2_STEP_PIN, ORIG_E2_DIR_PIN and ORIG_E2_ENABLE_PIN are not defined in pins.h it need to know where the 3 pins for extruder 3 (E2) are connected.

    You could either add the definitions to the ramps section of pins.h:
    #define ORIG_E2_STEP_PIN          your pin here
    #define ORIG_E2_DIR_PIN             your pin here
    #define ORIG_E2_ENABLE_PIN   your pin here

    Or, just edit the config file to reference the correct pins directly (untested, will this work?)
    #define EXT2_ENABLE_PIN Your pin number
    #define EXT2_STEP2_PIN Your pin number
    #define EXT2_DIR2_PIN Your pin number
Sign In or Register to comment.