Z home with autolevel

qdshombre
Posts: 30
Joined: Wed May 18, 2016 6:07 am

Re: Z home with autolevel

Post by qdshombre » Sat Jul 23, 2016 6:50 pm

no one? no technician available? Tuesday, it's been a month that I'm out ??? !!!
i3 Pro C double extrudeur MK8 - carte GT2560 avec 5 A4988 - lit chauffant

qdshombre
Posts: 30
Joined: Wed May 18, 2016 6:07 am

Re: Z home with autolevel

Post by qdshombre » Mon Jul 25, 2016 10:48 pm

maybe stop Z min and using Z max? how to change? thank you
i3 Pro C double extrudeur MK8 - carte GT2560 avec 5 A4988 - lit chauffant

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Z home with autolevel

Post by William » Tue Jul 26, 2016 6:00 pm

qdshombre wrote:maybe stop Z min and using Z max? how to change? thank you
Hi,
Sorry for the late reply.
1.Open you firmware file,and find "pins.h",then open the file with your WordPad on your PC:
QQ截图20160726175312.jpg
QQ截图20160726175312.jpg (77.11 KiB) Viewed 7552 times
QQ截图20160726175609.jpg
QQ截图20160726175609.jpg (96.77 KiB) Viewed 7552 times
2.Then modify the codes of red area like the following shows:
#ifdef Z_STOP_PIN
#if Z_HOME_DIR < 0
#define Z_MIN_PIN Z_STOP_PIN
#define Z_MAX_PIN -1
#else
#define Z_MIN_PIN -1
#define Z_MAX_PIN Z_STOP_PIN
#endif
#endif

#ifdef DISABLE_MAX_ENDSTOPS
#undef X_MAX_PIN
#undef Y_MAX_PIN
#undef Z_MAX_PIN
#define X_MAX_PIN -1
#define Y_MAX_PIN -1
#define Z_MAX_PIN -1
#endif

#ifdef DISABLE_MIN_ENDSTOPS
#undef X_MIN_PIN
#undef Y_MIN_PIN
#undef Z_MIN_PIN
#define X_MIN_PIN -1
#define Y_MIN_PIN -1
#define Z_MIN_PIN -1
#endif

to this:
#ifdef Z_STOP_PIN
#if Z_HOME_DIR < 0
#defineZ_MIN_PIN -1
#define Z_MAX_PIN Z_STOP_PIN
#else
#define Z_MIN_PIN Z_STOP_PIN
#define Z_MAX_PIN -1
#endif
#endif
#ifdef DISABLE_MAX_ENDSTOPS
#undef X_MAX_PIN
#undef Y_MAX_PIN
#undef Z_MAX_PIN -1
#define X_MAX_PIN -1
#define Y_MAX_PIN -1
#define Z_MAX_PIN
#endif

#ifdef DISABLE_MIN_ENDSTOPS
#undef X_MIN_PIN
#undef Y_MIN_PIN
#undef Z_MIN_PIN
#define X_MIN_PIN -1
#define Y_MIN_PIN -1
#define Z_MIN_PIN
#endif

You can have a try.
Good Luck
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

qdshombre
Posts: 30
Joined: Wed May 18, 2016 6:07 am

Re: Z home with autolevel

Post by qdshombre » Tue Jul 26, 2016 6:08 pm

thanks, I'll try. my sensor is NPN NO, it's okay?
i3 Pro C double extrudeur MK8 - carte GT2560 avec 5 A4988 - lit chauffant

Toy
Site Admin
Posts: 116
Joined: Mon May 16, 2016 8:40 am

Re: Z home with autolevel

Post by Toy » Wed Jul 27, 2016 5:11 pm

qdshombre wrote:thanks, I'll try. my sensor is NPN NO, it's okay?
It's okay since it's a NO sensor.

qdshombre
Posts: 30
Joined: Wed May 18, 2016 6:07 am

Re: Z home with autolevel

Post by qdshombre » Thu Jul 28, 2016 6:04 pm

NPN PNP (Copier).jpg
NPN PNP (Copier).jpg (15.03 KiB) Viewed 7907 times
Toy wrote:Il est correct car il est un capteur de NO.
ok, but mine is NPN but it is connected as a PNP on the attached model. Not a problem?
i3 Pro C double extrudeur MK8 - carte GT2560 avec 5 A4988 - lit chauffant

Post Reply