OEM LEDs

From MachCustomizeWiki

This list gives the codes to be used in calls of SetOEMLED and GetOEMLED to access all LEDs.

If you are using a version of Mach3 prior to 1.90 then to access data in this list that are in the range 800 upwards you will need to refer to the deprecated calls (e.g. SetLED) and corresponding codes.

Function FCode
G92 LED10
Spindle ON LED (CW or CCW)11
Mist LED12
Flood LED13
Jog mode Cont LED14
Jog mode Incr LED15
Mach coords warn LED16
Feed override LED17
Estimating LED18
Emergency LED19
A radius corr. LED20
B radius corr. LED21
C radius corr. LED22
Software limits LED23
Torch En LED24
True spindle Acc LED25
True spindle Dec LED26
Tool Path LED27
Tool Offset on LED28
Part Offset on LED (always in 6.11)29
Throttle is Slow Jog LED30
Throttle is Feedrate LED31
reserved32
Auto Lim override LED33
Override Limits/home switches LED34
SS on Act4 LED35
THC Arc Good LED36
Torch Up active LED37
Torch Down active LED38
Feed per Rev LED39
Feed per Min LED40
X Scale LED41
Y Scale LED42
Z Scale LED43
A Scale LED44
B Scale LED45
C Scale LED46
reserved47
Abs Coordinate Mode LED48
Incremental Coordinate Mode LED49
Threading Sync Mode LED (Turn)50
Laser Probe enabled LED51
Z-Inhibit ON LED52
Ignore Tool Change ON LED53
CV Mode ON LED54
M30 Repeats Enabled LED55
CV mode OFF LED56
MPG Jog On LED57
Cont. Jog is at full speed LED58
MPG 1 Jogs X axis LED59
MPG 1 Jogs Y axis LED60
MPG 1 Jogs Z axis LED61
MPG 1 Jogs A axis LED62
MPG 1 Jogs B axis LED63
MPG 1 Jogs C axis LED64
Optional Stop On LED65
Block Delete On LED66
Offline indicator LED67
Threading feed related to true Spindle speed LED68
Index signal awaited LED (Turn)69
Anti-dive enabled LED70
Spindle speed stable LED71
IJ Mode is Absolute LED72
IJ Mode is Incremental LED73
G-code teaching file is open LED74
Offset in effect on at least one axis LED75
reserved76
Output 4 Active LED77
Output 5 Active LED78
Output 6 Active LED79
Pause Active LED80
Tangential control Active LED81
Single Step mode Active LED82
Jogging enabled LED83
CV feed enabled LED84
Enhanced Pulsing NOT in use LED85
Axis inhibited X LED86
Axis inhibited Y LED87
Axis inhibited Z LED88
Axis inhibited A LED89
Axis inhibited B LED90
Axis inhibited C LED91
Diameter mode active (Turn) LED92
Timing signal active (Turn) LED93
Hotkeys enabled LED94
Units per minute mode LED95
Units per rev mode LED96
Running in reverse (duplicated by 112) LED97
MPG 2 Jogs X axis LED98
MPG 2 Jogs Y axis LED99
MPG 2 Jogs Z axis LED100
MPG 2 Jogs A axis LED101
MPG 2 Jogs B axis LED102
MPG 2 Jogs C axis LED103
MPG 2 in taper mode LED104
Two MPGs in use LED105
Shuttle mode in use LED106
Spindle is in CSS (G96) mode LED107
X/Y coordinate system is currently rotated LED108
Rapids being overidden LED109
Axis formula mappin ON LED110
Feedhold when part of a block executed - remainder pending LED111
Running in reverse (duplicate) LED - do not use112
Alternative feedrate in use (see OEM DRO 122) LED113
Front tool post selected LED114
Rear tool post selected LED115
Spindle is running LED116
MPG jog Velocity mode selected LED117
MPG jog Velocity/Step mode selected LED118
MPG jog single exact step mode selected LED119
MPG jog multiple steps selected LED120
X++ jogging switch active LED121
X-- jogging switch active LED122
Y++ jogging switch active LED123
Y-- jogging switch active LED124
Z++ jogging switch active LED125
Z-- jogging switch active LED126
A++ jogging switch active LED127
A-- jogging switch active LED128
Mouse in tool path Zooms LED129
Mouse in tool path Pans LED130
MPG 3 Jogs X axis LED130
MPG 3 Jogs Y axis LED131
MPG 3 Jogs Z axis LED132
MPG 3 Jogs A axis LED133
MPG 3 Jogs B axis LED134
MPG 3 Jogs C axis LED135
MPG 3 Jogs X axis LED130
reserved130 - 161
A macro is running LED162
Distance to go display in Axis DROs LED163
Spindle rotating CW LED164
Spindle rotating CCW LED165
Conditions are abnormal LED166
reserved167
CV Distance tolerance is ON LED168
Reset LED800
Inch LED801
MMs LED802
Idle LED803
Start LED804
Pause LED805
Tool change LED806
X ref LED807
Y ref LED808
Z ref LED809
A ref LED810
B ref LED811
C ref LED812
Dwell LED813
Joystick enable LED814
Fixture LED816
Input 1 Active LED821
Input 2 Active LED822
Input 3 Active LED823
Input 4 Active LED824
Digitise In LED825
Index LED826
Limit OV LED827
X++ Limit LED828
X-- Limit LED829
X-- Home LED830
Y++ Limit LED831
Y-- Limit LED832
Y-- Home LED833
Z++ Limit LED834
Z-- Limit LED835
Z-- Home LED836
A++ Limit LED837
A-- Limit LED838
A-- Home LED839
B++ Limit LED840
B-- Limit LED841
B-- Home LED842
C++ Limit LED843
C-- Limit LED844
C-- Home LED845
Enable 1 LED846
Enable 2 LED847
Enable 3 LED848
Enable 4 LED849
Enable 5 LED850
Enable 6 LED851
Output 1/Extrn1 Active LED852
Output 2/Extrn2 Active LED853
Output 3/Extrn3 Active LED854
Digitise Out LED855
System movement in effect or movement imminent LED999