Welcome! Log In Create A New Profile

Advanced

Z-probe configuration in Configuration.h

Posted by yonkiman 
Z-probe configuration in Configuration.h
December 12, 2016 09:39PM
I'm trying to get Marlin 1.1.0-RC8 working on my DeltaMaker delta printer to replace the much older Marlin firmware the printer came with. Have everything working except the z-probe. The way this probe works is to engage a solenoid (not a servo) and then detect when a microswitch closes. I'm trying to figure out how to activate that pin during Z-probing.

In Configuration.h my choices are:
// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, etc.
// You must activate one of these to use Auto Bed Leveling below.
The one that seems closest to what I want to do (change the state of an I/O pin during z-probing) is "Z-Sled Probe", but when I try that, SanityCheck says "You cannot use Z_PROBE_SLED with DELTA." So before I start defacing SanityCheck.h I thought I'd do my own sanity check and ask if that is the correct/best sensor type for what I want to do, which is:

  • Begin z-probe
  • Set a "probe enable" pin to engage solenoid
  • Wait for Z_MIN_PROBE_PIN to change state
  • Flip state of a "probe enable" pin
  • Clear that "probe enable" pin to disengage solenoid
Re: Z-probe configuration in Configuration.h
December 14, 2016 12:22PM
Got an answer at the Marlin git repository.

Use the Z-Sled probe and comment out the sled moves in Marlin_Main.cpp and the sanity check preventing use with delta printers in SanityCheck.h.
Sorry, only registered users may post in this forum.

Click here to login