Hello Guest it is April 19, 2024, 07:16:57 PM

Author Topic: DRO Question  (Read 12834 times)

0 Members and 1 Guest are viewing this topic.

DRO Question
« on: January 15, 2012, 01:19:08 PM »
Okay, I'm a newby and I'm creating my first screen.
I created a new screen for my Tool changer and I'm having an issue with a couple of DRO's.

When I add a DRO for Current Tool Number DRO - Code 24 it never actually displays the current tool, always Zero.
If I enter a number in there, it does update the Current Tool DRO on other pages, but mine still says Zero.

Also, I created another DRO and I'm trying display the value in the OEM DRO1200 but It always shows Zero as well.
I used the following:  OEM Code 12000

What am I doing wrong?

Thanks,
Richard

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: DRO Question
« Reply #1 on: January 15, 2012, 01:36:39 PM »
Rather than using DRO 24, try using the System Function for Current Tool Number. Or. use OEM Code 824

Quote
Also, I created another DRO and I'm trying display the value in the OEM DRO1200 but It always shows Zero as well.
I used the following:  OEM Code 12000

1200, or 12000? Is 12000 a typo?

DRO1200 would be a user DRO, and you'd need to send data to it. What are you trying to do with it?
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: DRO Question
« Reply #2 on: January 15, 2012, 01:42:21 PM »
Thanks,  1200,  I'm just trying to display the value stored in DRO1200.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: DRO Question
« Reply #3 on: January 15, 2012, 01:45:26 PM »
There is no value stored in DRO 1200 unless you put the value there. It's a User DRO, not a standard Mach3 DRO.
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: DRO Question
« Reply #4 on: January 15, 2012, 01:51:05 PM »
I use it to store a value in from my M6Start Macro.

SetUserDRO (1200, NewTool)

Mach always starts up with Current Tool as 0,  The DRO1200 Stores the LastTool#
I use it in an init macro to set CurrentTool on startup. 

Works very well however I want to be able to see it's value.

Richard
Re: DRO Question
« Reply #5 on: January 15, 2012, 01:57:24 PM »
I'm still not having any luck displaying the Current Tool.
In Screen Designer, I Add a DRO, the properties for the DRO are:
Function: Tool Number DRO
Code: 824
Format: %2D
 
If I go the Screen 1 and enter a tool number it's displayed properly in the DRO on Screen1 but the DRO on my new screen page always remains at Zero.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: DRO Question
« Reply #6 on: January 15, 2012, 02:18:24 PM »
And the two DRO's are the same?

Can you post the .set file?
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: DRO Question
« Reply #7 on: January 15, 2012, 02:32:08 PM »
It's screen 11.  Don't laugh, I'm just playing and trying to get the hang of screens.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: DRO Question
« Reply #8 on: January 15, 2012, 02:40:50 PM »
The format is wrong. It should be %2.0f
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: DRO Question
« Reply #9 on: January 15, 2012, 02:43:25 PM »
Ah, Thanks.  Let me try again.