Page 1 of 1

Problema al imprimir

Posted: Tue Apr 23, 2019 12:44 am
by Rush68
Hola a todos, tengo un problema, al imprimir a veces me termina de calentar la cama se va a home y en lugar de bajarse quiere subirse, cual es el error

Re: Problema al imprimir

Posted: Tue Apr 23, 2019 1:03 am
by _kaktus_

Re: Problema al imprimir

Posted: Thu Apr 25, 2019 9:39 am
by Rush68
Hola tengo una Delta Rostock mini G2s pro, cuando mando a imprimir a veces calienta la cama y se va a home y en lugar de bajar se quiere subir que puede ser

Re: Problema al imprimir

Posted: Thu Apr 25, 2019 9:56 am
by William
If you are a new user and have just purchased a printer. You certainly have many questions.
If you want to present your problem, write what you have already done. You can present topics that you have read about. please use English.
glis

Re: Problema al imprimir

Posted: Thu Apr 25, 2019 10:02 am
by Tomyuan
It should be the firmware bug.
You can try to check the print(Eg.If you find this happen after 100s.Then check it at configuration_adv.h file)
:lol:

Re: Problema al imprimir

Posted: Fri Apr 26, 2019 8:31 am
by Rush68
Hi, I have a Delta Rostock mini G2s pro, when I print, sometimes it heats the bed and it goes home and instead of going down it wants to go up, Tomyuan tells me it is possibly a firmware bug to check it in CONFIGURATION_ADV. H.
The truth is I'm new to this and I do not know what section to look for, someone can help me

Re: Problema al imprimir

Posted: Fri Apr 26, 2019 2:50 pm
by Tomyuan
You can attach your configruation_adv.h file.
Then I will take a look when I have the spare times.
:P

Re: Problema al imprimir

Posted: Sat Apr 27, 2019 7:53 am
by Rush68

Code: Select all

#ifndef CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H

"Conditionals.h"

// @section temperature
//===========================================================================
//=============================Thermal Settings  ============================
//===========================================================================

#ifdef BED_LIMIT_SWITCHING
  #define BED_HYSTERESIS 2 [color=#7E7E7E]//only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS[/color]
#endif
#define BED_CHECK_INTERVAL 5000 [color=#7E7E7E]//ms between checks in bang-bang control[/color]

