Hello Guest it is July 19, 2019, 11:45:14 PM

Author Topic: Info regarding GetDRO's and etc.....  (Read 3276 times)

0 Members and 1 Guest are viewing this topic.

Info regarding GetDRO's and etc.....
« on: April 05, 2012, 01:42:55 AM »
Hi, what I'm trying to do is find out the link, if there is one, between the screen button's or enter blocks. Don't know how to insert a pic so anyway on the Mach3 Big Blue Screen we have the probe setup and the "plate thickness" enter block, my question is what is the GetDRO number for this block? Similarly there is a  "edge finder dia" on the Offsets screen, what would the GetDRo number be for this be. The reason for my questions is I'm writing a script to find the x, y, and z edge. I have one which is working but don't understand why?

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Info regarding GetDRO's and etc.....
« Reply #1 on: April 05, 2012, 03:46:20 AM »
Look at the sticky it has a xls file with the oem codes for Buttons,  LEDs and DROs, alternatively you can also find the same info on the wiki.
You can also have your own DROs, ( user DROs) they must be in the range of 1000  to 2255.
Hood
« Last Edit: April 05, 2012, 04:01:27 AM by Hood »
Re: Info regarding GetDRO's and etc.....
« Reply #2 on: April 05, 2012, 05:22:14 PM »
Thank you. Does anybody have a script which outputs the current DRO's for your setup. I ask this because the DRO reference doesn't seem to be standard. Again i say this because if i ask for DRO (43) {tool Diam} i get the -tool radius. I would like a list of my DRO's under my current setup. Tks, John

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Info regarding GetDRO's and etc.....
« Reply #3 on: April 05, 2012, 05:40:18 PM »
Works fine for me and OEM codes are standard..
I placed a DRO on my screen and set it to OEM 43, called Tool 1 and the DRO showed 60 which is what I had entered in the tool table for tool 1 Dia.
Hood
Re: Info regarding GetDRO's and etc.....
« Reply #4 on: April 05, 2012, 06:15:14 PM »
Hi Hood, Thank you. What i'm doing is using the MsgBox GetDRO(43) (just to see and understand what's happening) and the radius is displayed as -2.75 with my tool set at 5.5. i changed the tool to say 8 and then i get -4. Just confused

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Info regarding GetDRO's and etc.....
« Reply #5 on: April 05, 2012, 06:22:31 PM »
MsgBox GetOEMDRO(43)

Should work.
Hood
Re: Info regarding GetDRO's and etc.....
« Reply #6 on: April 05, 2012, 06:24:16 PM »
Oh, okay i see. will try and let u know. at work at the moment. Tks, John

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: Info regarding GetDRO's and etc.....
« Reply #7 on: April 05, 2012, 06:24:55 PM »
If you open the screen in a screen designer, you can see the DRO #. Machscreen has a table view that lists all the screen controls used.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Info regarding GetDRO's and etc.....
« Reply #8 on: April 05, 2012, 06:47:24 PM »
Hi, now that is what i was looking for. Great. Rgs, John