Welcome! Log In Create A New Profile

Advanced

Calibrazione corretta??thumbs down

Posted by edofalcone 
Calibrazione corretta??thumbs down
March 21, 2016 06:48AM
Buongiorno a tutti, spero finalmente di risolvere il problema della mia stampante.

Prima di tutto credo ci sia l'hot end intasato di PLA dopo una prova di un amico. Come posso spurgarlo?

Ma veniamo a noi: ho montato da me una Prusa i3 Rework e sono giunto al fatidico momento della calibrazione!

Premettiamo che i miei endstop (meccanici NC) sono collegati COM con - della Ramps 1.4 e SIG con SIG, e si trovano rispettivamente:
  • Y sul retro della stampante (Min)
  • Z sul motore Z sinistro con apposito supporto (Min)
  • X sulla plastica destra (guardando la stampante di fronte) dell'asse X (Max)
Prima domanda: come devo collegarli alla Ramps? Tutti sui pin del min per ogni rispettivo asse?

Altro punto: i motori sono cablati tutti Rosso-Blu-Verde-Nero collegati in modo che il cavo nero guardi verso il connettore del display. (Questo vi servirà per correggere il firmware, perché il problema sta proprio lì mi sa).
Il passo dei motori è impostato 80,80,4000,300 ed ho già testato che va bene, tranne per l'estrusore ma lo testerò una volta sistemato il tutto, prima direi di farla almeno funzionare.

L'obiettivo che voglio raggiungere è chiaramente quello di avere una stampante funzionante che possa stampare tranquillamente e senza troppi intoppi.

