Possible Firmware 1.0.x issue??

I wanted to open this as a possible firmware issue only because using the exact same config.h file, i get different failures with the different firmware versions.

After working to try to get this version to run on my machine (HE3D EI3 with an Arduino Mega 2560 board) i am not entirely certain if this is a firmware issue or not.
I have been having a difficult time getting the distortion map and z probe offset setup correctly (i have also tried to disable the distortion map with no luck)
I was able to make the z homing work 1 time, but a G32 S2 command returned an invalid position for the probe.

Overview of issue:
Firmware 1.0.x
Arduino 1.8.5
Repetier Host 2.1.2
#define Z_PROBE_X_OFFSET 53.87
#define Z_PROBE_Y_OFFSET -13.54
#define ZHOME_X_POS 100
#define ZHOME_Y_POS 100
#define X_MAX_LENGTH 200
#define Y_MAX_LENGTH 280
#define Z_MAX_LENGTH 205
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define PARK_POSITION_X 0
#define PARK_POSITION_Y 10
#define PARK_POSITION_Z_RAISE 10

#define DISTORTION_XMIN 60
#define DISTORTION_YMIN 15
#define DISTORTION_XMAX 190
#define DISTORTION_YMAX 250
#define Z_PROBE_X1 60
#define Z_PROBE_Y1 15
#define Z_PROBE_X2 175
#define Z_PROBE_Y2 15
#define Z_PROBE_X3 60
#define Z_PROBE_Y3 250
These are the settings that worked one time (where the G32 S2 did not work) but #1 when I would home all Axis from the Repetier Host screen, Z would move up, x would home, y would home, then the extruder would move to x100, y100 and start to move down to the bed at z10 the probe would move into position at x100, y100 and the home process would finish. Then the machine would re-home to x0,y0. When I then issued a G32 S2 i would get an error "Error:Activating z-probe would lead to forbidden xy position: -53.869998, 13.54" I tried several times to re-define this using the configuration tool and would get the same error every time. As a test, i change to probe offset from 53.87 to -53.87 and tried to home the machine. This time everything homed as it should have with the exception that the z probe moved to the right this time (indicating that the change I made worked) Thinking this may have reset the issue, i changed the offset back to 53.87 and got the same error again. #2 Keeping everything the same... The ONLY thing i did differently the last time was to go into the config tool and select version .92 of the firmware and downloaded the entire package. I re uploaded the settings, using the home buttons in Repetier Host, manually homed X, then manually homed Y, then homed Z, everything seemed to work. The i sent a G32 S2, the machine tried to home the x axis and seemed to ignore the endstop and chattered as the motor skipped across the belt (i have intentionally left the belt a bit loose at this point so i dont tear it up). Thinking I may have missed something, i re-homed everything and reset the g32 s2 and it did the same thing. There was an error both times i tried this. Is problem #1 an issue with the new firmware and my board? I have what i believe to be a script that zeros the config (just not real excited about running it given the issues i have had so far), or is there still something wrong with my config. Is problem #2 related my config somewhere, that would cause a G32 S2 to ignore the x stop and try to move to what i believe would amount to the Offset of the probe? here is the log from problem #2 04:50:04.835 : N22 M105*23 04:50:07.898 : N23 M105*22 04:50:10.961 : N24 M105*17 04:50:13.165 : N25 G28*36 04:50:14.024 : N26 M105*19 04:50:17.103 : N27 M105*18 04:50:20.166 : N28 M105*29 04:50:23.229 : N29 M105*28 04:50:26.292 : N30 M105*20 04:50:29.355 : N31 M105*21 04:50:32.418 : N32 M105*22 04:50:35.482 : N33 M105*23 04:50:38.545 : N34 M105*16 04:50:41.608 : N35 M105*17 04:50:44.671 : N36 M105*18 04:50:47.734 : N37 M105*19 04:50:50.797 : N38 M105*28 04:50:53.860 : N39 M105*29 04:50:56.923 : N40 M105*19 04:50:59.471 : X:0.00 Y:0.00 Z:0.000 E:0.0000 04:50:59.972 : N41 M105*18 04:51:03.036 : N42 M105*17 04:51:06.100 : N43 M105*16 04:51:09.164 : N44 M105*23 04:51:12.227 : N45 M105*22 04:51:15.290 : N46 M105*21 04:51:17.681 : N47 G32 S2*106 04:51:17.681 : Z correction disabled 04:51:18.353 : N48 M105*27 04:51:18.932 : Error:z-probe triggered before starting probing. 04:51:18.932 : Error:Probing had returned errors - autoleveling canceled. 04:51:21.433 : N49 M105*26 04:51:24.496 : N50 M105*18 04:51:26.200 : fatal:G32 leveling failed! Printer stopped and heaters disabled due to this error. Fix error and restart with M999. 04:51:26.215 : fatal:G32 leveling failed! Printer stopped and heaters disabled due to this error. Fix error and restart with M999. 04:51:26.215 : fatal:G32 leveling failed! Printer stopped and heaters disabled due to this error. Fix error and restart with M999. 04:51:26.215 : fatal:G32 leveling failed! Printer stopped and heaters disabled due to this error. Fix error and restart with M999. 04:51:43.376 : N51 M999*30 04:51:43.376 : N1 M110*34 04:51:43.376 : info:Continue from fatal state 04:51:44.376 : N1 M110*34 04:51:45.924 : N2 M105*37 04:51:48.987 : N3 M105*36 04:51:52.050 : N4 M105*35 04:51:55.113 : N5 M105*34 04:51:58.176 : N6 M105*33 04:51:58.942 : N7 G28 X0*92 04:51:59.817 : X:-0.01 Y:-0.00 Z:10.000 E:0.0000 04:52:01.239 : N8 M105*47 04:52:04.303 : N9 M105*46 04:52:07.366 : N10 M105*22 04:52:10.132 : N11 G1 X49.99 F4800*41 04:52:10.429 : N12 M105*20 04:52:13.492 : N13 M105*21 04:52:15.164 : N14 G28 X0*110 04:52:16.555 : N15 M105*19 04:52:17.211 : X:-0.01 Y:-0.00 Z:10.000 E:0.0000 04:52:19.618 : N16 M105*16 04:52:22.681 : N17 M105*17 04:52:25.744 : N18 M105*30 04:52:28.807 : N19 M105*31 04:52:31.870 : N20 M105*21 04:52:34.933 : N21 M105*20 04:52:36.011 : N22 M205*20 04:52:36.027 : EPR:0 1028 0 Language 04:52:36.027 : EPR:2 75 250000 Baudrate 04:52:36.043 : EPR:3 129 873.631 Filament printed [m] 04:52:36.043 : EPR:2 125 929461 Printer active [s] 04:52:36.043 : EPR:2 79 0 Max. inactive time [ms,0=off] 04:52:36.058 : EPR:2 83 360000 Stop stepper after inactivity [ms,0=off] 04:52:36.058 : EPR:3 3 80.0000 X-axis steps per mm 04:52:36.074 : EPR:3 7 80.0000 Y-axis steps per mm 04:52:36.074 : EPR:3 11 1600.0000 Z-axis steps per mm 04:52:36.074 : EPR:3 15 250.000 X-axis max. feedrate [mm/s] 04:52:36.090 : EPR:3 19 300.000 Y-axis max. feedrate [mm/s] 04:52:36.090 : EPR:3 23 2.000 Z-axis max. feedrate [mm/s] 04:52:36.090 : EPR:3 27 40.000 X-axis homing feedrate [mm/s] 04:52:36.105 : EPR:3 31 40.000 Y-axis homing feedrate [mm/s] 04:52:36.105 : EPR:3 35 2.000 Z-axis homing feedrate [mm/s] 04:52:36.121 : EPR:3 39 15.000 Max. jerk [mm/s] 04:52:36.121 : EPR:3 47 0.300 Max. Z-jerk [mm/s] 04:52:36.136 : EPR:3 133 0.000 X min pos [mm] 04:52:36.136 : EPR:3 137 0.000 Y min pos [mm] 04:52:36.152 : EPR:3 141 0.000 Z min pos [mm] 04:52:36.152 : EPR:3 145 200.000 X max length [mm] 04:52:36.152 : EPR:3 149 280.000 Y max length [mm] 04:52:36.168 : EPR:3 153 205.000 Z max length [mm] 04:52:36.168 : EPR:3 157 0.000 X backlash [mm] 04:52:36.168 : EPR:3 161 0.000 Y backlash [mm] 04:52:36.183 : EPR:3 165 0.000 Z backlash [mm] 04:52:36.183 : EPR:3 51 1000.000 X-axis acceleration [mm/s^2] 04:52:36.199 : EPR:3 55 1000.000 Y-axis acceleration [mm/s^2] 04:52:36.199 : EPR:3 59 100.000 Z-axis acceleration [mm/s^2] 04:52:36.199 : EPR:3 63 3000.000 X-axis travel acceleration [mm/s^2] 04:52:36.215 : EPR:3 67 3000.000 Y-axis travel acceleration [mm/s^2] 04:52:36.215 : EPR:3 71 100.000 Z-axis travel acceleration [mm/s^2] 04:52:36.230 : EPR:3 1024 0.000 Coating thickness [mm] 04:52:36.230 : EPR:3 808 0.470 Z-probe height [mm] 04:52:36.246 : EPR:3 929 10.000 Max. z-probe - bed dist. [mm] 04:52:36.246 : EPR:3 812 3.000 Z-probe speed [mm/s] 04:52:36.246 : EPR:3 840 100.000 Z-probe x-y-speed [mm/s] 04:52:36.261 : EPR:3 800 53.870 Z-probe offset x [mm] 04:52:36.261 : EPR:3 804 -13.540 Z-probe offset y [mm] 04:52:36.261 : EPR:3 816 60.000 Z-probe X1 [mm] 04:52:36.277 : EPR:3 820 15.000 Z-probe Y1 [mm] 04:52:36.277 : EPR:3 824 175.000 Z-probe X2 [mm] 04:52:36.293 : EPR:3 828 15.000 Z-probe Y2 [mm] 04:52:36.293 : EPR:3 832 60.000 Z-probe X3 [mm] 04:52:36.293 : EPR:3 836 250.000 Z-probe Y3 [mm] 04:52:36.308 : EPR:3 1036 0.000 Z-probe bending correction A [mm] 04:52:36.308 : EPR:3 1040 0.000 Z-probe bending correction B [mm] 04:52:36.308 : EPR:3 1044 0.000 Z-probe bending correction C [mm] 04:52:36.324 : EPR:0 880 0 Autolevel active (1/0) 04:52:36.324 : EPR:0 106 3 Bed Heat Manager [0-3] 04:52:36.340 : EPR:0 107 255 Bed PID drive max 04:52:36.340 : EPR:0 124 80 Bed PID drive min 04:52:36.355 : EPR:3 108 5.000 Bed PID P-gain 04:52:36.355 : EPR:3 112 33.000 Bed PID I-gain 04:52:36.371 : EPR:3 116 290.000 Bed PID D-gain 04:52:36.371 : EPR:0 120 255 Bed PID max value [0-255] 04:52:36.371 : EPR:0 1020 0 Enable retraction conversion [0/1] 04:52:36.386 : EPR:3 992 3.000 Retraction length [mm] 04:52:36.386 : EPR:3 996 13.000 Retraction length extruder switch [mm] 04:52:36.386 : EPR:3 1000 40.000 Retraction speed [mm/s] 04:52:36.402 : EPR:3 1004 0.000 Retraction z-lift [mm] 04:52:36.402 : EPR:3 1008 0.000 Extra extrusion on undo retract [mm] 04:52:36.418 : EPR:3 1012 0.000 Extra extrusion on undo switch retract [mm] 04:52:36.418 : EPR:3 1016 20.000 Retraction undo speed 04:52:36.418 : EPR:3 200 95.200 Extr.1 steps per mm 04:52:36.433 : EPR:3 204 50.000 Extr.1 max. feedrate [mm/s] 04:52:36.433 : EPR:3 208 20.000 Extr.1 start feedrate [mm/s] 04:52:36.449 : EPR:3 212 5000.000 Extr.1 acceleration [mm/s^2] 04:52:36.449 : EPR:0 216 1 Extr.1 heat manager [0-3] 04:52:36.465 : EPR:0 217 230 Extr.1 PID drive max 04:52:36.465 : EPR:0 245 40 Extr.1 PID drive min 04:52:36.465 : EPR:3 218 4.0000 Extr.1 PID P-gain/dead-time 04:52:36.480 : EPR:3 222 2.0000 Extr.1 PID I-gain 04:52:36.480 : EPR:3 226 40.0000 Extr.1 PID D-gain 04:52:36.480 : EPR:0 230 255 Extr.1 PID max value [0-255] 04:52:36.496 : EPR:2 231 0 Extr.1 X-offset [steps] 04:52:36.496 : EPR:2 235 0 Extr.1 Y-offset [steps] 04:52:36.496 : EPR:2 290 0 Extr.1 Z-offset [steps] 04:52:36.511 : EPR:1 239 1 Extr.1 temp. stabilize time [s] 04:52:36.511 : EPR:1 250 150 Extr.1 temp. for retraction when heating [C] 04:52:36.511 : EPR:1 252 0 Extr.1 distance to retract when heating [mm] 04:52:36.527 : EPR:0 254 255 Extr.1 extruder cooler speed [0-255] 04:52:36.527 : EPR:3 300 95.200 Extr.2 steps per mm 04:52:36.543 : EPR:3 304 50.000 Extr.2 max. feedrate [mm/s] 04:52:36.543 : EPR:3 308 20.000 Extr.2 start feedrate [mm/s] 04:52:36.543 : EPR:3 312 5000.000 Extr.2 acceleration [mm/s^2] 04:52:36.558 : EPR:0 316 1 Extr.2 heat manager [0-3] 04:52:36.558 : EPR:0 317 230 Extr.2 PID drive max 04:52:36.574 : EPR:0 345 40 Extr.2 PID drive min 04:52:36.574 : EPR:3 318 4.0000 Extr.2 PID P-gain/dead-time 04:52:36.574 : EPR:3 322 2.0000 Extr.2 PID I-gain 04:52:36.590 : EPR:3 326 40.0000 Extr.2 PID D-gain 04:52:36.590 : EPR:0 330 255 Extr.2 PID max value [0-255] 04:52:36.605 : EPR:2 331 0 Extr.2 X-offset [steps] 04:52:36.605 : EPR:2 335 0 Extr.2 Y-offset [steps] 04:52:36.621 : EPR:2 390 0 Extr.2 Z-offset [steps] 04:52:36.621 : EPR:1 339 1 Extr.2 temp. stabilize time [s] 04:52:36.637 : EPR:1 350 150 Extr.2 temp. for retraction when heating [C] 04:52:36.637 : EPR:1 352 0 Extr.2 distance to retract when heating [mm] 04:52:36.637 : EPR:0 354 255 Extr.2 extruder cooler speed [0-255] 04:52:36.652 : EPR:3 400 370.000 Extr.3 steps per mm 04:52:36.652 : EPR:3 404 50.000 Extr.3 max. feedrate [mm/s] 04:52:36.668 : EPR:3 408 20.000 Extr.3 start feedrate [mm/s] 04:52:36.668 : EPR:3 412 5000.000 Extr.3 acceleration [mm/s^2] 04:52:36.683 : EPR:0 416 1 Extr.3 heat manager [0-3] 04:52:36.683 : EPR:0 417 230 Extr.3 PID drive max 04:52:36.699 : EPR:0 445 40 Extr.3 PID drive min 04:52:36.699 : EPR:3 418 7.0000 Extr.3 PID P-gain/dead-time 04:52:36.699 : EPR:3 422 2.0000 Extr.3 PID I-gain 04:52:36.715 : EPR:3 426 40.0000 Extr.3 PID D-gain 04:52:36.715 : EPR:0 430 255 Extr.3 PID max value [0-255] 04:52:36.715 : EPR:2 431 0 Extr.3 X-offset [steps] 04:52:36.730 : EPR:2 435 0 Extr.3 Y-offset [steps] 04:52:36.730 : EPR:2 490 0 Extr.3 Z-offset [steps] 04:52:36.746 : EPR:1 439 1 Extr.3 temp. stabilize time [s] 04:52:36.746 : EPR:1 450 150 Extr.3 temp. for retraction when heating [C] 04:52:36.746 : EPR:1 452 0 Extr.3 distance to retract when heating [mm] 04:52:36.762 : EPR:0 454 255 Extr.3 extruder cooler speed [0-255] 04:52:37.965 : N23 M105*22 04:52:41.028 : N24 M105*17 04:52:44.091 : N25 M105*16 04:52:47.154 : N26 M105*19 04:52:49.733 : N27 M206 T3 X1 P133*93 04:52:49.733 : N28 M206 T3 X1 P137*86 04:52:49.764 : Transformation matrix: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 04:52:49.764 : SelectExtruder:0 04:52:49.796 : Transformation matrix: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 04:52:49.796 : SelectExtruder:0 04:52:50.218 : N29 M105*28 04:52:53.281 : N30 M105*20 04:52:53.906 : N31 G28 X0*105 04:52:56.062 : X:1.00 Y:0.00 Z:10.000 E:0.0000 04:52:56.344 : N32 M105*22 04:52:57.516 : N33 G28 Y0*106 04:52:58.375 : X:1.00 Y:1.00 Z:10.000 E:0.0000 04:52:59.407 : N34 M105*16 04:53:02.470 : N35 M105*17 04:53:04.361 : N36 G1 Y51 F4800*10 04:53:05.533 : N37 M105*19 04:53:06.470 : N38 G28 Z0*98 04:53:08.596 : N39 M105*29 04:53:11.674 : N40 M105*19 04:53:14.737 : N41 M105*18 04:53:17.800 : N42 M105*17 04:53:20.863 : N43 M105*16 04:53:23.926 : N44 M105*23 04:53:26.990 : N45 M105*22 04:53:30.053 : N46 M105*21 04:53:33.116 : N47 M105*20 04:53:36.179 : N48 M105*27 04:53:39.242 : N49 M105*26 04:53:42.305 : N50 M105*18 04:53:45.368 : N51 M105*19 04:53:48.431 : N52 M105*16 04:53:51.494 : N53 M105*17 04:53:54.557 : N54 M105*22 04:53:57.620 : N55 M105*23 04:53:57.839 : X:1.00 Y:1.00 Z:0.000 E:0.0000 04:54:00.668 : N56 M105*20 04:54:03.731 : N57 M105*21 04:54:06.794 : N58 M105*26 04:54:09.857 : N59 M105*27 04:54:12.920 : N60 M105*17 04:54:15.983 : N61 M105*16 04:54:16.686 : N62 G32 S2*109 04:54:16.686 : Z correction disabled 04:54:17.921 : Error:z-probe triggered before starting probing. 04:54:17.936 : Error:Probing had returned errors - autoleveling canceled. 04:54:19.046 : N63 M105*18 04:54:22.124 : N64 M105*21 04:54:25.047 : fatal:G32 leveling failed! Printer stopped and heaters disabled due to this error. Fix error and restart with M999. 04:54:25.047 : fatal:G32 leveling failed! Printer stopped and heaters disabled due to this error. Fix error and restart with M999. 04:54:25.047 : fatal:G32 leveling failed! Printer stopped and heaters disabled due to this error. Fix error and restart with M999. 04:54:36.064 : N65 M999*25 04:54:36.064 : N1 M110*34 04:54:36.064 : info:Continue from fatal state 04:54:37.080 : N1 M110*34 04:54:37.080 : N1 M110*34 04:54:37.439 : N2 M105*37 04:54:40.503 : N3 M105*36 04:54:43.566 : N4 M105*35 04:54:46.630 : N5 M105*34 04:54:49.693 : N6 M105*33 04:54:52.756 : N7 M105*32 04:54:55.819 : N8 M105*47 04:54:58.885 : N9 M105*46 04:55:01.948 : N10 M105*22 04:55:05.012 : N11 M105*23 04:55:08.076 : N12 M105*20 04:55:11.139 : N13 M105*21 04:55:14.202 : N14 M105*18 04:55:17.265 : N15 M105*19 04:55:20.328 : N16 M105*16 04:55:23.391 : N17 M105*17 04:55:26.454 : N18 M105*30 04:55:29.517 : N19 M105*31 04:55:32.581 : N20 M105*21 04:55:35.644 : N21 M105*20 04:55:38.707 : N22 M105*23

