This document describes the UCCNC software Button screen objects.

 

Each button represents an internal function of the UCCNC software.

Buttons can be called by their number from macro code.

This documentation lists all the accessible buttons by number.

 

Button number

Function name

Description

100

ZeroX

Zeros the X axis position.

101

ZeroY

Zeros the Y axis position.

102

ZeroZ

Zeros the Z axis position.

103

ZeroA

Zeros the A axis position.

104

ZeroB

Zeros the B axis position.

105

ZeroC

Zeros the C axis position.

106

ZeroAll

Zeros All axis position.

107

HomeX

Runs the X axis to the home sensor.

108

HomeY

Runs the Y axis to the home sensor.

109

HomeZ

Runs the Z axis to the home sensor.

110

HomeA

Runs the A axis to the home sensor.

111

HomeB

Runs the B axis to the home sensor.

112

HomeC

Runs the C axis to the home sensor.

113

HomeAll

Runs all axis to the home sensor. The homing sequence is defined in the setup.

114

M3toggle

Toggles the M3 spindle CW button.

115

M4toggle

Toggles the M4 spindle CCW button.

116

M7toggle

Toggles the M7 mist button.

117

M8toggle

Toggles the M8 flood button.

118

G54select

Selects the G54 coordinate offset.

119

G55select

Selects the G55 coordinate offset.

120

G56select

Selects the G56 coordinate offset.

121

G57select

Selects the G57 coordinate offset.

122

G58select

Selects the G58 coordinate offset.

123

G59select

Selects the G59 coordinate offset.

124

OpenGcodefile

Starts an Open G-code file dialog.

125

CloseGcodefile

Closes the G-code fájl which is loaded.

126

EditGcodefile

Opens the notepad to edit the loaded G-code file.

127

RewindGcodefile

Rewinds the loaded G-code file with jumping to the first row in the file.

128

Cyclestart

Makes a cyclic run on the loaded G-code file.

129

Runsingleline

Executes one line of code (the actual code line) of the loaded G-code file.

130

Cyclestop

Stops the G-code execution.

131

Gotozero

Moves all axis to the zero position with a rapid linear interpolation movement.(Programmed in the M204 macro file.)

132

FROincrease

Increases the Feedrate override value.

133

FROdecrease

Decreases the Feedrate override value.

134

SROincrease

Increases the spindle speed override value.

135

SROdecrease

Decreases the spindle speed override value.

136

Toolpathzoomin

Zooms in the toolpath viewer.

137

Toolpathzoomout

Zooms out the toolpath viewer.

138

Toolpathzoomcontents

Zooms the contents in the toolpath viewer.

139

Toolpathview45

Sets the toolpath to a 45° look viewing mode.

140

Toolpathviewright

Sets the toolpath to a right side look viewing mode.

141

Toolpathviewleft

Sets the toolpath to a left side look viewing mode.

142

Toolpathviewtop

Sets the toolpath to a top side look viewing mode.

143

ToolpathviewISO

Sets the toolpath to Isometric viewing mode.

144

Resettoggle

Toggles the reset button.

145

Offlinetoggle

Toggles the offline button.

146

Limitsoverridetoggle

Toggles the limits override button.

147

JogX+

Jogs the X axis to positive direction.

148

JogX-

Jogs the X axis to negative direction.

149

JogY+

Jogs the Y axis to positive direction.

150

JogY-

Jogs the Y axis to negative direction.

151

JogZ+

Jogs the Z axis to positive direction.

152

JogZ-

Jogs the Z axis to negative direction.

153

JogA+

Jogs the A axis to positive direction.

154

JogA-

Jogs the A axis to negative direction.

155

JogB+

Jogs the B axis to positive direction.

156

JogB-

Jogs the B axis to negative direction.

157

JogC+

Jogs the C axis to positive direction.

158

JogC-

Jogs the C axis to negative direction.

159

Jograteincrease

Increases the jog rate.

160

Jogratedecrease

Decreases the jog rate.

161

Jogmodecont

Sets the jog mode to continous.

162

Jogmodestep

Sets the jog mode to stepping.

163

R*

 

164

Jogsteprate001

Sets the jog distance when stepping mode to 0.01 Units.

165

Jogsteprate010

Sets the jog distance when stepping mode to 0.10 Units.

166

Jogsteprate100

Sets the jog distance when stepping mode to 1.00 Units.

167

Savesettings

Saves all settings to the profile file.

168

Applysettings

Applies the settings on the setup screens.

169

Setnextline

Sets the G-code execution pointer to the line defined on the screen in the 128. labelfield.

170

G54offsetcurrentpos

