Import LinuxCNC source tree
This commit is contained in:
19
nc_files/ngcgui_lib/mfiles/M110
Executable file
19
nc_files/ngcgui_lib/mfiles/M110
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# Clear axis info notifications
|
||||
# use in gcode subroutines and/or connect to pushbutton
|
||||
|
||||
# M1nn files must exist _before_ starting emc
|
||||
# in the [DISPLAY]PROGRAM_PREFIX
|
||||
# or in a dir specified by [RS274NGC]USER_M_PATH
|
||||
|
||||
# the pin for axisui.notifications-clear-info is in emc-2.4pre
|
||||
# using an earlier version will print error to stdout
|
||||
|
||||
halcmd setp axisui.notifications-clear-info 1
|
||||
sleep .100 ;# requires a sleep that does <1
|
||||
halcmd setp axisui.notifications-clear-info 0
|
||||
|
||||
# if a M1nn command fails and its script exits with nonzero status,
|
||||
# the gcode program exits. So always exit 0, and make sure
|
||||
# the M1nn command prints a message in order to keep on going.
|
||||
exit 0
|
||||
Reference in New Issue
Block a user