Рет қаралды 6,996
Hey CNC Woodworkers! This is my custom Mach 4 Screen Set and code to make setting up an Automatic Tool Changer super easy in Mach 4, with no macro editing required. The hard part about setting up an ATC is finding the "tool station positions", also known as "tool pockets" or "tool forks". The User Interface I added makes it a lot easier to do this process. I walk through how to download and install the screen set. Then I go into setting up the Input and Output pin mappings in Mach 4 for my Avid CNC and ATC spindle. I'm using a HITECO QD-1F spindle from CNC Depot, but their popular S30 and S30C ATC spindle will also work fine with this screen set. In fact, any ATC spindle will work with it; the only difference may be what pins are actually controlling the relays. The code is fairly generic, and will probably work with any Mach 4 CNC machine, but I am using an Avid CNC and requires their release of Mach 4 (it has some things I build upon). Once you setup all the pocket positions, you can use any screen set you want, as long as you still use my custom Macros for doing the Tool Change. This screen set is fairly specific to a spindle-based CNC machine; I removed a lot of things related to a torch machine (plasma table CNC) and the laser. The screen set is open source and free. I make no warranty on it working...use at your own risk!
EDIT: for the slide distance, you will also want to ensure your largest diameter bit will clear the tool fork, not just the collet! My largest is 2", which is about the diameter of the collet.
To download the screen set and code, get the latest release from here:
Corbin's ATC Screen Set Release: bit.ly/mach4custom
Github Source Code: bit.ly/3pXJOVv
ATC Hardware Setup Video: • CNC Build Ep 5: How to...
Textual directions: bit.ly/Avid_CNC_ATC_Setup
CNC Build Playlist: • Avid CNC Build
Ep 1: What CNC To Buy - • CNC Build Ep 1: What i...
Ep 2: Welded CNC Table - • CNC Build Ep 2: How to...
Ep 3: Making an Avid CNC Precise: • CNC Build Ep 3: How to...
Ep 4: How to Tram a CNC: • CNC Build Ep 4: How to...
Ep 5: Automatic Tool Changer: • CNC Build Ep 5: How to...
Ep 6: ATC Tool Rack Build - • CNC Build Ep 6: Automa...
Ep 7: ATC Setup in Mach 4 - • CNC Build Ep 7: Custom...
Ep 8: ATC Tool Heights - • CNC Build Ep 8: How to...
Ep 9: ATC Post Processor Setup - • CNC Build Ep 9: ATC Po...
Ep 10: 3D Printed Dust Boot - • CNC Build Ep 10: Print...
Ep 11: Improving the Avid CNC Table - • CNC Build Ep 11: Impro...
Ep 12: CNC Spoilboard - • CNC Build Ep 12: Make ...
The Vista CNC P1B pendant I use (no affiliation):
www.vistacnc.com/a02_product/p...
Lee from Vista CNC customized the driver for me so that the 0.100 step does 0.0001
thanks everyone!
Corbin Dunn
www.corbinstreehouse.com // blog
www.corbinsworkshop.com // CNC files and Products
Chapters:
0:00 Intro
0:26 Backing Up Mach 4
1:01 Screen Set Download & Install
4:47 Input & Output Signal Setup
7:15 First Tool Pocket / Station
9:56 Finding Positions
12:12 Slide Distance
13:22 Initial Dry Run Test
16:12 Add More Pockets/Stations
17:30 Z Bump and Z Clearance
18:44 Assigning Tools to Pockets
20:47 ATC Tools User Interface
23:44 Main User Interface
25:48 Conclusion...not done!
Other notes: this provides a custom M6 tool change script, along with noting the spindle start and stop times to make sure enough time duration has passed. All the files are just text file source code in the Lua programming language; you can open them in a text editor to see what they do.
#cncwoodworking #cnc #avidcnc