Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: maxspongebob on June 14, 2019, 10:40:03 AM

Title: Mach 4 Lathe. Missing tool change script.
Post by: maxspongebob on June 14, 2019, 10:40:03 AM
I am setting up a CNC lathe.  In the online videos teaching how to use tool offsets the T0101 command invokes a script that changes the current offset and sets the current tool number.  When I loaded Mach 4, there is no tool change script.  Am I going to have to write my own script just to set the current tool number?  Shouldn't the script that is displayed in the training videos be included in the Mach installation?

Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: joeaverage on June 14, 2019, 12:59:48 PM
Hi,
look in Mach4Hobby/LuaExamples/ToolChanger to find examples of different toolchange scripts.

Craig
Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: maxspongebob on June 14, 2019, 06:51:10 PM
That folder does not exist in my installation.  I have the latest build 4162.  It is just not there.  There are other examples, but nothing for the tool change script.
Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: joeaverage on June 14, 2019, 07:37:26 PM
Hi,
I have 4162 and it is there.

Craig
Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: srafsa on January 29, 2020, 08:00:58 AM
Hi,

I am also missing the tool change scripts. I have Mach4 version 4.2.0.4322 installed. In my installation there is no "ToolChanger"-folder under Mach4Hobby/LuaExamples/.

Are the scripts availible for download somewhere?

/Stefan

Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: smurph on February 02, 2020, 02:14:50 PM
These folders are in the installer.  If they are not in your installation directory, you probably deleted them.  Download the installer and install to another directory like Mach4Hobby2.  Then copy the examples from Mach4Hobb2 to Mach4Hobby.

Steve
Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: srafsa on February 03, 2020, 12:41:57 AM
Hi Steve,

I did as you recommended but the new installation (build 4300) is also missing the /ToolChanger folder. Attached is a screenshot of my /LuaExamples folder. What am I doing wrong?

/Stefan
Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: smurph on February 03, 2020, 01:27:01 AM
Yeah, it is indeed not there.  I guess the guys that do the installer took them out for some reason.  I will inquire. 

Steve
Title: Re: Mach 4 Lathe. Missing tool change script.
Post by: shandseimela@gmail.com on November 20, 2021, 10:32:46 AM
I remeber some years ago they where there but now they are gone ,even some topic seems to be missing in this threads. :-\ >:(