Welcome! Log In Create A New Profile

Advanced

Problema centratura su piano di stampa

Posted by matbonbon 
Problema centratura su piano di stampa
November 29, 2016 05:26PM
Salve a tutti, ho un problema su una stampante progettata da me e derivata da una printrbot simple, dopo averla settata, e dopo alcune stampe che andavano senza problemi mi sono reso conto che stampava specchiata, ho apportato le modifiche a marlin per invertire la x, e mantnere la stessa home che avevo prima, che corrisponde guardando la stampante all'angolo in alto a sinistra, come nella printrbot, ma da questo momento la stampa che posiziono al centro me la stampa tutta a sinistra quasi uscendo dal piano, anche se la sposto tutta a destra, me la stampa sempre piu a sinistra. Ho provato a variare le impostazioni del piano e dell' endstop ma nulla, in piu ho notato che sull'asse x se mi sposto verso destra mi legge i valori in negativo. Incollo la configurazione di marlin con cui ho lavorato in mdo da dare un idea. Vi ringrazio e rimango a disposizione per qualsiasi domanda

// @section homing

// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
//#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG

// coarse Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED(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
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
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 = false; // set to true to invert the logic of the endstop.
const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

//===========================================================================
//============================= Z Probe Options =============================
//===========================================================================

// Enable Z_MIN_PROBE_ENDSTOP to use _both_ a Z Probe and a Z-min-endstop on the same machine.
// With this option the Z_MIN_PROBE_PIN will only be used for probing, never for homing.
//
// *** PLEASE READ ALL INSTRUCTIONS BELOW FOR SAFETY! ***
//
// To continue using the Z-min-endstop for homing, be sure to disable Z_SAFE_HOMING.
// Example: To park the head outside the bed area when homing with G28.
//
// To use a separate Z probe, your board must define a Z_MIN_PROBE_PIN.
//
// For a servo-based Z probe, you must set up servo support below, including
// NUM_SERVOS, Z_ENDSTOP_SERVO_NR and SERVO_ENDSTOP_ANGLES.
//
// - RAMPS 1.3/1.4 boards may be able to use the 5V, GND, and Aux4->D32 pin.
// - Use 5V for powered (usu. inductive) sensors.
// - Otherwise connect:
// - normally-closed switches to GND and D32.
// - normally-open switches to 5V and D32.
//
// Normally-closed switches are advised and are the default.
//
// The Z_MIN_PROBE_PIN sets the Arduino pin to use. (See your board's pins file.)
// Since the RAMPS Aux4->D32 pin maps directly to the Arduino D32 pin, D32 is the
// default pin for all RAMPS-based boards. Some other boards map differently.
// To set or change the pin for your board, edit the appropriate pins_XXXXX.h file.
//
// WARNING:
// Setting the wrong pin may have unexpected and potentially disastrous consequences.
// Use with caution and do your homework.
//
//#define Z_MIN_PROBE_ENDSTOP

// Enable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to use the Z_MIN_PIN for your Z_MIN_PROBE.
// The Z_MIN_PIN will then be used for both Z-homing and probing.
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

// To use a probe you must enable one of the two options above!

// This option disables the use of the Z_MIN_PROBE_PIN
// To enable the Z probe pin but disable its use, uncomment the line below. This only affects a
// Z probe switch if you have a separate Z min endstop also and have activated Z_MIN_PROBE_ENDSTOP above.
// If you're using the Z MIN endstop connector for your Z probe, this has no effect.
//#define DISABLE_Z_MIN_PROBE_ENDSTOP

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
// :{0:'Low',1:'High'}
#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 stepper immediately when it's not being used.
// WARNING: When motors turn off there is a chance of losing position accuracy!
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
// Warn on display about possibly reduced accuracy
//#define DISABLE_REDUCED_ACCURACY_WARNING

// @section extruder

#define DISABLE_E false // For all extruders
#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled

// @section machine

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

// @section extruder

// For direct drive extruder v9 set to true, for geared extruder set to false.
#define INVERT_E0_DIR true
#define INVERT_E1_DIR true
#define INVERT_E2_DIR true
#define INVERT_E3_DIR true

// @section homing
//#define MIN_Z_HEIGHT_FOR_HOMING 4 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
// Be sure you have this distance over your Z_MAX_POS in case.

// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
// :[-1,1]
#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.

// @section machine

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 150
#define Y_MAX_POS 110
#define Z_MAX_POS 180
Re: Problema centratura su piano di stampa
December 01, 2016 02:25AM
Al dilà di utilizzare la funzione "code".

Se spostandoti a destra muove a sinistra e nonostante tu inverta il settaggio a firmware della direzione NEMA17 allora avanzerei l'ipotesi che il driver sia ...un pò andato..

Una cosa similare mi è accaduta su una Prusa big, il driver girava, diciamo, al 100% verso destra, ma quando doveva andare a sinistra l'avvolgimento lavorava circa per il 60%


In genere i valori in negativo non dovrebbero essere presenti ammesso tu non abbiamo come posizione x0 y0 il centro del piatto....


Manuel
Prusa i3 - disassemblata
Ultimaker 2**HC (Marlin+ e3d 1.75 +estrusore made by Andrea Lillia)
SIENCI cnc
Re: Problema centratura su piano di stampa
December 01, 2016 11:42AM
Ciao e grazie per la risposta, forse non mi sono spiegato bene, il motore e driver funzionano senza problemi, sono riusciro ad invertire la direzione, il problema è che dopo aver reimpostato gli endstop in modo da adare in home in alto a sx come stava in precedenza, non riesco a stampare al centro del piatto poichè mi stampa tutto spostato a sinistra.

Volevo sapere se qualcuno sa come posso risolvere, oppure se esiste un modo per settare la home in modo che sia diversa rispetto alla posizione degli endstop, per esempio metterla a centro piano.
Re: Problema centratura su piano di stampa
December 01, 2016 01:04PM
Oltre al firmware hai settato correttamente anche il software che ti genera il gcode? (repetier, cura, slic3r ecc.)
Re: Problema centratura su piano di stampa
December 01, 2016 03:58PM
Si, Io uso Cura, le dimensioni di stampa settate su cura, sono le stesse che stanno sul firmware, l'orige che mi segna cura da quello che ho visto non si puo impostare, me lo confermi?
Sorry, only registered users may post in this forum.

Click here to login