This document describes the UCCNC software LED screen objects.
 

Each LED represents an internal boolean variable of the UCNC software.

The LEDs' logic state can be read in macro code.

This documentation lists all the accessible LED variables.

 

LED number

LED name

Description

1

OutputPT1PN1

Indicates the actual logic state of port#1 pin#1.

2

OutputPT1PN2 Indicates the actual logic state of port#1 pin#2.
3

OutputPT1PN3

Indicates the actual logic state of port#1 pin#3.
4

OutputPT1PN4

Indicates the actual logic state of port#1 pin#4.
5 OutputPT1PN5 Indicates the actual logic state of port#1 pin#5.
6 OutputPT1PN6 Indicates the actual logic state of port#1 pin#6.
7 OutputPT1PN7 Indicates the actual logic state of port#1 pin#7.
8 OutputPT1PN8 Indicates the actual logic state of port#1 pin#8.
9 OutputPT1PN9 Indicates the actual logic state of port#1 pin#9.
10 OutputPT1PN10 Indicates the actual logic state of port#1 pin#10.

11

OutputPT1PN11 Indicates the actual logic state of port#1 pin#11.

12

OutputPT1PN12

Indicates the actual logic state of port#1 pin#12.

13

OutputPT1PN13

Indicates the actual logic state of port#1 pin#13.

14

OutputPT1PN14

Indicates the actual logic state of port#1 pin#14.
15

OutputPT1PN15

Indicates the actual logic state of port#1 pin#15.
16

OutputPT1PN16

Indicates the actual logic state of port#1 pin#16.
17 OutputPT1PN17 Indicates the actual logic state of port#1 pin#17.
18 Idle Indicates the Idle state of the device.
19 Run Indicates a run state of the device. This is the opposite of the Idle state.
20 Jog Active when a jog command is being executed.
21 Dwell Indicates a dwell in progress.

22

Backlash Active when the backlash compensation is being executed.

23

Home Active when the homing command is being executed.

24

Probing Active when the probing command is being executed.

25

Reset Indicates an active reset signal.

26

Hardlimit Active when any of the configured limit inputs are triggered.

27

Limitsoverride Active if the limits are overriden by the user.

28

Toolchangeinprogress Active when a tool change macro is being executed.

29

Xlimitpositive Active when the X-axis positive side limit switch is triggered.

30

Ylimitpositive Active when the Y-axis positive side limit switch is triggered.

31

Zlimitpositive Active when the Z-axis positive side limit switch is triggered.

32

Alimitpositive Active when the A-axis positive side limit switch is triggered.

33

Blimitpositive Active when the B-axis positive side limit switch is triggered.

34

Climitpositive Active when the C-axis positive side limit switch is triggered.

35

Index Active when the index input is triggered.

36

Estop Active when the estop input is triggered.

37

Probe Active when the probe input is triggered.

38

Xlimitnegative Active when the X-axis negative side limit switch is triggered.

39

Ylimitnegative Active when the Y-axis negative side limit switch is triggered.

40

Zlimitnegative Active when the Z-axis negative side limit switch is triggered.

41

Alimitnegative Active when the A-axis negative side limit switch is triggered.

42

Blimitnegative Active when the B-axis negative side limit switch is triggered.

43

Climitnegative Active when the C-axis negative side limit switch is triggered.

44

Xhome Active when then X-axis home input is triggered.

45

Yhome Active when then Y-axis home input is triggered.

46

Zhome Active when then Z-axis home input is triggered.

47

Ahome Active when then A-axis home input is triggered.

48

Bhome Active when then B-axis home input is triggered.

49

Chome Active when then C-axis home input is triggered.

50

SpindleCW Active when the spindle is rotating Clockwise.

51

SpindleCCW Active when the spindle is rotating Counter-clockwise

52

Miston Active when the mist coolant is on.

53

Floodon Active when the flood coolant is on.

54

Cyclestart Active when a G-code execution cycle is in progress.

55

Runsingleline Active when a Single line G-code execution cycle is in progress.

56

Xhomed Active when the X-axis was already homed.

57

Yhomed Active when the Y-axis was already homed.

58

Zhomed Active when the Z-axis was already homed.

59

Ahomed Active when the A-axis was already homed.

60

Bhomed Active when the B-axis was already homed.

61

Chomed Active when the C-axis was already homed.

62

