OEM DROs

From MachCustomizeWiki

This list gives the codes to be used in calls of SetOEMDRO and GetOEMDRO to access all DROs.

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. SetDRO) and corresponding codes.


command:

SetOEMDRO

GetOEMDRO

Function OEMCode
Jog Inc Inc DRO1
Pulse Freq DRO2
Slow Jog % DRO3
X min DRO4
Y min DRO5
Z min DRO6
A min DRO7
B min DRO8
C min DRO9
X max DRO10
Y max DRO11
Z max DRO12
A max DRO13
B max DRO14
C max DRO15
X G92 Axis Off DRO16
Y G92 Axis Off DRO17
Z G92 Axis Off DRO18
A G92 Axis Off DRO19
B G92 Axis Off DRO20
C G92 Axis Off DRO21
Queue Depth DRO22
Time Scale DRO23
PWM Base DRO24
Torch Correction Speed DRO25
Torch Height Corrorrection DRO26
Torch Height Max DRO27
CPU Load DRO28
Encoder 1 (X) position DRO29
Encoder 2 (Y) position DRO30
Encoder 3 (Z) position DRO31
Tool length offset32
X axis Ref Sw DRO33
Y axis Ref Sw DRO34
Z axis Ref Sw DRO35
A axis Ref Sw DRO36
B axis Ref Sw DRO37
C axis Ref Sw DRO38
True spindle DRO39
Worst Case DRO40
Tool X Offset DRO41
Tool Z Offset DRO42
Tool Dia DRO43
Tool Tip Rad DRO44
Touch Correction DRO45
Current Fixture Number DRO46
Part X Offset DRO47
Part Y Offset DRO48
Part Z Offset DRO49
Part A Offset DRO50
Part B Offset DRO51
Part C Offset DRO52
CPU Speed DRO53
Safe Z DRO54
Overidden Feed Rate DRO (read only?)55
Pulley DRO56
Max Spindle Speed on current pulley DRO57
Velocity per Rev DRO58
X Scale DRO59
Y Scale DRO60
Z Scale DRO61
A Scale DRO62
B Scale DRO63
C Scale DRO64
Lowest Torch Correction DRO65
Threading Entrance Angle DRO66
Max Entrance Points DRO67
Rotational Time Error DRO68
Entrance Trigger DRO69
Time Correction Derivative DRO70
Interrupts per spindle rev DRO71
Current Spin Counts DRO72
Spin Adder DRO73
Spindle Speed Override DRO74
Stock Size DRO75
Laser X Grid DRO76
Laser Y Grid DRO77
Repetitions DRO78
Lower Z-Inhibit By DRO79
Z-Inhibit DRO80
Port Bit-test DRO (diagnostic)81
Anti-dive limit DRO82
X Machine Coord DRO83
Y Machine Coord DRO84
Z Machine Coord DRO85
A Machine Coord DRO86
B Machine Coord DRO87
C Machine Coord DRO88
Blend factor DRO89
Number of spindle disc slots DRO90
G73 Pull-off value DRO91
Tangential lift threshold angle DRO92
Tangential lift Z level DRO93
reserved94
reserved95
reserved96
CV Feedrate DRO97
Feed override increment value DRO98
??? Spindle ratio DRO99
Encoder 4 position DRO100
MPG 1 count DRO101
MPG 2 count DRO102
MPG 3 count DRO103
Rapid feedrate DRO104
Diameter of current tool DRO105
Tip direction of current tool DRO106
Tool nose radius of current tool DRO107
X offset of current tool DRO108
Z offset of current tool DRO109
X wear offset of current tool DRO110
Z wear offset of current tool DRO111
Tool turret angle of current tool DRO112
Velocity of MPG 1 DRO113
Velocity of MPG 2 DRO114
Velocity of MPG 3 DRO115
Angle of taper to be cut with MPG tapering DRO116
Spindle speed as surface speed DRO117
Angle of rotation of X/Y coordinate system (cf G68)118
Laser grid spacing DRO119
Number of incremental jogs that can be buffered DRO120
Minimum spindle speed on current pulley DRO121
Feed rate ignoring that set in F word DRO122
Tool post offset (between front and rear posts DRO123
Current velocity of MPG 1 DRO124
Current velocity of MPG 2 DRO125
Feedrate for use with MPG step jogs DRO126
Error between Encoder 1 and abs X position DRO127
Error between Encoder 2 and abs Y position DRO128
Error between Encoder 3 and abs Z position DRO129
Time (uSec) in interrupt handler DRO130
SLS Dist - laser position measurement DRO131
Axis 6 Tripcount - system debug use only DRO132
??? Engine lookahead DRO133
Count of actual pulses output on X - debug use only DRO134
Count of actual pulses output on Y - debug use only DRO135
Count of actual pulses output on Z - debug use only DRO136
Count of actual pulses output on A - debug use only DRO137
Count of actual pulses output on B - debug use only DRO138
Count of actual pulses output on C - debug use only DRO139
Actual count from encoder 1 - debug use only DRO140
Actual count from encoder 2 - debug use only DRO141
Actual count from encoder 3 - debug use only DRO142
Actual count from encoder 4 - debug use only DRO143
Actual count from encoder 5 - debug use only DRO144
Actual count from encoder 6 - debug use only DRO145
ModBus input 64 DRO146
ModBus input 65 DRO147
ModBus input 66 DRO148
ModBus input 67 DRO149
Softlimit X Maximum DRO150
Softlimit Y Maximum DRO151
Softlimit Z Maximum DRO152
Softlimit A Maximum DRO153
Softlimit B Maximum DRO154
Softlimit C Maximum DRO155
Softlimit X Minimum DRO156
Softlimit Y Minimum DRO157
Softlimit Z Minimum DRO158
Softlimit A Minimum DRO159
Softlimit B Minimum DRO160
Softlimit C Minimum DRO161
Distance from front to rear toolpost DRO 162
Encoder 1 position (in units) DRO 170
Encoder 2 position (in units) DRO 171
Encoder 3 position (in units) DRO 172
Encoder 4 position (in units) DRO 173
Part X radius/diameter for Touching to tooltable DRO 175
Part Z location for Touching to tooltable DRO 176
reserved DRO 177
Machine X coord - X Work Offset DRO 178
Machine Y coord - Y Work Offset DRO 179
Machine Z coord - Z Work Offset - Tool length DRO 180
Machine A coord - A Work Offset DRO 181
Machine B coord - B Work Offset DRO 182
Machine C coord - C Work Offset DRO 183
X Cont. Pnt. coord (Machine - Work - G52/G92) DRO 184
Y Cont. Pnt. coord (Machine - Work - G52/G92) DRO 185
Z Cont. Pnt. coord (Machine - Work - Tool len. - G52/G92) DRO 186
A Cont. Pnt. coord (Machine - Work - G52/G92) DRO 187
B Cont. Pnt. coord (Machine - Work - G52/G92) DRO 188
C Cont. Pnt. coord (Machine - Work - G52/G92) DRO 189
X axis home location used by G28 DRO 190
Y axis home location used by G28 DRO 191
Z axis home location used by G28 DRO 192
A axis home location used by G28 DRO 193
B axis home location used by G28 DRO 194
C axis home location used by G28 DRO 195
X axis Distance to Go DRO 196
Y axis Distance to Go DRO 197
Z axis Distance to Go DRO 198
A axis Distance to Go DRO 199
B axis Distance to Go DRO 200
C axis Distance to Go DRO 201
Overriden spindle speed DRO 202
Current pulley reversed direction203
Current X offset of Turn tool204
reserved205
reserved206
reserved207
Encoder X reading corrected by offsets 208
Encoder Y reading corrected by offsets 209
Encoder Z reading corrected by offsets 210
X soft limits Max 211
y soft limits Max 212
Z soft limits Max 213
X soft limits Min 214
y soft limits Min 215
Z soft limits Min 216
Spindle Seconds CW 217
reserved218
reserved219
Brains exe time (ms) 220
Probe Radius 221
Sub Program depth 222
Rapid Override 223
Number of macros currently running 224
X DRO800
Y DRO801
Z DRO802
A DRO803
B DRO804
C DRO805
X Vel DRO806
Y Vel DRO807
Z Vel DRO808
A Vel DRO809
B Vel DRO810
C Vel DRO811
Blended Velocity DRO813
Elapsed DRO814
Estimate DRO815
Curr Line no DRO816
Spindle requested DRO817
Feedrate DRO818
Motion Mode (G0, G1, G2 etc) DRO819
Feedrate Override (FRO)821
Tool number DRO824
Rot A diameter DRO825
Rot B diameter DRO826
Rot C diameter DRO827
Jog Inc DRO828
X Fixture Off DRO830
X Fixture Orig Off DRO830
Y Fixture Off DRO831
Y Fixture Orig Off DRO831
Z Fixture Off DRO832
Z Fixture Orig Off DRO832
A Fixture Off DRO833
A Fixture Orig Off DRO833
B Fixture Orig Off DRO834
B Fixture Off DRO834
C Fixture Orig Off DRO835
C Fixture Off DRO835
Current Tool length DRO836