Offsets the actual position of the G54 coordinate system.

171

G55offsetcurrentpos

Offsets the actual position of the G55 coordinate system.

172

G56offsetcurrentpos

Offsets the actual position of the G56 coordinate system.

173

G57offsetcurrentpos

Offsets the actual position of the G57 coordinate system.

174

G58offsetcurrentpos

Offsets the actual position of the G58 coordinate system.

175

G59offsetcurrentpos

Offsets the actual position of the G59 coordinate system.

176

G54offsetclear

Clears the offset in the G54 coordinate system.

177

G55offsetclear

Clears the offset in the G55 coordinate system.

178

G56offsetclear

Clears the offset in the G56 coordinate system.

179

G57offsetclear

Clears the offset in the G57 coordinate system.

180

G58offsetclear

Clears the offset in the G58 coordinate system.

181

G59offsetclear

Clears the offset in the G59 coordinate system.

182

Tooloffsetclear

Clears the tool offset.

183

Tooloffsetclear

Clears the tool offset.

184

Tooloffsetclear

Clears the tool offset.

185

Tooloffsetclear

Clears the tool offset.

186

Tooloffsetclear

Clears the tool offset.

187

Tooloffsetclear

Clears the tool offset.

188

Listprofiles

Lists the available profile file names in the 1.Listcomponent.

189

Deleteprofile

Deletes the actually selected profile file.

190

Loadprofile

Loads the actually selected profile file.

191

Createnewprofile

Create a new profile, the name of the profile is held in the 216.inputfield.

192

DoXMLimport

Imports a Mach3 .xml setup file. The function start an open file dialog.

193

Gotoparkposition1

Commands the machine to park position 1. (Code executed in Macro M200)

194

Gotoparkposition2

Commands the machine to park position 2. (Code executed in Macro M201)

195

Gotoparkposition3

Commands the machine to park position 3. (Code executed in Macro M202)

196

Toollengthmeasurement

Commands a tool length measurement. (Code executed in Macro M31)

197

Machinecoordstoggle

Toggles the position DROs between the machine coordinates and the actual offset coordinates view.

198

CalibrateX

Calibrates the steps per units value with travel measurement for the X-axis.

199

CalibrateY

Calibrates the steps per units value with travel measurement for the Y-axis.

200

CalibrateZ

Calibrates the steps per units value with travel measurement for the Z-axis.

201

CalibrateA

Calibrates the steps per units value with travel measurement for the A-axis.

202

CalibrateB

Calibrates the steps per units value with travel measurement for the B-axis.

203

CalibrateC

Calibrates the steps per units value with travel measurement for the C-axis.

204

Softlimitstoggle

Toggles the software limits enable function.

205

THCtoggle

Toggles the THC control enable function.

216

GotoSafeZ

Moves the Z axis to SafeZ height. (Programmed in the M216 macro file.)

218

Zeroworktimer

Zeros the work timer.

219

ClearG92offset

Clears the G92 offset coordinates.

220

MPGXaxisselect

Selects the X axis for the MPG jog.

221

MPGYaxisselect

Selects the Y axis for the MPG jog.

222

MPGZaxisselect

Selects the Z axis for the MPG jog.

223

MPGAaxisselect

Selects the A axis for the MPG jog.

224

MPGBaxisselect

Selects the B axis for the MPG jog.

225

MPGCaxisselect

Selects the C axis for the MPG jog.

226

MPGcontmodeselect

Selects the continous jog mode for the MPG.

227

MPGsinglemodeselect

Selects the single step  jog mode for the MPG.

228

MPGmultimodeselect

Selects the multi step jog mode for the MPG.

229

JogXplusoff

Switches the X axis positive direction jogging off.

230

JogXminusoff

Switches the X axis negative direction jogging off.

231

JogYplusoff

Switches the Y axis positive direction jogging off.

232

JogYminusoff

Switches the Y axis negative direction jogging off.

233

JogZplusoff

Switches the Z axis positive direction jogging off.

234

JogZminusoff

Switches the Z axis negative direction jogging off.

235

JogAplusoff

Switches the A axis positive direction jogging off.

236

JogAminusoff

Switches the A axis negative direction jogging off.

237

JogBplusoff

Switches the B axis positive direction jogging off.

238

JogBminusoff

Switches the B axis negative direction jogging off.

239

JogCplusoff

Switches the C axis positive direction jogging off.

240

JogCminusoff

Switches the C axis negative direction jogging off.

241

Jogsteprate0001

Sets the jog distance when stepping mode to 0.001 Units.

242 to 292

Sethotkeycodes1to48

