Opticky endstop . nastavení v Merlin

Opticky endstop . nastavení v Merlin

Příspěvekod klomfar » 01.08.2017 19:31

Mohl by mi někdo pomoct jak nastavit misto mechanickych endstopu s diodou ty IR? Ve firmware mam nastavene toto
od tom666
Kód: Vybrat vše
//============================== Endstop Settings ===========================
//===========================================================================

// @section homing

// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG

// coarse Endstop Settings
#define ENDSTOPPULLUPS

#if DISABLED(ENDSTOPPULLUPS)
  // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
  //#define ENDSTOPPULLUP_XMAX
  //#define ENDSTOPPULLUP_YMAX
  //#define ENDSTOPPULLUP_ZMAX
  #define ENDSTOPPULLUP_XMIN
  #define ENDSTOPPULLUP_YMIN
  #define ENDSTOPPULLUP_ZMIN
  //#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.

// Enable this feature if all enabled endstop pins are interrupt-capable.
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
#define ENDSTOP_INTERRUPTS_FEATURE

//==============================================================


Včera jsem s tim chvili laboroval ale nepodařilo se mi dosahnout jineho výsledku že závory jsou standartne nastaveny na sepnuté a rozepínají na domovske pozici... Tak jsem obnovil puvodni fw a jdu to zkusit pro radu...
  • 0

klomfar
 
Příspěvky: 113
Registrován: 27.04.2017 15:11
Bydliště: Vrané nad Vltavou
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod tcaba » 01.08.2017 21:44

No já nic neměním,a takto je to zapojený.
http://mujweb.cz/tlada/opto.jpg
  • 0

tcaba
 
Příspěvky: 50
Registrován: 19.07.2015 12:48
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod klomfar » 01.08.2017 21:47

toto ti funguje jo? a nemas tam nahodou jeste neco navic? postnul byl configuration, zkusil bych to jestli nemam jinde neco spatne
  • 0

klomfar
 
Příspěvky: 113
Registrován: 27.04.2017 15:11
Bydliště: Vrané nad Vltavou
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod tcaba » 01.08.2017 22:48

Definice stejná jako u tebe.
Kousek níže upravená Z.
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.
  • 0

tcaba
 
Příspěvky: 50
Registrován: 19.07.2015 12:48
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod zemciko » 02.08.2017 13:32

Potvrzuji. používám odjakživa optické endstopy a co si pamatuji tak v marlinovy jsem ohledně nich nic měnit nemusel byly nastavené defaultně správně. konnkrétně invertování endstopů na FALSE.
  • 0

zemciko
 
Příspěvky: 1487
Images: 9
Registrován: 09.05.2015 13:43
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod klomfar » 02.08.2017 13:44

ja je mam v pozici triggered kdyz zavora je otevrena,myslim si ze cela varka asj nebude spatna tam nekde musim mit proste neco spatne nastavene.hned doma je teda zkusim znovu zapojit a znovu to holt vemu radek po radku
  • 0

klomfar
 
Příspěvky: 113
Registrován: 27.04.2017 15:11
Bydliště: Vrané nad Vltavou
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod tcaba » 02.08.2017 16:20

#if DISABLED(ENDSTOPPULLUPS)
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
//#define ENDSTOPPULLUP_XMIN
//#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE

#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.
  • 0

tcaba
 
Příspěvky: 50
Registrován: 19.07.2015 12:48
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod klomfar » 02.08.2017 22:45

tak jsem to prepsal kodem nahore a vysledek je porad stejny, jeste me napadla blba otazka,nehraje roli v jakym stavu cidlo pripojim??? nekde jsem videl ze to mam olepit paskou a pak pripojit... fakt nevim asi koupit jeste jednu zavoru a overit funkcnost, ale jak uz jsem rikal, neverim ze bych byl takovy smolar a chytnul 3 ze 3 spatny
  • 0

klomfar
 
Příspěvky: 113
Registrován: 27.04.2017 15:11
Bydliště: Vrané nad Vltavou
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod medapeta » 02.08.2017 23:04

Na těch endstopech je kontrolka. Dělá něco když mezi ty dvě černé plošky strčíš silnější papír ?
  • 0

Mínusové body mému profilu zde udělil výhradně uživatel tom666, který se na foru již nevyskytuje.
Měl zřejmě pocit, že pravda se tu psát nesmí...
medapeta
 
Příspěvky: 1617
Images: 57
Registrován: 31.05.2016 22:14
Bydliště: Brdy
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod fdd1222 » 03.08.2017 10:03

Zmer jestli se vubec hybe napeti kdyz tu zavoru zaclonis. Tranzistory v tech zavorach byvaji jen na vemi maly proud a netusim jakou hodnotu ma pul-up odpor na desce co mas, takze je klidne mozne ze fototranistor vubec nesepne. Pak si bud kup zavoru ktera ma v sobe jiz tvarovaci obvody zabudovane, nebo posil vystup nejakym tranzistorem.
  • 0

fdd1222
 
Příspěvky: 511
Images: 0
Registrován: 12.11.2016 19:59
Reputation: -5
Pokud je snaha, dá se to napravit.

Re: Opticky endstop . nastavení v Merlin

Příspěvekod tom666 » 03.08.2017 11:08

Netreba nic upravovat pokial su to bezne predavane opticke endstopy. Staci ich len spravne zapojit :!: :wink: Funkcnost overit, tak ako radil medapeta.
  • 0

Přílohy
Endstops.jpg
Endstops.jpg (78.7 KiB) Zobrazeno 3627 krát
tom666
 
Příspěvky: 561
Images: 0
Registrován: 14.09.2016 17:00
Bydliště: Nitra (SK)
Reputation: 14
Jen tak dál :)

Re: Opticky endstop . nastavení v Merlin

Příspěvekod klomfar » 03.08.2017 20:28

kdyz zavoru zaclonim tak samozrejme kontrolka zhasne, funguje jen proste obracene.zavoru mam presne jak je na tom linku azapojena je odspod V, G, S
  • 0

klomfar
 
Příspěvky: 113
Registrován: 27.04.2017 15:11
Bydliště: Vrané nad Vltavou
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod tcaba » 03.08.2017 20:53

POPIŠ JAK OBRÁCENĚ.
  • 0

tcaba
 
Příspěvky: 50
Registrován: 19.07.2015 12:48
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod zemciko » 03.08.2017 21:20

Když máš zapojený (správně) ty nový endstopy. Jde ti hýbat s motorem v obou směrech té dané osy? když tam dáš papírek mezi čidlo jde to taky? Pokud na první otázku je odpověď ano a na druhou jen na jednu stranu tak se to chová jak má...
  • 0

zemciko
 
Příspěvky: 1487
Images: 9
Registrován: 09.05.2015 13:43
Reputation: 0

Re: Opticky endstop . nastavení v Merlin

Příspěvekod klomfar » 04.08.2017 02:18

jde hybat jak s papirkem mezi cidly tak bez nej... obracene myslim ze kdyz chci aby jela urcita osa na home pozici rozjede se jen tehdy je li papirek v zavore, kdyz to zkusim bez papirku osa jen kousek popojede opacnym smerem nez je cidlo

EDIT: Tak omyl jakmile v zavore papirek nemam hybe se jen nahoru
  • 0

klomfar
 
Příspěvky: 113
Registrován: 27.04.2017 15:11
Bydliště: Vrané nad Vltavou
Reputation: 0

Další

Zpět na REBEL II

Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 21 návštevníků

cron