Machinecoords Active when the machine coordinate system is selected to view in the position DROs.

63

THCon Active when the THC on physical input is active.

64

THCup Active when the THC up physical input is active.

65

THCdown Active when the THC down physical input is active.

66

THCenabled Active when the THC control is enabled.

67

Softlimitsenabled Active when the Software limit function is enabled.

68

THCdelay Active when the THC delay is ongoing.

69

OutputPT2PN1

Indicates the actual logic state of port#2 pin#1.

70

OutputPT2PN2 Indicates the actual logic state of port#2 pin#2.

71

OutputPT2PN3

Indicates the actual logic state of port#2 pin#3.

72

OutputPT2PN4

Indicates the actual logic state of port#2 pin#4.
73 OutputPT2PN5 Indicates the actual logic state of port#2 pin#5.
74 OutputPT2PN6 Indicates the actual logic state of port#2 pin#6.
75 OutputPT2PN7 Indicates the actual logic state of port#2 pin#7.
76 OutputPT2PN8 Indicates the actual logic state of port#2 pin#8.
77 OutputPT2PN9 Indicates the actual logic state of port#2 pin#9.
78 OutputPT2PN10 Indicates the actual logic state of port#2 pin#10.
79 OutputPT2PN11 Indicates the actual logic state of port#2 pin#11.
80

OutputPT2PN12

Indicates the actual logic state of port#2 pin#12.

81

OutputPT2PN13

Indicates the actual logic state of port#2 pin#13.

82

OutputPT2PN14

Indicates the actual logic state of port#2 pin#14.

83

OutputPT2PN15

Indicates the actual logic state of port#2 pin#15.

84

OutputPT2PN16

Indicates the actual logic state of port#2 pin#16.
85 OutputPT2PN17 Indicates the actual logic state of port#2 pin#17.
86 OutputPT3PN1

Indicates the actual logic state of port#3 pin#1.

87 OutputPT3PN2 Indicates the actual logic state of port#3 pin#2.
88

OutputPT3PN3

Indicates the actual logic state of port#3 pin#3.
89

OutputPT3PN4

Indicates the actual logic state of port#3 pin#4.
90 OutputPT3PN5 Indicates the actual logic state of port#3 pin#5.

91

OutputPT3PN6 Indicates the actual logic state of port#3 pin#6.

92

OutputPT3PN7 Indicates the actual logic state of port#3 pin#7.

93

OutputPT3PN8 Indicates the actual logic state of port#3 pin#8.

94

OutputPT3PN9 Indicates the actual logic state of port#3 pin#9.
95 OutputPT3PN10 Indicates the actual logic state of port#3 pin#10.
96 OutputPT3PN11 Indicates the actual logic state of port#3 pin#11.
97

OutputPT3PN12

Indicates the actual logic state of port#3 pin#12.
98

OutputPT3PN13

Indicates the actual logic state of port#3 pin#13.
99

OutputPT3PN14

Indicates the actual logic state of port#3 pin#14.
100

OutputPT3PN15

Indicates the actual logic state of port#3 pin#15.

101

OutputPT3PN16

Indicates the actual logic state of port#3 pin#16.

102

OutputPT3PN17 Indicates the actual logic state of port#3 pin#17.
103 OutputPT4PN1

Indicates the actual logic state of port#4 pin#1.

104 OutputPT4PN2 Indicates the actual logic state of port#4 pin#2.
105

OutputPT4PN3

Indicates the actual logic state of port#4 pin#3.
106

OutputPT4PN4

Indicates the actual logic state of port#4 pin#4.
107 OutputPT4PN5 Indicates the actual logic state of port#4 pin#5.

108

OutputPT4PN6 Indicates the actual logic state of port#4 pin#6.

109

OutputPT4PN7 Indicates the actual logic state of port#4 pin#7.

110

OutputPT4PN8 Indicates the actual logic state of port#4 pin#8.

111

OutputPT4PN9 Indicates the actual logic state of port#4 pin#9.
112 OutputPT4PN10 Indicates the actual logic state of port#4 pin#10.
113 OutputPT4PN11 Indicates the actual logic state of port#4 pin#11.
114

OutputPT4PN12

Indicates the actual logic state of port#4 pin#12.
115

OutputPT4PN13

Indicates the actual logic state of port#4 pin#13.
116

OutputPT4PN14