Opens the Hotkeys keyboard key selection window.

293 to 343

Sethotkeyfunctions1to48

Opens a Function selection window for the hotkeys.

344 to 394

Setinputtriggerfunctions1to48

Opens a Function selection window for the input triggers.

400 to 449

SelectTABlayer

Selects the TAB layer on the screen. The layer number selected is the function code - 400, so TAB layer 1. selected with code 401. Note: To select a sub layer with a hotkey or with an input trigger configure the same key or pin to select all of it's parent layers and also the layer itself, so the parent layers and the sub layers will also be selected and the sub layer will always showup this way, no matter which parent layer was originally shown.

450 - 500

SetoutputtriggerLEDs1to48

Opens a LED selection window for the output triggers.

501

CAM_ImportDXF

Imports a dxf drawing file to UCCAM.

502

CAM_Generatetoolpath

Generates the toolpath in UCCAM.

503

CAM_Generategcode

Creates the gcode in UCCAM.

504

M3on

Switches the M3 spindle CW button on.

505

M3off

Switches the M3 spindle CW button off.

506

M4on

Switches the M4 spindle CCW button on.

507

M4off

Switches the M4 spindle CCW button off.

508

M7on

Switches the M7 mist button on.

509

M7off

Switches the M7 mist button off.

510

M8on

Switches the M8 flood button on.

511

M8off

Switches the M8 flood button off.

512

Reseton

Switches the Reset button on.

513

Resetoff

Switches the Reset button off.

514

Offlineon

Switches the Offline button on.

515

Offlineoff

Switches the Offline button off.

516

Machinecoordson

Switches the machine coordinates button on.

517

Machinecoordsoff

Switches the machine coordinates button off.

518

Softlimitson

Switches the softlimits setting on.

519

Softlimitsoff

Switches the softlimits setting off.

520

THCon

Switches the THC control on.

521

THCoff

Switches the THC control off.

522

Feedholdtoggle

Toggles the feedhold button.

523

Feedholdon

Switches the feedhold button on.

524

Feedholdoff

Switches the feedhold button off.

525

Configplugins

Opens the plugin configuration window

526

Editscreen

Enters the screen editor mode

527

Savealloffsets

Saves all offset values to the profile file.

528

Clearstatusmessages

Clears the Status message box

529

THCAntiDiveon

Switches the Anti Dive function for the THC on.

530

THCAntiDiveoff

Switches the Anti Dive function for the THC off.

531

THCAntiDivetoggle

Toggles the Anti Dive function for the THC.

532

Configmacroloops

Opens the macroloop configuration window.

533

THCDelayon

Switches the THC Delay function for the THC on.

534

THCDelayoff

Switches the THC Delay function for the THC off.

535

THCDelaytoggle

Toggles the Delay function for the THC.
536

THCarconsignalon_emulation

Switches the THC arcon virtual signal on. Can be used to emulate the THC arcon signal from keyboard.
537

THCarconsignaloff_emulation

Switches the THC arcon virtual signal off. Can be used to emulate the THC arcon signal from keyboard.
538 THCupsignalon_emulation Switches the THC up virtual signal on. Can be used to emulate the THC up signal from keyboard.
539 THCupsignaloff_emulation Switches the THC up virtual signal off. Can be used to emulate the THC up signal from keyboard.
540 THCdownsignalon_emulation Switches the THC down virtual signal on. Can be used to emulate the THC down signal from keyboard.
541 THCdownsignaloff_emulation Switches the THC down virtual signal off. Can be used to emulate the THC down signal from keyboard.

542

THCAntiDownon

Switches the Anti Down function for the THC on.

543

THCAntiDownoff

Switches the Anti Down function for the THC off.

544

THCAntiDowntoggle

Toggles the Anti Down function for the THC.
545

Safeprobemodeon

Switches the safe probe mode on.
546

Safeprobemodeoff

Switches the safe probe mode off.
547

Safeprobemodetoggle

Toggles the safe probe mode.
548

Operatorlock

Opens the operator lock/unlock window.
549

Showstatistics

Opens the machine statistics window.
550

ShowSpindlepulleys

Opens the Spindle pulleys selection window.
551

Digitize_setfilename

Sets the file name to save the Digitized points to.
552

JogSafeprobemodeon

Switches the jog safe probe mode on.
553

JogSafeprobemodeoff

Switches the jog safe probe mode off.
554

JogSafeprobemodetoggle

Toggles the jog safe probe mode.
555

ReloadGcodefile

Reloads the g-code file if a file is already loaded.
556

JograteResetto100percent

Resets the jog rate field to 100%.
557

FROResetto100percent

