Andy Pugh pravi: > On 30 March 2010 12:41, Sven Wesley <svenne.d...@gmail.com> wrote: > > >> I'm not sure I'm following you, it sounds like your solution is a relay that >> controls a relay, and then the problem remains?.. >> > > He is using a "charge pump" which energises the relays only when there > is a continuous square-wave signal on the P-Port pin. > Stepconf can create a charge-pump output for you. > If emc is not running, or hangs, then the square-wave signal stops, > and the relays open. > > Circuit diagrams and explanation can be found here: > http://www.artofcnc.ca/ChargePumpSafety.pdf > > You got my point. As I go little further. I configure chargepump as:
loadrt charge_pump addf charge-pump servo-thread #Charge pump latch #When EMC is started up and Estop depresed charge pump stil wait to press ON button #When ON button is pressed then charge pump is started and remain on until EMC terminates loadrt or2 count=1 loadrt and2 count=1 addf or2.0 servo-thread addf and2.0 servo-thread net enLatchA or2.0.in0 or2.0.out and2.0.in0 net enLatchB or2.0.in1 motion.motion-enabled net chPumpA and2.0.in1 charge-pump.out net chPumpQ and2.0.out parport.0.pin-09-out as I'm use that charge pump signal with another and gate (hardware gate as in that time I didn't realize that I can do that in software) ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users