No unfortunately it is something else. The probe is not triggering and something else is causing this.
I thought the auto levelling was working OK but the Z0 position was varying with no reason. One print would be fine but the next would be up to 0.5mm out - either too high or too low. G32 S2 was - and is - completing normally except that the LED on the Z-probe does not flash. I proved this by holding a sheet of paper above the bed and under the Z-probe while it was doing a Z-probe - the flash was very noticeable and there is no way I could miss it.
The printer is a steel i3 clone. It is very stiff had been printing just fine until I did this auto-level upgrade. I use 3-point bed mounting and the levelling was good so I really don't think it is a mechanical problem.
The Z-probe sensor is one of David Crocker's excellent little optical boards, the endstops are all mechanical and I have Z-max, Z-min, X-min, Y-max and y-min fitted. Z-min is mechanically adjustable and has about 15mm clearance at Z0. I have LEDs on all endstops so I can see when they close. The Z-probe has an LED that has a very bright flash. M119 shows that the probe is working.
What could be causing this? Is it something I'm doing wrong?
To set it up, I:
1. Set the Z-height in EEPROM about 5mm over the mechanical amount (set to 195mm). I also set this 195mm in Repetier host (Home Z and Print area height)
2. home the Z-axis, Repetier Host shows the Z position as 195mm
3. Issue G1 Z10 to bring the head down then slowly lower the nozzle using the Repetier Host control panel until it just contacts a sheet of paper on the bed. It now shows Z-position as 6.85 and M114 confirms this.
4. The travel is therefore 188.15mm (195 - 6.85mm) so I set this into firmware and the two Host settings as in 1. above
5. I home the Z-axis again and the console shows 188.15 as the height (M114 confirms this)
6. Issue G32 S2 - it does what you'd expect except that the Z-probe is not triggering. See log below.
20:46:02.790 : X:99.99 Y:100.00 Z:188.150 E:0.0000
20:46:16.415 : Info:Autoleveling disabled
20:46:44.786 : Z-probe:5.74 X:6.00 Y:5.00
20:46:47.030 : Z-probe:5.65 X:6.00 Y:69.32
20:46:49.242 : Z-probe:5.67 X:6.00 Y:133.66
20:46:51.455 : Z-probe:5.60 X:6.00 Y:198.00
20:46:54.377 : Z-probe:5.74 X:69.00 Y:5.00
20:46:56.620 : Z-probe:5.63 X:69.00 Y:69.32
20:46:58.840 : Z-probe:5.65 X:69.00 Y:133.66
20:47:01.061 : Z-probe:5.68 X:69.00 Y:198.00
20:47:03.993 : Z-probe:5.72 X:132.00 Y:5.00
20:47:06.233 : Z-probe:5.69 X:132.00 Y:69.32
20:47:08.493 : Z-probe:5.80 X:132.00 Y:133.66
20:47:10.751 : Z-probe:5.73 X:132.00 Y:198.00
20:47:13.701 : Z-probe:5.75 X:195.00 Y:5.00
20:47:15.960 : Z-probe:5.72 X:195.00 Y:69.32
20:47:18.223 : Z-probe:5.80 X:195.00 Y:133.66
20:47:20.521 : Z-probe:5.93 X:195.00 Y:198.00
20:47:21.135 : plane: a = 0.0008 b = 0.0001 c = 5.6337
20:47:21.143 : Transformation matrix: 1.000000 0.000000 -0.000759 -0.000000 1.000000 -0.000083 0.000759 0.000083 1.000000
20:47:21.143 : CurrentZ:5.80 atZ:5.50
20:47:21.143 : Z after rotation:5.50
20:47:21.147 : Printer height:188.45
20:47:21.311 : Info:Autoleveling enabled
20:47:22.296 : X:195.00 Y:198.00 Z:5.961 E:0.0000
This is where something weird happens - console shows the height as 188.15, but M114 shows 5.961mm - shouldn't these be the same?
7. In the EEPROM the Z-height has changed to 188.446 but it is still 188.15 in the two places in Repetier Host settings.
8. Starting a print with initial layer thickness of 0.2mm starts printing at an indicated 0.2mm but the nozzle is far too high to print successfully (I estimate that it is 0.4 or 0.5mm above the bed) If I pause the print but keep the Z-height I can get 6 sheets of paper under the nozzle but the height indicator on the console still shows 0.2mm and M114 shows the same.
I attach my EEPROM export (as a txt file)
What am I doing wrong, please? I'm stumped. I also wonder if it is perhaps a mismatch between the settings in firmware and Repetier Host?
Richard