-------- Original-Nachricht -------- > Datum: Sat, 1 Aug 2009 06:29:26 -0700 (PDT) > Von: "Peter C. Wallace" <p...@mesanet.com> > An: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Betreff: Re: [Emc-users] Mesa 7i33 encoder inputs and up/down counter mode
> On Fri, 31 Jul 2009, Gerhard Pircher wrote: > > > Date: Fri, 31 Jul 2009 21:52:30 +0200 > > From: Gerhard Pircher <gerhard_pirc...@gmx.net> > > Reply-To: "Enhanced Machine Controller (EMC)" > > <emc-users@lists.sourceforge.net> > > To: emc-users@lists.sourceforge.net > > Subject: [Emc-users] Mesa 7i33 encoder inputs and up/down counter mode > > > > Hi, > > > > I'm using the Mesa 7i33 card to interface three RS-422 linear encoders > > to EMC2. Now I would like to use the fourth input for the spindle speed > > sensor, which delivers a 12V pulse and direction signal. But I wonder > > which input of the 7i33 card should be connected to the pulse resp. > > direction signal (if possible at all, but the Hostmot2 driver allows > > to run encoders in counter mode). > > BTW I think I have to implement a level shifter to convert the 12V > > sensor signals to TTL levels. Or can I misuse the RS-422 receivers for > > this? > > I would just divide the 12V signal down to TTL levels first. I tend towards using optocouplers to isolate the 5V (7i33) and 12V (frequency inverter/spindle) domain (to be on the safe side). > Note: Thats all you should have to do, the so called up/down mode of the > encoder counter _is_ what EMC calls step&dir for outputs. When a HM2 > encoder counter is in up/down mode, Encoder input A is "Step" and > encoder input B is "Dir". That's good news! > If this encoder counter mode is called Step&Dir by EMC then the HM2 > documentation ( and my regmap file) should be changed... The Hostmot2 manual says: "counter-mode: ... Set to True for Up/Down." A note that describes the real hardware interface would definitively help here. :-) Thanks! Gerhard -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users