Hello Guest it is October 23, 2020, 09:06:34 PM

Author Topic: GetVar(2002) used in 2 Vb macro  (Read 4288 times)

0 Members and 1 Guest are viewing this topic.

GetVar(2002) used in 2 Vb macro
« on: August 04, 2008, 06:10:39 AM »

I would like to probe the workpiece on the Z axis with a macro using GetVar(2002) when the probe touch the piece.

Also, would like to use a Vb macro to set the Z tool offset  but can I use something else than GetVar(2002) because since this is the same variable, it change the z axis also instead of the workpiece offset only.

I really want two separate macro, one to probe for G54 and one for tool offset length.

Could somebody explain to me what the difference between "GetUserDro , GetDro, and GetOemDro" -  "SetDro ,setOemDro and Call SetDro"  -  GetVar(2002) and GetVar(1000)

When to use Dro and OemDro, GetDro,          GetUserDro and GetOemDro

This would be greatly appreciated, Thanks

Offline poppabear

  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: GetVar(2002) used in 2 Vb macro
« Reply #1 on: August 04, 2008, 02:43:18 PM »
Get or SetOEMDRO is for the OEM mach issued funcitons GetDRO and SetDRO is same (same for LEDs)

Get or SetUserDRO (or LED), these will only effect the General "Undefined" DROs and LEDs for the users to use Range 1000-2255 for both.

Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
Re: GetVar(2002) used in 2 Vb macro
« Reply #2 on: August 04, 2008, 06:39:38 PM »
Sorry if I do not understand, but what is the difference between a UserDro and a Dro

Sorry again