Mach4 Axis Motor Calibration
If your machine is moving incorrect commanded distances, it might be a matter of being calibrated incorrectly. Or, maybe you're setting up a machine for the first time. In either case, follow either of these two procedures to calibrate your machine and make sure an inch is an inch! We also refer to this as "steps per unit" calibration.
First, to access either of the calibration methods, select Configure->Plugins->Machine Calibration to select your method of calibration.
In the manual calibration method, you will need a dial indicator to measure the distance moved by the machine. It's quite simple; command a distance, measure it, and put the measured distance into Mach. It will do the calibration for you!
- Once you have selected "Manual Calibration," select the axis you want to calibrate on the first drop-down.
- Choose the "Commanded Distance" selection.
- Enter the units you want to move the machine (inches in the US)
- Set the feedrate of the of the commanded move.
- Click "Enable" and "Move."
- After the move, put the measurement of the dial indicator in the "How far..." field in the drop down.
- Hit "Submit."
- Hit "Accept."
- Repeat for each axis.
Once you hit accept, it will automatically save the "Steps Per Unit" value in the control configuration.
Automatic calibration is easier. But you'll need to know some info before you dive in. Specifically, what motors you have, the teeth count on your machine gears and the pitch of your ballscrew. Once you have this information, input it into the calibration window. Once the data in put it, you can hit "Calculate" to figure out your steps per unit. You can also set your motor acceleration and velocity. Hit "Accept" to save the motor configuration. Repeat for other axes.