Thread: Panther mods
View Single Post
  #14  
Old 12-06-2018, 11:24 AM
DVE2000 DVE2000 is offline
CAMaster Owner
 
Join Date: Aug 2018
Posts: 322
Default

Well, that thread talks about using output signals, but the WinCNC manual talks about options in CNCSRN.INI for adding buttons. Here are a couple of examples:
[***DC Off ***]
"UserBtn",383,316,120,30,7,0,"DC Off","m7","",-1,-1,"DC Off.bmp", 2

I copied one of the buttons in Bitmaps, and changed it to say "DC Off". m7 is my custom macro to turn of the dust collector.

Here's another example, directly calling a macro file:
[***MEASURE TOOL***]
"UserBtn",505,316,120,30,6,0,"MEASURE TOOLR","/macros/G37Z_ROTARY_TM.MAC","",-1,-1,"Measure Tool Rotary.bmp", 2
__________________
Gary
2018 Stinger II SR-44, 1.7kW Spindle, Performance Premium, Recoil, Gantry Lift, Cyclone
Fusion 360
Aspire
Reply With Quote