Hi, I solved my problem using a bit invert on the pin halui.estop.is-activated as below
# External E-Stop net estop-loop <= parport.0.pin-13-in-not net estop-loop => iocontrol.0.emc-enable-in loadrt not count=1 addf not.0 servo-thread net estop-disabled-in not.0.in <= halui.estop.is-activated net estop-disabled-out not.0.out => halui.machine.on Bye Luigi >----Messaggio originale---- >Da: [email protected] >Data: 25/09/2010 15.55 >A: <[email protected]> >Ogg: E-stop and machine on/off > >Hi, >I'm running EMC2 2.2.8 and I've got an external safety circuit. When I reset >my external E-stop and I arm my electronics I want that Axis starts with >machine ON. >I connected the signal coming from my external circuit to the E-stop and I >would like that also the machine starts. >In the pinout.hal file I put the code below but I relized that the machine >starts only sometimes very random, each 6/7 attempts the machine starts. > ># External E-Stop >net estop-loop <= parport.0.pin-13-in-not >net estop-loop => iocontrol.0.emc-enable-in >net estop-loop => halui.machine.on > >It's amazing because if I use the internal E-stop and I release the E-stop in >Axis then it works correctly > ># Internal E-Stop >net estop-loop <= iocontrol.0.user-enable-out >net estop-loop => iocontrol.0.emc-enable-in >net estop-loop => halui.machine.on > >What's the difference? > >Anyway I would like the machine starts when the external E-stop is released, >is it possible. > >Thank you >Luigi ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
