Commit Graph

563 Commits

Author SHA1 Message Date
PavelSindler
8ec3c0fd7e removed "Printer disconnected" message 2018-03-13 18:50:56 +01:00
PavelSindler
f45f206faf sorting files disabled in farm mode, start printer status needs reponse from monitoring 2018-03-13 18:50:11 +01:00
PavelSindler
ddeb7b8c84 statistics improved, initial version of function which forces user to connect printer to monitoring 2018-03-13 18:43:42 +01:00
XPila
a23ac6db7d
Merge pull request #550 from mkbel/safety_timer_MK3
Safety timer (disable heaters after 15min idle)
2018-03-13 15:03:45 +01:00
PavelSindler
98e96c9182
Merge pull request #457 from bubnikv/MK3_fast_dbg
Mk3 fast dbg
2018-03-13 14:13:29 +01:00
Marek Bel
6b08cdeaf1 Safety timer (disable heaters after 15min idle) 2018-03-12 23:45:10 +01:00
Robert Pelnar
66dc65ecd4 version changed 2018-03-09 14:15:47 +01:00
PavelSindler
d512c9c9c2 version changed 2018-03-08 14:48:01 +01:00
Robert Pelnar
976e5a6a19 Temperature calibration - remove steel 2018-03-07 21:45:55 +01:00
PavelSindler
abb9aa0a16 not using homing currents in axis selftest 2018-03-07 20:42:15 +01:00
PavelSindler
33a7723fba
Merge pull request #533 from bubnikv/M221_fix
Fix of a regression bug, caused by pre-calculating the extrudemultiply
2018-03-07 16:03:50 +01:00
bubnikv
fb4230f80d Fix of a regression bug, caused by pre-calculating the extrudemultiply
for precission and performance: calculate_extruder_multipliers()
has to be called after extrudemultiply is changed from the printer panel.
2018-03-07 15:46:46 +01:00
PavelSindler
15e7b88834
Merge pull request #528 from bubnikv/M221_fix
Fix of calculate_extrusion_multipliers().
2018-03-06 13:00:57 +01:00
bubnikv
fc3af0533a Fix of calculate_extrusion_multipliers().
This is a fix of a bug made in the previous commit.
2018-03-05 21:31:31 +01:00
bubnikv
a0bcfc7d95 Fix after merge (symbol calculate_volumetric_multipliers() renamed
to calculate_extruder_multipliers())
2018-03-05 19:28:57 +01:00
bubnikv
11e7eb27ee Merge remote-tracking branch 'remotes/origin/M221_fix' into MK3_fast_dbg 2018-03-05 19:13:07 +01:00
Marek Bel
7164e66e4d Remove Rpi port menu item for MK25. 2018-03-05 17:14:20 +01:00
PavelSindler
1f2c4fc5ad version changed 2018-03-01 15:52:53 +01:00
PavelSindler
644c4f771b
Merge pull request #509 from XPila/MK3
bugfix - beltstatus overflow
2018-03-01 14:49:13 +01:00
Robert Pelnar
fb8a28d120 bugfix - beltstatus overflow 2018-03-01 14:34:21 +01:00
PavelSindler
85bc19b77c force selftest if user upgraded from 3.1.2-RC1 or older fw version 2018-02-27 17:52:13 +01:00
PavelSindler
e2b835b881 version change 2018-02-23 17:53:15 +01:00
Robert Pelnar
4309c8951c fix - false fancheck error at end of print 2018-02-23 17:40:16 +01:00
Robert Pelnar
dfb1ffdba0 Merge remote-tracking branch 'upstream/MK3' into MK3-accurate_homming 2018-02-23 17:13:56 +01:00
Robert Pelnar
73b0349898 fix - Z movement speed in selftest
conditional translation for linearity correction and variable resolution
2018-02-23 16:31:24 +01:00
XPila
af5cfe76b5
Merge pull request #495 from XPila/MK3-accurate_homming
Accurate homing, fix - enabled after selftest.
2018-02-22 20:54:08 +01:00
Robert Pelnar
06da2bb915 Accurate homing, fix - enabled after selftest.
Experimantal menu - conditional translation.
2018-02-22 20:50:34 +01:00
PavelSindler
ae50a1a768 checking fan speed synchronized with block currently processed 2018-02-22 17:12:24 +01:00
PavelSindler
d020f48791
Merge pull request #485 from bubnikv/M221_fix
Unified the volumetric_multiplier with extrusion_multiply to improve
2018-02-22 14:17:09 +01:00
bubnikv
ba49c21f17 Unified the volumetric_multiplier with extrusion_multiply to improve
numeric accuracy and to reduce compuatitonal load. With this commit,
the numeric rounding is fixed not only for the M221 G-code
(as implemented by the preceding commit), but also for the volumetric
extrusion in general.

