Commit Graph

47 Commits

Author SHA1 Message Date
Marek Bel
af08e16426 Use stop_and_save_print_to_ram() and restore_print_from_ram_and_continue() pair to pause print from menu. Move declaration of those functions to marlin.h. Move declaration of FSensorStateMenu to ultralcd.h.
Known limitations: Filament is not retracted, extruder is not lifted in Z and moved to rear left corner in XY. Nozzle heating is not turned off nor restored. Unused code is not removed.
2018-09-04 08:13:56 +02:00
Marek Bel
cc0249126a Document fsensor_update, remove disabled code. 2018-08-15 21:36:23 +02:00
Marek Bel
1b299618c1 Fix compiler warnings: sketch/fsensor.cpp: In function 'void __vector_11()':
sketch/fsensor.cpp:370:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (pat9125_y > 0) if (fsensor_oq_yd_min > pat9125_y) fsensor_oq_yd_min = (fsensor_oq_yd_min + pat9125_y) / 2;
                                                  ^
sketch/fsensor.cpp:371:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (pat9125_y >= 0) if (fsensor_oq_yd_max < pat9125_y) fsensor_oq_yd_max = (fsensor_oq_yd_max + pat9125_y) / 2;
2018-08-02 14:13:29 +02:00
Marek Bel
25c00393ff Fix compiler warning sketch/fsensor.cpp:221:10: warning: unused variable 'fsensor_autoload_c_old' [-Wunused-variable] 2018-08-02 14:13:29 +02:00
Robert Pelnar
c2fe3b920c FSensor - chunk defined in mm, runout detection distance tunning 2018-08-01 01:24:35 +02:00
Robert Pelnar
9509a60549 FSensor improovement
autoload sensitivity decreased (false triggering on MK25)
filtering algorithm more robust
additional check - fixed sync with autoload and better condition
2018-07-31 20:23:31 +02:00
Robert Pelnar
7731898b58 FSensor - optical quality meassurement - ignore reflexivity for materials with low data deviation 2018-07-31 16:28:11 +02:00
Robert Pelnar
dd23835480 fsensor - fix - do not report poor filament response when disabled 2018-07-27 20:53:25 +02:00
Robert Pelnar
2f9003dbdd fsensor - better state handling 2018-07-26 19:50:33 +02:00
Robert Pelnar
60b4db15e0 FSensor - M600 fix + cond. translation + tunning filter and params 2018-07-22 16:14:13 +02:00
Robert Pelnar
c6a3f073dd FSensor - M600/autoload fix + optical quality meassurement 2018-07-21 17:04:29 +02:00
Robert Pelnar
980c044dac FSensor - code cleaning 2018-07-21 01:57:41 +02:00
Robert Pelnar
2e260aeccc FSensor - autoload fixed 2018-07-21 01:30:16 +02:00
Robert Pelnar
1309c52bcf FSensor - code cleaning + simplification
+ removed DEBUG_DISABLE_FSENSORCHECK
+ added FILAMENT_SENSOR
2018-07-20 23:48:00 +02:00
Robert Pelnar
0f91bf9527 FSensor - optical quality meassurement durring load filament 2018-07-20 20:30:08 +02:00
Robert Pelnar
fd9b9acf4e FSensor, code cleaning + optical quality meassurement 2018-07-20 14:03:22 +02:00
Robert Pelnar
5483bee885 FSensor - meassuring filament optical quality 2018-07-19 20:55:38 +02:00
Robert Pelnar
afb9ca4687 FSensor - removed fsensor blocking while load, added filament quality meassurement 2018-07-18 17:45:54 +02:00
Robert Pelnar
2c06cb68d1 FSensor tunning - filtering changed, chunk length = 0.64mm and MAX_ERR = 10 2018-07-17 20:04:12 +02:00
Robert Pelnar
19a72ef9eb LCD menu optimalization - LiquidCrystal_Prusa removed 2018-07-16 23:23:15 +02:00
MRprusa3d
4b295c4091 FilamentAutoload setting by shipping preparation 2018-07-11 20:45:56 +02:00
Robert Pelnar
8da2330b93 FSensor PAT9125 - i2c ACK check + two attempts in init function (PFW).
ultralcd_implementation_hitachi - fixed link
2018-04-11 16:03:54 +02:00
Robert Pelnar
363a9d24b3 LiquidCrystal class renamed to LiquidCrystal_Prusa 2018-03-29 17:50:43 +02:00
Robert Pelnar
e20ee149b0 filament sensor additional check after runout (3mm back, 3mm forward @200mm/min) 2018-01-31 21:10:41 +01:00
Robert Pelnar
daaac2fb88 fail stats 2018-01-30 19:49:40 +01:00
Robert Pelnar
cae68d9f6d Extruder resolution changed to 32usteps
build 151
2018-01-24 01:41:42 +01:00
bubnikv
44dc12005f Optimization of the filament sensor. 2018-01-23 16:47:42 +01:00
Robert Pelnar
aaf4e0a5e0 fixed bug - fsensor synchronization (b146) 2018-01-15 15:23:06 +01:00
Robert Pelnar
9aedaa8fe7 build 146
hard limits
fsensor overflow fix
2018-01-14 23:59:43 +01:00
PavelSindler
23b78da2f5 filament fails counter fixed 2018-01-12 20:21:07 +01:00
Robert Pelnar
546314fda7 Removed debug messages from serial comunication (octoprint...).
build 137b
2017-12-27 20:29:24 +01:00
XPila
257b8e9f59
Merge pull request #342 from XPila/MK3
Mk3 - RC3
2017-12-22 20:35:15 +01:00
Robert Pelnar
6abba7bfe9 filament autoload - better detection algorithm, autoload in M600 from menu
unload menu always visible
2017-12-22 20:14:26 +01:00
PavelSindler
1917b6a1d7 removed some serial line error messages which caused that octoprint changed status 2017-12-22 13:27:04 +01:00
PavelSindler
a9d5af4a07 Wizard: dont ask if color is clear and dont use automatic filament load; multiscreen messages update 2017-12-20 13:33:45 +01:00
Robert Pelnar
66e279b41c Autoload filament - fsensor error couter reset when switched. 2017-12-13 18:12:05 +01:00
Robert Pelnar
356bc403b1 Automatic filament load when printer idle and preheated 2017-12-13 17:39:32 +01:00
Robert Pelnar
7204e91ec6 Filament sensor not responding - (PFW-41)
build number = 130
2017-12-11 18:17:25 +01:00
Robert Pelnar
58f8fdb51b Automatic filament load in M600 2017-12-05 18:37:03 +01:00
Robert Pelnar
a56b0ccaf8 bugfix - Filament sensor enable from menu 2017-11-29 00:15:45 +01:00
Robert Pelnar
1863819e39 pat9125 reinit when fsensor enabled from menu. 2017-11-28 22:44:58 +01:00
PavelSindler
211725c946 dont show temp cal message, dont save uvlo flag to eeprom if printing from USB 2017-11-27 18:30:16 +01:00
Robert Pelnar
f2e9bdef24 Fsensor synchronization and triggering improved
Watchdog implemented (4s interval, triggered from manage_heater)
Stallguard sensitivity for XY decreased by 1
Extruder current adjusted to 5.5kg force
Build number = 111
2017-11-24 21:53:35 +01:00
Robert Pelnar
ef3e06da30 ... 2017-11-16 20:52:13 +01:00
Robert Pelnar
877c8a3978 TMC2130 configuration in eeprom (not finished).
Extruder and Z holding currents same as running currents.
M600 filament unload speed = 3500 (PFW-22).
FSensor - algorithm changed (reset error couter instead of decrement)
build number = 106
2017-10-30 15:45:29 +01:00
Robert Pelnar
cddb0eafb8 PAT9125 - sampled only Y value, new debug code D9125.
FSensor - synchronous sampling and new algorithm
build number = 103
2017-10-24 19:45:15 +02:00
Robert Pelnar
8734961e0e M114 now reports also actual extruder position,
PAT9125 HWI2C (Wire) support,
fsensor implementation into separate file
build number = 102
2017-10-22 22:42:45 +02:00