Advanced Search
Search Results
651 total results found
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 an industrial-grade motion controller for MachPro CNC systems. It serves as a stable hardware bridge between your Windows PC and machine drives, communicating over Ethernet to ensure synchronized, precise motion. Key Features Axis Support: Base ...
Tool Specific Softlimits
Each "tool" is capable of storing its own soft limits for the usable area of the machine. We can use this feature to limit the area that is accessible while the ID wheel head is in the lowered position. These positions are entirely in your control so they mu...
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....
Mini Machine Assembly Overview
Install the CNC control Install the M31 Install the base plate Power on machine Program VFD Program Leadshine Tensile mill specific setup Check calibration on X, Y, and Z Align base plate Set go to position for tool setter Calibrate Z z...
Mini Machine Shipping
Build a 20x12x12 box with clear packing tape, one box for each machine. Wrap items in bubble wrap, layer with paper packing in the box. What goes in the box: Jigs, the toolbox, pendant, keyboard and mouse set, keyboard tray and attached bracket, and the ante...
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. ...
Baserow Explanation
It may be helpful to have Baserow open to follow along. For getting to Baserow: Accessing Baserow 1. Table Overview Model This is where user created door models live. They are viewed/edited/created here. This tables uses the data found in the other t...