Hello Guest it is October 20, 2019, 01:18:21 PM

Author Topic: Zero Tool VB Script  (Read 1889 times)

0 Members and 1 Guest are viewing this topic.

Offline kolias

*
  •  1,011 1,011
    • View Profile
Zero Tool VB Script
« on: September 10, 2012, 07:57:51 PM »
I think one of the attached VB scripts I got it from this forum last year or so but I dont know which one is better to use now

Can someone pls let me know which one to use and also answer the 4 questions I have marked with REM so I can better understand how it works?

Thank you
Nicolas

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: Zero Tool VB Script
« Reply #1 on: September 10, 2012, 08:38:00 PM »
Z-3 means probe down 3" (or 3mm)

2002 is the number of the variable that stores the Z axis position when the probe is triggered.

2 is the number of the Z axis DRO.

Z1 means move to Z= 1
Gerry

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

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

Offline kolias

*
  •  1,011 1,011
    • View Profile
Re: Zero Tool VB Script
« Reply #2 on: September 10, 2012, 09:13:39 PM »

Z-3 means probe down 3" (or 3mm)

Thanks Gerry

If I make this for example Z-6 and while the bit is going down touches the zero plate at Z-4, would it stop and go up 1" or it will keep going down to 6?
Nicolas

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: Zero Tool VB Script
« Reply #3 on: September 11, 2012, 11:39:04 AM »
It will stop when the probe triggers, and then go up. It will only go to 6 if the probe doesn't trigger.
Gerry

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

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