Difference between revisions of "Team:TU Darmstadt/Hardware/MarlinCode"

(Created page with "{{Team:TU_Darmstadt/Viki}} <html> <body> <div class="vviki" id="vviki"> <div id="head"> <div id="title"> <img id="logoleiste" src="https://2016.igem.org/wik...")
 
(Blanked the page)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Team:TU_Darmstadt/Viki}}
 
<html>
 
<body>
 
  <div class="vviki" id="vviki">
 
    <div id="head">
 
      <div id="title">
 
        <img id="logoleiste" src="https://static.igem.org/mediawiki/2016/8/83/T--TU_Darmstadt--titel.png" alt="iGEM TU Darmstadt 2016"/>
 
      </div>
 
    </html>{{Team:TU_Darmstadt/MainMenu}}<html>
 
<div class="banner"><img id="banner" src="https://static.igem.org/mediawiki/2016/4/40/T--TU_Darmstadt--banner_team_colicin_bw.jpg" alt="teamphoto"></img>
 
</div>
 
<div id="mainHeader">
 
<h1>INCORPORATION of a NON-NATURAL AMINO ACID</h1>
 
    </div>
 
</div>
 
<div class="page">
 
  
 
<p>
 
Marlin Version: 1.1.0-RC7<br>
 
Source: https://github.com/MarlinFirmware/Marlin, 10/06/16, 12:16 pm<br><br>
 
 
<ul style="list-style-type:square;"></ul><li><b>File: Configurattion.h </b></li>
 
<ul><ul>
 
line 116: #define BAUDRATE 115200<br>
 
line 404: #define USE_XMAX_PLUG<br>
 
line 405: #define USE_YMAX_PLUG<br>
 
line 406: #define USE_ZMAX_PLUG<br><br>
 
 
line 423: #define X_MIN_ENDSTOP_INVERTING true<br>
 
line 424: #define X_MAX_ENDSTOP_INVERTING true<br>
 
line 425: #define Y_MIN_ENDSTOP_INVERTING true<br>
 
line 426: #define Y_MAX_ENDSTOP_INVERTING true<br>
 
line 427: #define Z_MIN_ENDSTOP_INVERTING true<br>
 
line 428: #define Z_MAX_ENDSTOP_INVERTING true<br><br>
 
 
line 564: #define DISABLE_X true<br>
 
line 565: #define DISABLE_Y true<br>
 
line 566: #define DISABLE_Z true<br><br>
 
 
line 598: #define X_HOME_DIR -1<br>
 
line 599: #define Y_HOME_DIR -1<br>
 
line 600: #define Z_HOME_DIR -1<br><br>
 
 
line 608: #define X_MIN_POS 0<br>
 
line 609: #define Y_MIN_POS 0<br>
 
line 610: #define Z_MIN_POS 0<br>
 
line 611: #define X_MAX_POS 200<br>
 
line 612: #define Y_MAX_POS 200<br>
 
line 613: #define Z_MAX_POS 245<br><br>
 
 
line 743: #define HOMING_FEEDRATE_Z  (20*60)<br><br>
 
 
line 752: #define DEFAULT_AXIS_STEPS_PER_UNIT  {80,80,400,500}<br>
 
line 753: #define DEFAULT_MAX_FEEDRATE          {300, 300, 300, 25}    // (mm/sec)<br>
 
line 754: #define DEFAULT_MAX_ACCELERATION      {3000,3000,100,10000}<br><br>
 
 
</ul></ul>
 
<ul style="list-style-type:square;"></ul><li><b>File: Configuration_adv.h</b></li>
 
<ul><ul>
 
line 328: #define AXIS_RELATIVE_MODES {false, false, false, false}<br><br>
 
 
</ul></ul>
 
<ul style="list-style-type:square;"></ul><li><b>File: endstops.cpp</b></li>
 
<ul><ul>
 
line 303: disable_e0();
 
</ul></ul><br>
 
 
<ul style="list-style-type:square;"></ul><li><b>File pins_RAMPS.h</b></li>
 
<ul><ul>
 
line: //#define Y_MAX_PIN          15<br><br>
 
</ul></ul>
 
 
<ul style="list-style-type:square;"></ul><li><b>File: Marlin_main.cpp</b></li>
 
<ul><ul>
 
line 298: #define PAUSE_PIN_E0 14<br>
 
line 306: static int pause_switch_e0 = 0;<br><br>
 
 
delete line 564-582:<br>
 
void setup_pausepin() //Setup pause routine for syringe extruder endstops -MM2S<br>
 
{<br>
 
#if defined(PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1  //Main Extruder Endstop <br>
 
  pinMode(PAUSE_PIN_E0,INPUT);<br>
 
  WRITE(PAUSE_PIN_E0,HIGH);<br>
 
  pause_switch_e0 = 0;<br>
 
#endif<br>
 
}<br><br>
 
 
void pause() //Pause command line - MM2SE<br>
 
{<br>
 
if (pause_switch_e0 == 0) {<br>
 
// enquecommand("G4 P0");  //Inserted to stop the repeation of "M226" Function - MM2SE<br>
 
// enquecommand("G4 P0");<br>
 
// enquecommand("G4 P0");<br>
 
// enquecommand("M226");  //"M226" G-code initiated pause <br>
 
  pause_switch_e0 = 1;<br>
 
  }<br>
 
}<br><br>
 
 
Add the following:<br>
 
line 8582:  #if defined (PAUSE_PIN_E0) && PAUSE_PIN_E0 > -1 //Pause function for syringe extruder endstops - MM2SE<br>
 
line 8583:  if( 0 == READ(PAUSE_PIN_E0) ) {  //Main Exstruder Endstop<br>
 
line 8584:  pause();<br>
 
line 8585:  //SERIAL_ECHO("TANGO ALPHA FOXTROTT");<br>
 
line 8586:  //stepper.endstop_triggered(E_AXIS);<br>
 
line 8587:  disable_e0();<br>
 
line 8588:  }<br>
 
line 8589:  else <br>
 
line 8590:  pause_switch_e0 = 0;<br>
 
line 8591:  #endif<br>
 
</ul></ul>
 
</p>
 
 
    </div>
 
<div class="rechts">
 
<div class="scrollbox">
 
<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab"><button class="see_other_full">Back to the Lab</button></a>
 
                          <div class="highlights">
 
                            <a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/OrthogonalPair">Incorporation of a nnAA</a><br/>
 
<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/Reporter">Reporter</a><br/>
 
                            <a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/KILLswitch">KILL(switch)</a><br/>
 
<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/MetabolicBurden">Metabolic Burden</a><br/>
 
                            <a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/ChemicalSynthesis">Chemical Synthesis</a>
 
                          </div>
 
<!--<a href="https://2016.igem.org/Team:TU_Darmstadt/Lab/Reporter"><button class="vf2_vr_full">Reporter &#8594;</button></a>-->
 
                <a href="#mainHeader"><button class="back_top_full">Back to the Top</button></a>
 
      </div>
 
                </div>
 
</html>{{Team:TU_Darmstadt/Footer}}<html>
 
</div>
 
</body>
 
</html>
 

Latest revision as of 14:42, 19 October 2016