Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Fred_evans on January 26, 2020, 09:15:38 AM

Title: mach3 lathe teach
Post by: Fred_evans on January 26, 2020, 09:15:38 AM
Hello Chaps
I am using mach3 lathe using the 1024.lset screen
How can I implement the "teach" mode ?
what does it call the "taught" file
and where is the file kept ?
many thanks

fred evans
Title: Re: mach3 lathe teach
Post by: Tweakie.CNC on January 26, 2020, 10:18:07 AM
Hi fred,

For Mill the teach file is stored;  C:/Mach3/GCode/MDITeach.tap  I assume Turn is the same. If your Turn MDI screen does not have the Teach buttons then you could use a screen editor to add them.

Tweakie.
Title: Re: mach3 lathe teach
Post by: Fred_evans on January 26, 2020, 01:06:22 PM
thanks tweakie-
regards

fred
Title: Re: mach3 lathe teach
Post by: Fred_evans on February 05, 2020, 09:53:56 AM
Tweakie- thanks i have found the teach files and have run them from the teach button on a mill screen.
It works like a charm except that the mill doesnt have a diameter/radius function.
So I would like to add the teach button to my lathe screen .
Please tell me how to do this . If you would kindly point me to the instruction manual which explains how to do it- I will bu....er around and learn it the hard way. It is probably the best way to learn it and I will use the
knowledge gained to add other buttons as needed
regards fred

Title: Re: mach3 lathe teach
Post by: Tweakie.CNC on February 06, 2020, 01:47:27 AM
Hi Fred,

There is a lot of learning to do but it is not complicated stuff and can be fun.

Download the document;  https://www.machsupport.com/wp-content/uploads/2013/02/Mach2_6.11_Custom.pdf
Section 3 explains how to use a Screen Designer.

Load your lathe screen and add the 2 buttons (Teach ON / Teach OFF  - both would be Execute VB Script buttons). The VB Script for the buttons would be as follows;

For the ON button;

OpenTeachFile”MDITeach.tap”

For the OFF button;

CloseTeachFile

Save your changes and that’s about it.

Hope this helps,

Tweakie.
Title: Re: mach3 lathe teach
Post by: Fred_evans on February 06, 2020, 01:53:03 AM
thanks Tweakie- looks like my weekend project!!
regards

fred