Peter C. Wallace | 1 Aug 2009 15:29

Re: 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_pircher@...>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@...>
> To: emc-users@...
> 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.

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

If this encoder counter mode is called Step&Dir by EMC then the HM2 
documentation ( and my regmap file) should be changed...

>
> Thanks!
>
> regards,
>
> 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@...
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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

Gmane