INCORPORATION of a NON-NATURAL AMINO ACID
Marlin Version: 1.1.0-RC7
Source: https://github.com/MarlinFirmware/Marlin, 10/06/16, 12:16 pm
-
line 116: #define BAUDRATE 115200
line 404: #define USE_XMAX_PLUG
line 405: #define USE_YMAX_PLUG
line 406: #define USE_ZMAX_PLUG
line 423: #define X_MIN_ENDSTOP_INVERTING true
line 424: #define X_MAX_ENDSTOP_INVERTING true
line 425: #define Y_MIN_ENDSTOP_INVERTING true
line 426: #define Y_MAX_ENDSTOP_INVERTING true
line 427: #define Z_MIN_ENDSTOP_INVERTING true
line 428: #define Z_MAX_ENDSTOP_INVERTING true
line 564: #define DISABLE_X true
line 565: #define DISABLE_Y true
line 566: #define DISABLE_Z true
line 598: #define X_HOME_DIR -1
line 599: #define Y_HOME_DIR -1
line 600: #define Z_HOME_DIR -1
line 608: #define X_MIN_POS 0
line 609: #define Y_MIN_POS 0
line 610: #define Z_MIN_POS 0
line 611: #define X_MAX_POS 200
line 612: #define Y_MAX_POS 200
line 613: #define Z_MAX_POS 245
line 743: #define HOMING_FEEDRATE_Z (20*60)
line 752: #define DEFAULT_AXIS_STEPS_PER_UNIT {80,80,400,500}
line 753: #define DEFAULT_MAX_FEEDRATE {300, 300, 300, 25} // (mm/sec)
line 754: #define DEFAULT_MAX_ACCELERATION {3000,3000,100,10000}
-
line 328: #define AXIS_RELATIVE_MODES {false, false, false, false}
-
line 303: disable_e0();
-
line: //#define Y_MAX_PIN 15
-
line 298: #define PAUSE_PIN_E0 14
line 306: static int pause_switch_e0 = 0;
delete line 564-582:
void setup_pausepin() //Setup pause routine for syringe extruder endstops -MM2S
{
#if defined(PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1 //Main Extruder Endstop
pinMode(PAUSE_PIN_E0,INPUT);
WRITE(PAUSE_PIN_E0,HIGH);
pause_switch_e0 = 0;
#endif
}
void pause() //Pause command line - MM2SE
{
if (pause_switch_e0 == 0) {
// enquecommand("G4 P0"); //Inserted to stop the repeation of "M226" Function - MM2SE
// enquecommand("G4 P0");
// enquecommand("G4 P0");
// enquecommand("M226"); //"M226" G-code initiated pause
pause_switch_e0 = 1;
}
}
Add the following:
line 8582: #if defined (PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1 //Pause function for syringe extruder endstops - MM2SE
line 8583: if( 0 == READ(PAUSE_PIN_E0) ) { //Main Exstruder Endstop
line 8584: pause();
line 8585: //SERIAL_ECHO("TANGO ALPHA FOXTROTT");
line 8586: //stepper.endstop_triggered(E_AXIS);
line 8587: disable_e0();
line 8588: }
line 8589: else
line 8590: pause_switch_e0 = 0;
line 8591: #endif