Resets the feed override to 100%.
558

SROResetto100percent

Resets the spindle speed override to 100%.
559

M1optionalstopon

Switches the M1 optional stop on.
560

M1optionalstopoff

Switches the M1 optional stop off.
561

M1optionalstoptoggle

Toggles the M1 optional stop state.

562 to 612

Sethotkeycodes49to96

Opens the Hotkeys keyboard key selection window.

613 to 663

Sethotkeyfunctions49to96

Opens a Function selection window for the hotkeys.

664 to 714

Setinputtriggerfunctions49to96

Opens a Function selection window for the input triggers.

715 - 762

SetoutputtriggerLEDs49to96

Opens a LED selection window for the output triggers.

763-769

R*

770 JogpanelShow Shows the jog panel.
771

JogpanelHide

Hides the jog panel.
772 JogpanelToggle Toggles the jog panel visibility state.
773 OpenSpindlePIDsetup Opens the Spindle PID controller setup window.
774 ToolpathTCPfollowOn Locks the toolpath center to the TCP point.
775 ToolpathTCPfollowOff Unlocks the toolpath center to the TCP point.
776 ToolpathTCPfollowToggle Toggles the TCP follow mode.
777 ShowToolpathZplatesetup Shows the toolpathZplate setup window.
778 ShowCutterRcompwarnings Shows the Cutter radius compensation warnings window.
779 OpenTooltabledetails Opens the detailed tooltable window.
780 Savetooltabledatas Saves all the datas of the tool table to file.
781 DereferenceAllHomes Clears the homed state of all home buttons.
782 CloseResetandQuestionForms Closes the Reset warning and the Question forms if any of them is active.
783 ChangetoolM6 Executes the tool changing process.
784 Toggletoolpathdimensionsvisibility Toggles the dimensions drawings visibility in the toolpath view.
785 Toolpathdimensionsvisibilityon Switches on the dimensions drawings visibility in the toolpath view.
786 Toolpathdimensionsvisibilityoff Switches off the dimensions drawings visibility in the toolpath view.
787 SelectScreenset Opens the screenset selector window.
788 Camerareloadcapturedevicelist Reloads the available camera list into listbox#3.
789 Cameracapturetoggle Toggles the camera video capture on/off.
790 Cameracaptureon Switches the camera video capture on.
791 Cameracaptureoff Switches the camera video capture off.
792 Movecameraoffset Moves the XY axes with the defined camera offset distance.
793 Cameragrayscalefiltertoggle Toggles the camera grayscale filter on/off.
794 Cameragrayscalefilteron Switches the camera grayscale filter on.
795 Cameragrayscalefilteroff Switches the camera grayscale filter off.
796 Cameraedgefiltertoggle Toggles the camera edge filter on/off.
797 Cameraedgefilteron Switches the camera edge filter on.
798 Cameraedgefilteroff Switches the camera edge filter off.

799

R*

