rhapsodyv / Marlin

Optimized firmware for RepRap 3D printers based on the Arduino platform.
http://marlinfw.org
GNU General Public License v3.0
82 stars 428 forks source link

XY3-Pro Z Homing Issue #23

Open theonewhoKnox opened 3 years ago

theonewhoKnox commented 3 years ago

Description

I just flashed my XY-3 Pro. Because there wasn't a prewrote "#define" for my printer I had to get creative In config.h I used the XY-3_V5_330_NO_TITAN_TMC_NO_ABL I changed the following...

define MOTHERBOARD BOARD_CHITU3D_V6

define WITHOUT_ABL 1

define WITH_TITAN 1

define X_BED_SIZE 300

define Y_BED_SIZE 300

define Z_MAX_POS 400

I enabled Mesh Bed Leveling and LCD mesh bed leveling Changed grid to 6x6 I enabled homing of individual axes on LCD I COMPILED and she worked.

ISSUE I sent an auto home, x and y home fine, z went to the middle of the bed and crashed into the bed. so I thought probe settings were on. So I disabled them all

Expected behavior: [Z to home, and stop when actuating the end stop]

Actual behavior: [It ignores the end stop signal and will continue to move down crashing into the bed]

Additional Information

After the problem I did the following.... check switch to board to made sure it was working and secure (wired NO) Commented z_ min_probe_uses_z_min_endstop Commented use_probe_for_z_homing Commented safe z probing feature I tried it with manual probing on and off i went through the config.h and commented everything under zprobe Config.zip

Eliminateur commented 3 years ago

i have an XY3-Pro and was encountered this issue, the problem is that the chitu3_v6 pins.h file has the wrong pin definition: #define Z_STOP_PIN PG9 When the board has the same pinout as the v5: #define Z_STOP_PIN PA14

Change your board definition to BOARD_CHITU3D_V5 and also in your platformio.ini set the environment to chitu_v5_gpio_init

after that it's solved, you can check the endstop state with the M119 command so you can trigger them manually