On Wed, 2008-06-25 at 20:50 -0700, [EMAIL PROTECTED] wrote:
> I need to use a 16 tool changer (it has no encoder it counts the how
> many times the index motor rotates)
> 
> so whatever method of getting the infromation about the tool number
> requested by EMC to my
> 
> PLC I can deal with it.
> 
> Thanks 
> 
> Terry

That sounds just like my QuickDraw changer here:

http://www.wallacecompany.com/machine_shop/Shizuoka/00029-1a.jpg
http://www.wallacecompany.com/machine_shop/Shizuoka/00030-1a.jpg
http://www.wallacecompany.com/machine_shop/Shizuoka/tool_changer_video.html

My changer has inputs for Home, CW and CCW Rotation, Tool-In and
Tool-Out. It has an output pulse for Command Completed. The output pulse
activates when a Home, Tool-In and Tool-Out completes or pulses for each
tool move. 

If your changer is like mine, EMC and an input on your 5i20 could count
the tool pulses while a tool move was in progress. Once the number of
pulses is counted, you could hold that number for the next carousel
move. You could also route that signal to another part of EMC for the
command complete, but it would only be active for the other commands. A
5i20 output would be needed for each changer command. This would not use
your PLC. I believe all the EMC HAL components you would need are
already available, like Counter or UpDown , And, Or, Debounce, etc.

What PLC do you have? EMC should be able to output what ever you need. I
would guess five 5i20 outputs for your binary; ones, twos, fours, eights
and sixteens bit. A small HAL component would be needed to set these
bits unless someone has come up with a component already. I wonder if
your PLC could use serial data (ModBus?)? You could bit bang the data
out two pins like my SPI(ish) serial DAC component:

http://www.wallacecompany.com/machine_shop/EMC2/serial_dac/serial_dac.comp

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC/EMC CNC lathe,
Bridgeport mill conversion, doing XY now,
Zubal lathe conversion pending
Craftsman AA 109 restoration
Shizuoka ST-N/EMC CNC)


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to