I am starting to work on getting EMC2 to control my Shizuoka tool
changer. The physical interface is five command wires and one reset
wire. The commands are carousel CW, carousel CCW, carousel Home, tool
in, tool out. To invoke a command, a wire is held high until the ATC
returns a reset (command done) signal. The reset signal is a 100ms
pulse, which should be easy to catch in a servo-thread component. I
would like to keep the component in real time because if a carousel move
doesn't get handled quickly, the carousel will start moving to the next
slot. The only way I can think of setting an ATC command HAL pin is to
have an M100 shell script do a "halcmd setp summitATC.0.cw True". Is
there a cleaner way to do this?

-- 
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)


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to