On Fri, 25 Nov 2011 22:08:36 +0000, you wrote: >On 25 November 2011 21:55, andy pugh <bodge...@gmail.com> wrote: > >> However, I just tried the command and got "X server insecure (must use >> xauth-style authorization); command ignored" so I am not sure if it >> works or not (this was in a VM, so might well be non-typical) > >OK, just tried it on a real machine, and it worked fine. > >So, in the directory referenced by PROGRAM_PREFIX in your INI file, >(probably home/emc2/nc_files) create a text file containing the >following lines. > >#!/bin/sh >axis-remote --clear >exit 0 > >Then save that file with the filename "M101" (no suffix) >Then give that file "execute" properties (in the file browser, >right-click, properties, permissions flag, tick the "execute" tickbox) >You probably need to restart EMC2 if it is open. > >Then, any time your Gcode contains M101, that file will be called, and >will clear the screen. >I checked it, and it worked.
Thanks Andy - this was requested ages ago and ignored until now. Will test it later - got some parts to make today. Invaluable when running multiple parts in turn, you can then see where it's supposed to be at rather than trying to guess through the coolant ;) Steve Blackmore -- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users