Hello Guest it is September 15, 2019, 07:03:06 PM

Author Topic: Mach Ignoring Tool Change Macro  (Read 2073 times)

0 Members and 1 Guest are viewing this topic.

Offline tjhj

*
  •  26 26
    • View Profile
Mach Ignoring Tool Change Macro
« on: April 26, 2010, 10:19:54 PM »
Hello,
Ok So pre questions
Version R3.042.040 (Latest I think)
General settings - Run Tool Change Macro - Checked

Ok so short problem story,
I run it in VBscript editor it works fine.

I run M6 T4... or what ever tool it changes both DRO's, and does nothing.
The screenset I am using has a set of buttons that call tool change commands, click one same as above.

Full Story,
Two Key Dro/Params for the tool change to work.
1. The Tool Dro (Default tool # Dro for Mach)
2. Tool in Spindle (OEM Dro #1200, User Assigned)

It checks if they are not the same, drops off the tool in spindle, then goes to new tool and then goes back to its business.

Macro Location
/Mach3/Macros/Mach3Mill/m6Start

I am using a tweaked version of Hoss Machine's tool changer script to work with my setup.
To test I change the Mach Tool Spindle by Clicking and entering my desired tool, Then Tool in Spindle to the correct tool in the spindle. With VB Script Editor Open, Click Play... And it works like it should....

Any other tool change command = Nothing.

What is most odd is that it changes both my user DRO, and the tool DRO without actually running the script.

Attached is my config file, and the macro.

Any Suggestions or ideas?

Thank you for your time/help.

TJ

Offline tjhj

*
  •  26 26
    • View Profile
Re: Mach Ignoring Tool Change Macro
« Reply #1 on: April 27, 2010, 04:24:42 PM »
Fixed,
I dont know why this fixed it, but it did, so if you are having the same problem try the following.

Under General Config - Select Stop Spindle Wait For Cycle Start
Close
Request Tool Change - It will run the script and change the tool but force a cycle start click before continuing.
Save Settings
Restart The Machine
Open Mach - General Settings - Select Auto Tool Changer
Save Settings ..
And Viola It works like it should...

Gotta Love Computers....