-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] TronXY Chitu V6 F103 board incorrect Z_STOP_PIN #25547
Comments
Tronxy have a bad habit of using pins for functions that different from the boards labeled functions. From the information I can see the Z endstop pin is PA14 as listed in pins_CHITU3D_V6.h PG9 is listed as the X+ endstop (which doesn't seem to actually exist as a plug, is probably part of the large connector) See circuit diagram https://github.com/MarlinFirmware/Marlin/files/3401484/x5sa-main_board-2.pdf I would firstly check, where is your z stop actually plugged into on the board, what port? |
I think this might be a part of the problem. X5SA are CoreXY machines so the probe wiring goes through the printhead chain to the secondary board, where they are just grouped into the 40-pin connector. Meaning you have no option to plug it differently at the main board and you possible can plug it differently at the secondary board... I will check it later today, but I don't think there will be much more other ports. |
A took a look at the secondary board and there were (among others) ports labeled So from the user interface perspective, my printer is ok. Can @AdUser chime in with more info about the PR that changed the pin? 🙂 |
If it has a secondary board that remaps functions/pins, then marlin needs mapping for that secondary board and a define for it. Basically the motherboard is correct, needs an additional define to say, "im using the interface adapter" that changes things Does the adapter board have any labels? something obvious we should be calling it? Can you take pictures? |
So no z-stop on that board. so it is not possible to be using z-stop for a probe attached to this board. to me the config your using is simply wrong You should not be using Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN as you are not using z-min pin Adding #define Z_MIN_PROBE_PIN PG9 to pins_CHITU3D_V6.h is also an option |
I based my config on the official Marlin Configuration repository, where the Tronxy X5SA series has its own directory and Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN is defined there, which kind of made sense since the printer has no dedicated Z-STOP switch. In either case, I think it should be more plug and play for the user in terms of pins. It is more than likely that user will base their config on the defaults from Marlin Config repository. In this regard I would suggest some changes either to the config repo or to the pin definition files, but since I have seen only one CHITU board in my life, I am not the person to do it. |
If it helps, my board is CXY-V6 190319. |
I just found this https://3dtoday.ru/blogs/artem-sr/tronxy-x5sa-pro-ustanovka-bfp-touch-na-board-chitu3d-v6-cxy-v6-191017 It documents all the pins on that 30 pin cable/board It says that PG9 is Proximity pin... ie it should be defined as a probe So based on this pins_CHITU3D_V6 should have
Please test these changes work as expected. The z-stop pin should most definitely not be changed |
There is no Marlin provided Configuration example for a TronXY X5SA-500 Pro So I don;t know what Example config your are referring to The provided Example Config for a X5SA is a different controller, and as such has different requirements. |
I viewed X5SA(-xxx) as a family of printers. Since they are all the same layout and "just use different length extrusions and belts" and it actually worked great. |
#25552 has been merged. |
@thisiskeithb I have also added comment to this issue on Marlin Configurations MarlinFirmware/Configurations#649 , since I believe this should also be reflected in TronXY X5SA(9-xxx) configs. I can help with X5SA-500 Pro. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Bed leveling probe does not work as Z_MIN switch.
There is a wrong pin assigned to Z_STOP_PIN in
pins_CHITU3D_V6.h
.The change came with this PR.
Before that, the value from
pins_CHITU3D_common.h
was used. (pinPG9
)After the change the value is assigned in
pins_CHITU3D_V6.h
and is different (pinPA14
).I have a late 2020 TronXY X5SA-500 Pro with Chitu V6 F103.
The PR says it fixed the issue on some other board, but it broke mine and I actually cannot find any other configuration file with the correct pin value... therefore I assume that there are either more board variants than is currently supported or the PR fix was incorrect and he should have used a different board (both V5 and V9 also use the
PA14
pin that the PR introduced).It works fine by changing the pin back to
PG9
.Bug Timeline
It started with this pull request #25227
Expected behavior
Z probe supplies values to the firmware.
Actual behavior
Z probe is not recognized because of incorrect pin.
M119 reports it as
open
even though the sensor is triggered.The sensor itself is working.
Steps to Reproduce
Version of Marlin Firmware
2.1.2
Printer model
Tronxy X5SA-500 Pro
Electronics
full stock
Add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
Prusa Slicer
Host Software
SD Card (headless)
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
I am not uploading the conf files because they are not relevant.
Feel free to ask for it.
The text was updated successfully, but these errors were encountered: