From: John T. <gi...@gi...> - 2012-10-27 13:22:46
|
Docs: add info about restarting gui after adding new m1nn file Signed-off-by: John Thornton <jth...@gn...> http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=0d7ad85 --- docs/src/gcode/m-code.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/gcode/m-code.txt b/docs/src/gcode/m-code.txt index 31971f1..caefd7c 100644 --- a/docs/src/gcode/m-code.txt +++ b/docs/src/gcode/m-code.txt @@ -366,6 +366,10 @@ M1-- <P- Q-> * 'P-' - a number passed to the file as the first parameter. * 'Q-' - a number passed to the file as the second parameter. +[NOTICE] +After creating a new 'M1nn' file you must restart the GUI so it is aware +of the new file, otherwise you will get an 'Unkown m code' error. + The external program named 'M100' through 'M199' (no extension and a capitol M) must be in the directory named in [DISPLAY] PROGRAM_PREFIX in the ini file and is executed with the P and Q values as its two arguments. |