Hesine M505, Activating z-probe would lead to forbidden xy position
Hello,
I have a Hesine M505 printer (cartesian) with a fixed inductive z-probe.
The sensor was on the left side in 3D printed holder. With time the sensor changed from "normal to the bed" to "a bit skew".
I got the impression, that the autolevelling wasn't reliable anymore.
I built an Aluminium plate with the sensor at the right side of the nozzle.
some other settings:
Arduino IDE 1.8.9
Configuration.h This file is optimized for version 1.0.3
Bed Size = 220 x 220 mm
usable Bed Size = 200 x 200 mm
#define ZHOME_Y_POS 108
Nozzle as Point of measurement
(Nozzle within bed with 10mm margin)P1 = 10/10
P2 = 210/10
P3 = 10/210
P2 = 210/10
P3 = 10/210
With G30 I get: Error:Activating z-probe would lead to forbidden xy position: -96.000000, -10.00
Idea:
-96 = -(-X_MIN_POS + Z_PROBE_X_OFFSET)
-10 = -(-Y_MIN_POS + Z_PROBE_Y_OFFSET)
Sensor as Point of measurement
(as Sensor is within bed at X_MIN_POS and only need slight correction for Y margin)
P1 = 0/13
P2 = 148/13
P3 = 0/200
With G30 I get: Error:Activating z-probe would lead to forbidden xy position: -64.000000, -7.00
P2 = 148/13
P3 = 0/200
With G30 I get: Error:Activating z-probe would lead to forbidden xy position: -64.000000, -7.00
Idea:
-64 = -(Z_PROBE_X_OFFSET)
-7 = -(Z_PROBE_Y_OFFSET)
What is the mathematical construction of P1, P2, P3 with the given values?
I haven't find it in the net.
Thanks a lot
Peter
Comments
so p1 x= (10+64-32) =42
And p1 y = (10+7-3) = 14
So
P1 42 14
P2 210 14
P3 42 310
EPR:3 820 14.000 Z-probe Y1 [mm]
EPR:3 824 210.000 Z-probe X2 [mm]
EPR:3 828 14.000 Z-probe Y2 [mm]
EPR:3 832 42.000 Z-probe X3 [mm]
EPR:3 836 310.000 Z-probe Y3 [mm]
ok 0
on Terminal:
float cx, cy, cz;
realPosition(cx, cy, cz);
// Fix position to be inside print area when probe is enabled
(ZPOffsetY > 0 && Printer::currentPosition[Y_AXIS] - ZPOffsetY < Printer::yMin) ||
(ZPOffsetX < 0 && Printer::currentPosition[X_AXIS] - ZPOffsetX > Printer::xMin + Printer::xLength) ||
(ZPOffsetY < 0 && Printer::currentPosition[Y_AXIS] - ZPOffsetY > Printer::yMin + Printer::yLength))
...
As I wrote, I am not a code writer. What do I oversee?
Thanks, Peter
Error:Activating z-probe would lead to forbidden xy position: -96.000000, -10.00
You need to add 96 mm to x and 10 to y position for measuring to prevent that error. Make sure to change it in eeprom as well.
maybe that will fix it ?
P2 210 14
P3 42 210
M206 T3 P820 X24 (14+10)
M206 T3 P824 X210
M206 T3 P828 X14
M206 T3 P832 X42
M206 T3 P836 X210
ok 0
Error:Activating z-probe would lead to forbidden xy position: -96.000000, -10.00
M206 T3 P820 X24 (14+10)
M206 T3 P824 X306 (210+96)
M206 T3 P828 X24 (14+10)
M206 T3 P832 X138 (42+96)
M206 T3 P836 X306 (210+96)
ok 0
Error:Activating z-probe would lead to forbidden xy position: -64.000000, -7.00
#define Z_PROBE_X_OFFSET 64
Send G1 X100 Y100
and then test. Also run G32 from there to be sure deploying probe at start works.