Here is what I breadboarded that seems to work. 

http://www.wallacecompany.com/machine_shop/Shizuoka/watchdog-1b.png

I used John's circuit and added the two inverters to the output because
the EMI from the mechanical relay engaging would cycle the solid-state
relay which would cycle the mechanical relay. Fortunately, it was a
degenerative oscillation. Adding the buffer to the output cleaned up the
problem. The component values are a combination of guessing, parts that
happen to be on the bench, and cut and try. I welcome any improvements
anyone might have.

I loaded the charge-pump component to my .hal file and ran it in the
servo thread. Does the thread determine the pump frequency? I believe I
got 500 Hz out. 

I used these connections in the .hal file:
...
# create a signal for the estop loopback
net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in 
charge-pump.enable
net cp charge-pump.out parport.1.pin-04-out
...

-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to