Skip to content
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

pn:PA triggered on MKS #20

Closed
dansity opened this issue Nov 13, 2019 · 4 comments
Closed

pn:PA triggered on MKS #20

dansity opened this issue Nov 13, 2019 · 4 comments

Comments

@dansity
Copy link

dansity commented Nov 13, 2019

Hello,
I have wired my 3 limit switches NC ($5=1) and in the serial I'm reading Pn:PA and I get an alarm triggered by it obviously.
All 3 switches are recognized and when I press them and I'm reading Pn:PXA when pressing X so they are working.
I guess I have to use a jumper on two pins somewhere on the MKS board to close the limit of 4th axis(?)
I'm just guessing it is the 4th axis as I can see all the feeds in the settings like $113

Can I remove this with any setting in the software or can someone point me to the right pins to jumper on the MKS 1.3 board?

@cprezzi
Copy link
Collaborator

cprezzi commented Nov 13, 2019

Please use my official fork, as stated in the README.md. It has predefined profiles for multiple controllers (like the MKS SBASE) and machines, that can be activated by simple defines in config.h. There are also precompiled firmwares for most used boards. See: https://github.com/cprezzi/grbl-LPC

@dansity
Copy link
Author

dansity commented Nov 13, 2019

I have downloaded and flashed the mks_sbase_firmware.bin from releases (94kb file - 2017 oct 8) and have the above mentioned 4th axis defined.
Am I missing something?

@dansity
Copy link
Author

dansity commented Nov 14, 2019

In the meantime I have found that the fourth axis limit pin is defined on p1.29 (Z max)
define A_LIMIT_BIT 29 // reuse p1.29
I don't really know how to compile these forks (the description is a bit insufficient in the readme) so I will just short the pins and call it a day.
Can i have any future disadvantage by not having a 4th axis physically?

@cprezzi
Copy link
Collaborator

cprezzi commented Nov 14, 2019

The jumper solution is a easy one (in case of $5=1) and you should not have any disadvantage of it. The 4th axis is anyways mostly used for rotary axis, which often don't have limit switches.

@cprezzi cprezzi closed this as completed Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants