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

Extra end stops pins #192

Open
coolerooney opened this issue May 20, 2019 · 16 comments
Open

Extra end stops pins #192

coolerooney opened this issue May 20, 2019 · 16 comments

Comments

@coolerooney
Copy link

coolerooney commented May 20, 2019

Hi

The MK4Duo fork supports extra endstops for the extra motors

Where do I connect the wires to?

It in is Feature and in Configuration Cartesian tabs

Please be very clear in your reply, `i am a real Noob.

Thx

C

@MagoKimbra
Copy link
Member

Extra endstop for double engines in X or Y or Z?

@coolerooney
Copy link
Author

coolerooney commented May 21, 2019 via email

@MagoKimbra
Copy link
Member

Ok in configuration_feature.h you can found:

//#define X_TWO_STEPPER_DRIVERS
//#define X_TWO_ENDSTOPS
//#define Y_TWO_STEPPER_DRIVERS
//#define Y_TWO_ENDSTOPS
//#define Z_TWO_STEPPER_DRIVERS
//#define Z_TWO_ENDSTOPS

And in configuration_pin you can set pin for extra endstop

#define X2_MIN_PIN          NoPin
#define Y2_MIN_PIN          NoPin
#define Z2_MIN_PIN          NoPin
#define Z3_MIN_PIN          NoPin
#define X2_MAX_PIN          NoPin
#define Y2_MAX_PIN          NoPin
#define Z2_MAX_PIN          NoPin
#define Z3_MAX_PIN          NoPin

@coolerooney
Copy link
Author

coolerooney commented May 21, 2019 via email

@MagoKimbra
Copy link
Member

where you want. Or use endstop pins that you don't use, such as Xmin and not Xmax, you can use the X_max pin for X2_min.

@coolerooney
Copy link
Author

coolerooney commented May 21, 2019 via email

@MagoKimbra
Copy link
Member

Ok, but you have to explain to me what you need ..
What endstop do you use for the home?
Which engines do you have double? X or Y or Z?
On the ramps you have only one driver available for a double engine, for those who use it?

@coolerooney
Copy link
Author

coolerooney commented May 22, 2019 via email

@MagoKimbra
Copy link
Member

MagoKimbra commented May 22, 2019

Ok, so you have two X engines with two drivers, the home is on min. This is your configuration.
The firmware for 3D printers use endstops only during the homing phase, so the X MAX endstop is useless.
Anyway even if you want to use it if you want to put the double endstop X2_MIN you still have Y_MAX and Z_MAX free. So it's enough that you set in configuration_pins.h
#define X2_MIN_PIN ORIG_Y_MAX_PIN for example if you want to use the Y_MAX pin.

But you should use the online configurator to do this is much more practical and faster ...
https://marlinkimbra.it/configurator/v4_3_9/firmware_configurator.php

@coolerooney
Copy link
Author

coolerooney commented May 22, 2019 via email

@MagoKimbra
Copy link
Member

But the pins you have to choose them, there are no pins on the board for extra endstops ... So when you activate the double driver for X and activate the double endstop it asks you which pin to use and you put one of the endstops that you don't use ... Y_MAX or Z_MAX.

@coolerooney
Copy link
Author

coolerooney commented May 22, 2019 via email

@MagoKimbra
Copy link
Member

Ok, unfortunately we can't understand ...
If you configure everything online with the online configurator you don't have to touch anything in the files, you just have to choose the pin to use for X2_MIN_PIN, and I told you to use one of the endstop pins you don't use, in the configurator in the X2_MIN_PIN box put Y_MAX_PIN or Z_MAX_PIN that you don't use ... If you want to use another pin on the AUX connector and you need to know what pin is what number it is, I can't know it, you download the datasheet of your card with all the numbering and see which one is the pin ...

@coolerooney
Copy link
Author

coolerooney commented May 22, 2019 via email

@MagoKimbra
Copy link
Member

MagoKimbra commented May 22, 2019

If you set X two endstop you found second endstop!!!

endstop

@coolerooney
Copy link
Author

coolerooney commented Jun 11, 2019 via email

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