-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Z_STOP_PIN override on SKR 1.4 #17063
Conversation
This simple change will allow the Z_STOP_PIN to be redefined in the config file. This is usefull for people that don't want to rewire their connector to use the z-stop port. For example the BLtouch wouldn't work right using the Z_MIN_PROBE_PIN but works fine using Z_STOP_PIN so instead of phiscally changing ports we can just change the Z_STOP_PIN to the probe port pin (P0_10). if the Z_STOP_PIN is changed to P0_10 it will make Z_MIN_PROBE_PIN P1_27
Whatever this is It broke my ability to home Z. I haven’t tried my printer with a BL Touch but every single printer with a Pinda won’t home. I’ve even tried using the 2.0.4.4 pins file and nothing. Stop pushing untested things into stable. |
Must be something else causing your issue if 2.0.4.4 pin file isn't work for you. This change allows people to override the Z_STOP_PIN other wise its the same pin as it was before this change. If your not overriding Z_STOP_Pin it should be its default pin P1_27 and Z_MIN_PROBE_PIN should be pin P0_10
I have tested this before making this pull request I have my bltough z stop wires plugged into the SKR 1.4 probe connector it wasn't homing or anything when using the Z_MIN_PROBE_PIN so instead of cutting off the JST connector and putting a new one on it was just easier to just override the Z_STOP_PIN and my bltouch homes and works fine. |
Did you test with any other probe? No. It’s broken numerous users ability to probe using the probe pin. Worked perfectly fine in 2.0.4.4. Nothing else is wrong. Every release it’s like this. Broken firmware that is untested by a legitimate team of testers. It’s getting ridiculous to ask that crap like this isn’t pushed into the main builds? Make a dev build and let users actually see if it works. Be nice if things were actually tested though. |
The reason the z min pin didn’t work is because you have to cut the diagnostic pin for it work. The skr 1.4 doesn’t have the jumpers like the 1.3. Just ONLY enable the probe pins to work like they should. If you have a probe use the probe pin 1_10. It should be if Tmc2208-2209 then endstop is P1_10. The nonsense in the pins file isn’t working. Also you don’t need to cut a new jst. Just flip the wires. It takes 3 seconds to push the lock pins and move the wires however you want. Instead you break probing for hundreds of users because people want to be lazy. |
everyone chill im working on a patch that will make everyone happy. |
Dude i did cut the diagnostic pin on my tmc2209 for my z steppers when I installed it This change is a simple if else. #ifndef Z_STOP_PIN < if not define aka not defined in the config file then it will be defined here
#define Z_STOP_PIN P1_27 // Z-STOP
#endif
#endif
//
// Z Probe (when not Z_MIN_PIN)
//
#ifndef Z_MIN_PROBE_PIN
#if Z_STOP_PIN != P1_27 < If Z_STOP_PIN doesn't equal P1_27 then define Z_MIN_PROBE_PIN P1_27
#define Z_MIN_PROBE_PIN P1_27
#else
#define Z_MIN_PROBE_PIN P0_10 < as long as your not overriding Z_STOP_PIN then this is the Z_MIN_PROBE_PIN aka the default pin for Z_MIN_PROBE_PIN
#endif
#endif And no I don't have any other probe and i don't see how this change could effect them unless |
Your simple if else broke using the dedicated probe pin. The BTT website has a big diagram how to wire the BL touch. It won’t work with your setup now. Also you can’t say this is tested if you don’t try other probes. Forcing everyone to use the wrong way to use the z min pin isn’t how this should have been handled. Use the correct probe pin no need to be lazy about it and break everyone’s build. |
I literally can use the probe pin with 2.0.4.4 pins or the new pull by Vert. Tested on 3 printers. Numerous users couldn’t use their probe with whatever was pushed to what is supposed to be a stable branch. |
well technically thinkyhead did change my code when he merged it here is my code when i did this pull request https://github.com/Glought/Marlin/blob/c7c17f714095a14f0e4572f8cefa520b368d7652/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h |
Says 404 when I click the link. |
sorry i fixed the link |
You can see the changes easier here: b57e662 |
That caused the nozzle to crash into the bed. |
the patch has been posted and should make everyone happy. |
I'm going to try 2.0.5 to see if it cause me any issues |
Move your Z up a bit and use your hand to test a BLTouch/metal for a PINDA when homing Z so you don't accidentally damage your bed. |
I know i raise the z up high so i have time to react if it doesn't work. |
I just wanted to call it out since BLTouch and Pinda probes act differently with these changes now. |
Why can't we make this work: #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN uses the Z min endstop pin #define Z_MIN_PROBE_PIN P0_10 This quits making Z min pin work and only enables P1_10 as the endstop pin??? I mean isn't that what it's for? This would solve every issue. Because as of right now that doesn't work whatsoever. |
My bltouch works fine I really honestly don't see how my change could cause issues with the Pinda probes unless Z_STOP_PIN is overridden then it should be default like the change never existed.
I just tested that (also its pin P0_10 not P1_10(that's the X_SERIAL_RX_PIN and X_SERIAL_TX_PIN pins) it causes my bltouch to error out it deploys then stows then deploys then error. |
Z_STOP_PIN override doesn't work as expected. Works fine with a BL Touch but when you try and use an inductive probe by enabling the probe pin in configuration.h you get 2 independent endstops as if it has 2 z stops. This causes the nozzle to now crash into the bed because the probe only triggers 1 of the now 2 endstops. |
I do have Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN enabled when overriding Z_STOP_PIN, is it enabled when you tested? From my config file: /**
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
*
* Enable this option for a probe connected to the Z Min endstop pin.
*/
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define Z_STOP_PIN P0_10 |
When
When
|
Ok, so it's been a lifetime since this PR under current circumstances, so let me review again what the original code was in the pins file, and the changes I made to accommodate sensorless homing, and then take account of the unintended consequence you're describing. I'll mix these together into a stew pot and push a patch asap. Sorry for the inconvenience. |
Too much, I reckon…//
// Z Probe (when not Z_MIN_PIN)
//
#ifndef Z_MIN_PROBE_PIN
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#if Z_STOP_PIN == P1_27
#define Z_MIN_PROBE_PIN P1_27
#else
#define Z_MIN_PROBE_PIN P0_10
#endif
#else
#if Z_STOP_PIN == P0_10
#define Z_MIN_PROBE_PIN P1_27
#else
#define Z_MIN_PROBE_PIN P0_10
#endif
#endif
#endif Or, really it seems all that is needed is this, since you might want to also override #ifndef Z_MIN_PROBE_PIN
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#define Z_MIN_PROBE_PIN P1_27
#else
#define Z_MIN_PROBE_PIN P0_10
#endif
#endif |
That also didn't work. Doesn't compile. |
n/p we'll get there. |
Yep, at this point I think the correct code for the probe is this: #ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN P0_10
#endif |
That works only if you #define Z_STOP_PIN P0_10 as well. Because if you don't it thinks you have an endstop in Z min AND a probe in Probe pin. |
By "it thinks" are you referring to a sanity check that fails to account for that combination? |
I’m the furthest from a programmer but in visual talk what happens is it’ll have 2 endstops for Z. Probe and Z min. So when you try and probe you have the actual probe at P0_10 and then it’ll show Z min at P1_27. When it goes to probe it crashes into the bed because even though the probe triggered the z min pin didn’t and crash. |
Please ZIP your configurations and drop them on your next reply so I can see what code path is being compiled and where this confusion is arising. |
Just so we're all on the same page (and for the benefit of future readers), the default behavior is that Marlin will use But if you enable
So, let's see… If you want to home with the probe but also use a different pin with this board, you would have to reassign |
That’s what I was doing in 2.0.3-2.0.4.4. The logic change didn’t allow for that to happen in 2.0.5 and broke that ability. For many users on Facebook that caused crashing nozzles into the bed because it was assigning both a z min at pin 1_27 and the probe pin at 0_10. The majority of boards you’d just use Z min for the endstop. With the newer tmc chips that have sensorless homing and no jumper you can’t use z min because it becomes a diagnostic pin With a small subset of boards they are adding a probe pin so you don’t need to worry about the cutting pins and making the probe work. Going forward is there a need to allow marlin to swap what it thinks the Z min is and not have this issue going forward? If we declare Z_MIN_PROBE_PIN perhaps marlin should logically ignore Z min and only enable a probe endstop? |
Right, so I'm referring now to that change being reverted. (It's been reverted, hurrah.)
Yeah. This is the thing that has thrown us for a loop. I want to find an elegant and automated way to make choosing both pin and probing behavior, and with this issue I'm thinking it might be time to expand beyond the aging paradigm of just "probe is Z min and homes" vs "probe is custom and doesn't home" for the probe…. I think we at least have the DIAG assignment to endstop issue sorted out. As far as what to do with probe pin assignment, going forward, well, let's talk use-cases. The typical ones are considered already. So which kinds of use-cases can you think of where we need more flexibility, and how many ways can we envision combining endstops and probes? |
Yes. I'll just aim to pave that path first. The main thing is it should be clear what to expect. |
This is so close to being covered by the case where you don't enable We currently have a conditional called
We could perhaps make it that if you enable |
I'm not sure this is correct, due to this block:
If
Derp. This won't work since it'll get re-set during Conditionals_LCD.h. It seems with a board that has a custom Z-pin for probing there is no way to use it for homing without either hacking the I'm struggling to understand the logic of the |
Read the code again. If |
When you're using the probe for Z homing it is replacing the min endstop, so that plug is going to be free for the probe to be plugged into it and so you should use it. Boards that come with a pin specifically for a probe typically also come with a Z endstop. |
Sorry, typo - anyway you've answered my question which was the rationale behind this logic -
Thanks, I can understand where you're coming from now. From the perspective of a SKR1.4 user this seems counter intuitive which is why I was confused. The board provides a "native" socket for BLTouch, so users naturally expect that this is the most-correct plug to use. Clearly BTT and Marlin are not totally aligned here. Personally I still think it would be nice to support probe-based z-homing in a situation like this. There are use-cases for re-using the normal z-endstop (e.g. for a z-max switch?) while using the custom probe for homing, but at least now I can understand the assumptions made. |
@thinkyhead How would you feel about having a config flag along the lines of
The flag would be disabled by default for backwards compatibility, but would allow configurations like SKR's to work without resorting to hacking the pin definitions or conditionals logic? Happy to put together a PR if so. |
@thinkyhead: Let me know if you guys need an SKR 1.4 for testing. This is a becoming a popular board, especially in the Prusa community, so resolving the dedicated probe pin vs. z min pin issue would be nice without having to modify the pins file. |
I've raised a simple PR which should resolve this in a way we can have our cake and eat it too. Hope it meets with approval. |
* Add TMC micro-steps sanity check (MarlinFirmware#17044) Co-authored-by: Scott Lahteine <github@thinkyhead.com> * Suppress thisItemNr warning (MarlinFirmware#17049) * Don't define 'valptr' if unused (MarlinFirmware#17048) * Fix ambiguous type Co-Authored-By: Andrew Kroll <xxxajk@gmail.com> * fix #33 * Fix G34 probing range/error bug (MarlinFirmware#17052) * Default on/off for Power Loss Recovery (MarlinFirmware#17051) * Fix nested comment warning (MarlinFirmware#17045) * Keep name around for old configs * Finish M900 updates * Add single extruder LIN_ADVANCE test * Neopixel on LPC uses GPIO toggling * [cron] Bump distribution date (2020-03-03) * Fix MMU test * fix #34 * No more direct G28 calls * Asynchronous M114 and (R)ealtime position option (MarlinFirmware#17032) * Minor EEPROM cleanup * Software SPI for 12864 fix #31 * fix #1 * General code cleanup * mftest: Set machine name * Fix EEPROM compile errors * Use BED_MAXTEMP for PTC_MAX_BED_TEMP (MarlinFirmware#17061) * Update FYSETC S6 pins/variants (MarlinFirmware#17056) * Fix TEMP_PROBE_PIN for SKR 1.4 Co-Authored-By: Anthrix <anthrix@users.noreply.github.com> * fix #36 * [cron] Bump distribution date (2020-03-04) * fix #35 в основном за счет кеширования * Move shared code to wait_for_bed_heating * Avoid name conflict with 'UART' * Allow Z_STOP_PIN override on SKR 1.4 (MarlinFirmware#17063) * SAMD51 SoftwareSerial (MarlinFirmware#17041) * [cron] Bump distribution date (2020-03-05) * Move SENSORLESS_PROBING to the probes section Fixes a bug with HAS_BED_PROBE not being set before use. * Fix SKR test for ONBOARD SD * Fix CI test for SENSORLESS_PROBING * Define Z_MIN_PROBE_PIN for Cohesion 3D Remix * Update Turkish language (MarlinFirmware#17070) * Update Chinese (TW) language (MarlinFirmware#17071) * [cron] Bump distribution date (2020-03-06) * Add pins to the pins debug list * Clean up pins debugging * Fix M0/M1 message string * Non-blocking Max7219 test pattern * Change PID dummy value to NAN Fixes MarlinFirmware#17078 * [cron] Bump distribution date (2020-03-07) * Pins debug followup * Max7219 init last * Max7219 suspend/resume * More pins debugging cleanup * Emergency Parser dumb terminal compatibility * Add / correct comments * [cron] Bump distribution date (2020-03-08) * More useful ENABLED / DISABLED macros (MarlinFirmware#17054) * Revert that wack backoff * More general SD_DETECT_INVERTED override * [ToolChanger] Lock the current tool at power-up (MarlinFirmware#17093) * Fixes for Z4 axis, CS pins (MarlinFirmware#17097) * [cron] Bump distribution date (2020-03-09) * fix #37 * Add debug logging for setup() * Move 'last_pause_state' closer to usage * Additional numtostr functions * DOGM SPI delay is less common * Make BOOTSCREEN_TIMEOUT generally available * Ensure welcome message * [cron] Bump distribution date (2020-03-10) * SD_DETECT_INVERTED => SD_DETECT_STATE (MarlinFirmware#17112) * Fix Z4 stepper indirection macros (MarlinFirmware#17107) * Always look for PLR file, but more quickly * Fix broken enqueue_P * [cron] Bump distribution date (2020-03-11) * Tweaks to finishSDPrinting (MarlinFirmware#17082) * Fix G34, add HOME_AFTER_G34 option (MarlinFirmware#17108) Co-authored-by: Scott Lahteine <github@thinkyhead.com> * Fix pio environments for Anet 1.x (MarlinFirmware#17109) * M220 print FR percentage (MarlinFirmware#17101) * fix #38 * fix #23 * Announce SD file open Requested in MarlinFirmware#17110 * Apply soft limits to joystick jogging (MarlinFirmware#17114) * Fix and update DGUS displays (MarlinFirmware#17072) * Revert Anet 1.x envs change (MarlinFirmware#17120) * Non-const REMEMBER needed for RESTORE * More explicit EEPROM types (MarlinFirmware#17127) * Fix STM32 _WRITE macro parameter (MarlinFirmware#17121) * Fix M810 macro multiple use Fixes MarlinFirmware#17125 * [cron] Bump distribution date (2020-03-12) * [cron] Bump distribution date (2020-03-13) * Use arduinoststm32 3.x for FYSETC S6 (MarlinFirmware#17131) * Fix BAUD_RATE_GCODE, etc. (MarlinFirmware#17135) * Fix DUGS / DGUS typo * Add OnPidTuning event to Malyan LCD (MarlinFirmware#17143) All ExtUI LCDs need to keep up with ExtUI API changes. * Shorten German BLTouch menu item names (MarlinFirmware#17151) * Fix Emergency Parser stuck state * Fix end of short (auto0.g) prints * M0 Q preserve status * Shorter paths to HAL, ExtUI (MarlinFirmware#17156) * [cron] Bump distribution date (2020-03-14) * Fix G26 corrupted position * Apply loop shorthand macros (MarlinFirmware#17159) * Quad Z leveling, G34 (R)ecalculate (MarlinFirmware#17122) * Config version 020005 * Allow Tool Offset adjustments to have another digit of precision Some of the items in the Tool Offset Adjustment menu (in particular, the Z Offset!!!) were only adjustable with .1mm accuracy. This is not enough. So the edit menu is switched to float52 to fix the issue. * [cron] Bump distribution date (2020-03-15) * Fix LCD progress bar Fixes MarlinFirmware#17162 * Add EEPROM_BOOT_SILENT option * Do later mounting of LCD-based SD * Add a global machine state * #39 - скорость и слои * #35 improved * Fix incorrect type on ubl_storage_slot (MarlinFirmware#17170) * Fix Z after ABL Bilinear G29 with fade Co-Authored-By: Alan T <interstellarmisfit@users.noreply.github.com> * Fix G34 Z lower, extra "BLTOUCH" debug line (MarlinFirmware#17175) * Configurable SLOWDOWN divisor (MarlinFirmware#17171) * [cron] Bump distribution date (2020-03-16) * Shorter LCD remaining time to prevent overlap (MarlinFirmware#17181) * LPC1768 EEPROM fallback to flash, add overrides (MarlinFirmware#17184) * Fix Z_MIN_PROBE_PIN on SKR 1.4 (MarlinFirmware#17187) * [cron] Bump distribution date (2020-03-17) * мелкие исправления * Fix MKS SBASE 1.6 E1 heater pin (MarlinFirmware#17191) * ARMED support for TMC UART, probe temp (MarlinFirmware#17186) * Apply HAS_TMC_UART to pins files * More decimal places for babystep / Z probe offset (MarlinFirmware#17195) * Add Copymaster3D board (MarlinFirmware#17188) * [cron] Bump distribution date (2020-03-18) * Tweak some lambdas * New Controller Fan options and M710 gcode (MarlinFirmware#17149) * Implement CONTROLLER_FAN_USE_Z_ONLY Followup to MarlinFirmware#17149 * Add M42 M, improve M43 (MarlinFirmware#17173) * [cron] Bump distribution date (2020-03-19) * #41 исправлена порча памяти в меню движения по оси Z * Fix FYSETC mini 12864 init / glitches (MarlinFirmware#17209) * [cron] Bump distribution date (2020-03-20) * fix #41 * fix #26 * [cron] Bump distribution date (2020-03-21) * Split up STM32 pins files (MarlinFirmware#17212) * [cron] Bump distribution date (2020-03-22) * Stay at v0.91 of USBComposite for STM32F1 * whitespace * Use pin/port names for CHITU pins * Add a pins formatting script * Format some pins files * fix #39 * Fix custom version file include * Tweak serial port descriptions * [cron] Bump distribution date (2020-03-23) * Fix Copymaster Y_MAX pin (MarlinFirmware#17267) * Fix CONTROLLER_FAN options compile * Skip impossible PWM sanity-checks * Fix an unused var warning * Add USB serial support to SERIAL_PORT_2 on DUE (MarlinFirmware#17245) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * DGUS updates (MarlinFirmware#17260) * Fix extra M114 output line Fixes MarlinFirmware#17255 * [cron] Bump distribution date (2020-03-24) * Delay after homing_backoff for CoreXY sensorless homing (MarlinFirmware#17273) * Sanity-check CORE backlash axes (MarlinFirmware#17279) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * Fix limits on acceleration editing (MarlinFirmware#17280) * Fix Emergency Parser on DUE (MarlinFirmware#17276) Co-authored-by: Scott Lahteine <github@thinkyhead.com> * Add SoftwareSerialM for MKS Robin (MarlinFirmware#17207) * Sanity check CONTROLLERFAN_SECS * Adjust for timing shift on Max7219 displays on AVR's Something has shifted. The previous timing delays on the Max7219 debug displays is too tight without this correction. I suspect something has been optimized and roughly 50ns of needed setup and hold time has disappeared. This corrects the issue and the display results are clean again. * Update LCD timing on Formbot T-Rex 2+ machines The code is slightly more optimized than it used to be and this has caused the setup and hold times on the Formbot T-Rex 2+ machines to be insufficient. This change gives sufficient margin and the LCD Display is clean again. * [cron] Bump distribution date (2020-03-25) * Allow PID_DEBUG to be turned on and off (MarlinFirmware#17284) M303 D will now toggle activation of PID_DEBUG output. This allows the debug capability to be built into the firmware, but turned on and off as needed. * M303 followup - Put 'D' before other params for clean exit. - Use serial on/off for debug status. * Drop old comment * [cron] Bump distribution date (2020-03-26) * Use "dist" instead of "delta" for clarity * Allow G2_PWM to be slimmer * motion.cpp: HAS_DIST_MM_ARG * Fix M0 unused var warning * Update Russian language (MarlinFirmware#17290) * Update Italian language (MarlinFirmware#17293) * Tweak eeprom storage type * Tweak ui.finish_status * [cron] Bump distribution date (2020-03-27) * small fixes after merge * Fix SD finished ExtUI / host action (MarlinFirmware#17285) * QSPI EEPROM for SAMD51 (MarlinFirmware#17292) * Fix Stepper PWM menu (MarlinFirmware#17298) * Store case light brightness in EEPROM (MarlinFirmware#17307) * [cron] Bump distribution date (2020-03-28) * Add Funmat HT V4.0 board support (MarlinFirmware#17305) Co-authored-by: Scott Lahteine <github@thinkyhead.com> * Limited backlash editing with Core kinematics (MarlinFirmware#17281) * Simplify TWIBus debug * Clean up user-wait, SD completion (MarlinFirmware#17315) * fix #42 * Fix typo... * [cron] Bump distribution date (2020-03-29) * Fix Trigorilla 1.4 missing spaces * Fix STM32F1 USB Composite Dependency Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com> * Fix extra unskew call Fixes MarlinFirmware#17264 * do_pause_e_move => unscaled_e_move * Minor HAL cleanup * No unscaled_e_move for CNC * Load balance some tests * [cron] Bump distribution date (2020-03-30) * [cron] Bump distribution date (2020-03-31) * Pulldown for all FastIO headers Co-Authored-By: borsegbr <borsegbr@users.noreply.github.com> * Fix last arc segment Co-Authored-By: ellensp <ellensp@hotmail.com> * Additional TERN macros * Fix Fysetc stm32flash usage (MarlinFirmware#17331) * STM32F1: Restore M43 build support (MarlinFirmware#17336) * Improve / fix FTDI EVE Touch UI (MarlinFirmware#17338) - Fix timeout and debugging string - Fix check for whether `LCD_TIMEOUT_TO_STATUS` is valid - Fix incorrect debugging message - Make capitalization of callbacks consistent. - Allow Touch UI to use hardware SPI on Einsy boards - Move print stats to About Printer page. - More generic about screen with GPL license. - Add missing handler for power loss event - Less code duplication on status screen and main/advanced menu; more legible - Reorganize advanced and main menu to add more features - Hide home Z button when using Z_SAFE_HOMING - Fix compilation errors when certain features enabled - Fix missing labels in UI - Improve color scheme - Add new preheat menus - Fix incorrect rendering of Marlin logo on boot - Add Level X Axis and Auto calibrate buttons * Shorten some internal pin names * [cron] Bump distribution date (2020-04-01) * Fix M710 report formatting (MarlinFirmware#17356) * Fix extra TMC serial begin calls (MarlinFirmware#17351) * [cron] Bump distribution date (2020-04-02) * More 8 extruders (TMC) support * Minor code cleanup * Fix up 'system' includes * Fix ESP32 eeprom flag * Clean up UI declarations, apply TERN_ * fix #32 * fix #45 * voltage * fix #33 * fix #33 * fix typo in #34 * уточнил оранжевый и желтый цвета под свой дисплей * Переключил TMC2208 UART на 256 шагов вместо 16 * отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг * таймаут дисплея измени до 15 минут, отрабатывал не так как надо в начале печати * Revert "Переключил TMC2208 UART на 256 шагов вместо 16" This reverts commit c32f37f. * Revert "отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг" This reverts commit 4b20493. * вернул настройки tmc как было до экспериментов с микрошагами * поправил под актуальный pid e * fix #46 * 10 минут таймаут дисплея * убрал la понизил скорость кулера на хотенде * двигатели 900 ма * Update Configuration_adv.h * update * Revert "Merge branch 'bugfix-2.0.x-UltiSteel-ssavickiy' into ssavickiy" This reverts commit bd0938a, reversing changes made to a95b5db. Co-authored-by: Jason Smith <jason.inet@gmail.com> Co-authored-by: Scott Lahteine <github@thinkyhead.com> Co-authored-by: ellensp <ellensp@hotmail.com> Co-authored-by: Andrew Kroll <xxxajk@gmail.com> Co-authored-by: Юрий Першин <ursoft2004@mail.ru> Co-authored-by: jufimu12 <jufimu12@gmail.com> Co-authored-by: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com> Co-authored-by: thisiskeithb <13375512+thisiskeithb@users.noreply.github.com> Co-authored-by: thinkyhead <thinkyhead@users.noreply.github.com> Co-authored-by: George Fu <nailao_5918@163.com> Co-authored-by: Anthrix <anthrix@users.noreply.github.com> Co-authored-by: MangaValk <patrickvalkmanga@hotmail.com> Co-authored-by: Vert <vert@vertshobbies.com> Co-authored-by: Daniel Kreuzhofer (@danieldotnet) <daniel@kreuzhofer.de> Co-authored-by: Gurmeet Athwal <gurmeet.athwal@gmail.com> Co-authored-by: Jamie <vector76@users.noreply.github.com> Co-authored-by: BigTreeTech <38851044+bigtreetech@users.noreply.github.com> Co-authored-by: nick-diel <35879080+nick-diel@users.noreply.github.com> Co-authored-by: Erkan Colak <erkanc@gmx.de> Co-authored-by: Roxy-3D <Roxy-3D@users.noreply.github.com> Co-authored-by: Karl Andersson <karl@iaccess.se> Co-authored-by: Alan T <interstellarmisfit@users.noreply.github.com> Co-authored-by: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Co-authored-by: Pascal de Bruijn <pmjdebruijn@pcode.nl> Co-authored-by: Joe Prints <33383148+JoePrints@users.noreply.github.com> Co-authored-by: RasmusAaen <rasmus@aaen.net> Co-authored-by: rado79 <51396577+rado79@users.noreply.github.com> Co-authored-by: mkpfalz <50922721+mkpfalz@users.noreply.github.com> Co-authored-by: MarkMan0 <38912829+MarkMan0@users.noreply.github.com> Co-authored-by: Acenotass <44540957+Acenotass@users.noreply.github.com> Co-authored-by: Mathias Rasmussen <mathiasvr@gmail.com> Co-authored-by: oscarsan1 <oscarsan1@users.noreply.github.com> Co-authored-by: thisiskeithb <thisiskeithb@outlook.com> Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com> Co-authored-by: borsegbr <borsegbr@users.noreply.github.com> Co-authored-by: Eric Ptak <trouch@trouch.com> Co-authored-by: Tanguy Pruvot <tpruvot@users.noreply.github.com> Co-authored-by: Marcio T <mlt4356-github@yahoo.com> Co-authored-by: Marcelo Castagna <margaale@users.noreply.github.com> Co-authored-by: Simon Jouet <simon-jouet@users.noreply.github.com> Co-authored-by: Юрий Першин <build@vmpsoft.com>
* Suppress thisItemNr warning (MarlinFirmware#17049) * Don't define 'valptr' if unused (MarlinFirmware#17048) * Fix ambiguous type Co-Authored-By: Andrew Kroll <xxxajk@gmail.com> * fix #33 * Fix G34 probing range/error bug (MarlinFirmware#17052) * Default on/off for Power Loss Recovery (MarlinFirmware#17051) * Fix nested comment warning (MarlinFirmware#17045) * Keep name around for old configs * Finish M900 updates * Add single extruder LIN_ADVANCE test * Neopixel on LPC uses GPIO toggling * [cron] Bump distribution date (2020-03-03) * Fix MMU test * fix #34 * No more direct G28 calls * Asynchronous M114 and (R)ealtime position option (MarlinFirmware#17032) * Minor EEPROM cleanup * Software SPI for 12864 fix #31 * fix #1 * General code cleanup * mftest: Set machine name * Fix EEPROM compile errors * Use BED_MAXTEMP for PTC_MAX_BED_TEMP (MarlinFirmware#17061) * Update FYSETC S6 pins/variants (MarlinFirmware#17056) * Fix TEMP_PROBE_PIN for SKR 1.4 Co-Authored-By: Anthrix <anthrix@users.noreply.github.com> * fix #36 * [cron] Bump distribution date (2020-03-04) * fix #35 в основном за счет кеширования * Move shared code to wait_for_bed_heating * Avoid name conflict with 'UART' * Allow Z_STOP_PIN override on SKR 1.4 (MarlinFirmware#17063) * SAMD51 SoftwareSerial (MarlinFirmware#17041) * [cron] Bump distribution date (2020-03-05) * Move SENSORLESS_PROBING to the probes section Fixes a bug with HAS_BED_PROBE not being set before use. * Fix SKR test for ONBOARD SD * Fix CI test for SENSORLESS_PROBING * Define Z_MIN_PROBE_PIN for Cohesion 3D Remix * Update Turkish language (MarlinFirmware#17070) * Update Chinese (TW) language (MarlinFirmware#17071) * [cron] Bump distribution date (2020-03-06) * Add pins to the pins debug list * Clean up pins debugging * Fix M0/M1 message string * Non-blocking Max7219 test pattern * Change PID dummy value to NAN Fixes MarlinFirmware#17078 * [cron] Bump distribution date (2020-03-07) * Pins debug followup * Max7219 init last * Max7219 suspend/resume * More pins debugging cleanup * Emergency Parser dumb terminal compatibility * Add / correct comments * [cron] Bump distribution date (2020-03-08) * More useful ENABLED / DISABLED macros (MarlinFirmware#17054) * Revert that wack backoff * More general SD_DETECT_INVERTED override * [ToolChanger] Lock the current tool at power-up (MarlinFirmware#17093) * Fixes for Z4 axis, CS pins (MarlinFirmware#17097) * [cron] Bump distribution date (2020-03-09) * fix #37 * Add debug logging for setup() * Move 'last_pause_state' closer to usage * Additional numtostr functions * DOGM SPI delay is less common * Make BOOTSCREEN_TIMEOUT generally available * Ensure welcome message * [cron] Bump distribution date (2020-03-10) * SD_DETECT_INVERTED => SD_DETECT_STATE (MarlinFirmware#17112) * Fix Z4 stepper indirection macros (MarlinFirmware#17107) * Always look for PLR file, but more quickly * Fix broken enqueue_P * [cron] Bump distribution date (2020-03-11) * Tweaks to finishSDPrinting (MarlinFirmware#17082) * Fix G34, add HOME_AFTER_G34 option (MarlinFirmware#17108) Co-authored-by: Scott Lahteine <github@thinkyhead.com> * Fix pio environments for Anet 1.x (MarlinFirmware#17109) * M220 print FR percentage (MarlinFirmware#17101) * fix #38 * fix #23 * Announce SD file open Requested in MarlinFirmware#17110 * Apply soft limits to joystick jogging (MarlinFirmware#17114) * Fix and update DGUS displays (MarlinFirmware#17072) * Revert Anet 1.x envs change (MarlinFirmware#17120) * Non-const REMEMBER needed for RESTORE * More explicit EEPROM types (MarlinFirmware#17127) * Fix STM32 _WRITE macro parameter (MarlinFirmware#17121) * Fix M810 macro multiple use Fixes MarlinFirmware#17125 * [cron] Bump distribution date (2020-03-12) * [cron] Bump distribution date (2020-03-13) * Use arduinoststm32 3.x for FYSETC S6 (MarlinFirmware#17131) * Fix BAUD_RATE_GCODE, etc. (MarlinFirmware#17135) * Fix DUGS / DGUS typo * Add OnPidTuning event to Malyan LCD (MarlinFirmware#17143) All ExtUI LCDs need to keep up with ExtUI API changes. * Shorten German BLTouch menu item names (MarlinFirmware#17151) * Fix Emergency Parser stuck state * Fix end of short (auto0.g) prints * M0 Q preserve status * Shorter paths to HAL, ExtUI (MarlinFirmware#17156) * [cron] Bump distribution date (2020-03-14) * Fix G26 corrupted position * Apply loop shorthand macros (MarlinFirmware#17159) * Quad Z leveling, G34 (R)ecalculate (MarlinFirmware#17122) * Config version 020005 * Allow Tool Offset adjustments to have another digit of precision Some of the items in the Tool Offset Adjustment menu (in particular, the Z Offset!!!) were only adjustable with .1mm accuracy. This is not enough. So the edit menu is switched to float52 to fix the issue. * [cron] Bump distribution date (2020-03-15) * Fix LCD progress bar Fixes MarlinFirmware#17162 * Add EEPROM_BOOT_SILENT option * Do later mounting of LCD-based SD * Add a global machine state * #39 - скорость и слои * #35 improved * Fix incorrect type on ubl_storage_slot (MarlinFirmware#17170) * Fix Z after ABL Bilinear G29 with fade Co-Authored-By: Alan T <interstellarmisfit@users.noreply.github.com> * Fix G34 Z lower, extra "BLTOUCH" debug line (MarlinFirmware#17175) * Configurable SLOWDOWN divisor (MarlinFirmware#17171) * [cron] Bump distribution date (2020-03-16) * Shorter LCD remaining time to prevent overlap (MarlinFirmware#17181) * LPC1768 EEPROM fallback to flash, add overrides (MarlinFirmware#17184) * Fix Z_MIN_PROBE_PIN on SKR 1.4 (MarlinFirmware#17187) * [cron] Bump distribution date (2020-03-17) * мелкие исправления * Fix MKS SBASE 1.6 E1 heater pin (MarlinFirmware#17191) * ARMED support for TMC UART, probe temp (MarlinFirmware#17186) * Apply HAS_TMC_UART to pins files * More decimal places for babystep / Z probe offset (MarlinFirmware#17195) * Add Copymaster3D board (MarlinFirmware#17188) * [cron] Bump distribution date (2020-03-18) * Tweak some lambdas * New Controller Fan options and M710 gcode (MarlinFirmware#17149) * Implement CONTROLLER_FAN_USE_Z_ONLY Followup to MarlinFirmware#17149 * Add M42 M, improve M43 (MarlinFirmware#17173) * [cron] Bump distribution date (2020-03-19) * #41 исправлена порча памяти в меню движения по оси Z * Fix FYSETC mini 12864 init / glitches (MarlinFirmware#17209) * [cron] Bump distribution date (2020-03-20) * fix #41 * fix #26 * [cron] Bump distribution date (2020-03-21) * Split up STM32 pins files (MarlinFirmware#17212) * [cron] Bump distribution date (2020-03-22) * Stay at v0.91 of USBComposite for STM32F1 * whitespace * Use pin/port names for CHITU pins * Add a pins formatting script * Format some pins files * fix #39 * Fix custom version file include * Tweak serial port descriptions * [cron] Bump distribution date (2020-03-23) * Fix Copymaster Y_MAX pin (MarlinFirmware#17267) * Fix CONTROLLER_FAN options compile * Skip impossible PWM sanity-checks * Fix an unused var warning * Add USB serial support to SERIAL_PORT_2 on DUE (MarlinFirmware#17245) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * DGUS updates (MarlinFirmware#17260) * Fix extra M114 output line Fixes MarlinFirmware#17255 * [cron] Bump distribution date (2020-03-24) * Delay after homing_backoff for CoreXY sensorless homing (MarlinFirmware#17273) * Sanity-check CORE backlash axes (MarlinFirmware#17279) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * Fix limits on acceleration editing (MarlinFirmware#17280) * Fix Emergency Parser on DUE (MarlinFirmware#17276) Co-authored-by: Scott Lahteine <github@thinkyhead.com> * Add SoftwareSerialM for MKS Robin (MarlinFirmware#17207) * Sanity check CONTROLLERFAN_SECS * Adjust for timing shift on Max7219 displays on AVR's Something has shifted. The previous timing delays on the Max7219 debug displays is too tight without this correction. I suspect something has been optimized and roughly 50ns of needed setup and hold time has disappeared. This corrects the issue and the display results are clean again. * Update LCD timing on Formbot T-Rex 2+ machines The code is slightly more optimized than it used to be and this has caused the setup and hold times on the Formbot T-Rex 2+ machines to be insufficient. This change gives sufficient margin and the LCD Display is clean again. * [cron] Bump distribution date (2020-03-25) * Allow PID_DEBUG to be turned on and off (MarlinFirmware#17284) M303 D will now toggle activation of PID_DEBUG output. This allows the debug capability to be built into the firmware, but turned on and off as needed. * M303 followup - Put 'D' before other params for clean exit. - Use serial on/off for debug status. * Drop old comment * [cron] Bump distribution date (2020-03-26) * Use "dist" instead of "delta" for clarity * Allow G2_PWM to be slimmer * motion.cpp: HAS_DIST_MM_ARG * Fix M0 unused var warning * Update Russian language (MarlinFirmware#17290) * Update Italian language (MarlinFirmware#17293) * Tweak eeprom storage type * Tweak ui.finish_status * [cron] Bump distribution date (2020-03-27) * small fixes after merge * Fix SD finished ExtUI / host action (MarlinFirmware#17285) * QSPI EEPROM for SAMD51 (MarlinFirmware#17292) * Fix Stepper PWM menu (MarlinFirmware#17298) * Store case light brightness in EEPROM (MarlinFirmware#17307) * [cron] Bump distribution date (2020-03-28) * Add Funmat HT V4.0 board support (MarlinFirmware#17305) Co-authored-by: Scott Lahteine <github@thinkyhead.com> * Limited backlash editing with Core kinematics (MarlinFirmware#17281) * Simplify TWIBus debug * Clean up user-wait, SD completion (MarlinFirmware#17315) * fix #42 * Fix typo... * [cron] Bump distribution date (2020-03-29) * Fix Trigorilla 1.4 missing spaces * Fix STM32F1 USB Composite Dependency Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com> * Fix extra unskew call Fixes MarlinFirmware#17264 * do_pause_e_move => unscaled_e_move * Minor HAL cleanup * No unscaled_e_move for CNC * Load balance some tests * [cron] Bump distribution date (2020-03-30) * [cron] Bump distribution date (2020-03-31) * Pulldown for all FastIO headers Co-Authored-By: borsegbr <borsegbr@users.noreply.github.com> * Fix last arc segment Co-Authored-By: ellensp <ellensp@hotmail.com> * Additional TERN macros * Fix Fysetc stm32flash usage (MarlinFirmware#17331) * STM32F1: Restore M43 build support (MarlinFirmware#17336) * Improve / fix FTDI EVE Touch UI (MarlinFirmware#17338) - Fix timeout and debugging string - Fix check for whether `LCD_TIMEOUT_TO_STATUS` is valid - Fix incorrect debugging message - Make capitalization of callbacks consistent. - Allow Touch UI to use hardware SPI on Einsy boards - Move print stats to About Printer page. - More generic about screen with GPL license. - Add missing handler for power loss event - Less code duplication on status screen and main/advanced menu; more legible - Reorganize advanced and main menu to add more features - Hide home Z button when using Z_SAFE_HOMING - Fix compilation errors when certain features enabled - Fix missing labels in UI - Improve color scheme - Add new preheat menus - Fix incorrect rendering of Marlin logo on boot - Add Level X Axis and Auto calibrate buttons * Shorten some internal pin names * [cron] Bump distribution date (2020-04-01) * Fix M710 report formatting (MarlinFirmware#17356) * Fix extra TMC serial begin calls (MarlinFirmware#17351) * [cron] Bump distribution date (2020-04-02) * More 8 extruders (TMC) support * Minor code cleanup * Fix up 'system' includes * Fix ESP32 eeprom flag * Clean up UI declarations, apply TERN_ * fix #32 * fix #45 * voltage * fix #33 * fix #33 * fix typo in #34 * уточнил оранжевый и желтый цвета под свой дисплей * Переключил TMC2208 UART на 256 шагов вместо 16 * отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг * таймаут дисплея измени до 15 минут, отрабатывал не так как надо в начале печати * Revert "Переключил TMC2208 UART на 256 шагов вместо 16" This reverts commit c32f37f. * Revert "отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг" This reverts commit 4b20493. * вернул настройки tmc как было до экспериментов с микрошагами * поправил под актуальный pid e * fix #46 * 10 минут таймаут дисплея * убрал la понизил скорость кулера на хотенде * двигатели 900 ма * Update Configuration_adv.h * update * Revert "Merge branch 'bugfix-2.0.x-UltiSteel-ssavickiy' into ssavickiy" This reverts commit bd0938a, reversing changes made to a95b5db. * отключил LA, изменил для тестов парметры рекомендуемые марлином в комментах для tmc Co-authored-by: ellensp <ellensp@hotmail.com> Co-authored-by: Scott Lahteine <github@thinkyhead.com> Co-authored-by: Andrew Kroll <xxxajk@gmail.com> Co-authored-by: Юрий Першин <ursoft2004@mail.ru> Co-authored-by: jufimu12 <jufimu12@gmail.com> Co-authored-by: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com> Co-authored-by: thisiskeithb <13375512+thisiskeithb@users.noreply.github.com> Co-authored-by: thinkyhead <thinkyhead@users.noreply.github.com> Co-authored-by: George Fu <nailao_5918@163.com> Co-authored-by: Anthrix <anthrix@users.noreply.github.com> Co-authored-by: MangaValk <patrickvalkmanga@hotmail.com> Co-authored-by: Vert <vert@vertshobbies.com> Co-authored-by: Daniel Kreuzhofer (@danieldotnet) <daniel@kreuzhofer.de> Co-authored-by: Gurmeet Athwal <gurmeet.athwal@gmail.com> Co-authored-by: Jamie <vector76@users.noreply.github.com> Co-authored-by: BigTreeTech <38851044+bigtreetech@users.noreply.github.com> Co-authored-by: Jason Smith <jason.inet@gmail.com> Co-authored-by: nick-diel <35879080+nick-diel@users.noreply.github.com> Co-authored-by: Erkan Colak <erkanc@gmx.de> Co-authored-by: Roxy-3D <Roxy-3D@users.noreply.github.com> Co-authored-by: Karl Andersson <karl@iaccess.se> Co-authored-by: Alan T <interstellarmisfit@users.noreply.github.com> Co-authored-by: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Co-authored-by: Pascal de Bruijn <pmjdebruijn@pcode.nl> Co-authored-by: Joe Prints <33383148+JoePrints@users.noreply.github.com> Co-authored-by: RasmusAaen <rasmus@aaen.net> Co-authored-by: rado79 <51396577+rado79@users.noreply.github.com> Co-authored-by: mkpfalz <50922721+mkpfalz@users.noreply.github.com> Co-authored-by: MarkMan0 <38912829+MarkMan0@users.noreply.github.com> Co-authored-by: Acenotass <44540957+Acenotass@users.noreply.github.com> Co-authored-by: Mathias Rasmussen <mathiasvr@gmail.com> Co-authored-by: oscarsan1 <oscarsan1@users.noreply.github.com> Co-authored-by: thisiskeithb <thisiskeithb@outlook.com> Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com> Co-authored-by: borsegbr <borsegbr@users.noreply.github.com> Co-authored-by: Eric Ptak <trouch@trouch.com> Co-authored-by: Tanguy Pruvot <tpruvot@users.noreply.github.com> Co-authored-by: Marcio T <mlt4356-github@yahoo.com> Co-authored-by: Marcelo Castagna <margaale@users.noreply.github.com> Co-authored-by: Simon Jouet <simon-jouet@users.noreply.github.com> Co-authored-by: Юрий Першин <build@vmpsoft.com>
Description
This is for SKR 1.4 and SKR 1.4 Turbo.
This simple change will allow the Z_STOP_PIN to be definable in the config file.
This is useful for people that don't want to rewire their plug to use the z-stop connector .
For example the BLtouch wouldn't work right using the Z_MIN_PROBE_PIN (doesn't deploy on z home) but works fine using Z_STOP_PIN so instead of physically changing connectors we can just change the Z_STOP_PIN to the probe port pin (P0_10).
If the Z_STOP_PIN is changed to P0_10 it will make Z_MIN_PROBE_PIN P1_27
Benefits