Hello Guest it is April 18, 2024, 06:02:38 PM

Author Topic: Can you make a DRO Read only ?  (Read 8507 times)

0 Members and 1 Guest are viewing this topic.

Can you make a DRO Read only ?
« on: May 14, 2009, 05:30:35 PM »
 :)
I put this counter DRO and reset button on my TURN screen.
It increments UP 1 per Cycle Start button press. (Actually an external button to INPUT 1).
Can the DRO be made so that it cannot be selected and a have a value entered by an operator ?
Thanks,
RC

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Can you make a DRO Read only ?
« Reply #1 on: May 14, 2009, 07:10:32 PM »
This came up a few weeks ago and there were a few workarounds posted. Can't find it though. :(

I seem to recall something about placing a transparent button on top of it so it can't be accessed? And a way to use a label to display the DRO contents without actually using the DRO.
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Can you make a DRO Read only ?
« Reply #2 on: May 14, 2009, 07:20:00 PM »
I'll dig around a bit more with the search utility.
Thanks Ger.
Another question.
       What can I do to make the counter see the on screen RUN button press as well as seeing the INPUT 1 from the external button ?
Thanks,
RC

Here is the Brain:
« Last Edit: May 14, 2009, 07:23:24 PM by Overloaded »

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Can you make a DRO Read only ?
« Reply #3 on: May 14, 2009, 07:30:40 PM »
Change the run button to some VB script and use an OEM trigger for the external button? Then either one should do the same thing?
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Can you make a DRO Read only ?
« Reply #4 on: May 14, 2009, 08:08:27 PM »
Changed the Brain input to OEM TRIGGER#1. Works well with the external button.
Cant get the proper script in the VB'd RUN button to cycle the counter DRO.
Can you give me an example of the script/syntax ?
Thanks,
RC
Re: Can you make a DRO Read only ?
« Reply #5 on: February 03, 2014, 07:46:39 AM »
this may help.

' counts M1001  resets M1002
DRO = GetUserDRO(1011)
SetUserDRO(1011 , (DRO + 1))
While IsMoving()
Wend   
Kenneth