Advanced Search
Search Results
604 total results found
Macro B Reference Guide
Macro B Reference Guide
Auto Tool Changer Manual Override
Auto Tool Changer Manual Override is used when you have a tool that doesn't fit in the tool changer magazine and needs to be manually loaded and unloaded from the spindle. This feature was added to build number 26546 - 22 February, 2025 Enable User Fields in...
Dual Monitor Power cord, Plug connection
How to connect the wires to the connector that comes with the Vertical Touchscreen Monitor (100201).
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...
Sample Part Drawing
Please use the picture below as a guide to generate NC code for your machine. After generating the code, check it by running it on your machine. THIS CODE MUST RUN ON YOUR MACHINE AND PERFORM AS EXPECTED. STL File: 3D Part Drawing See the overview drawin...
How to complete a Manufacturing Order
You will need to be in the Manufacturing Order you are working on. Go into Transfers (top of page) and go into the "PC". You will need to "Check Availability" to reserve the parts to the "MO". Physically go pick the parts and then come back and "Validate" t...
How to properly assemble and torque bolts, motors and gearboxes
The following information was taken from Nidec's "Installation Instructions and Safety Precautions" page. For Inline and Right angle planetary products - VR/EV series. It is the consensus that this information would be used for all brands unless otherwise note...
260063 Dual Monitor Kit Assembly
How to assemble the Dual Monitor Kit on an HMI! I have found this is the best order to assemble this kit. Install the back mount. Install the conduit grip (this can be done by hand, hold the inside nut with fingers and tighten with channel locks, if y...
291090 Tool Tray Assembly
How to assemble the Tool Tray Kit on an HMI. Two people are almost required to do this. Install the USB Hub on the large center tool tray (the right photo shows the USB Hub to be installed on the left photo, red circle). One person hold the center ...
2000 Series Swivel Mount Assembly
How to mount the 2K series with a swivel to a stand or bottom arm mount. It would be mighty handy to have an extra set of hands for this one. It can be done with one person if need be though. The order of the "swivel sandwich" is very important. From top d...
User Interface
Mach provides multiple methods of linking external operator panels to a CNC control. To modify any default options, use the User Interface tab. Adding a New Device Open the Mach4 software, select "Service" (A.) -> "Maintenance" (B.) -> "Interface Config" (C...
M31 Motion Control Setup Manual
The M31 is a compact, industrial motion controller designed specifically for MachPro CNC systems. It links your MachPro control PC to your drives and motors over Ethernet and supports both EtherCAT and traditional step-and-direction control, giving you flexi...
Subroutines Search Order
Main program file. In the same directory as the main program file (side by side). Profile directory's UserSubroutines directory (if it exists). Profile directory's Subroutines directory (if it exists). Mach installation directory's Subroutines directory....
Creating a Door in Baserow
Accessing Baserow Go to https://mymachinedata.machmotion.com/ Go to "My Dashboard" in the top right. If not already signed in use your Baserow email and password to login. You will now see your available databases. Click on the Lumberman database. ...