[color=#7E7E7E]/**[/color]
[color=#7E7E7E] * Thermal Protection parameters[/color]
[color=#7E7E7E] */[/color]
#ifdef THERMAL_PROTECTION_HOTENDS
  #define THERMAL_PROTECTION_PERIOD 40        [color=#7E7E7E]// Seconds[/color]
  #define THERMAL_PROTECTION_HYSTERESIS 4     [color=#7E7E7E]// Degrees Celsius

/**
  * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
  * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
   * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
   * but only if the current temperature is far enough below the target for a reliable test.
   */
  #define WATCH_TEMP_PERIOD 16                [color=#7E7E7E]// Seconds
  #define WATCH_TEMP_INCREASE 4               [color=#7E7E7E]// Degrees Celsius
#endif

#ifdef THERMAL_PROTECTION_BED
  #define THERMAL_PROTECTION_BED_PERIOD 20    [color=#7E7E7E]// Seconds
  #define THERMAL_PROTECTION_BED_HYSTERESIS 2 [color=#7E7E7E]// Degrees Celsius
#endif

[color=#7E7E7E]/**[/color]
[color=#7E7E7E] * Automatic Temperature:[/color]
[color=#7E7E7E] * The hotend target temperature is calculated by all the buffered lines of gcode.[/color]
[color=#7E7E7E] * The maximum buffered steps/sec of the extruder motor is called "se".[/color]
[color=#7E7E7E] * Start autotemp mode with M109 S<mintemp> B<maxtemp> F<factor>[/color]
[color=#7E7E7E] * The target temperature is set to mintemp+factor*se[steps/sec] and is limited by[/color]
[color=#7E7E7E] * mintemp and maxtemp. Turn this off by excuting M109 without F*[/color]
[color=#7E7E7E] * Also, if the temperature is set to a value below mintemp, it will not be changed by autotemp.[/color]
[color=#7E7E7E] * On an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode[/color]
[color=#7E7E7E] */[/color]
#ifdef PIDTEMP
  [color=#7E7E7E]// this adds an experimental additional term to the heating power, proportional to the extrusion speed.[/color]
  [color=#7E7E7E]// if Kc is chosen well, the additional required power due to increased melting should be compensated.[/color]
  #define PID_ADD_EXTRUSION_RATE
  #ifdef PID_ADD_EXTRUSION_RATE
    #define  DEFAULT_Kc (1) [color=#7E7E7E]//heating power=Kc*(e_speed)[/color]
  #endif
#endif


[color=#7E7E7E]//automatic temperature: The hot end target temperature is calculated by all the buffered lines of gcode.[/color]
[color=#7E7E7E]//The maximum buffered steps/sec of the extruder motor are called "se".[/color]
[color=#7E7E7E]//You enter the autotemp mode by a M109 S<mintemp> B<maxtemp> F<factor>[/color]
[color=#7E7E7E]// the target temperature is set to mintemp+factor*se[steps/sec] and limited by mintemp and maxtemp[/color]
[color=#7E7E7E]// you exit the value by any M109 without F*[/color]
[color=#7E7E7E]// Also, if the temperature is set to a value <mintemp, it is not changed by autotemp.[/color]
[color=#7E7E7E]// on an Ultimaker, some initial testing worked with M109 S215 B260 F1 in the start.gcode[/color]
#define AUTOTEMP
#ifdef AUTOTEMP
  #define AUTOTEMP_OLDWEIGHT 0.98
#endif

[color=#7E7E7E]//Show Temperature ADC value[/color]
[color=#7E7E7E]//The M105 command return, besides traditional information, the ADC value read from temperature sensors.[/color]
[color=#7E7E7E]//#define SHOW_TEMP_ADC_VALUES[/color]

[color=#7E7E7E]// @section extruder[/color]

[color=#7E7E7E]//  extruder run-out prevention.[/color]
[color=#7E7E7E]//if the machine is idle, and the temperature over MINTEMP, every couple of SECONDS some filament is extruded[/color]
[color=#7E7E7E]//#define EXTRUDER_RUNOUT_PREVENT[/color]
#define EXTRUDER_RUNOUT_MINTEMP 190
#define EXTRUDER_RUNOUT_SECONDS 30.
#define EXTRUDER_RUNOUT_ESTEPS 14. [color=#7E7E7E]//mm filament[/color]
#define EXTRUDER_RUNOUT_SPEED 1500.  [color=#7E7E7E]//extrusion speed[/color]
#define EXTRUDER_RUNOUT_EXTRUDE 100

[color=#7E7E7E]// @section temperature[/color]

[color=#7E7E7E]//These defines help to calibrate the AD595 sensor in case you get wrong temperature measurements.[/color]
[color=#7E7E7E]//The measured temperature is defined as "actualTemp = (measuredTemp * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET"[/color]
#define TEMP_SENSOR_AD595_OFFSET 0.0
#define TEMP_SENSOR_AD595_GAIN   1.0

[color=#7E7E7E]//This is for controlling a fan to cool down the stepper drivers[/color]
[color=#7E7E7E]//it will turn on when any driver is enabled[/color]
[color=#7E7E7E]//and turn off after the set amount of seconds from last driver being disabled again[/color]
#define CONTROLLERFAN_PIN -1 [color=#7E7E7E]//Pin used for the fan to cool controller (-1 to disable)[/color]
#define CONTROLLERFAN_SECS 60 [color=#7E7E7E]//How many seconds, after all motors were disabled, the fan should run[/color]
#define CONTROLLERFAN_SPEED 255  [color=#7E7E7E]// == full speed[/color]

[color=#7E7E7E]// When first starting the main fan, run it at full speed for the[/color]
[color=#7E7E7E]// given number of milliseconds.  This gets the fan spinning reliably[/color]
[color=#7E7E7E]// before setting a PWM value. (Does not work with software PWM for fan on Sanguinololu)[/color]
[color=#7E7E7E]//#define FAN_KICKSTART_TIME 100[/color]

[color=#7E7E7E]// @section extruder[/color]

[color=#7E7E7E]// Extruder cooling fans[/color]
[color=#7E7E7E]// Configure fan pin outputs to automatically turn on/off when the associated[/color]
[color=#7E7E7E]// extruder temperature is above/below EXTRUDER_AUTO_FAN_TEMPERATURE.[/color]
[color=#7E7E7E]// Multiple extruders can be assigned to the same pin in which case[/color]
[color=#7E7E7E]// the fan will turn on when any selected extruder is above the threshold.[/color]
#define EXTRUDER_0_AUTO_FAN_PIN -1
#define EXTRUDER_1_AUTO_FAN_PIN -1
#define EXTRUDER_2_AUTO_FAN_PIN -1
#define EXTRUDER_3_AUTO_FAN_PIN -1
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
#define EXTRUDER_AUTO_FAN_SPEED   255  [color=#7E7E7E]// == full speed[/color]


[color=#7E7E7E]//===========================================================================[/color]
[color=#7E7E7E]//=============================Mechanical Settings===========================[/color]
[color=#7E7E7E]//===========================================================================[/color]

[color=#7E7E7E]// @section homing[/color]

#define ENDSTOPS_ONLY_FOR_HOMING [color=#7E7E7E]// If defined the endstops will only be used for homing[/color]

[color=#7E7E7E]// @section extras[/color]

[color=#7E7E7E]//#define Z_LATE_ENABLE // Enable Z the last moment. Needed if your Z driver overheats.[/color]

[color=#7E7E7E]// A single Z stepper driver is usually used to drive 2 stepper motors.[/color]
[color=#7E7E7E]// Uncomment this define to utilize a separate stepper driver for each Z axis motor.[/color]
[color=#7E7E7E]// Only a few motherboards support this, like RAMPS, which have dual extruder support (the 2nd, often unused, extruder driver is used[/color]
[color=#7E7E7E]// to control the 2nd Z axis stepper motor). The pins are currently only defined for a RAMPS motherboards.[/color]
[color=#7E7E7E]// On a RAMPS (or other 5 driver) motherboard, using this feature will limit you to using 1 extruder.[/color]
[color=#7E7E7E]//#define Z_DUAL_STEPPER_DRIVERS[/color]

#ifdef Z_DUAL_STEPPER_DRIVERS

  [color=#7E7E7E]// Z_DUAL_ENDSTOPS is a feature to enable the use of 2 endstops for both Z steppers - Let's call them Z stepper and Z2 stepper.[/color]
  [color=#7E7E7E]// That way the machine is capable to align the bed during home, since both Z steppers are homed. [/color]
  [color=#7E7E7E]// There is also an implementation of M666 (software endstops adjustment) to this feature.[/color]
  [color=#7E7E7E]// After Z homing, this adjustment is applied to just one of the steppers in order to align the bed.[/color]
  [color=#7E7E7E]// One just need to home the Z axis and measure the distance difference between both Z axis and apply the math: Z adjust = Z - Z2.[/color]
  [color=#7E7E7E]// If the Z stepper axis is closer to the bed, the measure Z > Z2 (yes, it is.. think about it) and the Z adjust would be positive.[/color]
  [color=#7E7E7E]// Play a little bit with small adjustments (0.5mm) and check the behaviour.[/color]
  [color=#7E7E7E]// The M119 (endstops report) will start reporting the Z2 Endstop as well.[/color]

  #define Z_DUAL_ENDSTOPS

  #ifdef Z_DUAL_ENDSTOPS
    #define Z2_STEP_PIN E2_STEP_PIN           [color=#7E7E7E]// Stepper to be used to Z2 axis.[/color]
    #define Z2_DIR_PIN E2_DIR_PIN
    #define Z2_ENABLE_PIN E2_ENABLE_PIN
    #define Z2_MAX_PIN 36                     [color=#7E7E7E]//Endstop used for Z2 axis. In this case I'm using XMAX in a Rumba Board (pin 36)[/color]
    [color=#CC6600]const[/color] bool Z2_MAX_ENDSTOP_INVERTING = [color=#CC6600]false[/color];
    #define DISABLE_XMAX_ENDSTOP              [color=#7E7E7E]//Better to disable the XMAX to avoid conflict. Just rename "XMAX_ENDSTOP" by the endstop you are using for Z2 axis.[/color]
  #endif

#endif [color=#7E7E7E]// Z_DUAL_STEPPER_DRIVERS[/color]

[color=#7E7E7E]// Same again but for Y Axis.[/color]
[color=#7E7E7E]//#define Y_DUAL_STEPPER_DRIVERS[/color]

[color=#7E7E7E]// Define if the two Y drives need to rotate in opposite directions[/color]
#define INVERT_Y2_VS_Y_DIR [color=#CC6600]true[/color]

[color=#7E7E7E]// Enable this for dual x-carriage printers.[/color]
[color=#7E7E7E]// A dual x-carriage design has the advantage that the inactive extruder can be parked which[/color]
[color=#7E7E7E]// prevents hot-end ooze contaminating the print. It also reduces the weight of each x-carriage[/color]
[color=#7E7E7E]// allowing faster printing speeds.[/color]
[color=#7E7E7E]//#define DUAL_X_CARRIAGE[/color]
#ifdef DUAL_X_CARRIAGE
  [color=#7E7E7E]// Configuration for second X-carriage[/color]
  [color=#7E7E7E]// Note: the first x-carriage is defined as the x-carriage which homes to the minimum endstop;[/color]
  [color=#7E7E7E]// the second x-carriage always homes to the maximum endstop.[/color]
  #define X2_MIN_POS 80     [color=#7E7E7E]// set minimum to ensure second x-carriage doesn't hit the parked first X-carriage[/color]
  #define X2_MAX_POS 353    [color=#7E7E7E]// set maximum to the distance between toolheads when both heads are homed[/color]
  #define X2_HOME_DIR 1     [color=#7E7E7E]// the second X-carriage always homes to the maximum endstop position[/color]
  #define X2_HOME_POS X2_MAX_POS [color=#7E7E7E]// default home position is the maximum carriage position[/color]
      [color=#7E7E7E]// However: In this mode the EXTRUDER_OFFSET_X value for the second extruder provides a software[/color]
      [color=#7E7E7E]// override for X2_HOME_POS. This also allow recalibration of the distance between the two endstops[/color]
      [color=#7E7E7E]// without modifying the firmware (through the "M218 T1 X???" command).[/color]
      [color=#7E7E7E]// Remember: you should set the second extruder x-offset to 0 in your slicer.[/color]

  [color=#7E7E7E]// Pins for second x-carriage stepper driver (defined here to avoid further complicating pins.h)[/color]
  #define X2_ENABLE_PIN 29
  #define X2_STEP_PIN 25
  #define X2_DIR_PIN 23

  [color=#7E7E7E]// There are a few selectable movement modes for dual x-carriages using M605 S<mode>[/color]
  [color=#7E7E7E]//    Mode 0: Full control. The slicer has full control over both x-carriages and can achieve optimal travel results[/color]
  [color=#7E7E7E]//                           as long as it supports dual x-carriages. (M605 S0)[/color]
  [color=#7E7E7E]//    Mode 1: Auto-park mode. The firmware will automatically park and unpark the x-carriages on tool changes so[/color]
  [color=#7E7E7E]//                           that additional slicer support is not required. (M605 S1)[/color]
  [color=#7E7E7E]//    Mode 2: Duplication mode. The firmware will transparently make the second x-carriage and extruder copy all[/color]
  [color=#7E7E7E]//                           actions of the first x-carriage. This allows the printer to print 2 arbitrary items at[/color]
  [color=#7E7E7E]//                           once. (2nd extruder x offset and temp offset are set using: M605 S2 [Xnnn] [Rmmm])[/color]

  [color=#7E7E7E]// This is the default power-up mode which can be later using M605.[/color]
  #define DEFAULT_DUAL_X_CARRIAGE_MODE 0

  [color=#7E7E7E]// Default settings in "Auto-park Mode"[/color]
  #define TOOLCHANGE_PARK_ZLIFT   0.2      [color=#7E7E7E]// the distance to raise Z axis when parking an extruder[/color]
  #define TOOLCHANGE_UNPARK_ZLIFT 1        [color=#7E7E7E]// the distance to raise Z axis when unparking an extruder[/color]

  [color=#7E7E7E]// Default x offset in duplication mode (typically set to half print bed width)[/color]
  #define DEFAULT_DUPLICATION_X_OFFSET 100

#endif [color=#7E7E7E]//DUAL_X_CARRIAGE[/color]

[color=#7E7E7E]// @section homing[/color]

[color=#7E7E7E]//homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:[/color]
#define X_HOME_BUMP_MM 5
#define Y_HOME_BUMP_MM 5
#define Z_HOME_BUMP_MM 5 [color=#7E7E7E]// deltas need the same for all three axis[/color]
#define HOMING_BUMP_DIVISOR {10, 10, 20}  [color=#7E7E7E]// Re-Bump Speed Divisor (Divides the Homing Feedrate)[/color]
[color=#7E7E7E]//#define QUICK_HOME  //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially.[/color]

[color=#7E7E7E]// When G28 is called, this option will make Y home before X[/color]
[color=#7E7E7E]// #define HOME_Y_BEFORE_X[/color]

[color=#7E7E7E]// @section machine[/color]

#define AXIS_RELATIVE_MODES {[color=#CC6600]false[/color], [color=#CC6600]false[/color], [color=#CC6600]false[/color], [color=#CC6600]false[/color]}

[color=#7E7E7E]// @section machine[/color]

[color=#7E7E7E]//By default pololu step drivers require an active high signal. However, some high power drivers require an active low signal as step.[/color]
#define INVERT_X_STEP_PIN [color=#CC6600]false[/color]
#define INVERT_Y_STEP_PIN [color=#CC6600]false[/color]
#define INVERT_Z_STEP_PIN [color=#CC6600]false[/color]
#define INVERT_E_STEP_PIN [color=#CC6600]false[/color]

[color=#7E7E7E]// Default stepper release if idle. Set to 0 to deactivate.[/color]
#define DEFAULT_STEPPER_DEACTIVE_TIME 60

#define DEFAULT_MINIMUMFEEDRATE       0.0     [color=#7E7E7E]// minimum feedrate[/color]
#define DEFAULT_MINTRAVELFEEDRATE     0.0

[color=#7E7E7E]// @section lcd[/color]

#ifdef ULTIPANEL
  #define MANUAL_FEEDRATE {50*60, 50*60, 4*60, 60} [color=#7E7E7E]// Feedrates for manual moves along X, Y, Z, E from panel[/color]
  #define ULTIPANEL_FEEDMULTIPLY  [color=#7E7E7E]// Comment to disable setting feedrate multiplier via encoder[/color]
#endif

[color=#7E7E7E]// @section extras[/color]

[color=#7E7E7E]// minimum time in microseconds that a movement needs to take if the buffer is emptied.[/color]
#define DEFAULT_MINSEGMENTTIME        20000

[color=#7E7E7E]// If defined the movements slow down when the look ahead buffer is only half full[/color]
[color=#7E7E7E]//#define SLOWDOWN[/color]

[color=#7E7E7E]// Frequency limit[/color]
[color=#7E7E7E]// See nophead's blog for more info[/color]
[color=#7E7E7E]// Not working O[/color]
[color=#7E7E7E]//#define XY_FREQUENCY_LIMIT  15[/color]

[color=#7E7E7E]// Minimum planner junction speed. Sets the default minimum speed the planner plans for at the end[/color]
[color=#7E7E7E]// of the buffer and all stops. This should not be much greater than zero and should only be changed[/color]
[color=#7E7E7E]// if unwanted behavior is observed on a user's machine when running at very slow speeds.[/color]
#define MINIMUM_PLANNER_SPEED 0.05[color=#7E7E7E]// (mm/sec)[/color]

[color=#7E7E7E]// Microstep setting (Only functional when stepper driver microstep pins are connected to MCU.[/color]
#define MICROSTEP_MODES {16,16,16,16,16} [color=#7E7E7E]// [1,2,4,8,16][/color]

[color=#7E7E7E]// Motor Current setting (Only functional when motor driver current ref pins are connected to a digital trimpot on supported boards)[/color]
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} [color=#7E7E7E]// Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)[/color]

[color=#7E7E7E]// uncomment to enable an I2C based DIGIPOT like on the Azteeg X3 Pro[/color]
[color=#7E7E7E]//#define DIGIPOT_I2C[/color]
[color=#7E7E7E]// Number of channels available for I2C digipot, For Azteeg X3 Pro we have 8[/color]
#define DIGIPOT_I2C_NUM_CHANNELS 8
[color=#7E7E7E]// actual motor currents in Amps, need as many here as DIGIPOT_I2C_NUM_CHANNELS[/color]
#define DIGIPOT_I2C_MOTOR_CURRENTS {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}

[color=#7E7E7E]//===========================================================================[/color]
[color=#7E7E7E]//=============================Additional Features===========================[/color]
[color=#7E7E7E]//===========================================================================[/color]

#define ENCODER_RATE_MULTIPLIER         [color=#7E7E7E]// If defined, certain menu edit operations automatically multiply the steps when the encoder is moved quickly[/color]
#define ENCODER_10X_STEPS_PER_SEC 75    [color=#7E7E7E]// If the encoder steps per sec exceeds this value, multiply steps moved x10 to quickly advance the value[/color]
#define ENCODER_100X_STEPS_PER_SEC 160  [color=#7E7E7E]// If the encoder steps per sec exceeds this value, multiply steps moved x100 to really quickly advance the value[/color]

[color=#7E7E7E]//#define CHDK 4        //Pin for triggering CHDK to take a picture see how to use it here http://captain-slow.dk/2014/03/09/3d-printing-timelapses/[/color]
#define CHDK_DELAY 50 [color=#7E7E7E]//How long in ms the pin should stay HIGH before going LOW again[/color]

[color=#7E7E7E]// @section lcd[/color]

#ifdef SDSUPPORT

  [color=#7E7E7E]// If you are using a RAMPS board or cheap E-bay purchased boards that do not detect when an SD card is inserted[/color]
  [color=#7E7E7E]// You can get round this by connecting a push button or single throw switch to the pin defined as SDCARDCARDDETECT[/color]
  [color=#7E7E7E]// in the pins.h file.  When using a push button pulling the pin to ground this will need inverted.  This setting should[/color]
  [color=#7E7E7E]// be commented out otherwise[/color]
  #define SDCARDDETECTINVERTED

  #define SD_FINISHED_STEPPERRELEASE [color=#CC6600]true[/color]  [color=#7E7E7E]//if sd support and the file is finished: disable steppers?[/color]
  #define SD_FINISHED_RELEASECOMMAND [color=#006699]"M84 X Y Z E"[/color] [color=#7E7E7E]// You might want to keep the z enabled so your bed stays in place.[/color]

  #define SDCARD_RATHERRECENTFIRST  [color=#7E7E7E]//reverse file order of sd card menu display. Its sorted practically after the file system block order.[/color]
  [color=#7E7E7E]// if a file is deleted, it frees a block. hence, the order is not purely chronological. To still have auto0.g accessible, there is again the option to do that.[/color]
  [color=#7E7E7E]// using:[/color]
  [color=#7E7E7E]//#define MENU_ADDAUTOSTART[/color]

  [color=#7E7E7E]// Show a progress bar on HD44780 LCDs for SD printing[/color]
  [color=#7E7E7E]//#define LCD_PROGRESS_BAR[/color]

  #ifdef LCD_PROGRESS_BAR
    [color=#7E7E7E]// Amount of time (ms) to show the bar[/color]
    #define PROGRESS_BAR_BAR_TIME 2000
    [color=#7E7E7E]// Amount of time (ms) to show the status message[/color]
    #define PROGRESS_BAR_MSG_TIME 3000
    [color=#7E7E7E]// Amount of time (ms) to retain the status message (0=forever)[/color]
    #define PROGRESS_MSG_EXPIRE   0
    [color=#7E7E7E]// Enable this to show messages for MSG_TIME then hide them[/color]
    [color=#7E7E7E]//#define PROGRESS_MSG_ONCE[/color]
  #endif

  [color=#7E7E7E]// This allows hosts to request long names for files and folders with M33[/color]
  [color=#7E7E7E]//#define LONG_FILENAME_HOST_SUPPORT[/color]

#endif [color=#7E7E7E]// SDSUPPORT[/color]

[color=#7E7E7E]// for dogm lcd displays you can choose some additional fonts:[/color]
#ifdef DOGLCD
  [color=#7E7E7E]// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT[/color]
  [color=#7E7E7E]// we don't have a big font for Cyrillic, Kana[/color]
  [color=#7E7E7E]//#define USE_BIG_EDIT_FONT[/color]
 
  [color=#7E7E7E]// If you have spare 2300Byte of progmem and want to use a [/color]
  [color=#7E7E7E]// smaller font on the Info-screen uncomment the next line.[/color]
  [color=#7E7E7E]//#define USE_SMALL_INFOFONT[/color]
#endif [color=#7E7E7E]// DOGLCD[/color]


[color=#7E7E7E]// @section more[/color]

[color=#7E7E7E]// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.[/color]
[color=#7E7E7E]//#define USE_WATCHDOG[/color]

#ifdef USE_WATCHDOG
[color=#7E7E7E]// If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.[/color]
[color=#7E7E7E]// The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.[/color]
[color=#7E7E7E]//  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.[/color]
[color=#7E7E7E]//#define WATCHDOG_RESET_MANUAL[/color]
#endif

[color=#7E7E7E]// Enable the option to stop SD printing when hitting and endstops, needs to be enabled from the LCD menu when this option is enabled.[/color]
[color=#7E7E7E]//#define ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED[/color]

[color=#7E7E7E]// @section lcd[/color]

[color=#7E7E7E]// Babystepping enables the user to control the axis in tiny amounts, independently from the normal printing process[/color]
[color=#7E7E7E]// it can e.g. be used to change z-positions in the print startup phase in real-time[/color]
[color=#7E7E7E]// does not respect endstops![/color]
[color=#7E7E7E]//#define BABYSTEPPING[/color]
#ifdef BABYSTEPPING
  #define BABYSTEP_XY  [color=#7E7E7E]//not only z, but also XY in the menu. more clutter, more functions[/color]
  #define BABYSTEP_INVERT_Z [color=#CC6600]false[/color]  [color=#7E7E7E]//true for inverse movements in Z[/color]
  #define BABYSTEP_Z_MULTIPLICATOR 2 [color=#7E7E7E]//faster z movements[/color]
#endif

[color=#7E7E7E]// @section extruder[/color]

[color=#7E7E7E]// extruder advance constant (s2/mm3)[/color]
[color=#7E7E7E]//[/color]
[color=#7E7E7E]// advance (steps) = STEPS_PER_CUBIC_MM_E * EXTRUDER_ADVANCE_K * cubic mm per second ^ 2[/color]
[color=#7E7E7E]//[/color]
[color=#7E7E7E]// Hooke's law says:    force = k * distance[/color]
[color=#7E7E7E]// Bernoulli's principle says:  v ^ 2 / 2 + g . h + pressure / density = constant[/color]
[color=#7E7E7E]// so: v ^ 2 is proportional to number of steps we advance the extruder[/color]
[color=#7E7E7E]//#define ADVANCE[/color]

#ifdef ADVANCE
  #define EXTRUDER_ADVANCE_K .0
  #define D_FILAMENT 2.85
  #define STEPS_MM_E 836
#endif

[color=#7E7E7E]// @section extras[/color]

[color=#7E7E7E]// Arc interpretation settings:[/color]
#define MM_PER_ARC_SEGMENT 1
#define N_ARC_CORRECTION 25

[color=#CC6600]const[/color] [color=#CC6600]unsigned[/color] [color=#CC6600]int[/color] dropsegments=5; [color=#7E7E7E]//everything with less than this number of steps will be ignored as move and joined with the next movement[/color]

[color=#7E7E7E]// @section temperature[/color]

[color=#7E7E7E]// Control heater 0 and heater 1 in parallel.[/color]
[color=#7E7E7E]//#define HEATERS_PARALLEL[/color]

[color=#7E7E7E]//===========================================================================[/color]
[color=#7E7E7E]//================================= Buffers =================================[/color]
[color=#7E7E7E]//===========================================================================[/color]

[color=#7E7E7E]// @section hidden[/color]

[color=#7E7E7E]// The number of linear motions that can be in the plan at any give time.[/color]
[color=#7E7E7E]// THE BLOCK_BUFFER_SIZE NEEDS TO BE A POWER OF 2, i.g. 8,16,32 because shifts and ors are used to do the ring-buffering.[/color]
#ifdef SDSUPPORT
  #define BLOCK_BUFFER_SIZE 16   [color=#7E7E7E]// SD,LCD,Buttons take more memory, block buffer needs to be smaller[/color]
#else
  #define BLOCK_BUFFER_SIZE 16 [color=#7E7E7E]// maximize block buffer[/color]
#endif

[color=#7E7E7E]// @section more[/color]

[color=#7E7E7E]//The ASCII buffer for receiving from the serial:[/color]
#define MAX_CMD_SIZE 96
#define BUFSIZE 4

[color=#7E7E7E]// Bad Serial-connections can miss a received command by sending an 'ok'[/color]
[color=#7E7E7E]// Therefore some clients abort after 30 seconds in a timeout.[/color]
[color=#7E7E7E]// Some other clients start sending commands while receiving a 'wait'.[/color]
[color=#7E7E7E]// This "wait" is only sent when the buffer is empty. 1 second is a good value here.[/color]
[color=#7E7E7E]//#define NO_TIMEOUTS 1000 // Milliseconds[/color]

[color=#7E7E7E]// Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.[/color]
[color=#7E7E7E]//#define ADVANCED_OK[/color]

[color=#7E7E7E]// @section fwretract[/color]

[color=#7E7E7E]// Firmware based and LCD controlled retract[/color]
[color=#7E7E7E]// M207 and M208 can be used to define parameters for the retraction.[/color]
[color=#7E7E7E]// The retraction can be called by the slicer using G10 and G11[/color]
[color=#7E7E7E]// until then, intended retractions can be detected by moves that only extrude and the direction.[/color]
[color=#7E7E7E]// the moves are than replaced by the firmware controlled ones.[/color]

[color=#7E7E7E]// #define FWRETRACT  //ONLY PARTIALLY TESTED[/color]
#ifdef FWRETRACT
  #define MIN_RETRACT 0.1                [color=#7E7E7E]//minimum extruded mm to accept a automatic gcode retraction attempt[/color]
  #define RETRACT_LENGTH 3               [color=#7E7E7E]//default retract length (positive mm)[/color]
  #define RETRACT_LENGTH_SWAP 13         [color=#7E7E7E]//default swap retract length (positive mm), for extruder change[/color]
  #define RETRACT_FEEDRATE 45            [color=#7E7E7E]//default feedrate for retracting (mm/s)[/color]
  #define RETRACT_ZLIFT 0                [color=#7E7E7E]//default retract Z-lift[/color]
  #define RETRACT_RECOVER_LENGTH 0       [color=#7E7E7E]//default additional recover length (mm, added to retract length when recovering)[/color]
  #define RETRACT_RECOVER_LENGTH_SWAP 0  [color=#7E7E7E]//default additional swap recover length (mm, added to retract length when recovering from extruder change)[/color]
  #define RETRACT_RECOVER_FEEDRATE 8     [color=#7E7E7E]//default feedrate for recovering from retraction (mm/s)[/color]
#endif

[color=#7E7E7E]// Add support for experimental filament exchange support M600; requires display[/color]
#ifdef ULTIPANEL
  [color=#7E7E7E]//#define FILAMENTCHANGEENABLE[/color]
  #ifdef FILAMENTCHANGEENABLE
    #define FILAMENTCHANGE_XPOS 3
    #define FILAMENTCHANGE_YPOS 3
    #define FILAMENTCHANGE_ZADD 10
    #define FILAMENTCHANGE_FIRSTRETRACT -2
    #define FILAMENTCHANGE_FINALRETRACT -100
  #endif
#endif

[color=#7E7E7E]/******************************************************************************\[/color]
[color=#7E7E7E] * enable this section if you have TMC26X motor drivers. [/color]
[color=#7E7E7E] * you need to import the TMC26XStepper library into the arduino IDE for this[/color]
[color=#7E7E7E] ******************************************************************************/[/color]

[color=#7E7E7E]// @section tmc[/color]

[color=#7E7E7E]//#define HAVE_TMCDRIVER[/color]
#ifdef HAVE_TMCDRIVER

[color=#7E7E7E]//  #define X_IS_TMC[/color]
  #define X_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define X_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define X_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  
[color=#7E7E7E]//  #define X2_IS_TMC[/color]
  #define X2_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define X2_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define X2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  
[color=#7E7E7E]//  #define Y_IS_TMC[/color]
  #define Y_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define Y_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define Y_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  
[color=#7E7E7E]//  #define Y2_IS_TMC[/color]
  #define Y2_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define Y2_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define Y2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps [/color]
  
[color=#7E7E7E]//  #define Z_IS_TMC[/color]
  #define Z_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define Z_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define Z_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  
[color=#7E7E7E]//  #define Z2_IS_TMC[/color]
  #define Z2_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define Z2_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define Z2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  
[color=#7E7E7E]//  #define E0_IS_TMC[/color]
  #define E0_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define E0_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define E0_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  
[color=#7E7E7E]//  #define E1_IS_TMC[/color]
  #define E1_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define E1_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define E1_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps [/color]
  
[color=#7E7E7E]//  #define E2_IS_TMC[/color]
  #define E2_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define E2_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define E2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps [/color]
  
[color=#7E7E7E]//  #define E3_IS_TMC[/color]
  #define E3_MAX_CURRENT 1000  [color=#7E7E7E]//in mA[/color]
  #define E3_SENSE_RESISTOR 91 [color=#7E7E7E]//in mOhms[/color]
  #define E3_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps   [/color]

#endif

[color=#7E7E7E]/******************************************************************************\[/color]
[color=#7E7E7E] * enable this section if you have L6470  motor drivers. [/color]
[color=#7E7E7E] * you need to import the L6470 library into the arduino IDE for this[/color]
[color=#7E7E7E] ******************************************************************************/[/color]

[color=#7E7E7E]// @section l6470[/color]

[color=#7E7E7E]//#define HAVE_L6470DRIVER[/color]
#ifdef HAVE_L6470DRIVER

[color=#7E7E7E]//  #define X_IS_L6470[/color]
  #define X_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define X_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define X_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define X_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define X2_IS_L6470[/color]
  #define X2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define X2_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define X2_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define X2_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define Y_IS_L6470[/color]
  #define Y_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define Y_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define Y_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define Y_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define Y2_IS_L6470[/color]
  #define Y2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps [/color]
  #define Y2_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define Y2_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define Y2_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall [/color]
  
[color=#7E7E7E]//  #define Z_IS_L6470[/color]
  #define Z_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define Z_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define Z_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define Z_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define Z2_IS_L6470[/color]
  #define Z2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define Z2_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define Z2_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define Z2_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define E0_IS_L6470[/color]
  #define E0_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define E0_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define E0_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define E0_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define E1_IS_L6470[/color]
  #define E1_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps [/color]
  #define E1_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define E1_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define E1_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define E1_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define E2_IS_L6470[/color]
  #define E2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps [/color]
  #define E2_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define E2_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define E2_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define E2_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
[color=#7E7E7E]//  #define E3_IS_L6470[/color]
  #define E3_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps   [/color]
  #define E3_MICROSTEPS 16     [color=#7E7E7E]//number of microsteps[/color]
  #define E3_K_VAL 50          [color=#7E7E7E]// 0 - 255, Higher values, are higher power. Be carefull not to go too high    [/color]
  #define E3_OVERCURRENT 2000  [color=#7E7E7E]//maxc current in mA. If the current goes over this value, the driver will switch off[/color]
  #define E3_STALLCURRENT 1500 [color=#7E7E7E]//current in mA where the driver will detect a stall[/color]
  
#endif

#include [color=#006699]"Conditionals.h"[/color]
#include [color=#006699]"SanityCheck.h"[/color]

#endif [color=#7E7E7E]//CONFIGURATION_ADV_H[/color]

Re: Problema al imprimir

Posted: Fri Jun 28, 2019 9:26 am
by Rush68
Gracias por la ayuda