Removed the old FILAMENT_SENSOR code, which served the purpose
to modulate the volumetric multiplayer in real time depending
on the measured filament diameter. This feature will certainly not be
used by Prusa Research in the near future as we know of no sensor,
which would offer sufficient accuracy for a reasonable price.
2018-02-21 11:25:21 +01:00
XPila
74e6ff67d3
Merge pull request #482 from bubnikv/M221_fix
M221 fix
2018-02-20 19:10:07 +01:00
Robert Pelnar
66161062cf Homing accuracy calibration in selftest. 2018-02-20 19:02:55 +01:00
Robert Pelnar
e2e48bfd71 SD speed test (DEBUG)
homeaxis - fix set_destination_to_current
2018-02-20 18:50:20 +01:00
Robert Pelnar
d91dbc73c9 tmc2130 - optimalization, removed unused code 2018-02-20 17:06:37 +01:00
bubnikv
ee5949c56e Fix of a loss in precission when the extruder multiplier is set
with M221. For 50um layers, the precision loss leads to holes
in the print.
2018-02-20 15:30:18 +01:00
bubnikv
403ed26d47 Merge remote-tracking branch 'remotes/upstream/MK3' into MK3 2018-02-20 15:21:44 +01:00
Robert Pelnar
dff8c29362 Microstep linearity correction, optimized wave compression.
Correction factor can be adjusted from 0.9 to 1.25 by 0.005 steps.
2018-02-17 19:58:40 +01:00
Robert Pelnar
57499dc6a0 M350 for E axis (8, 16, 32, 64, 128 microsteps) 2018-02-15 15:40:49 +01:00
bubnikv
dd2468d306 Avoid the stepper interrupt being missed by extending the tick time
beyond the current time. This is a trick borrwed from upstream Marlin.

In debug mode, watch for the missed stepper interrupt ticks where the interrupts
are missed by more than 20% of the 10kHz stepper interrupt repeat rate,
and show the statistics (number of missed ticks and by how many micro
seconds was the interrupt missed, and what was the maximum missed
interrupt delay) on the display and send it to the serial line.
2018-02-15 11:44:19 +01:00
Robert Pelnar
79caf3d9c6 tmc2130 optimalization, accurate homing and microstep linearity correction
dcode D12 removed (no longer needed)
homeaxis optimized + xy home calibration support
new eeprom variables
new lcd menu edit types (byte3, mres, wfac), new menu "Experimental"
currents adjusted
2018-02-15 04:17:58 +01:00
PavelSindler
33aa3d5e7d commint nr 2018-02-05 16:56:31 +01:00
PavelSindler
3bd892135a erase eeprom section which belongs to M500 gcode in case that version was changed and default settings are used 2018-02-05 16:49:06 +01:00
bubnikv
2babbb3b11 Enabled linear advance. 2018-02-02 22:56:13 +01:00
bubnikv
9acd41a942 Reworked the stepper routine:
1) The computational load is spread more evenly along the stepper ISR
ticks by moving some of the timer and linear advance calculation from
the block initialization into the 1st tick of the steady phase
of the trapezoid.

2) Reworked planning of the Linear Advance ISR ticks to fit
the time slot allocated for the main stepper ISR tick. This is achieved
by grouping the Linear Advance extruder ticks by a power of two to tick
the Linear Advance interrupts at a maximum 7kHz. Also some
of the extruder ticks are performed just after the XYZ ticks
and if the remaining time slot for the Linear Advance ticks is too short,
all the Linear Advance steps are ticked inside the main stepper ISR invocation.

3) Added some calls to MSerial.checkRx() if the stepper ISR routine
is delayed for too long by the additional LinearAdvance ticks.

This implementation differs significantly from the original implementation
by @Sebastianv650, as this implementation tries to follow the exact
timing of the XYZ axes with the drawback of possibly ticking the extruder
faster than it could handle, while the original implementation
by @Sebastianv650 ticks the extruder slower with the drawback of possibly
spreading the XYZ ticks, thus introducing jerk in the cartesian movement.
2018-02-02 22:55:50 +01:00
bubnikv
9652cf2d5b Merge branch 'MK3' into MK3_fast_dbg 2018-02-02 20:51:57 +01:00
bubnikv
9379430f8c A bit of documentation. 2018-02-02 20:45:45 +01:00
bubnikv
c2950b01a6 Added macros for outputting serial data onto the logical analyzer line
at 2 megabaud, 9bits, 1 stop bit. At this high rate the serial output
takes next to no time, so it does not slow down the debugged firmware
too much, and the data is nicely aligned with the other debug signals
on the logical analyzer screen.
2018-02-02 20:42:09 +01:00
bubnikv
3b312a42f8 Adjusted the features for the debug buid:
Removed DEBUG_DISABLE_STARTMSGS. This macro defeats the purpose
of the build server and the build messages of the non-release builds.

Removed DEBUG_DUMP_TO_2ND_SERIAL for performance reasons.
2018-02-02 20:37:03 +01:00
bubnikv
485355274e Optimized the MarlinSerial class by declaring all methods static.
The MarlinSerial defines no member variable, though the AVR GCC
stored a "this" pointer onto stack when calling the non-static
methods anyway.
2018-02-02 20:25:19 +01:00
PavelSindler
36536044f4 version changed 2018-02-02 17:48:02 +01:00