CAD CAM EDM DRO - Yahoo Group Archive

Re: tool changer logic- mathematical challenge

Posted by Lance Hopper
on 2004-08-13 14:36:19 UTC
Hey,
Thanks for the reply.
I have a pretty good idea of the overall logic required. My biggest
hang up now is the tiny detail of how to read the inputs. Whether
it's in a VBscript macro with Mach2 on a PC or a PLC or PIC. How do
I KNOW what the bit pattern is going to be for each distinct state
transition, on>off and off>on on each of the 4 sensors?

I'm guessing you are talking binary, IE 1000, 1100, 0100 etc...
How do you get from on>off to a distinct bit pattern?

What is a 'nibble'? :) Thanks for your help, I didn't do well in
comp sci class, but I still have my book!

> /* programming hints, regardless of whether a PLC or a
microcontroller
> is used:
>
> You should only need 4 sensor inputs - Just make an array of 8
nibbles
> with the proper sensor input bit pattern for each of the 8
positions.
> When a command comes to advance, just turn on the motor until the
input
> pattern matches the next one in the array.
>
> Have a timeout - if there are no state changes for some time period
> (like 1.5-2x the expected period), then shut off the motor, and
signal a
> fault if possible.
>
> */
>
> - Steve

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