MKFirmware / MarlinKimbra

📟 MK 3D Printer Firmware for Arduino
52 stars 39 forks source link

Extra end stops pins #192

Open coolerooney opened 5 years ago

coolerooney commented 5 years ago

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 commented 5 years ago

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

coolerooney commented 5 years ago

For all

Thx

Op 20 mei 2019 om 23:30 heeft MagoKimbra notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64R4DZ5IAVMZQJF5FPLPWMJ7LA5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2ECLQ#issuecomment-494158126, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64RXT2IALSO2VT3IOITPWMJ7LANCNFSM4HOFRDPQ.

MagoKimbra commented 5 years ago

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 commented 5 years ago

Hi

Yes i have found that But what is the nr of the pin and where is this on the ramps / megatronics board? Where do i connect the wires?

Thx

Op 21 mei 2019 om 09:05 heeft MagoKimbra notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64SD2N5Q4APEKC5FM7TPWONNBA5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV26UII#issuecomment-494266913, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64UEV3NHESQ7QNXQVJDPWONNBANCNFSM4HOFRDPQ.

MagoKimbra commented 5 years ago

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 commented 5 years ago

Hi I am not an expert or anything close

please show me how to do which pin nrs, where entered in de program, and how do the wires connect

apologies for being a Noob

best

carel


Van: MagoKimbra notifications@github.com Verzonden: dinsdag 21 mei 2019 18:12 Aan: MKFirmware/MarlinKimbra CC: coolerooney; Author Onderwerp: Re: [MKFirmware/MarlinKimbra] Extra end stops pins (#192)

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64U5IFQOVVJACPXUKQTPWQNNPA5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV4NEDA#issuecomment-494457356, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64UCP6DTRSHYRCIWXLTPWQNNPANCNFSM4HOFRDPQ.

MagoKimbra commented 5 years ago

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 commented 5 years ago

Hi Iam using the toolchain in a non 3d printer setup

But to keep it simple- a double x motor+driver, and want end stops on both, min and max The min endstops is home

How do I achieve this- how do i assign a pin, which pin is available, and where do i find the connector on the board?

Thx again

Best

Op 21 mei 2019 om 18:29 heeft MagoKimbra notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

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?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64VKUJM3KNQKKEXDU3TPWQPMRA5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV4OVAY#issuecomment-494463619, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64S2KF5HI3STVTVZ7JLPWQPMRANCNFSM4HOFRDPQ.

MagoKimbra commented 5 years ago

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 commented 5 years ago

Agreed How do I do this, see previous mail The online configurator does not tell me which pins and where

Thx

Op 22 mei 2019 om 20:34 heeft MagoKimbra notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

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 ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64QQZQRCFZUDWEQNXGLPWWG25A5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV7427Y#issuecomment-494914943, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64VLCFUECQ4P64PFA2LPWWG25ANCNFSM4HOFRDPQ.

MagoKimbra commented 5 years ago

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 commented 5 years ago

Ok But in de pins.h tab I cannot which pins are used...... And when it says NoPin, how do i give the right format No1 or 1 or? Can i use the aux pins, for instance, but how do,i now what their pin nr is

Op 22 mei 2019 om 21:10 heeft MagoKimbra notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64SIQJY6BRMHJ2EMHSTPWWLCBA5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWAAKAI#issuecomment-494929153, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64RYQSLTCBNTUZGYRZLPWWLCBANCNFSM4HOFRDPQ.

MagoKimbra commented 5 years ago

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 commented 5 years ago

Sorry for my Noob-ness

Found the configurator, looks good, by when 2 carriages are selected, it only gives you an additional min stop, no additional end stop- how do i.....

Thx

Best

Op 22 mei 2019 om 21:26 heeft MagoKimbra notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

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 ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64SCMZC3EWGCJIHZP6DPWWM7NA5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWAB2BQ#issuecomment-494935302, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64SVAAF3Q6WIAR7446LPWWM7NANCNFSM4HOFRDPQ.

MagoKimbra commented 5 years ago

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

endstop

coolerooney commented 5 years ago

Hi

Thank you for your patience with me ;) Next question- how do I add the max endstop?

Thx again for your help- left a positive comment on your responses on reprap.orghttp://reprap.org forum;)

Carel Op 22 mei 2019 om 21:43 heeft MagoKimbra notifications@github.com<mailto:notifications@github.com> het volgende geschreven:

[endstop]https://user-images.githubusercontent.com/7785361/58203511-89e96580-7cda-11e9-8ca0-77e0d6d892fb.jpg

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/MKFirmware/MarlinKimbra/issues/192?email_source=notifications&email_token=AAQW64SF43OPBDHXQBF7IG3PWWO37A5CNFSM4HOFRDP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWADJTY#issuecomment-494941391, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAQW64QMTG3MILJYPDK7JKTPWWO37ANCNFSM4HOFRDPQ.