Commit graph

384 commits

Author SHA1 Message Date
Scott Lahteine cd85fa3abe Better choice of code
Followup to #19344
2020-09-14 02:22:44 -05:00
Neskik 1917ed8741
M872 wait for probe temperature (#19344) 2020-09-11 22:51:19 -05:00
Scott Lahteine a445746a8b Clean up LCD conditionals, DWIN 2020-09-06 23:21:42 -05:00
swissnorp a12ac5e175
Mark axes not-homed with HOME_AFTER_DEACTIVATE (#18907) 2020-08-27 16:05:53 -05:00
Scott Lahteine 462d3eeab1 set_axis_not_trusted => set_axis_never_homed 2020-08-27 14:49:00 -05:00
Scott Lahteine 4955aa5b78 Prusa => Průša 2020-08-26 02:15:50 -05:00
Giuliano Zaro 6b549e1971
Optional homing in LCD Repeatability Test (#19104) 2020-08-21 21:20:30 -05:00
Scott Lahteine b3ca43fe78 Use uintptr_t for pointer-to-int 2020-08-07 19:31:05 -05:00
Scott Lahteine d69c2a90b7 Simple rename of hex_print 2020-08-06 04:07:59 -05:00
Scott Lahteine 73ce80af3a In G28 Z is sort-of known 2020-07-29 20:59:21 -05:00
Scott Lahteine 95f990a656 Fix UNKNOWN_Z_NO_RAISE in G28
Bug introduced in 73fc0778b8
2020-07-29 20:43:48 -05:00
InsanityAutomation c5ec80d6c7
G425/G35 menu items; G425 pre- and post- scripts (#18737) 2020-07-24 23:31:15 -05:00
Diego von Deschwanden 42fbd527f3
Fix links to secure sites (#18745) 2020-07-22 22:20:14 -05:00
Scott Lahteine 73fc0778b8
Consolidate probe clearance, add section debug (#18576)
* Better section / function log
* Add do_z_clearance motion function
2020-07-08 21:44:21 -05:00
Scott Lahteine a6b8b12a6a Simplify home_z_safely, respect HOME_AFTER_DEACTIVATE 2020-07-05 18:01:28 -05:00
Scott Lahteine c43bbcce15
Enforce sensor range for temperature target (#18465)
* Mitigate stepper timeout

* Add CHAMBER PWM code

* Structured thermistor tables

* Fix reversed sensor ranges

* Prevent temps outside sensor range
2020-07-01 16:27:28 -05:00
Scott Lahteine 48151d1778 ClosedLoop as singleton 2020-06-28 14:35:23 -05:00
Fabio Santos 29753baeee
Adjustable delta_diagonal_rod_trim (#18423) 2020-06-27 23:53:44 -05:00
Scott Lahteine f4c258dc23
Creality Ender 3 v2 (#17719) 2020-06-16 01:45:27 -05:00
rudihorn 3bf990ec34
PTC: Extend options, fix probing bugs (#18253) 2020-06-10 18:25:17 -05:00
Luu Lac eda2fd8dbe
Improvements for Laser / Spindle (#17661) 2020-06-08 00:47:31 -05:00
MoellerDi fcb8c5a1c1
Fix G34 move in wrong direction (#18188) 2020-06-04 19:09:01 -05:00
Scott Lahteine 5f9624f70b Ensure XY known for Z safe homing
Addressing #18143
2020-06-02 19:13:01 -05:00
Scott Lahteine a1f3d2f3cd Move set_all_z_lock to Stepper 2020-06-02 02:37:33 -05:00
Scott Lahteine 7628895ac8 Apply misc TERN 2020-05-30 22:34:30 -05:00
Gurmeet Athwal a4c981469e
Extended reporting options (#16741) 2020-05-05 23:34:04 -05:00
Scott Lahteine 2d758663db
G12 E soft endstops parameter (#17788) 2020-04-29 03:25:35 -05:00
Scott Lahteine 8b3c7dda75 Add HAS_FAN and others 2020-04-27 05:07:08 -05:00
Scott Lahteine ab2b98e425 Apply composite tests 2020-04-23 21:53:52 -05:00
Scott Lahteine 19873f04d4 Fix M100 compile warning 2020-04-22 18:53:40 -05:00
Scott Lahteine 6d90d1e1f5
Apply TERN to compact code (#17619) 2020-04-22 16:35:03 -05:00
Scott Lahteine 15f6f53638 Add HAS_HOTEND, etc. 2020-04-20 00:12:22 -05:00
Scott Lahteine 3a42b6c5c6 Patch M425 for CAN_CALIBRATE
Fixes #17430
2020-04-17 10:24:27 -05:00
Scott Lahteine ac7b484703 Safe homing: Raise Z on G28 Z (#17501)
Co-Authored-By: RFBomb <robbery525@gmail.com>
2020-04-12 14:58:58 -05:00
Tor-p d6f39a69af
Fix G76 probe height / position (#17392) 2020-04-06 15:32:06 -05:00
Scott Lahteine 0e06aaa2bc Add millis helper macros 2020-04-04 02:48:30 -05:00
Scott Lahteine 53fe572bbd
Limited backlash editing with Core kinematics (#17281) 2020-03-27 22:00:27 -05:00
Giuliano Zaro 3b987dfcec
Fix G34 Z lower, extra "BLTOUCH" debug line (#17175) 2020-03-15 18:23:24 -05:00
InsanityAutomation cee07f3f6b
Quad Z leveling, G34 (R)ecalculate (#17122) 2020-03-13 23:22:04 -05:00
Scott Lahteine 118bd2f8b2
Apply loop shorthand macros (#17159) 2020-03-13 23:18:16 -05:00
Scott Lahteine 6bead0c1b0
Shorter paths to HAL, ExtUI (#17156) 2020-03-13 16:29:29 -05:00
Jason Smith 9c759e5f74
Fix BAUD_RATE_GCODE, etc. (#17135) 2020-03-12 19:26:09 -05:00
jufimu12 627aa8db2d
Fix G34, add HOME_AFTER_G34 option (#17108)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
2020-03-10 20:00:26 -05:00
Scott Lahteine 2a71e4f336 Revert that wack backoff 2020-03-07 23:10:56 -06:00
Scott Lahteine 64d092935b
More useful ENABLED / DISABLED macros (#17054) 2020-03-07 22:20:41 -06:00
Scott Lahteine 5171e9da93 No more direct G28 calls 2020-03-02 21:01:58 -06:00
jufimu12 ad4a9eb73a
Fix G34 probing range/error bug (#17052) 2020-03-02 13:35:02 -06:00
Scott Lahteine c4db8e49a7 XYZ_CHAR macro 2020-03-01 14:36:06 -06:00
jufimu12 ac755fce82
Fix G34 "Decreasing accuracy" bug (#17013)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
2020-02-28 11:42:51 -06:00
Scott Lahteine 97e87d8262
Fix G76 reachable test (#17005) 2020-02-27 22:47:44 -06:00
Scott Lahteine bfbd976c09 General G76 cleanup 2020-02-27 07:53:24 -06:00
Scott Lahteine a75a25cd7c Replace direct call to G28(true) 2020-02-27 07:48:34 -06:00
Scott Lahteine 77b82d300a Add idle_no_sleep 2020-02-27 06:45:33 -06:00
Scott Lahteine e5d39063a2 Cleanups for PTC 2020-02-27 06:45:23 -06:00
Scott Lahteine be62ab2d02 Move reachable test to Probe class 2020-02-27 06:16:33 -06:00
Scott Lahteine 025c50cc6d
Quick-homing sensorless back-off (#16872) 2020-02-26 06:50:13 -06:00
Scott Lahteine cf597e2bb1 Allow weird probe values in G33 2020-02-26 05:33:57 -06:00
Scott Lahteine e78f607ef3 Use a STR_ prefix for non-translated strings 2020-02-26 03:02:03 -06:00
Scott Lahteine 7bf2190f03 Fix CALIBRATION_GCODE pin handling 2020-02-04 08:32:43 -06:00
Scott Lahteine bfad23d3e2 (c) 2020 2020-02-03 08:00:57 -06:00
Scott Lahteine 72b4d91d2e
Add Z_AFTER_HOMING to raise Z more in G28 (#16755) 2020-02-02 00:02:30 -06:00
Scott Lahteine 4716dac874
Apply REPEAT, RREPEAT, and loop macros (#16757) 2020-02-01 21:00:53 -06:00
InsanityAutomation e58d1bf974
G34 automatic point assignment (#16473) 2020-02-01 04:50:44 -06:00
Scott Lahteine 90b6324563
Encapsulate probe as singleton class (#16751) 2020-02-01 04:21:36 -06:00
Scott Lahteine 50889c0f94
Move L64XX index_to_axis to progmem (#16697) 2020-01-30 03:24:23 -06:00
Radek Pietruszewski e6a675e6ec
Fix missing string for M48 build (#16708) 2020-01-30 03:13:31 -06:00
Neskik 1db9d9f76f
Fix probe temp calibration (#16718) 2020-01-30 03:00:38 -06:00
InsanityAutomation 0fcf2b1110 Quad Z stepper support (#16277) 2020-01-19 23:35:07 -06:00
Scott Lahteine 707349d492 Updates for L64XX 2020-01-19 19:53:12 -06:00
tompe-proj a338dce83f PINDA v2 temperature sensor / compensation (#16293) 2020-01-17 17:16:45 -06:00
Bob Kuhn 1ad53cee1f Improved STMicro L64XX stepper driver support (#16452) 2020-01-13 18:47:30 -06:00
Scott Lahteine 95046c9047 Extend SERIAL_CHAR to take multiple arguments 2020-01-08 18:36:47 -06:00
Jason Smith 3cade6245e Fix MIN_PROBE_EDGE bug in default ABL G29 (#16367) 2020-01-03 17:46:26 -06:00
Dirk O. Kaar d0e1166cce Fix Visual Micro "Arduino IDE for Visual Studio" support (#16418) 2020-01-02 19:01:38 -06:00
randellhodges 0b6c2d893e Fix G34 with Z_DUAL_STEPPER_DRIVERS compile (#16274) 2019-12-20 22:03:37 -06:00
Scott Lahteine deff538909 Fix broken M100_dump_routine 2019-12-19 21:02:14 -06:00
Scott Lahteine b49a0e39d5 HOME_USING_SPREADCYCLE is obsolete
Co-Authored-By: teemuatlut <teemu.mantykallio@live.fi>
2019-12-19 16:02:57 -06:00
Moshi Binyamini dcdaa2025f Sanity-check Z_STEPPER_AUTO_ALIGN coordinates (#16231) 2019-12-19 00:59:01 -06:00
Scott Lahteine 0400783444 Tweak G34, fix a declaration 2019-12-19 00:42:39 -06:00
danym21 6e8dcba698 Fix G28 debug line, M569 calls (#16213) 2019-12-15 12:00:00 -06:00
Scott Lahteine f83bc0aa13 Optimize common strings
Saves 128 bytes in testing with `mftest mega 1 -y`
2019-11-29 22:54:42 -06:00
Jason Smith b904ba0f29 Improve Delta probing / calibration (#15887) 2019-11-21 03:26:00 -06:00
Evgeny-SPB 7116a8645c G34 logic / typo fix (#15938) 2019-11-19 23:25:07 -06:00
Roxy-3D f19fa64e98
Eliminate multiple settings to extruder_duplication_enabled in G28
If the IDEX mode was previously set (via GCode or the LCD Panel) to a duplication mode...   It was lost after a G28 due to this redundant setting of 'extruder_duplication_enabled'. 

It is very important to the various use cases of IDEX machines that extruder_duplication_enabled is preserved across a G28.   The reason is this allows a person to use the LCD Panel to put the machine into a duplication mode, and then send a 'normal' part file to the printer and get two parts out of the process.
2019-11-15 15:42:01 -06:00
danym21 28e1614c2e Add Sensorless Homing current (#15690) 2019-11-10 18:45:06 -06:00
Jason Smith 770adcfa15 Raise Z before homing X/Y on unknown Z (#15859) 2019-11-10 16:21:20 -06:00
Jacob Jordan 9895e6d766 Only use slow homing speed where applicable (#15640) 2019-10-24 13:14:45 -05:00
Scott Lahteine cd3ec5a77b Add error-check to M422 2019-10-24 12:59:50 -05:00
Jason Smith 832cb7e1ac Z_STEPPER_AUTO_ALIGN — To align with Z stepper points (#15195) 2019-10-16 13:39:58 -05:00
Marcio Teixeira 6a865a6146 Multi-language support (#15453) 2019-10-09 19:46:10 -05:00
Scott Lahteine f307ff68f7 Multiply by float, not double 2019-09-29 17:25:27 -05:00
Alex Somesan 10bbed7f69 Fix comma/semicolon typo (#15420) 2019-09-29 16:50:53 -05:00
Scott Lahteine 50e4545255
Add custom types for position (#15204) 2019-09-29 04:25:39 -05:00
Scott Lahteine 455dabb183
Add a feedRate_t data type (#15349) 2019-09-26 01:28:09 -05:00
Robby Candra 9c288a682d Followup to probe_at_point change (#15342) 2019-09-25 02:29:10 -05:00
Scott Lahteine 5288c399ce Patch probe offset name, defines 2019-09-24 23:39:23 -05:00
Scott Lahteine 4e8d9fe59b zprobe_offset => probe_offset 2019-09-24 23:36:09 -05:00
InsanityAutomation df1e51258a Add M851 X Y probe offsets (#15202) 2019-09-24 21:29:21 -05:00
Scott Lahteine 5e13fe989f Rename some feedrate-oriented functions 2019-09-23 22:36:41 -05:00
Scott Lahteine 13d725d24d Tweak debug messages 2019-09-20 23:35:22 -05:00
Scott Lahteine b71a755a30 Add float suffix in G33 2019-09-17 23:30:27 -05:00
Scott Lahteine c353eaa146
Misc changes from struct refactor (#15289) 2019-09-17 18:16:28 -05:00
Scott Lahteine 465c6d9230
Simpler Allen Key config. Fixes, cleanups from refactor (#15256) 2019-09-14 03:05:10 -05:00
Scott Lahteine f9992c5f33 Implausible 2019-09-11 02:52:14 -05:00
Giuliano Zaro 9958f5e322 Home on G34 if steppers slept (#15127) 2019-09-02 02:44:48 -05:00
Luu Lac 081e4506ca Fix G53 as prefix, G28 with CNC_COORDINATE_SYSTEMS (#15069) 2019-08-28 04:20:28 -05:00
Marcio Teixeira 274934ad81 Add LULZBOT_TOUCH_UI (#14967) 2019-08-16 18:34:13 -05:00
Scott Lahteine c8e30b6639
Fix code attempting to sprintf %f (#14869)
Arduino doesn't (always) support `float` formatting in strings. So either cast to `int` or use `dtostrf()` to fix these usages.
2019-08-08 01:51:37 -05:00
Acenotass 4af9908764 Update M48 command in the status line (#14816) 2019-08-05 20:01:40 -05:00
teemuatlut d4974ea719 TMC SPI Endstops and Improved Sensorless Homing (#14044) 2019-08-04 22:22:58 -05:00
InsanityAutomation 6f8b8c394d Homing backoff per-axis / delta Z (#14789) 2019-07-31 20:50:23 -05:00
Acenotass 659d06d9b9 M48 menu item, result to status (#14772) 2019-07-30 02:31:14 -05:00
Giuliano Zaro 290466578f Adafruit Grand Central M4 (#14749) 2019-07-28 14:48:29 -05:00
Scott Lahteine 1088846cae Cosmetic updates from 14044 2019-07-24 01:52:36 -05:00
Jason Smith f2c5740d06 Add 'E' argument to G34 to allow stowing between probes (#14533)
- Use the return value from probe_pt during `G34`
  Eliminate the assumption that probe_pt leaves current_position set to values relative to the probed points. This is not always true, depending on the raise_after argument.
- Add '`E`' argument to `G34` command allowing stowing between each probe.
2019-07-17 04:23:19 -05:00
InsanityAutomation b8cc61262f Finish G12, update Nozzle::clean (#14642) 2019-07-17 04:23:19 -05:00
Scott Lahteine ed0e6afacb Apply LIMIT macro 2019-07-10 03:35:39 -05:00
Scott Lahteine 750a16ad38 Fix MIN/MAX function collision with macros 2019-07-05 18:14:02 -05:00
GMagician 82ecaa767e Remove unused code in M100
queue.buffer is in bss area, start_free_memory starts from heap then above of bss
2019-07-01 20:38:49 -05:00
Marcio Teixeira e6cf7860e8 Improve ExtUI, fix compiler errors, warnings (#14441) 2019-06-29 00:23:57 -05:00
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 2019-06-27 23:58:16 -05:00
Scott Lahteine 2580104c8b Revert recent probe changes
- Revert "Fix FIX_MOUNTED_PROBE compile error (#14393)"
- Revert "Fix G28 with non-BLTouch probes (#14381)"
- Revert "Fix BLTOUCH deploy/stow in HS mode (#14352)"
- Revert "Apply needed BLTouch patch (#14233)"

Co-Authored-By: AnHardt <github@kitelab.de>
2019-06-26 05:33:43 -05:00
BigIronGuru 9f136a7c67 Low-priority homing in G34 (#14391) 2019-06-26 03:52:01 -05:00
Scott Lahteine 49627069a5 Shorthand for home-after-deactivate 2019-06-26 03:47:55 -05:00
Marcio Teixeira 8e23e9b16c Fix FIX_MOUNTED_PROBE compile error (#14393) 2019-06-25 04:55:29 -05:00
BigIronGuru 12d21e642f Update G34 for non-BLTouch probes (#14380) 2019-06-23 20:55:43 -05:00
BigIronGuru 5986194c36 Fix G28 with non-BLTouch probes (#14381) 2019-06-23 20:53:05 -05:00
InsanityAutomation aa0383a83b Enhance IDEX toolchange auto-return w/ no park, full control (#14117) 2019-06-23 20:00:48 -05:00
BigIronGuru 9c83135d40 Only home Z at the end of G34 (#14353) 2019-06-22 00:43:33 -05:00
InsanityAutomation a9acd2f497 G34 configurable angle limit (#14321) 2019-06-20 21:18:36 -05:00
Scott Lahteine 4c872a01f2
G-code queue singleton, front injection (#14236) 2019-06-19 00:00:19 -05:00
InsanityAutomation bf64dd4db6 Improve G34, M422 (Z alignment) (#14142) 2019-06-18 07:02:18 -05:00
Scott Lahteine 04715e04ee Minor M100 cleanup 2019-06-12 06:14:40 -05:00
Scott Lahteine 3c179bbd47 Simpler G28 home axis conditions 2019-05-26 16:26:55 -05:00
Scott Lahteine aeec9ef76b Update backlash code 2019-05-20 21:34:08 -05:00
FanDjango 85fb33a060 BLTOUCH tweaks, new v3.1 command (#14015) 2019-05-17 19:10:18 -05:00
Bob Kuhn fa3739aa23 M100: LPC1768 and DUE compatibility (#13962) 2019-05-09 21:57:44 -05:00
Scott Lahteine ad4ffa1d2f
Use C++ language supported 'nullptr' (#13944) 2019-05-09 11:45:55 -05:00
InsanityAutomation 6811e2921b BLTouch v3 / 3DTouch Interoperability & performance (#13814) 2019-05-07 21:25:54 -05:00
Marcio Teixeira 15357af67c Backlash cleanup (#13659)
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
2019-05-03 23:53:15 -05:00
Giuliano Zaro e2dd2268e8 Add a Z raise-between-probes to G34 (#13791) 2019-04-23 13:40:55 -05:00
Roxy-3D 9cee81d47e Option to show babysteps total since G28 (#13580) 2019-04-06 18:04:34 -05:00
Marcio Teixeira bf7b28b456 Fix incorrect variable name (#13585) 2019-04-05 19:04:46 -05:00
Marcio Teixeira 27a4927ed1 Add option to move away from endstop after homing. (#13557)
Add option to move away from endstop after homing.
- Add `ENDSTOP_BACKOFF` for printers with a recessed Z home button (Lulzbot TAZ 6).
- Also prevents chattering when sensorless homing with axes against bumpers.
2019-04-04 02:47:19 -05:00
InsanityAutomation fbc7b51a24 Use NO_FETCH for Dual X G28 (#13539) 2019-04-01 17:48:21 -05:00
Marcio Teixeira 5679fae11e UltraLCD enhancements (lower fan resolution, backlash menu) (#13519) 2019-03-29 14:07:43 -05:00
InsanityAutomation 5b2c37d6c1 Followup to BLTouch (#13422) 2019-03-18 16:31:11 -05:00
InsanityAutomation 691e5c3bb8 BLTouch V3.0 support (#13406) 2019-03-17 05:57:25 -05:00
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
2019-03-16 23:43:06 -05:00
Scott Lahteine f5bcc00570
Unify debugging output with debug_out.h (#13388) 2019-03-14 02:25:42 -05:00