Металл2024 Реклама
Метобр2024 Реклама

Нагрев стола

Glueer
Идет загрузка
Загрузка
29.05.2017
5535
8
Вопросы и ответы
Всем привет) Чет какая-то дичь происходит) Поставил новый марлин... стол стал греться рывками т.е не греться( Светодиод мигает( Откатился на старый( Со второго слоя надпись Sleep....

Новый марлин:

#define TEMP_SENSOR_0 1

#define TEMP_SENSOR_1 0

#define TEMP_SENSOR_2 0

#define TEMP_SENSOR_3 0

#define TEMP_SENSOR_4 0

#define TEMP_SENSOR_BED 1

// Dummy thermistor constant temperature readings, for use with 998 and 999

#define DUMMY_THERMISTOR_998_VALUE 25

#define DUMMY_THERMISTOR_999_VALUE 100

// Use temp sensor 1 as a redundant sensor with sensor 0. If the readings

// from the two sensors differ too much the print will be aborted.

//#define TEMP_SENSOR_1_AS_REDUNDANT

#define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10

// Extruder temperature must be close to target for this long before M109 returns success

#define TEMP_RESIDENCY_TIME 10 // (seconds)

#define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered 'close' to the target one

#define TEMP_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.

// Bed temperature must be close to target for this long before M190 returns success

#define TEMP_BED_RESIDENCY_TIME 10 // (seconds)

#define TEMP_BED_HYSTERESIS 3 // (degC) range of +/- temperatures considered 'close' to the target one

#define TEMP_BED_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.

// The minimal temperature defines the temperature below which the heater will not be enabled It is used

// to check that the wiring to the thermistor is not broken.

// Otherwise this would lead to the heater being powered on all the time.

#define HEATER_0_MINTEMP 5

#define HEATER_1_MINTEMP 5

#define HEATER_2_MINTEMP 5

#define HEATER_3_MINTEMP 5

#define HEATER_4_MINTEMP 5

#define BED_MINTEMP 5

// When temperature exceeds max temp, your heater will be switched off.

// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!

// You should use MINTEMP for thermistor short/failure protection.

#define HEATER_0_MAXTEMP 275

#define HEATER_1_MAXTEMP 275

#define HEATER_2_MAXTEMP 275

#define HEATER_3_MAXTEMP 275

#define HEATER_4_MAXTEMP 275

#define BED_MAXTEMP 150

//===========================================================================

//============================= PID Settings ================================

//===========================================================================

// PID Tuning Guide here: http://reprap.org/wiki/PID_Tuning

// Comment the following line to disable PID and enable bang-bang.

#define PIDTEMP

#define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current

#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current

#if ENABLED(PIDTEMP)

//#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD 'Temperature' menu to run M303 and apply the result.

//#define PID_DEBUG // Sends debug data to the serial port.

//#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX

//#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay

//#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)

// Set/get with gcode: M301 E[extruder number, 0-2]

#define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature

// is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.

#define K1 0.95 //smoothing factor within the PID

// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it

// Ultimaker

#define DEFAULT_Kp 22.2

#define DEFAULT_Ki 1.08

#define DEFAULT_Kd 114

// MakerGear

//#define DEFAULT_Kp 7.0

//#define DEFAULT_Ki 0.1

//#define DEFAULT_Kd 12

// Mendel Parts V9 on 12V

//#define DEFAULT_Kp 63.0

//#define DEFAULT_Ki 2.25

//#define DEFAULT_Kd 440

#endif // PIDTEMP

//===========================================================================

//============================= PID > Bed Temperature Control ===============

//===========================================================================

// Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis

//

// Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder.

// If your PID_dT is the default, and correct for your hardware/configuration, that means 7.689Hz,

// which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating.

// This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater.

// If your configuration is significantly different than this and you don't understand the issues involved, you probably

// shouldn't use bed PID until someone else verifies your hardware works.

// If this is enabled, find your own PID constants below.

#define PIDTEMPBED

//#define BED_LIMIT_SWITCHING

// This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option.

// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)

// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,

// so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED)

#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current

#if ENABLED(PIDTEMPBED)

//#define PID_BED_DEBUG // Sends debug data to the serial port.

//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)

#define DEFAULT_bedKp 10.00

#define DEFAULT_bedKi .023

#define DEFAULT_bedKd 305.4

//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)

//from pidautotune

//#define DEFAULT_bedKp 97.1

//#define DEFAULT_bedKi 1.41

//#define DEFAULT_bedKd 1675.16

// FIND YOUR OWN: 'M303 E-1 C8 S90' to run autotune on the bed at 90 degreesC for 8 cycles.

#endif // PIDTEMPBED

// @section extruder

// This option prevents extrusion if the temperature is below EXTRUDE_MINTEMP.

// It also enables the M302 command to set the minimum extrusion temperature

// or to allow moving the extruder regardless of the hotend temperature.

// *** IT IS HIGHLY RECOMMENDED TO LEAVE THIS OPTION ENABLED! ***

#define PREVENT_COLD_EXTRUSION

#define EXTRUDE_MINTEMP 170

// This option prevents a single extrusion longer than EXTRUDE_MAXLENGTH.

// Note that for Bowden Extruders a too-small value here may prevent loading.

#define PREVENT_LENGTHY_EXTRUDE

#define EXTRUDE_MAXLENGTH 200

//===========================================================================

//======================== Thermal Runaway Protection =======================

//===========================================================================

/**

* Thermal Protection protects your printer from damage and fire if a

* thermistor falls out or temperature sensors fail in any way.

*

* The issue: If a thermistor falls out or a temperature sensor fails,

* Marlin can no longer sense the actual temperature. Since a disconnected

* thermistor reads as a low temperature, the firmware will keep the heater on.

*

* If you get 'Thermal Runaway' or 'Heating failed' errors the

* details can be tuned in Configuration_adv.h

*/

#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders

#define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed
Ответы на вопросы
Кремень КБ Реклама
Кремень КМ Реклама