summaryrefslogtreecommitdiff
path: root/nc_files/ngcgui_lib/utilitysubs/spin.ngc
blob: 55d4f86ab8d55409fc69c7218104613e7a3c4c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;dng-- designed with the axis gui in mind
;      but not very intuitive with touchy
;      so changed message and remove mandatory stop
;      for touchy testing

;helper routine to prompt setting of spindle speed
;use after giving operator message for example
;   1) prompt user to continue
;   2) M110 clears axis notifications (requires emc2.4)

o<spin> sub
(not_a_subfile)
        #<rpm> = #1
o<l0>   if [#<_feature:> LT 1]
          ;(debug, S to continue: Spindle rpm=#<rpm>)
          ;m0   (mandatory stop)
          (debug, Spindle rpm = #<rpm>)
          M110 (axisui.notifications-clear)
o<l0>   endif
o<spin> endsub