You, obviously, do actually have a Z-probe, but in case another user does not, or you decide not to use yours, I will cover both cases (with and without a Z-probe).
Z-probe not present
If not, then in
configuration.h set the
false, like this:
#define FEATURE_Z_PROBE false
#define FEATURE_Z_PROBE 0.
Then you also need to set
#define DISTORTION_CORRECTION 0
as this requires the
FEATURE_Z_PROBE if otherwise set to
true. However, thereafter, upon recompilation, I then get a lot of other errors... but these seem to be more to do with selecting the correct board,
#define MOTHERBOARD, in
pins.h, than the disabling of the Z-probe. This error:
fastio.h:29: error: 'DIOORIG_FAN2_PIN_WPORT' was not declared in this scope
is due to, from Can't compile firmware:
You are using
ORIG_FAN2_PIN in your configuration but apparently your boards pin definition does not define that pin. In that case check board description and use the digital pin number instead for that function.
Actually that is not entirely true1.
NOTE: It might be easier to just define
Z_PROBE_PIN to something other than
-1, which is what it is defaulting to, as set in
#define Z_PROBE_PIN -1
If you do have a Z-probe, then trace the wires to see where they go on the controller board, determine that pin number on the board and then enter that pin number into
configuration.h. For example, if it is connected to pin 63, then:
#define Z_PROBE_PIN 63
leave DISTORTION_CORRECTION untouched.
Where to plug the Z-probe in
If your Z-probe has become unplugged, then you need to choose a pin to connect it to. This is easy... you simply connect it to any free pin. Now, you probably only have three end stops, at the top of the delta frame. These are the MAX end stops. So, you can simply connect the Z-probe to any of the three MIN end stop pins, on the board. Obviously, you will leave the three
#defines for the MIN end stop, in
Configuration.h, un-configured, and then specify the pin, that you did use, in
#define Z_PROBE_PIN <your pin>
See Is there a complete step by step manual for building Z probe - comment 1950
Put the zprobe on any free pin you have but do NOT set it in endstops. It is not a endstop it is a zprobe.
Then set it in zprobe section with pullup enabled so it is drawn to high internally until you connect the pin with gnd. Then G31 should also be consistent. I guess you missed the pullup part making it a random result.
and Is there a complete step by step manual for building Z probe - Comment_1952
Not sure why this is a problem. You have 6 endstop pins and need 3 for
endstops + 1 for zprobe = 4 pins. Still 2 endstop pins free.
When I said not in endstops I meant not in the endstop configuration.
There you only put switches that work as endstop.
Highlighting the connections
The green PCB, for the fan and Z-probe, does not appear to have any logic on it (I can't see any), so it is just a collection of tracks (i.e. wires). As there are no logic chips on it, you can trace the circuit from the Z-probe to the controller (either visually, or using a multimeter set on continuity check). I assume that the PCB is connected to the controller board somewhere/somehow... Via the 10 wire grey ribbon cable that goes to the second green PCB next to the main board, next to LED3, as shown in the first photo? This ribbon cable transfers signals to/from the Z-probe/fan PCB to the secondary PCB, which appears to be a power related PCB (i.e. heaters). Somehow the secondary, power, PCB then connects to the main controller board.
One of the three unused MINIMUM end stop pins should be used for the Z-probe. This is assuming that:
- you only have three physical end stops (at the top of the three axes) and;
- they are connected to the MAXIMUM end stop pins.
If you have six end stops, (one at the top and one at the bottom), then that changes things drastically. Assuming that you only have three, then the three unused MINIMUM pins will be used for some other purposes (Z-probe, servo arm, something else?).
You need to confirm that you only have end stops at the top of the printer and not the bottom, i.e. only
Z+) pins. If so, then you should have three (sets of) (
MIN_ENDSTOP) pins with nothing connected to them (in theory). So, one of those three
MIN_ENDSTOP pins will have the Z-probe connected to it. If you are having trouble locating the
MIN_ENDSTOP pins, trace where the 3 physical (MAX) end stops are connected to, those will be the
MAX_ENDSTOP pins. Then from that, the
MIN_ENDSTOP pins should be relatively easy to identify. Hopefully that makes sense.
Looking at the schema then it becomes obvious. You see
Z-. The physical endstops should be connected to the three
+ connectors. The three
- connectors: two of them are hopefully not connected. The one that is should be the Z-probe. Looking at the photo, unfortunately, it seems as if all six (or just five?) are populated.
Personally, to save time, I would get a multimeter, unplug the
- connectors (actually only the
- connectors) in turn and test each one, to see which is connected to the Z-probe.
To check the correct pin is used, you really only have two (sensible) options: either visually, or; multimeter. Multimeter would be best, and the most certain. However, there are two other options open to you (one risky, and one laborious):
As we have whittled it down to two connectors (
Z-min, there are only two pins (for the Z-probe and servo) to worry about, you only have a 50-50 chance of getting it wrong, so you could guess, code it up and see if it works - if it doesn't, then change the pin defined, and recompile...
IMPORTANT: After a rethink, it is best not to just take the 50-50 chance, as the servo pin is probably configured as an output and the Z-probe pin will be an input. You could end up damaging the control board.
Finally, you could, in theory, test it programmatically, but that would require writing some test code for the controller, which (as we are having enough trouble as it is with the configuration.h file) would be a nightmare, to put it bluntly.
Photo of control board
It is probably a good idea to read this, lengthly, article: Repetier - Z-probing.
1 I have finally managed to get
Repetier.ino to compile. The problem lay with the
Configuration.h file that came with the googledrive download, that you provided. Trying to either manually configure
Configuration.h, or pre-loading it into Repetier's configuration tool, always resulted in the same compilation error, see DIOORIG_FAN2_PIN_WPORT error. The simplest solution is to create a
Configuration.h file from new, using the Configuration tool. When you do that, it will compile ok.
Or, if you really want to do it manually, either:
1 and not
2 as the
FAN2 compile error comes from the second extruder's set of
- More precisely, if you do have two extruders, then change the line
#define EXT1_EXTRUDER_COOLER_PIN ORIG_FAN2_PIN and specify a pin, i.e.
65, en lieu of using