Indicates the actual logic state of port#4 pin#14.
117

OutputPT4PN15

Indicates the actual logic state of port#4 pin#15.

118

OutputPT4PN16

Indicates the actual logic state of port#4 pin#16.

119

OutputPT4PN17 Indicates the actual logic state of port#4 pin#17.
120 OutputPT5PN1

Indicates the actual logic state of port#5 pin#1.

121 OutputPT5PN2 Indicates the actual logic state of port#5 pin#2.
122

OutputPT5PN3

Indicates the actual logic state of port#5 pin#3.
123

OutputPT5PN4

Indicates the actual logic state of port#5 pin#4.
124 OutputPT5PN5 Indicates the actual logic state of port#5 pin#5.

125

OutputPT5PN6 Indicates the actual logic state of port#5 pin#6.

126

OutputPT5PN7 Indicates the actual logic state of port#5 pin#7.

127

OutputPT5PN8 Indicates the actual logic state of port#5 pin#8.

128

OutputPT5PN9 Indicates the actual logic state of port#5 pin#9.
129 OutputPT5PN10 Indicates the actual logic state of port#5 pin#10.
130 OutputPT5PN11 Indicates the actual logic state of port#5 pin#11.
131

OutputPT5PN12

Indicates the actual logic state of port#5 pin#12.
132

OutputPT5PN13

Indicates the actual logic state of port#5 pin#13.
133

OutputPT5PN14

Indicates the actual logic state of port#5 pin#14.
134

OutputPT5PN15

Indicates the actual logic state of port#5 pin#15.

135

OutputPT5PN16

Indicates the actual logic state of port#5 pin#16.

136

OutputPT5PN17 Indicates the actual logic state of port#5 pin#17.

137

MPGAPIN Indicates the logic state of the MPG A pin.

138

MPGBPIN Indicates the logic state of the MPG B pin.

139

EnableXaxis On when the enable output of the X axis is active

140

EnableYaxis On when the enable output of the Y axis is active

141

EnableZaxis On when the enable output of the Z axis is active

142

EnableAaxis On when the enable output of the A axis is active

143

EnableBaxis On when the enable output of the B axis is active

144

EnableCaxis On when the enable output of the C axis is active

145

Jogmodecontinous On when the continous jog mode is selected.

146

Jogmodestep On when the step jog mode is selected.

147

R*  

148

Jograte0001 On when the step jog rate is set to 0.001 units.

149

Jograte0010 On when the step jog rate is set to 0.01 units.

150

Jograte0100 On when the step jog rate is set to 0.1 units.

151

Jograte1000 On when the step jog rate is set to 1 units.

152

MPGmodecont On when the MPG continous mode is selected.

153

MPGmodesingle On when the MPG single mode is selected.

154

MPGmodemulti On when the MPG multi mode is selected.

155

MPGXaxisselect On when the X axis is selected for the MPG jog.

156

MPGYaxisselect On when the Y axis is selected for the MPG jog.

157

MPGZaxisselect On when the Z axis is selected for the MPG jog.

158

MPGAaxisselect On when the A axis is selected for the MPG jog.

159

MPGBaxisselect On when the B axis is selected for the MPG jog.

160

MPGCaxisselect On when the C axis is selected for the MPG jog.

161 - 211

TABlayervisible On when the tab layer is visible. The layer number selected is the LED code - 161, so the 161. LED code is for the tab layer 0. and the 211. LED code is for the 50. tab layer. Note: When more than one tab layer is visible, for example if a tab layer has a sub-tab layer which is also visible then both LED codes are active.

212

Offlinemode On when the offline mode is active.

213

Sync_thread Active when a syncronous thread cutting is in execution.

214

EncoderApin Indicates the logic state of the Encoder A pin.

215

EncoderBpin Indicates the logic state of the Encoder B pin.

216

MDIrunning On when an MDI command is in progress.

217

Feedhold On when the feedhold button is avtice.

218

Isdemomode On if the software is running in demo mode.

219

Laserdataloaded On if a laser data object is loaded to the memory for laser engraving.

220

Laserrunning On when a laser engraving is in progress using the laser data object.

221

