mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-28 06:21:31 +00:00
3f45a1acf9
Aim: Test probes in update_endstops only when activated Changes: Configurations Add define for FIX_MOUNTED_PROBE to handle the situation where formerly ENDSTOPS_ONLY_FOR_HOMING had to be set, or lowering the nozzle below Z_PROBE_OFFSET_FROM_EXTRUDER could give an "endstop hit" message. Add define for Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN to indicate a common situation, that we have a probe but it is connected to an endstop pin Add some comments Shift some entries to have related things together. Conditionals.h We have a probe (HAS_Z_MIN_PROBE) if one of the pins is defined AND one of the probes is defined. SanityCheck.h Add some tests if the probe is connected and if we have defined a probe. stepper.cpp Changes to test the probe only when it is deployed (z_probe_is_active). Test update_endstops() when the probe is deployed. MarlinMain.cpp a. set and reset z_probe_is_active in deploy_z_probe(), stow_z_probe() and dock_sled() b. set and reset z_probe_is_active in the case a z-servo is moved to a defined position. The only remaining unhandled servo move is in M280 where we do not end in a defined position. If you want to handle a probe use M401/402 c. skip deploying/stowing when already deployed/stowed in the dedicated deploy/stow functions. d. Handle the new FIX_MOUNTED_PROBE in parallel to a servo driven probe/endstop. To do: In another PR. handle all probes in deploy/stow_z_probe. Sort out SERVO_LEVELING vs. HAS_SERVO_ENDSTOPS. |
||
---|---|---|
.. | ||
Configuration_adv.h | ||
Configuration.h | ||
README.md |
Configuration for Kossel k800 XL
This example configuration ist for a Kossel XL with a printable bed diameter of 280mm and a height of 385mm. It also has the auto bed leveling probe (with a endstop switch) and the heat bed activated.
Configuration
You might have/want to edit at least the following settings in Configuration.h:
MANUAL_Z_HOME_POS
The hight of your printing space available, auto bed leveling makes this not as important as before
DELTA_PRINTABLE_RADIUS
The printable radiusDEFAULT_AXIS_STEPS_PER_UNIT
[http://zennmaster.com/makingstuff/reprap-101-calibrating-your-extruder-part-1-e-steps](The steps for the extruder to optimize the amount of filament flow)
Fine tuning
- Increase
DELTA_RADIUS
when the model is convex (bulge in the middle)
- Increase
DELTA_DIAGONAL_ROD
when the model is larger then expected
[http://reprap.org/wiki/PID_Tuning](PID Tuning)
DEFAULT_Kp
(PID tuning for the hotend)
DEFAULT_Ki
(PID tuning for the hotend)
DEFAULT_Kd
(PID tuning for the hotend)
PSU Options
- The power supply is configured to 2 (to use a relay to switch 12V on and off)
- It is configured to be off by default