CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge

Posted by Jeff Jones
on 2004-08-13 15:23:28 UTC
> Hey,
>
> This is an existing tool turret and optical sensor design on an
> Emco cnc lathe. I'm not building it, I'm trying to make it work with
> new controls (Mach2 software).
>
> The "C" shape is built in from the factory. It is exactly a 135
> degree opening. This creates 2 trip points for each sensor giving a
> 45 degree resolution with only 4 sensors.

Ah... This started out as a quiz about the number of degrees, etc. I thought you weren't
quite sure what the "C" thing looked like yourself.

Given that my design tells you both when you're at a tool position and whcih one you're
at, I think my design is more static and deterministic. <grin>

If you must use the factory design <laugh>, the state of the sensors don't tell you much.
Only transitions of the sensors tell you where you actually are. You're going to need 4
bits (a nibble, or a half byte) of input *plus* 4 bits of storage to remember what the last
sensor state was to make any sense of that. Any transition from one sensor on to two
or from two sensors on to one will tell you all you need to know. Combine both 4 bits
sets into a single byte and then it's just an 8 bit table driven look up. Alas, that
information is only valid for the moment of the transition.

Jeff

Discussion Thread

Lance Hopper 2004-08-12 07:21:27 UTC tool changer logic- mathematical challenge cnc002@a... 2004-08-12 07:37:12 UTC Re: [CAD_CAM_EDM_DRO] tool changer logic- mathematical challenge Bob McKnight 2004-08-12 07:38:43 UTC Re: [CAD_CAM_EDM_DRO] tool changer logic- mathematical challenge Lance Hopper 2004-08-12 08:07:33 UTC Re: tool changer logic- mathematical challenge Lance Hopper 2004-08-12 08:09:32 UTC Re: tool changer logic- mathematical challenge cnc002@a... 2004-08-12 08:27:21 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Lance Hopper 2004-08-12 08:49:32 UTC Re: tool changer logic- mathematical challenge industrialhobbies 2004-08-13 01:04:24 UTC Re: tool changer logic- mathematical challenge Lance Hopper 2004-08-13 05:23:55 UTC Re: tool changer logic- mathematical challenge industrialhobbies 2004-08-13 08:52:39 UTC Re: tool changer logic- mathematical challenge Lance Hopper 2004-08-13 12:16:35 UTC Re: tool changer logic- mathematical challenge andyolney 2004-08-13 12:23:30 UTC Re: tool changer logic- mathematical challenge Stephen Wille Padnos 2004-08-13 12:43:22 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Jeff Jones 2004-08-13 12:59:54 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Stephen Wille Padnos 2004-08-13 13:14:26 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Jeff Jones 2004-08-13 14:05:10 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Jeff Jones 2004-08-13 14:20:07 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Lance Hopper 2004-08-13 14:21:09 UTC Re: tool changer logic- mathematical challenge Lance Hopper 2004-08-13 14:36:19 UTC Re: tool changer logic- mathematical challenge Stephen Wille Padnos 2004-08-13 15:03:38 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Jeff Jones 2004-08-13 15:23:28 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Graham Stabler 2004-08-13 16:22:26 UTC Re: tool changer logic- mathematical challenge Larry Wright 2004-08-13 17:42:57 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Lance Hopper 2004-08-14 08:27:37 UTC Re: tool changer logic- mathematical challenge Graham Stabler 2004-08-14 15:52:27 UTC Re: tool changer logic- mathematical challenge Tom Hubin 2004-08-15 16:13:08 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge Stan Aarhus 2004-08-15 16:28:26 UTC Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge