[XHC_HB04_BUTTONS] # use button names according to layout file LIB:xhc-hb04-layout{n}.cfg # note: "start-pause" is connected for standard behavior # controlling halui.pause/halui.resume/halui.run # these are examples, edit as required: goto-zero = halui.mdi-command-00 goto-zero-x = "" goto-zero-y = "" goto-zero-z = "" goto-zero-a = "" start-pause = std_start_pause rewind = halui.program.step #probe-z = motion.probe-input ------------------------removed # macro-3 = halui.mdi-command-03 probe-z = halui.mdi-command-06 ------------------------ used half-x = halui.mdi-command-01 half-y = halui.mdi-command-02 half-z = "" half-a = "" zero = "" zero-x = halui.mdi-command-12 zero-y = halui.mdi-command-13 zero-z = halui.mdi-command-14 zero-a = halui.mdi-command-15 safe-z = halui.mdi-command-10 home = halui.home-all #macro-1 = halui.mdi-command-01 #macro-2 = halui.mdi-command-02 spindle = halui.mdi-command-04 step = xhc-hb04.stepsize-up #mode = halui.mdi-command-05 #macro-6 = halui.mdi-command-06 macro-7 = halui.mdi-command-07 stop = halui.program.stop reset = halui.estop.activate [HALUI] # these are examples, edit as required: # a halui hal pin is created for each MDI_COMMAND below # halui.mdi-command-00, halui.mdi-command-01,... etc MDI_COMMAND=G0 X0 Y0 Z0 MDI_COMMAND=G10 L20 P1 X[#5420/2] MDI_COMMAND=G10 L20 P1 Y[#5421/2] #03 M110: clears notifications MDI_COMMAND=(debug, example: mdi-03) MDI_COMMAND=M3 S1000 MDI_COMMAND=M5 MDI_COMMAND=o100 call --------------------------------------------- mdi_command 6 call a a sub named 0100 in nc file for probing #07 M101: example print to stdout MDI_COMMAND=M101 MDI_COMMAND=(debug, example: mdi-08) MDI_COMMAND=(debug, example: mdi-09) MDI_COMMAND=g53 g0 z0 MDI_COMMAND=(debug, example: mdi-11) #12 MDI_COMMAND= G10 L20 P0 X0 #13 MDI_COMMAND= G10 L20 P0 Y0 #14 MDI_COMMAND= G10 L20 P0 Z0 #15 MDI_COMMAND= G10 L20 P0 A0 #*** End #INCLUDE file: layout2.inc