John Thornton wrote: > Jon, do you have what you did on wiki or anyplace like that where I > can see what you did?
OK, in the .ini file, I added this one line to the [HAL] section : HALUI = halui and then, in my univpwm_io.hal file, I added this : # hook up is.paused and resume to halui newsig ispaused bit newsig resume bit linksp ispaused <= halui.program.is-paused linksp ispaused => ppmc.0.dout.05.out linksp resume <= ppmc.0.din.03.in linksp resume => halui.program.resume That's all it took. halui.program.is-paused goes true when the M00 is executed, turning on SSR5 on my universal PWM controller board. When an unused digital input (dig in 3) is made a closed connection, it sends true to halui.program.resume, and the g-code program resumes from the M00 program stop. To actually use this, you'd need to establish some timings, so that the resume signal was always shorter than any program could ever run, and that the other machine control would not send the resume and see immediately that paused was set and assume that EMC had already moved to the next position. My customer will have to work out these timings on his actual CNC control, in this case a Haas mini-mill. Jon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
