3d printer vragen van beginner(s)

Discussie in '3D Printen' gestart door gti_killer, 26 mrt 2014.

  1. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    Heb je in de firmware ingevoerd dat je homed op de min-posities? Zijn de eindschakelaars ook aangesloten op de juiste pins op het ramps-bord? Draaien je motoren wel de goede kant op?
     
  2. Peterv3210

    Peterv3210

    Lid geworden:
    5 apr 2014
    Berichten:
    15
    In de Firmware staat dit
    #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
    #define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.

    // Travel limits after homing
    #define X_MAX_POS 150
    #define X_MIN_POS 0
    #define Y_MAX_POS 190
    #define Y_MIN_POS 0
    #define Z_MAX_POS 200
    #define Z_MIN_POS 0

    Hier zitten de pins
    [​IMG]

    De richting van de motoren
    De X-as gaat bij een plus waarde naar links
    De Y-as gaat bij een plus waarde naar achter
    De Z-as gaat bij een plus waarde naar beneden
     
    Laatst bewerkt door een moderator: 17 nov 2015
  3. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    Dus als alles op nul staat, staat je extruder linksvoor, oftewel de x-as helemaal links, de y-as helemaal achter en de z-as helemaal beneden. Geef je nu een x-waarde in van 100, dan wil de extruder dus 100mm naar links. Bij een y-waarde van 100 wil het printbed naar achteren en bij een z-waarde van 100 wil de z-as naar beneden. Ik denk dat je de draairichting van de motoren moet omdraaien.
     
  4. Peterv3210

    Peterv3210

    Lid geworden:
    5 apr 2014
    Berichten:
    15
    Maar het homen van de printer gaat toch met plus-waardes? Dus als ik de draairichting van de motoren aanpas dan bewegen de assen toch van de endstops af?

    Of kan je ook de homing richting "goed" aanpassen?

    Ik heb eerder al eens de homing richting veranderd met:
    #define X_HOME_DIR
    #define Y_HOME_DIR
    #define Z_HOME_DIR

    Maar dan reageerde de printer niet meer op de endstop??
     
    Laatst bewerkt: 27 apr 2014
  5. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    Code:
    //===========================================================================
    //=============================Mechanical Settings===========================
    //===========================================================================
    
    // Uncomment the following line to enable CoreXY kinematics
    // #define COREXY
    
    // coarse Endstop Settings
    #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
    
    #ifndef ENDSTOPPULLUPS
      // fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined
      #define ENDSTOPPULLUP_XMAX
      #define ENDSTOPPULLUP_YMAX
      #define ENDSTOPPULLUP_ZMAX
      #define ENDSTOPPULLUP_XMIN
      #define ENDSTOPPULLUP_YMIN
      //#define ENDSTOPPULLUP_ZMIN
    #endif
    
    #ifdef ENDSTOPPULLUPS
      #define ENDSTOPPULLUP_XMAX
      #define ENDSTOPPULLUP_YMAX
      #define ENDSTOPPULLUP_ZMAX
      #define ENDSTOPPULLUP_XMIN
      #define ENDSTOPPULLUP_YMIN
      #define ENDSTOPPULLUP_ZMIN
    #endif
    
    // The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
    const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. 
    const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. 
    const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. 
    //#define DISABLE_MAX_ENDSTOPS
    //#define DISABLE_MIN_ENDSTOPS
    
    // Disable max endstops for compatibility with endstop checking routine
    #if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
      #define DISABLE_MAX_ENDSTOPS
    #endif
    
    // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
    #define X_ENABLE_ON 0
    #define Y_ENABLE_ON 0
    #define Z_ENABLE_ON 0
    #define E_ENABLE_ON 0 // For all extruders
    
    // Disables axis when it's not being used.
    #define DISABLE_X false
    #define DISABLE_Y false
    #define DISABLE_Z true
    #define DISABLE_E false // For all extruders
    
    #define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
    #define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false
    #define INVERT_Z_DIR false     // for Mendel set to false, for Orca set to true
    #define INVERT_E0_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
    #define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
    #define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
    
    // ENDSTOP SETTINGS:
    // Sets direction of endstops when homing; 1=MAX, -1=MIN
    #define X_HOME_DIR -1
    #define Y_HOME_DIR -1
    #define Z_HOME_DIR -1
    
    #define min_software_endstops false//true //If true, axis won't move to coordinates less than HOME_POS.
    #define max_software_endstops true  //If true, axis won't move to coordinates greater than the defined lengths below.
    // Travel limits after homing
    #define X_MAX_POS 220
    #define X_MIN_POS 0
    #define Y_MAX_POS 290
    #define Y_MIN_POS 0
    #define Z_MAX_POS 240
    #define Z_MIN_POS 0
    
    #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
    #define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
    #define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
    
    // The position of the homing switches
    //#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
    //#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)
    
    //Manual homing switch locations:
    // For deltabots this means top and center of the cartesian print volume.
    #define MANUAL_X_HOME_POS 0
    #define MANUAL_Y_HOME_POS 0
    #define MANUAL_Z_HOME_POS 0
    //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
    
    Hierbij de instellingen van een andere printer die ik gebouwd heb, welke ook linksvoor homed. Deze gebruikt dan wel Marlin firmware, maar ik denk dat je hier wel wat aan hebt.
     
  6. Peterv3210

    Peterv3210

    Lid geworden:
    5 apr 2014
    Berichten:
    15
    Waarschijnlijk heb ik een andere versie aangezien niet alles overeenkomt
    Code:
    //===========================================================================
    //=============================Mechanical Settings===========================
    //===========================================================================
    
    // Uncomment the following line to enable CoreXY kinematics
    // #define COREXY
    
    // coarse Endstop Settings
    #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
    
    #ifndef ENDSTOPPULLUPS
      // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
      // #define ENDSTOPPULLUP_XMAX
      // #define ENDSTOPPULLUP_YMAX
      // #define ENDSTOPPULLUP_ZMAX
      // #define ENDSTOPPULLUP_XMIN
      // #define ENDSTOPPULLUP_YMIN
      // #define ENDSTOPPULLUP_ZMIN
    #endif
    
    #ifdef ENDSTOPPULLUPS
      #define ENDSTOPPULLUP_XMAX
      #define ENDSTOPPULLUP_YMAX
      #define ENDSTOPPULLUP_ZMAX
      #define ENDSTOPPULLUP_XMIN
      #define ENDSTOPPULLUP_YMIN
      #define ENDSTOPPULLUP_ZMIN
    #endif
    
    // The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
    const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    //#define DISABLE_MAX_ENDSTOPS
    //#define DISABLE_MIN_ENDSTOPS
    
    // Disable max endstops for compatibility with endstop checking routine
    #if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
      #define DISABLE_MAX_ENDSTOPS
    #endif
    
    // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
    #define X_ENABLE_ON 0
    #define Y_ENABLE_ON 0
    #define Z_ENABLE_ON 0
    #define E_ENABLE_ON 0 // For all extruders
    
    // Disables axis when it's not being used.
    #define DISABLE_X false
    #define DISABLE_Y false
    #define DISABLE_Z true
    #define DISABLE_E false // For all extruders
    
    #define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
    #define INVERT_Y_DIR true    // for Mendel set to true, for Orca set to false
    #define INVERT_Z_DIR false     // for Mendel set to false, for Orca set to true
    #define INVERT_E0_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
    #define INVERT_E1_DIR false    // for direct drive extruder v9 set to true, for geared extruder set to false
    #define INVERT_E2_DIR false   // for direct drive extruder v9 set to true, for geared extruder set to false
    
    // ENDSTOP SETTINGS:
    // Sets direction of endstops when homing; 1=MAX, -1=MIN
    #define X_HOME_DIR -1
    #define Y_HOME_DIR -1
    #define Z_HOME_DIR -1
    
    #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
    #define max_software_endstops true  // If true, axis won't move to coordinates greater than the defined lengths below.
    
    // Travel limits after homing
    #define X_MAX_POS 150
    #define X_MIN_POS 0
    #define Y_MAX_POS 190
    #define Y_MIN_POS 0
    #define Z_MAX_POS 200
    #define Z_MIN_POS 0
    
    #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
    #define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
    #define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
    
     
  7. gti_killer

    gti_killer

    Lid geworden:
    4 jul 2006
    Berichten:
    75
    Locatie:
    zeeland
    Staat je endstop wel goed? Dan bedoel ik in de aansluiting i.c.m. de firmware. Had namelijk ook zoiets. Zal is kijken hoe die bij mij staat. Ik gebruik alleen de blauwe en zwarte draad op de endstop.
     
  8. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    De werking van je eindstops is in ieder geval omgedraaid (inverted) in de software. Ik kan op de foto op de vorige pagina niet precies zien hoe je die hebt aangesloten, maar normaalgesproken hoort deze, als de schakelaar in rust is, de signaaldraad en de min met elkaar te verbinden. Het lijkt erop dat dit bij jou andersom is. De plus hoef je niet aan te sluiten, daar zijn je pullups voor, (zie de quotes op de vorige pagina)
     
  9. Peterv3210

    Peterv3210

    Lid geworden:
    5 apr 2014
    Berichten:
    15
    Als een van de assen tegen de endstop aankomt dan stopt deze en gaat een stukje terug. Ik neem aan dat dat de correcte werking is.
     
  10. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    Klopt, maar dat zegt niets over hoe ze electrisch zijn aangesloten.
     
  11. Peterv3210

    Peterv3210

    Lid geworden:
    5 apr 2014
    Berichten:
    15
    Heb het even nagekeken

    Com = blauw : gaat naar S
    No = rood : gaat naar +
    Nc = zwart : gaat naar -
     
  12. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    Dan nog ligt het eraan of je NC of NO schakelaars hebt. Meet de aansluitingen eens door. Als het goed is, moet in de ruststand "Com" zijn doorverbonden met "Nc".
     
  13. Peterv3210

    Peterv3210

    Lid geworden:
    5 apr 2014
    Berichten:
    15
    Zal je altijd zien was vanmiddag de batterij van de multimeter leeg... Dat is me nog nooit eerder gebeurd, maar goed nu nieuwe batterij er in en gaan...

    In rust inderdaad Signaal op Nc (blauw-zwart). dus dat is i.i.g. goed.
     
  14. G-Force-1

    G-Force-1

    Lid geworden:
    22 mei 2013
    Berichten:
    60
    Locatie:
    Dinteloord
    Hier is een stukje van mijn code:
    Code:
    //===========================================================================
    //=============================Mechanical Settings===========================
    //===========================================================================
    // Uncomment the following line to enable CoreXY kinematics
    // #define COREXY
    // coarse Endstop Settings
    #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
    #ifndef ENDSTOPPULLUPS
    // fine Enstop settings: Individual Pullups. will be ignored if ENDSTOPPULLUPS is defined
    // #define ENDSTOPPULLUP_XMAX
    // #define ENDSTOPPULLUP_YMAX
    // #define ENDSTOPPULLUP_ZMAX
    // #define ENDSTOPPULLUP_XMIN
    // #define ENDSTOPPULLUP_YMIN
    // #define ENDSTOPPULLUP_ZMIN
    #endif
    #ifdef ENDSTOPPULLUPS
    #define ENDSTOPPULLUP_XMAX
    #define ENDSTOPPULLUP_YMAX
    #define ENDSTOPPULLUP_ZMAX
    #define ENDSTOPPULLUP_XMIN
    #define ENDSTOPPULLUP_YMIN
    #define ENDSTOPPULLUP_ZMIN
    #endif
    // The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
    const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
    const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
    const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
    const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
    //#define DISABLE_MAX_ENDSTOPS
    //#define DISABLE_MIN_ENDSTOPS
    // Disable max endstops for compatibility with endstop checking routine
    #if defined(COREXY) && !defined(DISABLE_MAX_ENDSTOPS)
    #define DISABLE_MAX_ENDSTOPS
    #endif
    // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
    #define X_ENABLE_ON 0
    #define Y_ENABLE_ON 0
    #define Z_ENABLE_ON 0
    #define E_ENABLE_ON 0 // For all extruders
    // Disables axis when it's not being used.
    #define DISABLE_X false
    #define DISABLE_Y false
    #define DISABLE_Z false
    #define DISABLE_E false // For all extruders
    #define INVERT_X_DIR true // for Mendel set to false, for Orca set to true
    #define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false
    #define INVERT_Z_DIR true // for Mendel set to false, for Orca set to true
    #define INVERT_E0_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
    #define INVERT_E1_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
    #define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
    // ENDSTOP SETTINGS:
    // Sets direction of endstops when homing; 1=MAX, -1=MIN
    #define X_HOME_DIR -1
    #define Y_HOME_DIR -1
    #define Z_HOME_DIR -1
    #define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
    #define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.
    // Travel limits after homing
    #define X_MAX_POS 205
    #define X_MIN_POS 0
    #define Y_MAX_POS 205
    #define Y_MIN_POS 0
    #define Z_MAX_POS 200
    #define Z_MIN_POS 0
    #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
    #define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
    #define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
     
     
  15. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    Hier zit het verschil. Je hebt de logica van je eindstops omgedraaid en ook de draairichting van je motoren.
     
  16. G-Force-1

    G-Force-1

    Lid geworden:
    22 mei 2013
    Berichten:
    60
    Locatie:
    Dinteloord
    :thumbsup:Micropuller bedankt om de verschillen netjes uit te lichten :thumbsup:
     
  17. Peterv3210

    Peterv3210

    Lid geworden:
    5 apr 2014
    Berichten:
    15
    @Micropuller en G-Force-1
    Hij werkt!? hoe is het mogelijk! :D:D
    Jullie moesten eens weten hoe vaak ik de settings heb gewijzigd.

    Bedankt G-Force-1 kennelijk hebben we de zelfde printer (met foute y-as) :)
    Bedankt Micropuller voor het uitlichten van de verschillen!

    Helaas morgen vroeg weer op, dus de daadwerkelijke test zal tot morgen moeten wachten.
     
  18. Micropuller

    Micropuller Forum veteraan

    Lid geworden:
    1 jul 2004
    Berichten:
    6.399
    Het is even lastig om het door te krijgen, maar je moet altijd denken in een coördinatensysteem. Denk aan een kubus. Het nulpunt ligt altijd linksonder. Wil je 100mm naar rechts, dan ga je dus naar positie +100. Wil je nu 20mm naar links, dan ga je niet naar -20, maar naar +80.

    Voor je eindstops geef je in aan welke kant van de as ze zijn gemonteerd ("min" of "max") Als je het "Home"-commando geeft, loopt de as niet naar een bepaalde positie, maar begint gewoon richting de eindstop te lopen (tenminste, in de richting waar de printer denkt dat de eindstop is), tot hij hem raakt. Vanaf het moment dat dat gebeurt, ziet de printer dat punt als de minimale of maximale positie van de as (wat nog niet hoeft te betekenen dat dit ook automatisch de minimale of maximale positie van je printoppervlak is!)

    Als je Repetier Host gebruikt, kun je met de handmatige besturing mooi zien of alles werkt zoals het zou moeten. Druk je op '+X", dan moet de printkop naar rechts. Druk je op "+Y", dan moet het bed naar voren. Druk je op "+Z", dan moet de kop omhoog.
    Als je goed naar je printvolume kijkt, zie je linksonder ook een punt. Dat is dus je 0-punt.

    Overigens kun je zien welke eindstops actief zijn door M119 in te geven in het veld "G-Code" (bovenin onder de tab "handmatige besturing")
     
    Laatst bewerkt: 29 apr 2014
  19. G-Force-1

    G-Force-1

    Lid geworden:
    22 mei 2013
    Berichten:
    60
    Locatie:
    Dinteloord
    Het is in Repetier Host alleen verwarrend omdat +Y naar boven getekend staat en je dan denkt dat het bed van je af moet gaan. Ik had dit zo de eerste keer en toen printte hij in spiegelbeeld.

    @Peter, succes met instellen en testen en printen maar.
     
  20. gti_killer

    gti_killer

    Lid geworden:
    4 jul 2006
    Berichten:
    75
    Locatie:
    zeeland
    Komt me bekend voor......
     

Deel Deze Pagina