Comments

  • Z probe handling evolved over the versions, so you can not expect it to work the same on all.
    Important is to remember that activating moves it 53mm left and 13mm top so that must be possible at current position and also be valid for all positions you need to reach. Most errors come from trying this at an illegal position.

    For V2 I want to improve on this problem as it makes most support questions, but this will be a newly designed concept so not back portable to old versions.
  • ok.. if i understand this correctly, after i home x and y, i would move the extruder to the middle of the bed then issue the G32 S2, then move the extruder back to the middle and send the g33..

    Would this be correct?


  • and THANK YOU for all of the help and information here..
    I REALLY appreciate the efforts of everyone on this board!
  • Middle of bed is at least a quite safe position for everything to start. But you still need also to ensure that the measured points lie inside allowed region.

    For homing you select a order with preheat. Here you can select a homing position for z homing, e.g. middle of bed so activating probe during homing would also work.
  • Is there a way to mark these threads as solved?

    THANK YOU for all of your assistance, I now have a much better understanding of what was happening and why.
    I am now back online and printing, i now know my issues were and hopefully will recall this when i run into this again, I plan to make the frame larger on this printer so that I can effectively use all 3 extruders and not have errors when trying to home this unit.

    Again.. THANKS to everyone on this thread for the patience and assistance..!! 
Sign In or Register to comment.