Hi,
My current licensed version of Mach3 is Version R3.042.038.
I've downloaded and viewed all drafts of the V3.x Prog Ref from v0.11 through June 2010's v0.18 and I must say all these versions are identical for the following sections GetDRO(), GetOEMDRO(), SetDRO() and SetOEMDRO() , but they among these they seem to be contradictory with what forum post discussions say about them. Some clarifications would be greatly appreciated.
The manual states GetDRO and SetDRO are deprecated and to be superseded by GetOEMDRO and SetOEMDRO. I've been using the SetDRO code variant successfully with the following syntax "Call SetDRO( 0, .5)" to set the X axis DRO from someone's example.
My understanding from more experienced Mach3 VB authors is that "SetOEMDRO(800, .5) is the equivalent form, or 801 for Y-axis, 802 for z-axis.
However, examples in all versions of the draft manual give examples one way for GetDRO, no example for GetOEMDRO and one way for SetDRO and another SetOEMDRO. And the Get vs. Set in both variants seem to be reversed.
Do these not have the same syntax format?
Doesn't SetOEMDRO expect the DRO argument to be 800, 801, 802, 803, etc.?
I ask because I've been trying to update my VB script to use SetOEMDRO instead of SetDRO, I've tried it with and without the "Call" prefix, and I experience error beeps when I hit the SetOEMDRO, and sometimes the value written is off by 20-30 ten-thousandths (and I'm using Sleep 100 statements following it).
So, what is the REAL deal?
Thanks