> > I notice that active g-codes and active m-codes are not updated
> > during auto mode (running a program).
> >
> > Is there a good reason for this?
> >
> > I want to detect when m7 and m8 are active and do something.
>
> what's the flow you want to have?
> -m
Michaeal
Thanks for response:
In this case the user wants to have the option of turning off an aux coolant
when M9 is called.
To say it another way He wants mist,flood and aux coolant options.
the aux coolant would come on manually and off with m9.
Now If I was using an existing GUI I would do this with HAL code but that is
not elegant and I'm not using an existing GUI.
I have found a work around (amazing what a couple hours sleep does !) by
reading linuxcnc.status of flood and mist rather then m7 and m8 but the
principle
remains.
If I don't need realtime response reading the active G or M codes is easy.
I don't need a special INI command or tricky HAL file or Gladevcp handler file.
I'm already reading the codes they just aren't updated while in auto mode.
Any idea where in the code the status is updated, so I can look at the code.
Chris M
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers