MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.19k stars 19.22k forks source link

[BUG] Dual-Z Steps ignored with TMC2208 #16506

Closed FlailAway closed 4 years ago

FlailAway commented 4 years ago

Bug Description

DEFAULT_AXIS_STEPS_PER_UNIT changes are ignored

My TWO Configurations

Mint 19.3+Cinnamon Win 8.1 Arduino 1.8.10 on both devices Marlin bug-fix 1.1.9 downloaded yesterday 01/07/2020 MKS_GEN-L board TMC-2208 x 5 3 x Z axis motors, two with 2:1 adapter on "Z" and 1 on "E1" 2 x Left-most jumpers under TMC-2208 on board connected, third open .zip attached Required: Please include a ZIP file containing your Configuration.h and Configuration_adv.h files.

Steps to Reproduce

1: #define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 2000, 500 } 2: change to #define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 1000, 500 }

Expected behavior: [What you expect to happen] Z to raise and lower fixed amount according to "2000" or "1000" etc.

Actual behavior: [What actually happens] Changing 2000 to anything else I always get the same Z-travel of 20mm.

Additional Information

IF I swap out the TMC2208 for DRV8825, install the 3rd jumper under the DRV8825 and change the 5 x Driver assignments "#define Z_DRIVER_TYPE TMC2208_STANDALONE" to "#define Z_DRIVER_TYPE DRV8825" then it works fine.

Is it me or ???

marlin-bf-1.1.9.zip

randellhodges commented 4 years ago

Did you reset your EEPROM after updating the firmware? These are also stored in the EEPROM and will be read from there.

M502 then M500

http://marlinfw.org/docs/gcode/M502.html

Or just change them with a GCODE (Note: If you do this, also change them in the firmware because a future M502 will overwrite these, if you don't keep them in "sync")

http://marlinfw.org/docs/gcode/M092.html

FlailAway commented 4 years ago

M502 then M500

Arrgghhh, my mistake, thanks. I did not realize they were also stored. I guess I should have thought about it. I will close this and slink away in shame. :)

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.