I'm trying to implement hardware push button (NO) for pause/resume program, but it has no effect and I'm not sure what is wrong or missing
Here is code (taken from forum): loadrt and2 count=4 loadrt or2 count=1 loadrt toggle count=1 loadrt toggle2nist count=1 addf and2.0 servo-thread addf and2.1 servo-thread addf and2.2 servo-thread addf and2.3 servo-thread addf or2.0 servo-thread addf toggle2nist.0 servo-thread net pause-resume-btn and2.1.in0 and2.2.in0 <= ppmc.0.din.08.in-not net pause-on toggle2nist.0.is-on and2.1.in1 and2.3.in1 <= halui.program.is-paused net run-on and2.2.in1 <= halui.program.is-running net pause-sig or2.0.in0 <= and2.1.out net resume-sig or2.0.in1 <= and2.2.out net toggle-ok toggle.0.in <= or2.0.out net togglesig toggle2nist.0.in <= toggle.0.out net toggleon halui.program.pause <= toggle2nist.0.on net toggleoff halui.program.resume <= toggle2nist.0.off (and2.0 is used for e-stop) ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users