OutputPT5PN26 Indicates the actual logic state of port#5 pin#26. (M44 motherboard only.)
222 OutputPT5PN27 Indicates the actual logic state of port#5 pin#27. (M44 motherboard only.)
223 OutputPT5PN28 Indicates the actual logic state of port#5 pin#28. (M44 motherboard only.)
224 OutputPT5PN29 Indicates the actual logic state of port#5 pin#29. (M44 motherboard only.)
225 OutputPT5PN30 Indicates the actual logic state of port#5 pin#30. (M44 motherboard only.)
226 OutputPT5PN31 Indicates the actual logic state of port#5 pin#31. (M44 motherboard only.)
227 OutputPT5PN32 Indicates the actual logic state of port#5 pin#32. (M44 motherboard only.)
228 OutputPT5PN33 Indicates the actual logic state of port#5 pin#33. (M44 motherboard only.)

229

M0stopactive Indicates that the M0 stop is active.

230

M1stopactive Indicates that the M1 stop is active.

231

M60stopactive Indicates that the M60 stop is active.

232

Pause On when any of the M0 or M1 or M60 stop mode is active.

233

THCAntidiveactive On when in THC control and the Anti diving happens.

234

OutputPT1PN94 Indicates the actual logic state of port#1 pin#94. (5441 motherboard only.)

235

OutputPT1PN95 Indicates the actual logic state of port#1 pin#95. (5441 motherboard only.)

236

MPGJogOn Indicates that the MPG jogging is active.

237

THCarcon_emulation Indicates that the THCarcon emulation signal is active.

238

THCup_emulation Indicates that the THCup emulation signal is active.

239

THCdown_emulation Indicates that the THCdown emulation signal is active.

240

THCantidiveenabled On when the THC anti dive function is enabled.

241

THCdelayenabled On when the THC delay function is enabled.

242

THCantidownenabled On when the THC anti down function is enabled.

243

SafeProbeModeactive On when the SafeProbeMode is active. The safe probe mode actives the Reset if the probe goes on when not probing.

244

ProbedOK On if the last probing (G31) was finished with a probe touch, off if the last probing did not end with a touch.

245

Digitizing On when the M40 digitizing command is active.

246

JogSafeProbeModeactive On when the JogSafeProbeMode is active. The jog safe probe mode stops the jog motion if the probe goes on while jogging.

247

M1optionalstopenabled On when the M1 optional stop is enabled

248

ScaleXactive On when the X axis scaling differs from value 1.

249

ScaleYactive On when the Y axis scaling differs from value 1.

250

ScaleZactive On when the Z axis scaling differs from value 1.

251

ScaleAactive On when the A axis scaling differs from value 1.

252

ScaleBactive On when the B axis scaling differs from value 1.

253

ScaleCactive On when the C axis scaling differs from value 1.

254

G68Rotationactive On when the G68 rotation is active.

255

TCPfollowmodeactive On when the toolpath TCP follow mode is active.

256

FROdisabled On if the feedrate override control (FRO) is disabled.

257

SROdisabled On if the spindle speed override control (SRO) is disabled.

258

FROover100 On if the FRO is over 100%

259

FROunder100 On if the FRO is under 100%

260

SROover100 On if the SRO is over 100%

261

SROunder100 On if the SRO is under 100%

262

Proberadiusdisabled On if the probe radius compensation in the digitizing settings is disabled.
263 Rapidmovementselected Warning LED that rapid G0 code is selected.
264 Cameracaptureon On when the camera is activated.
265 Cameragrayscalefilteron On when the camera grayscale filter is activated.
266 Cameraedgefilteron On when the camera edge filter is activated.
267 Cameratargetlineon On when the camera target line is shown.
268 Softlimitactive On if any of the machine axis reached the softlimit.
269 Cameraimageinverton On when the camera image invertion filter is activated.
270-299 R*  
300 ProbeError On if probe was not successful on probe screen
301 ProbePaused On if probe is paused or question needs to be confirmed
302 Axis1Disable On if Axis1 cannot be selected on probe screen
303 Axis2Disable On if Axis2 cannot be selected on probe screen
304 Axis3Disable On if AxisC cannot be selected on probe screen
305 TouchProbeWpCoordsSaved On if workpiece probe position is saved
306 MobileProbeCoordsSaved On if mobile probe position is saved
307 FixedProbeCoordsSaved On if fixed probe position is saved
308 MobileWpReferenced On if workpiece is referenced to mobile probe
309 FixedWpReferenced On if workpiece is referenced to fixed probe.

 

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