MachPro Mill and Router Setup Manual
Configure Software
Please refer to your motion controller's documentation to:
- Calibrate your axes
- Establish machine zero
- Configure soft limits
- Connect and configure I/O
Spindle Calibration
spindle include
Lube System Setup
If your system has an oiler edit the lube settings. Pull down Configure -> Control, and select the Settings Tab. Scroll down to the Lube System settings. Enable the lube system, and adjust the settings:
- choose an action trigger
- set the lube output
- set the time run time of the oiler
- set the time between cycles
Adjust the values according to your machine's needs. Note that lube pumps vary widely in their output. Start conservatively and increase the values to achieve proper lubrication.
In the example below:
- The lube system is enabled
- It runs on software timer settings
- But only when MachPro is enabled
- It does not run a cycle on startup
- The lube output is the MachPro software signal mapped to the pump output
- There is an option for a pressure sensor feedback input
- When the pump runs, it will run for 8 seconds
- It will remain off for 5 minutes between lube cycles
- This system is not using a PLC for the lube system
| http://www.mach-labs.com | MachLabs Documentation | support@mach-labs.com |
The MachLabs Team
14518 County Road 7240, Newburg, MO 65550
support@mach-labs.com
Tool Setters and Offsets
Modifying GoTo Positions
If you are setting up the GoTo position for a tool setter, jog the tool to the correct position over the tool setter.
Position Setup Instructions
-
Use the Add or Remove buttons at the bottom to manage positions.
-
When adding a new position, choose Machine Coordinates or Part Coordinates at the top.
-
To change an existing position, select it and edit as needed.
-
Each position builds a movement list in the Data Box. Use Delete to remove a movement.
- To add a custom G-code line, write it and click Add to include it in the Goto list.
⚠️ Do not use M Codes here.
This helps move the tool safely before other operations.
Add Movement Instructions
-
Click Include for each axis you want to move.
-
Click Get Current Position to copy the current coordinates, or type the coordinates manually.
-
Click Add/Update to save the movement in the Data Section.
Example: Z-Axis Movement
-
Define the Z-axis movement to run first.
-
Click Add/Update to insert this movement into the Data Box.
-
Add more actions in the next rows.
-
Optionally, add a final Z Rapid Move to bring the tool close to the setter.
I modified the Tool Setter position. Coordinate lines in the Data box will be in Machine Coordinates. This will be used as the Tool Setter position and can be called using the P2 variable.
Spindle Settings
These are the settings for the most commonly used Spindle features.
- Pull down Configure -> Control -> Settings tab
- Click the
button to flatten the full settings tree, then expand the Spindle section
Gear shifter
Before configuring the gear shifter, you need to configure your gear ranges. Use this portion of the Spindle Calibration document for gear range configuration. Set MaxRPM values for each gear
The default settings will work for a machine with a manual gear shifter.
You may use M-codes to run the gear change cycle during a job. M40 - M45 change ranges from 0 to 5. M40 P# can also be used where # is the gear range to use
Load
Connect your encoder to an analog input and map the Spindle Load Meter Register to that input
Orient
MachPro uses M19 to run the orient sequence.
The two primary ways to use it are in Manual or Automatic mode
For Manual mode, the default configuration will work without any changes
For Automatic mode configure:
- Spindle Orient Type Auto
- Spindle Orient Style Macro
- Spindle Orient Output
- Spindle Orient Input
You may change the other parameters according to what your system needs.
Sub Spindle
The minimum settings that need to be configured for the subspindle are:
- Sub Spindle Enabled
- Sub Spindle CW output
- Sub Spindle CCW output
- Sub Spindle Max RPM
Use M-codes to control the sub spindle
- M013 CW start
- M104 CCW start
- M105 stop
Additional Information
For information about MachPro Software Operation please see the MachPro Mill/Router Operating Manual
| http://www.mach-labs.com | MachLabs Documentation | support@mach-labs.com |
The MachLabs Team
14518 County Road 7240, Newburg, MO 65550
support@mach-labs.com