Alla situazione firmware attuale (impostato grazie a MarlinKimbra), che vi incollo sotto, riscontro i seguenti comportamenti guidando la stampante da Repieter Host:
Descrivo sempre situazioni a partire dal posizionamento manuale della stampante in Home, ovvero toccando tutti gli endstop.
  • Asse X:
    Se immessi valori positivi il carrello spinge verso l'endstop, ovvero il lato sbagliato e chiaramente mi sfasa la home del valore dello spostamento positivo
    Se immessi valori negativi il carrello non si muove dal suo posto perché crede di essere in home (chiaramente dopo aver compensato l'eventuale valore positivo precedentemente inserito
    Se mandato in Home fa piccoli passi verso l'endstop ma non si ferma neanche quando lo colpisce
  • Asse Y:
    Si comporta in tutto e per tutto come l'asse X
  • Asse Z:
    Se immessi valori positivi il carrello sale del valore immesso
    Se immessi valori negativi il carrello giustamente non sale
    Se mandato in Home il carrello sale a piccoli passi e chiaramente mi imposta le coordinate 0.00 su repieter
Ecco il codice caricato che mi da la situazione su descritta:
//===========================================================================
//=============================Mechanical Settings===========================
//===========================================================================

// 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_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
#define ENDSTOPPULLUP_Z2MIN
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_Z2MAX
#define ENDSTOPPULLUP_ZPROBE
#define ENDSTOPPULLUP_EMIN
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z2_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z2_MAX_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z_PROBE_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define E_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.

// ENDSTOP SETTINGS:
// Sets direction of endstop when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
#define E_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.


// 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 extruder

// 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 extruder
#define DISABLE_INACTIVE_EXTRUDER false //disable only inactive extruder and keep active extruder enabled

// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR false
#define INVERT_E0_DIR false
#define INVERT_E1_DIR false
#define INVERT_E2_DIR false
#define INVERT_E3_DIR false

// Travel limits after homing (units are in mm)
#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 200
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0
#define E_MIN_POS 0

Ed ecco alcune foto della stampante (non fate caso a plastiche appiccicate, non appena funziona la stampante ristampo tutto):
[www.dropbox.com]
[www.dropbox.com]
[www.dropbox.com]
[www.dropbox.com]
[www.dropbox.com]
[www.dropbox.com]

In sostanza: mi date una configurazione che possa farmi funzionare decentemente la stampante?
Sarebbe stupendo trovare qualcuno pronto a parlarne su Skype o via telefono.
Aspetto un vostro riscontro!

Edited 1 time(s). Last edit at 03/21/2016 06:50AM by edofalcone.
Re: Calibrazione corretta??thumbs down
March 21, 2016 09:13AM
Primo passo #define X_HOME_DIR -1 è sbagliato deve essere 1 visto che hai l'endstop sul max.. Naturalmente deve essere attaccato sul connettore X-Max
Poi dai il comando M119 e verifica il funzionamento di ogni singolo endstop. Not triggered vuol dire non premuto. Poi lo premi a mano e tenendolo premuto ridai il comando M119 controlli che ti da triggered...


COMPRA ITALIANO - sostieni le nostre aziende - sostieni la nostra gente - sostieni il tuo popolo - sosterrai te stesso.
Alberto C. felice possessore di una Kossel K2
My Blog - My Thingiverse
Re: Calibrazione corretta??thumbs down
March 21, 2016 09:19AM
Sto cambiando il -1 in 1, gli endstop se NON PREMUTI mi da TRIGGERED, se PREMUTI mi da NOT TRIGGERED.. che altro cambio?
Re: Calibrazione corretta??thumbs down
March 21, 2016 09:25AM
Ok, ho cambiato il valore -1 in 1 e spostato l'endstop sul connettore X MAX ma al comando m119 non risulta rispondere (rimane NOT TRIGGERED), se invece lo sposto di nuovo nel connettore del X MIN risponde bene... Che faccio?
Re: Calibrazione corretta??thumbs down
March 21, 2016 09:28AM
Ma gli altri rispondono bene??

Edit, ma dopo che hai cambiato il valore da -1 a 1 hai di nuovo scaricato il fw?

Edited 1 time(s). Last edit at 03/21/2016 09:30AM by MagoKimbra.


COMPRA ITALIANO - sostieni le nostre aziende - sostieni la nostra gente - sostieni il tuo popolo - sosterrai te stesso.
Alberto C. felice possessore di una Kossel K2
My Blog - My Thingiverse
Re: Calibrazione corretta??thumbs down
March 21, 2016 09:31AM
Ok, ho risolto nei due assi Y e Z. La X non va. Ho cambiato la logica degli endstop, l'asse X continua a voler proseguire oltre l'endstop e non va dall'altra parte... ecco il codice
//===========================================================================
//=============================Mechanical Settings===========================
//===========================================================================

// 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_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
#define ENDSTOPPULLUP_Z2MIN
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_Z2MAX
#define ENDSTOPPULLUP_ZPROBE
#define ENDSTOPPULLUP_EMIN
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_LOGIC true      // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_LOGIC true      // set to true to invert the logic of the endstop.
#define Z2_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_LOGIC true      // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z2_MAX_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define Z_PROBE_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.
#define E_MIN_ENDSTOP_LOGIC false      // set to true to invert the logic of the endstop.

// ENDSTOP SETTINGS:
// Sets direction of endstop when homing; 1=MAX, -1=MIN
#define X_HOME_DIR 1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
#define E_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.


// 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 extruder

// 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 extruder
#define DISABLE_INACTIVE_EXTRUDER false //disable only inactive extruder and keep active extruder enabled

// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
#define INVERT_X_DIR true 
#define INVERT_Y_DIR true //ok 
#define INVERT_Z_DIR false //ok 
#define INVERT_E0_DIR false
#define INVERT_E1_DIR false
#define INVERT_E2_DIR false
#define INVERT_E3_DIR false

// Travel limits after homing (units are in mm)
#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 200
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0
#define E_MIN_POS 0

EDIT: l'endstop X è ancora messo sui pin del MIN visto che non riesco a controllarlo dai pin MAX

Edited 2 time(s). Last edit at 03/21/2016 09:36AM by edofalcone.
Re: Calibrazione corretta??thumbs down
March 21, 2016 03:22PM
Ho risolto, nel file dei pin era sbagliata la scelta del pin per X MAX! Potete chiudere, grazie!grinning smiley
Re: Calibrazione corretta??thumbs down
March 21, 2016 05:23PM
confused smiley


COMPRA ITALIANO - sostieni le nostre aziende - sostieni la nostra gente - sostieni il tuo popolo - sosterrai te stesso.
Alberto C. felice possessore di una Kossel K2
My Blog - My Thingiverse
Sorry, only registered users may post in this forum.

Click here to login