MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 117 forks source link

Bug: at start a message "Need Tune PID" No bed PID tuning menu #406

Closed Hans007a closed 6 years ago

Hans007a commented 6 years ago

After change to the version 4.3.5 i get at start a message "Need Tune PID" even though I set the right PID in the configuration_temperature.h.

And I set PID for the heater and bed and this worked for the v 4.3.4 without problems. In the menu on the display (RRGD 12864) I have only a PID heater set menu, but nothing for the bed!

My printers are cartesian und core xy, both with due & ramps_fd v1 and extern eeprom 24lc256

MagoKimbra commented 6 years ago

Fix!

boubouexpress commented 6 years ago

After change to the version 4.3.5 i get at start a message "Need Tune PID"

boubouexpress commented 6 years ago

/**

/**

/****

define CONFIGURATION_OVERALL

/***

/*****

/***

/*****

/* Below you will find the configuration string, that created with Configurator tool online marlinkimbra.it ========== Start configuration string ========== { "printer": "custom", "processor": 0, "serial": 0, "baudrates": 115200, "customname": "R2D2", "customconfig": "CR-10S", "machineuuid": "00000000-0000-0000-0000-000000000000", "notimeouts": 1000, "advancedok": "0", "killMethod": 0, "motherboards": "BOARD_RAMPS_13_HFB", "mechanism": 0, "power": "0", "defaultpower": "0", "delayafterpower": 5, "extruders": 1, "driverextruders": 1, "bed": "1", "chamber": "0", "cooler": "0", "tempunitsupport": "0", "dhtsupport": "0", "tempsensor0": "1", "tempsensor1": "0", "tempsensor2": "0", "tempsensor3": "0", "tempsensorbed": "4", "tempsensorchamber": "0", "tempsensorcooler": "0", "ad595offset": 0, "ad595gain": 1, "dummy998": 25, "dummy999": 25, "showadc": "0", "maxtemp0": 275, "maxtemp1": 275, "maxtemp2": 275, "maxtemp3": 275, "maxtempbed": 150, "maxtempchamber": 150, "maxtempcooler": 150, "mintemp0": 5, "mintemp1": 5, "mintemp2": 5, "mintemp3": 5, "mintempbed": 5, "mintempchamber": 5, "mintempcooler": 5, "plahotendtemp": 200, "plabedtemp": 60, "plafanspeed": 255, "abshotendtemp": 240, "absbedtemp": 90, "absfanspeed": 255, "gumhotendtemp": 230, "gumbedtemp": 60, "gumfanspeed": 255, "autotemp": "1", "autotempoldweight": 0.98, "heaterpwmspeed": 0, "bangmax": 255, "pidtemp": "1", "pidextrusionrate": "0", "pidkp0": 22.04, "pidki0": 1.52, "pidkd0": 79.9, "pidkc0": 100, "pidkp1": 40, "pidki1": 7, "pidkd1": 60, "pidkc1": 100, "pidkp2": 40, "pidki2": 7, "pidkd2": 60, "pidkc2": 100, "pidkp3": 40, "pidki3": 7, "pidkd3": 60, "pidkc3": 100, "pidbedtemp": "1", "maxbedpower": 255, "pidbedkp": 386.11, "pidbedki": 22.49, "pidbedkd": 1657.27, "pidchambertemp": "0", "maxchamberpower": 255, "pidchamberkp": 10, "pidchamberki": 1, "pidchamberkd": 305, "pidcoolertemp": "0", "fastpwmcooler": "0", "maxcoolerpower": 255, "pidcoolerkp": 10, "pidcoolerki": 1, "pidcoolerkd": 305, "invertedheaterpins": "0", "invertedbedpin": "0", "invertedchamberpin": "0", "invertedcoolerpin": "0", "thermalprotectionhotend": "1", "thermalprotectionperiod": 40, "thermalprotectionhysteresis": 4, "thermalprotectionbed": "1", "thermalprotectionbedperiod": 20, "thermalprotectionbedhysteresis": 2, "thermalprotectionchamber": "0", "thermalprotectionchamberperiod": 20, "thermalprotectionchamberhysteresis": 2, "thermalprotectioncooler": "0", "thermalprotectioncoolerperiod": 20, "thermalprotectioncoolerhysteresis": 2, "uiprintername": "CR-10 5S", "Xminendstop": "0", "Xmaxendstop": "0", "Yminendstop": "0", "Ymaxendstop": "0", "Zminendstop": "0", "Zmaxendstop": "0", "Z2minendstop": "0", "Z2maxendstop": "0", "Z3minendstop": "0", "Z3maxendstop": "0", "Z4minendstop": "0", "Z4maxendstop": "0", "Zprobeendstop": "0", "Eminendstop": "0", "Xhoming": 0, "Yhoming": 0, "Zhoming": 0, "Ehoming": 0, "Xinvertenable": 0, "Yinvertenable": 0, "Zinvertenable": 0, "Einvertenable": 0, "Xinvertstep": "0", "Yinvertstep": "0", "Zinvertstep": "0", "Einvertstep": "0", "Xinvertdir": "0", "Yinvertdir": "0", "Zinvertdir": "1", "E0invertdir": "0", "E1invertdir": "0", "E2invertdir": "0", "E3invertdir": "0", "E4invertdir": "0", "E5invertdir": "0", "disableX": "1", "disableY": "1", "disableZ": "1", "disableE": "1", "Xmaxpos": 500, "Xminpos": 0, "Ymaxpos": 500, "Yminpos": 0, "Zmaxpos": 500, "Zminpos": 0, "Zsafehoming": "0", "ZsafehomingX": 150, "ZsafehomingY": 150, "Zminheightbeforehoming": 0, "Zprobetype": 0, "Zprobesledoffset": 5, "Xprobeoffset": 0, "Yprobeoffset": 0, "Zprobeoffset": -1.5, "xyprobespeed": 8000, "zprobespeed": 3600, "zprobespeedfast": 200, "zprobespeedslow": 120, "zprobingrepeat": "0", "Zproberepetitions": 1, "Zraiseprobedeploystow": 15, "Zraisebetweenprobe": 10, "lcdbedlevel": "0", "lcdzstep": 0.025, "lcdprobezrange": 4, "levelingfadeheight": "0", "bedlevel": 0, "meshinset": 10, "meshg28rest": "0", "maxgridpointX": 5, "maxgridpointY": 5, "leftprobe": 40, "rightprobe": 260, "backprobe": 260, "frontprobe": 40, "Xprobe1": 15, "Yprobe1": 180, "Xprobe2": 15, "Yprobe2": 15, "Xprobe3": 180, "Yprobe3": 15, "manualhomepos": "0", "bedcenter00": "0", "Xhomepos": 0, "Yhomepos": 0, "Zhomepos": 0, "Xstepspermm": 80, "Ystepspermm": 80, "Zstepspermm": 400, "E0stepspermm": 93, "E1stepspermm": 625, "E2stepspermm": 625, "E3stepspermm": 625, "E4stepspermm": 625, "E5stepspermm": 625, "Xmaxspeed": 300, "Ymaxspeed": 300, "Zmaxspeed": 5, "E0maxspeed": 25, "E1maxspeed": 100, "E2maxspeed": 100, "E3maxspeed": 100, "E4maxspeed": 100, "E5maxspeed": 100, "Xmanualspeed": 50, "Ymanualspeed": 50, "Zmanualspeed": 4, "Emanualspeed": 1, "minimumspeed": 0, "minimumtravelspeed": 0, "minimumplannerspeed": 0.05, "Xmaxacceleration": 500, "Ymaxacceleration": 300, "Zmaxacceleration": 100, "E0maxacceleration": 5000, "E1maxacceleration": 3000, "E2maxacceleration": 3000, "E3maxacceleration": 3000, "E4maxacceleration": 3000, "E5maxacceleration": 3000, "E0retractacceleration": 500, "E1retractacceleration": 10000, "E2retractacceleration": 10000, "E3retractacceleration": 10000, "E4retractacceleration": 10000, "E5retractacceleration": 10000, "defaultacceleration": 300, "defaulttravelacceleration": 1000, "disableddoublequadstepping": "0", "stepperpulse": 0, "maxXjerk": 20, "maxYjerk": 10, "maxZjerk": 0.4, "maxE0jerk": 5, "maxE1jerk": 5, "maxE2jerk": 5, "maxE3jerk": 5, "maxE4jerk": 5, "maxE5jerk": 5, "Xhomingspeed": 50, "Yhomingspeed": 50, "Zhomingspeed": 4, "XbumpMM": 5, "YbumpMM": 5, "ZbumpMM": 2, "Xbumpdivisor": 5, "Ybumpdivisor": 5, "Zbumpdivisor": 2, "hotendoffsetXE1": 0, "hotendoffsetXE2": 0, "hotendoffsetXE3": 0, "hotendoffsetYE1": 0, "hotendoffsetYE2": 0, "hotendoffsetYE3": 0, "hotendoffsetZE1": 0, "hotendoffsetZE2": 0, "hotendoffsetZE3": 0, "deltasegmentpersecond": 200, "deltadiagonalrod": 220, "deltasmoothrodoffset": 145, "deltaeffectoroffset": 20, "deltacarriageoffset": 20, "deltaprinterradius": 70, "deltaheight": 210, "towerAendstop": 0, "towerBendstop": 0, "towerCendstop": 0, "towerAangle": 0, "towerBangle": 0, "towerCangle": 0, "towerAradius": 0, "towerBradius": 0, "towerCradius": 0, "towerAdiagonalrod": 0, "towerBdiagonalrod": 0, "towerCdiagonalrod": 0, "deltaautoprecision": 0.1, "deltaautogrid": 7, "deltaXdeploystart": 0, "deltaYdeploystart": 0, "deltaZdeploystart": 30, "deltaXdeployend": 0, "deltaYdeployend": 0, "deltaZdeployend": 30, "deltaXretractstart": 0, "deltaYretractstart": 0, "deltaZretractstart": 30, "deltaXretractend": 0, "deltaYretractend": 0, "deltaZretractend": 0, "deltaautocalibration": 0, "deltahomesafezone": "1", "deltahomeonpower": "0", "fanpwmspeed": 0, "fankickstarttime": 0, "fanminpwm": 0, "autofan0": -1, "autofan1": -1, "autofan2": -1, "autofan3": -1, "autofan4": -1, "autofan5": -1, "Ecoolertemp": 50, "Ecoolerspeed": 255, "Ecoolerminspeed": 0, "defaultfilamentdia": 1.75, "dangerousextrude": "1", "extrudemintemp": 170, "lengthextrude": "1", "extrudemaxlenght": 400, "singlenozzle": "0", "baricuda": "0", "colormixingextruder": "0", "mixingsteppers": "2", "virtualtools": 16, "mkr4": "0", "invertrelepin": "0", "E0E1pin": -1, "E0E2pin": -1, "E1E3pin": -1, "mkr6": "0", "mkr12": "0", "EX1pin": -1, "EX2pin": -1, "dondolo": "0", "dondolodualmotor": "0", "dondoloservo": 0, "dondoloservoe0": 120, "dondoloservoe1": 10, "dondolodelay": 1000, "workspace": "0", "softwareminendstop": "1", "softwaremaxendstop": "1", "endstoponlyforhome": "1", "abortendstophit": "0", "abortendstophitinit": "1", "servos": "0", "numservos": 0, "Zservo": -1, "angleextendservosZ": 0, "angleretractservosZ": 0, "servodeactivate": "0", "servodeactivatedelay": 300, "Xtwostepper": "0", "X2vsXdir": "0", "Ytwostepper": "0", "Y2vsYdir": "0", "Zplusstepper": "0", "Ztwoendstop": "0", "Zthreeendstop": "0", "Zfourendstop": "0", "extencoder": "0", "extencodererrorstep": 500, "extencoderminstep": 10, "filamentsensor": "0", "filamentsensorextruder": 0, "filamentsensormaxdia": 2, "filamentsensormindia": 1.35, "filamentsensordia": 1.75, "filamentsensorlcd": "0", "filamentrunout": "0", "filamentrunoutdav": "0", "filamentrunoutpininverting": "0", "filamentrunoutpullup": "1", "filamentrunoutscript": "M600", "powerconsumption": "0", "dooropen": "0", "doorendstop": "0", "powercheck": "0", "powercheckendstop": "0", "caselight": "0", "caselightinvert": "0", "caselightdefault": "0", "caselightbrightness": 255, "eeprom": "1", "eepromsd": "0", "eepromchitchat": "1", "sdsupport": "1", "sdslow": "0", "sdextraslow": "0", "sddisableddetect": "1", "sddetectinverted": "0", "sdsetting": "1", "lcdlanguages": "fr", "encoderpulsesstep": 4, "encoderstepmenu": 1, "invertclickbutton": "0", "invertbackbutton": "0", "invertrotaryswitch": "0", "invertmenudirection": "0", "displays": 5, "nextion_port": 1, "nextionGFX": "0", "lcdprogressbar": 0, "lcdprogressbarbartime": 3, "lcdprogressbarmsgtime": 1, "lcdprogressbarmsgexpire": 0, "laserbeam": "0", "lasercontrol": 1, "laserfocus": "0", "laserraster": "0", "rfidmodule": "0", "rfidserial": 1, "rgbled": "0", "rgbwled": "0", "pca9632": "0", "neopixelled": "0", "neopixeltype": "NEO_GRB", "neopixelpixels": 16, "eventled": "0", "usemicrostep": "0", "Xmicrostep": 16, "Ymicrostep": 16, "Zmicrostep": 16, "Emicrostep": 16, "Xcurrent": 1000, "Ycurrent": 1000, "Zcurrent": 1000, "E0current": 1000, "E1current": 1000, "E2current": 1000, "E3current": 1000, "E4current": 1000, "E5current": 1000, "toshiba": "0", "jsonoutput": "0", "testmode": "0", "inchmodesupport": "0", "blockbuffersize": 16, "bufsize": 4, "nozzlecleanfeature": "0", "nozzlecleanstrokes": 12, "nozzlecleantriangle": 3, "nozzlecleanstart_x": 30, "nozzlecleanstart_y": 30, "nozzlecleanstart_z": 1, "nozzlecleanend_x": 100, "nozzlecleanend_y": 60, "nozzlecleanend_z": 1, "nozzlecleangoback": "1", "nozzleparkfeature": "1", "nozzleparkXpos": 10, "nozzleparkYpos": 10, "nozzleparkZpos": 20, "nozzleparkXYfr": 100, "nozzleparkZfr": 5, "filamentchangeenable": "1", "filamentchangeretract": 4, "filamentchangeretractfr": 60, "filamentchangeunload": 420, "filamentchangeunloadfr": 8, "filamentchangeload": 0, "filamentchangeloadfr": 0, "filamentchangeextrude": 50, "filamentchangeextrudefr": 3, "filamentchangeunloadretract": 13, "filamentchangeunloadretractdelay": 5000, "filamentchangeunloadretractpurge": 8, "filamentchangenozzletimeout": 120, "filamentchangeprinteroff": 5, "filamentchangenumberbeep": 6, "filamentchangenosteppertimeout": "1", "filamentchangeparkheadonpause": "1", "filamentchangehomebefore": "1", "filamentchangegcodes": "0", "filamentchangeallextruder": "0", "Xmotor": { "name": "X motor", "step": "ORIG_X_STEP_PIN", "dir": "ORIG_X_DIR_PIN", "enable": "ORIG_X_ENABLE_PIN" }, "Ymotor": { "name": "Y motor", "step": "ORIG_Y_STEP_PIN", "dir": "ORIG_Y_DIR_PIN", "enable": "ORIG_Y_ENABLE_PIN" }, "Zmotor": { "name": "Z motor", "step": "ORIG_Z_STEP_PIN", "dir": "ORIG_Z_DIR_PIN", "enable": "ORIG_Z_ENABLE_PIN" }, "X2motor": { "name": "Extruder 1", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "Y2motor": { "name": "Extruder 1", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "Z2motor": { "name": "Extruder 1", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "Z3motor": { "name": "Extruder 2", "step": "ORIG_E2_STEP_PIN", "dir": "ORIG_E2_DIR_PIN", "enable": "ORIG_E2_ENABLE_PIN" }, "Z4motor": { "name": "Extruder 3", "step": "ORIG_E3_STEP_PIN", "dir": "ORIG_E3_DIR_PIN", "enable": "ORIG_E3_ENABLE_PIN" }, "E0motor": { "name": "Extruder 0", "step": "ORIG_E0_STEP_PIN", "dir": "ORIG_E0_DIR_PIN", "enable": "ORIG_E0_ENABLE_PIN" }, "E1motor": { "name": "Extruder 1", "step": "ORIG_E1_STEP_PIN", "dir": "ORIG_E1_DIR_PIN", "enable": "ORIG_E1_ENABLE_PIN" }, "E2motor": { "name": "Extruder 2", "step": "ORIG_E2_STEP_PIN", "dir": "ORIG_E2_DIR_PIN", "enable": "ORIG_E2_ENABLE_PIN" }, "E3motor": { "name": "Extruder 3", "step": "ORIG_E3_STEP_PIN", "dir": "ORIG_E3_DIR_PIN", "enable": "ORIG_E3_ENABLE_PIN" }, "E4motor": { "name": "Extruder 4", "step": "ORIG_E4_STEP_PIN", "dir": "ORIG_E4_DIR_PIN", "enable": "ORIG_E4_ENABLE_PIN" }, "E5motor": { "name": "Extruder 5", "step": "ORIG_E5_STEP_PIN", "dir": "ORIG_E5_DIR_PIN", "enable": "ORIG_E5_ENABLE_PIN" }, "heater0pin": "ORIG_HEATER_0_PIN", "heater1pin": "ORIG_HEATER_1_PIN", "heater2pin": "ORIG_HEATER_2_PIN", "heater3pin": "ORIG_HEATER_3_PIN", "heaterbedpin": "ORIG_HEATER_BED_PIN", "heaterchamberpin": "NoPin", "heatercoolerpin": "NoPin", "temp0pin": "ORIG_TEMP_0_PIN", "temp1pin": "ORIG_TEMP_1_PIN", "temp2pin": "ORIG_TEMP_2_PIN", "temp3pin": "ORIG_TEMP_3_PIN", "tempbedpin": "ORIG_TEMP_BED_PIN", "tempchamberpin": "NoPin", "tempcoolerpin": "NoPin", "Xminpin": "ORIG_X_MIN_PIN", "Xmaxpin": "ORIG_X_MAX_PIN", "Yminpin": "ORIG_Y_MIN_PIN", "Ymaxpin": "ORIG_Y_MAX_PIN", "Zminpin": "ORIG_Z_MIN_PIN", "Zmaxpin": "ORIG_Z_MAX_PIN", "Z2minpin": "NoPin", "Z2maxpin": "NoPin", "Z3minpin": "NoPin", "Z3maxpin": "NoPin", "Z4minpin": "NoPin", "Z4maxpin": "NoPin", "Zprobepin": "NoPin", "fanpin": "ORIG_FAN0_PIN", "fan1pin": "ORIG_FAN1_PIN", "fan2pin": "ORIG_FAN2_PIN", "fan3pin": "ORIG_FAN3_PIN", "fan4pin": "ORIG_FAN4_PIN", "fan5pin": "ORIG_FAN5_PIN", "PSONpin": "ORIG_PS_ON_PIN", "beeperpin": "ORIG_BEEPER_PIN", "E0encoderpin": "NoPin", "E1encoderpin": "NoPin", "E2encoderpin": "NoPin", "E3encoderpin": "NoPin", "E4encoderpin": "NoPin", "E5encoderpin": "NoPin", "filamentsensorpin": "NoPin", "flowmeterpin": "NoPin", "filrunoutdavpin": "NoPin", "filrunoutpin": "NoPin", "filrunoutpin1": "NoPin", "filrunoutpin2": "NoPin", "filrunoutpin3": "NoPin", "filrunoutpin4": "NoPin", "filrunoutpin5": "NoPin", "laserpwrpin": "ORIG_LASER_PWR_PIN", "laserpwmpin": "ORIG_LASER_PWM_PIN", "laserperipheralspin": "NoPin", "laserperipheralsstatuspin": "NoPin", "cncrouterpin": "NoPin", "powerconsumptionpin": "NoPin", "doorpin": "NoPin", "powercheckpin": "NoPin", "caselightpin": "NoPin", "rgbledRpin": "NoPin", "rgbledGpin": "NoPin", "rgbledBpin": "NoPin", "rgbledWpin": "NoPin", "neopixelpin": "NoPin", "dhtdatapin": "NoPin", "END_DATA": 0 } ========== End configuration string ========== */

MagoKimbra commented 6 years ago

It's normal for force pid tune and save in eeprom the new value...

boubouexpress commented 6 years ago

?

MagoKimbra commented 6 years ago

To force the pid tuning I put a variable that at the beginning is false and after tuning or after entering the pid values with 301 it is put to true and saved in eeprom, at which point they will no longer be requested.