Quick question.  On the MDI screen in Axis does the HALUI connection set the 
Active G-Codes: field with a reply?

So if an M7 is sent M7 shows up.  If an M8 is sent the M8 shows up.  And if 
both coolants are switched off with the M9 we see the M7 M8 vanish and replaced 
with M9.  
The 
http://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m7-m8-m9
Says that these are linked directly to the iocontrol.0.coolant-mist or flood 
pins.

I'm asking because again on the User control screen we can switch the spindle 
on and change the speed but the Sx and Mx values don't show up in the Active 
G-Codes.

So it's like the user screen has a back door into LinuxCNC different from the 
G/M codes.  And that's why we have that override issue where spindle is turning 
from the user screen but no M3/4 in effect so when an S1000 is issued on the 
MDI the spindle stops.  Which is correct but I question then the user screen 
and how it's done.

In a way I understand.  After all there isn't a G code for jogging an axis.  

But the Coolant check boxes work differently again suggesting the Active 
G-Codes: list is upated whenever an MDI command is sent.  Give this a try to 
see what I mean.
In the AXIS screen check both Flood and Mist.  Then go to the MDI screen.  Note 
the Active G-Codes still says M9.
Now on the command screen enter an M7 to turn on MIST.   Go back to the MDI 
screen.  Notice the M9 is gone but there's both an M7 and an M8.  So it appears 
to be correctly reporting two outputs.  The M7 on an already on M7 doesn't 
change anything.

So then we're back to this spindle issue.  If the spindle is turning clockwise 
at 500 RPM from the command window and an S1000 is issued from the MDI then 
shouldn't the reported status back from the lower level state that there is an 
M3 in process and S is now 1000.

That would be more consistent.

Thanks
John




_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to