Welcome! Log In Create A New Profile

Advanced

Problem enabling Z Home Safe

Posted by twoody65 
Problem enabling Z Home Safe
January 04, 2019 01:16AM
Does anyone know why I'm getting this error (static assertion failed: Z_SAFE_HOMING_X_POINT is outside the probe region.) when I try to enable Z_HOME_SAFE feature. I'm using Marlin 1.1.9 and an MKS Gen 1.4. Print area is 220mm x 220mm x 240mm.
Thanks
Re: Problem enabling Z Home Safe
January 04, 2019 07:27AM
What did you set your Probe offset from extruder configurations too?


Computer Programmer / Electronics Technician
Re: Problem enabling Z Home Safe
January 04, 2019 09:14PM
This is what I have it set to.
#define X_PROBE_OFFSET_FROM_EXTRUDER 0 // X offset: -left +right [of the nozzle]
#define Y_PROBE_OFFSET_FROM_EXTRUDER 20 // Y offset: -front +behind [the nozzle]
#define Z_PROBE_OFFSET_FROM_EXTRUDER 1 // Z offset: -below +above [the nozzle]
Re: Problem enabling Z Home Safe
January 05, 2019 12:24PM
And your Z-Safe homing config look like this.

#define X_BED_SIZE 220
#define Y_BED_SIZE 220

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 240


#define Z_SAFE_HOMING

#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28).
#endif


Computer Programmer / Electronics Technician
Re: Problem enabling Z Home Safe
January 05, 2019 11:09PM
Clif, I wanted to thank you for your help. I just copied a new configuration.h file and only configured the minimum to get rid of that error. Now every time I apply power to the control board I get a driver error. This has been the craziest thing. Every time I get one thing fixed something else breaks.
Re: Problem enabling Z Home Safe
January 06, 2019 09:47AM
Upload your configuration.h and configuration_adv.h to a google drive, copy the shareable link'

Post shareable link and will take a look see what is going on for you.


Computer Programmer / Electronics Technician
Re: Problem enabling Z Home Safe
January 07, 2019 12:33AM
Hey Clif, here is the link to the files you requested. Also, I found that the wiring was causing the driver error but now that is fixed the drive won't enable so they still don't move.
[drive.google.com]
[drive.google.com]
Re: Problem enabling Z Home Safe
January 07, 2019 10:28AM
Never done bed leveling the way you are doing it

Found a link for you to look at
[github.com]

I added the following boundaries and the code did compile

// Set the // Set the boundaries for probing (where the probe can reach).
#define LEFT_PROBE_BED_POSITION 10
#define RIGHT_PROBE_BED_POSITION 210
#define FRONT_PROBE_BED_POSITION 30
#define BACK_PROBE_BED_POSITION 190


// The Z probe minimum outer margin (to validate G29 parameters).
#define MIN_PROBE_EDGE 10

I believe the Boundaries are required to use Z Safe Homing

Edited 5 time(s). Last edit at 01/07/2019 10:53AM by Roberts_Clif.


Computer Programmer / Electronics Technician
Re: Problem enabling Z Home Safe
January 07, 2019 11:39PM
Got it, I will give it a try tomorrow when I have time to make the changes and test it. Thank you for the guidance and help.
Re: Problem enabling Z Home Safe
January 10, 2019 01:43AM
I made the changes that you suggested and I got it to compile with no errors. Now when I try to print I find that the motors are enabling. To be honest I'm on the verge of trashing this thing.
Sorry, only registered users may post in this forum.

Click here to login