800 ProbeToolQuickJump Jumps to the probe screen and selects tool probe
801 ToolProbeMode Selects tool probe mode
802 SimpleProbeMode Selects simple probe mode
803 AngleProbeMode Selects angle probe mode
804 PocketProbeMode Selects pocket probe mode
805 OuterProbeMode Selects outer probe mode
806 InnerCornerProbeMode Selects inner corner probe mode
807 OuterCornerProbeMode Selects outer corner probe mode
808 RectangleInnerProbeMode Selects rectangle inner probe mode
809 CircleInnerProbeMode Selects circle inner probe mode
810 RectangleOuterProbeMode Selects rectangle outer probe mode
811 CircleOuterProbeMode Selects circle outer probe mode
812 R*
813 InnerCornerBottomLeft Selects bottom left corner for inner corner probe
814 InnerCornerBottomRight Selects bottom right corner for inner corner probe
815 InnerCornerTopRight Selects top right corner for inner corner probe
816 InnerCornerTopLeft Selects top left corner for inner corner probe
817 OuterCornerBottomLeft Selects bottom left corner for outer corner probe
818 OuterCornerBottomRight Selects bottom right corner for outer corner probe
819 OuterCornerTopRight Selects top right corner for outer corner probe
820 OuterCornerTopLeft Selects top left corner for outer corner probe
821 StartProbe Starts probing sequence or confirm probing question
822 ProbeAxis1SelectX Selects X axis for Axis1 on probe screen
823 ProbeAxis1SelectY Selects Y axis for Axis1 on probe screen
824 ProbeAxis1SelectZ Selects Z axis for Axis1 on probe screen
825 ProbeAxis1SelectA Selects A axis for Axis1 on probe screen
826 ProbeAxis1SelectB Selects B axis for Axis1 on probe screen
827 ProbeAxis1SelectC Selects C axis for Axis1 on probe screen
828 ProbeAxis2SelectX Selects X axis for Axis2 on probe screen
829 ProbeAxis2SelectY Selects Y axis for Axis2 on probe screen
830 ProbeAxis2SelectZ Selects Z axis for Axis2 on probe screen
831 ProbeAxis2SelectA Selects A axis for Axis2 on probe screen
832 ProbeAxis2SelectB Selects B axis for Axis2 on probe screen
833 ProbeAxis2SelectC Selects C axis for Axis2 on probe screen
834 ProbeAxisCSelectX Selects X axis for clearance axis on probe screen
835 ProbeAxisCSelectY Selects Y axis for clearance axis on probe screen
836 ProbeAxisCSelectZ Selects Z axis for clearance axis on probe screen
837 ProbeAxisCSelectA Selects A axis for clearance axis on probe screen
838 ProbeAxisCSelectB Selects B axis for clearance axis on probe screen
839 ProbeAxisCSelectC Selects C axis for clearance axis on probe screen
840 TouchToolProbeMode Selects touch probe as tool probe mode
841 MobileToolProbeMode Selects mobile probe as tool probe mode
842 FixedToolProbeMode Selects fixed probe as tool probe mode
843 SetAsWpProbePos Sets current position as workpiece probe position
844 ProbeInWpProbePos Toggles probe in workpiece probe position
845 GotoWpProbePos Moves to workpiece probe position
846 SetAsMobileProbePos Sets current position as mobile probe position
847 SetAsFixedProbePos Sets current position as fixed probe position
848 GotoProbePos Moves to mobile or fixed probe position
849 RefCurrentAsWp References current position as workpiece zero position
850 RefProbeAsWp Probes and references the probed position as workpiece zero position
851 ZeroProbedAxis Toggles zero probed axis
852 ZeroOnAllOffsets Toggles zero on all offsets
853 SingleProbeMode Toggles single probe mode
854 EnableRetract Toggles enable retract
855 PauseBeforeProbe Toggles pause before probe
856 CommonAxisSettings Toggles common axis settings
857 ProbeInfo Show probe screen help
858 GotoRef Moves axes to reference coordinates
859 Axis1CountGage Toggles axis 1 count gage
860 Axis1CountDia Toggles axis 1 count dia
861 Axis2CountGage Toggles axis 2 count gage
862 Axis2CountDia Toggles axis 2 count dia
863 MobileProbePosAEna Toggles mobile probe position A axis enable
864 MobileProbePosBEna Toggles mobile probe position B axis enable
865 MobileProbePosCEna Toggles mobile probe position C axis enable
866 FixedProbePosAEna Toggles fixed probe position A axis enable
867 FixedProbePosBEna Toggles fixed probe position B axis enable
868 FixedProbePosCEna Toggles fixed probe position C axis enable
869 SafeXPositive Toggles greater X is safer in G19
870 SafeYPositive Toggles greater Y is safer in G18
871 SafeZPositive Toggles greater Z is safer in G17
872 SaveMobileProbePos Toggles save mobile probe position on exit
873 SaveWpReferences Toggles save workpiece references on exit
874 OverrideProbeDia Toggles override probe diameter
875 LimitTraverseSpeed Toggles limit traverse speed
876 SeparateSettingsPerMode Toggles separate settings per mode
877 NoBlower Disables blower
878 BlowWithM7 Sets blower to use M7
879 BlowWithM8 Sets blower to use M8
880 BlowUsingOutput Sets blower to use output
881 BlowerPinActiveLow Toggles blower output pin active low
882 BlowToolProbes Sets blower to blow only on tool probes
883 BlowAllProbes Sets blower to blow on all probes
884 AirBlower Starts the blower and is on while blowing
885-999 R*
1000 Increasecameratargetcircles Increases the number of camera target circles
1001 Decreasecameratargetcircles Decreases the number of camera target circles
1002 Cameratargetlinetoggle Toggles the camera target line visibility
1003 Cameratargetlineon Makes the camera target line visible.
1004 Cameratargetlineoff Makes the camera target line invisible.
1005 MovetocameraZheight Makes the Z axis to move the the set camera height.
1006 Camerainvertimagetoggle Makes the camera image colors invertion function to toggle.
1007 Camerainvertimageon Makes the camera image colors invertion on.
1008 Camerainvertimageoff Makes the camera image colors invertion off.

20000-21999

Macro_call_buttons

These buttons codes call the same number of macros.


R* = Reserved address, do not use this address.