Hello Guest it is December 15, 2019, 09:15:40 PM

Author Topic: Auto Tool Zero - Plate Thickness DRO(1151)?  (Read 7294 times)

0 Members and 1 Guest are viewing this topic.

Offline rjb

*
  •  5 5
    • View Profile
Auto Tool Zero - Plate Thickness DRO(1151)?
« on: February 27, 2010, 12:27:12 PM »
Hi,

I'm new to Mach3 so I'm probably asking a stupid question ..anyway here goes.

I'm trying to set up the Auto Tool Zero function and have had limited success using scripts from this forum, but I can't seem to get the zero setting to compensate for the thickness of my sensor switch (I place this on top of my workpiece so I need to add its height to the z setting to get the correct z position.   All of the scripts I have looked at refer to 'PlateThickness = GetUserDRO(1151)', but I don't understand where the parameter DRO(1151) is located or how it is set.  I think this is probably the key to solving my problem, but I can't find any information about this.  I'd be very grateful if someone could point me in the right direction.

Thanks,

Richard.

Offline ger21

*
  • *
  •  6,291 6,291
    • View Profile
    • The CNC Woodworker
Re: Auto Tool Zero - Plate Thickness DRO(1151)?
« Reply #1 on: February 27, 2010, 12:31:33 PM »
A User DRO is a DRO added to the screen by the user. In this case, it is set to #1151. You can add a DRO to the screen using Screen4 or the Machscreen designer.
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline Greolt

*
  •  956 956
    • View Profile
Re: Auto Tool Zero - Plate Thickness DRO(1151)?
« Reply #2 on: February 28, 2010, 04:16:34 AM »
Richard

Here is a quick example for you.

I have simply squeezed a DRO below the "Auto Tool Zero" button.

See pic.  Screenset also posted if it will help.

Greg
« Last Edit: February 28, 2010, 04:22:12 AM by Greolt »

Offline Tweakie.CNC

*
  • *
  •  8,024 8,024
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Auto Tool Zero - Plate Thickness DRO(1151)?
« Reply #3 on: February 28, 2010, 04:24:55 AM »
You could also consider changing the 'PlateThickness = GetUserDRO(1151)' to 'PlateThickness = 10' or whatever your plate thickness is.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Greolt

*
  •  956 956
    • View Profile
Re: Auto Tool Zero - Plate Thickness DRO(1151)?
« Reply #4 on: February 28, 2010, 04:37:25 AM »
Tweakie is quite right.

Once the value of "Plate Thickness" has been tuned for accurate results, it does not need further changing unless the plate is changed.

So it can be just as easy to hard code it in the script.

Greg