Advanced Search
Search Results
95 total results found
Table of Contents
1 Introduction 1.1 Before You Begin 1.2 What is Mach4? 1.3 What is a Mach4 Script? 2 Script Editor 2.1 File Menu 2.2 Edit Menu 2.3 Search Menu 2.4 Debug Menu 2.5 Help Menu 2.6 Toolbar 3 Types of Scripts ...
1 Introduction
Introduction The purpose of this manual is to teach the basics of scripting in Mach4 using the Lua interface. Scripts add functionality to Mach4 by providing the user with an interface to create custom M codes, macros to control tool changers and other custo...
2 Script Editor
Script Editor Mach4 includes a built in script editor. The editor can be found in the ‘Operator’ menu as ‘Edit/Debug Scripts’ (see Figure 2-1). Selecting ‘Edit/Debut Scripts’ will open a window to select the script to be edited. By default the ‘Macros’ fol...
3 Types of Scripts
Types of Scripts Scripts are divided into 4 types: M codes, screen, panel and modules. This chapter will discuss the differences in and interactions between these types. M codes M codes, or miscellaneous functions, are used to create additional functionali...
4 Registers
Registers Registers are a very powerful tool in Mach4. They are completely user definable and can be accessed from anywhere in Mach4. Scripts can use them to record and save data or to transfer data to another script or communicate with a plugin. Registers...
5 Examples
Examples The following examples are to provide some guidance on the creation of scripts. They are not specific to any one machine and are not guaranteed to work on any machine. Using Signals Signals are internal triggers for events in Mach4. They can be t...
6 Troubleshooting
Troubleshooting Memory Mapped File Error: If you’re getting this error, check the file that seems to be causing this for mc.mcToolPathGenerate(). This used to have to be called every time a file was loaded to regenerate the tool path but this call is now a...
Mach3 Plugin Development Tutorial
Documentation is attached. Look to the upper left for your attachments.
Mach3 TOOL TOUCH OFF VIA PROBING
The tool can’t stop instantaneously on contact when probing. The tool will travel some distance into the material. How far it will travel after actual contact is determined by the machinesconfiguration and the probing feedrate. The controller will react to con...
Mach3 PWM Spindle Control
Documentation is attached. Look to the upper left for your attachments.
Mach3 The Write Wizard
Documentation is attached. Look to the upper left for your attachments.
Mach3 Threading on the Lathe Turn
Documentation is attached. Look to the upper left for your attachments.
Mach3 User Guide for Brains
Documentation is attached. Look to the upper left for your attachments.
Mach3 Using ModBus
Documentation is attached. Look to the upper left for your attachments.
Mach3 Wizard List
Documentation is attached. Look to the upper left for your attachments.
Mach3 Addons for Mill
Documentation is attached. Look to the upper left for your attachments.
Mach3 G100 Setup Guide
Documentation is attached. Look to the upper left for your attachments.
Mach4 Mill Programming Guide
Documentation is attached. Look to the upper left for your attachments.
Mach4 Lathe Tool Direction
Documentation is attached. Look to the upper left for your attachments.
Mach4 Mill Operations Guide
Documentation is attached. Look to the upper left for your attachments.