Re: [CAD_CAM_EDM_DRO] Re: tool changer logic- mathematical challenge
Posted by
Stephen Wille Padnos
on 2004-08-13 12:43:22 UTC
Lance Hopper wrote:
). You would need to write software (in assembly language, unless you
buy a C or BASIC compiler, or you get one on a free demo) to respond to
a "tool change" input, tell the ratcheting mechanism to move, then tell
the mechanism to stop when the toolchanger is in the correct position
(based on sensor input).
Another worthwhile microcontroller line is the AVR series from Atmel:
http://www.atmel.com .
The hardest part is getting a physical interface to your equipment.
There are several companies that make things like the "BASIC stamp" (
http://www.parallaxinc.com/ ), but most are geared toward hobbyists - no
case on any of them, little to no protection on I/Os, almost never any
I/O isolation, etc. You'll have a hard time finding something that you
can attach a power supply and some wires to and have it ready for
programming.
I recently designed and built a manual pulse generator using an AVR chip
- it definitely takes a lot longer to DIY rather than buying something
built for the purpose. You will get a better solution in the end,
because the end product will only have what you need to put in it, but
the road there is not as easy.
/* 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
>[snip]A PIC is a microcontroller (made by microchip: http://www.microchip.com
> I didn't think about a PIC, but it's basically a build it yourself
>PLC if I'm not mistaken.
>
> Do you have personal experience with PIC's? I wouldn't mind
>hearing more about them.
>
). You would need to write software (in assembly language, unless you
buy a C or BASIC compiler, or you get one on a free demo) to respond to
a "tool change" input, tell the ratcheting mechanism to move, then tell
the mechanism to stop when the toolchanger is in the correct position
(based on sensor input).
Another worthwhile microcontroller line is the AVR series from Atmel:
http://www.atmel.com .
The hardest part is getting a physical interface to your equipment.
There are several companies that make things like the "BASIC stamp" (
http://www.parallaxinc.com/ ), but most are geared toward hobbyists - no
case on any of them, little to no protection on I/Os, almost never any
I/O isolation, etc. You'll have a hard time finding something that you
can attach a power supply and some wires to and have it ready for
programming.
I recently designed and built a manual pulse generator using an AVR chip
- it definitely takes a lot longer to DIY rather than buying something
built for the purpose. You will get a better solution in the end,
because the end product will only have what you need to put in it, but
the road there is not as easy.
/* 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