Hi Colin I have the same problem, I build a HMI with touch panel and physical toggles for start, stop, toolchange, axis selection and feed rate as well as a handwheel.
basically you need to feed the hardware i/o to hal pins within the ui wich then send the apropriate emc nml commands (start, stop, pause, continue etc.) halui and touchy show how this can be done. With axis you can only use the wheel. I use pyvcp and ladder logic for tool change. And I tried to do the same you did - same outcome. Touchy has toggles for wheel, start, stop and continues motion but lacks the shiny simulation ui. I'll try to modify touchy to my needs. the problem with modifying the uis is that you have either to interfer hal pins with gui buttons (virtual and real start button can coexist) or exclusively use gui or hal (axis selection can only be done either by knob or by radio button) bye Ulf Am 09.11.2010 20:24, schrieb Colin Kingsbury: > I'd like to have actual physical buttons for the Start/Stop/Pause functions > for running g-code programs. I've got my hardware talking through HAL pretty > well for jogging and spindle/feed overrides, but the program commands are > proving more difficult to figure out. I'm using the halui module as the > in-between. > > I've tried simply toggling *halui.program.run* and *halui.program.stop* and > that doesn't do anything except throw an error onscreen in Axis. I then > tried toggling the *halui.mode.auto *pin before toggling the run pin. When I > did this, the program would appear to start and then immediately stop. If I > hit the button again, nothing would happen, and I'd have to quit Axis and > restart it for anything to happen. > > Does anyone know of any way to make physical program control buttons work > with Axis? ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
