For this implementation, the optional C22 - Pendant Interface Board is required. This board takes power from the USB port for powering the Pendant's circuit and also buffers all the signals to ensure reliable operation. The board also has a relay for wiring a disable circuit at the hardware level.
This setup and brains are for an MPG4 but can be used for an MPG2. The only difference between MPG2 and MPG4 is that MPG4 has more wires and connections for the 5th and 6th axis.
It is recommended that you upgrade Mach3 to at least version: Mach3 R3.042.038. In previous versions, there could be an axis run-away problem if jogging is disabled while an axis is moving.
The C22 board does the following pin conversion:
MPG2 PIN |
WIRE COLOR |
CONNECTION TO: |
I/O |
LPT2 |
MACH3 I/O * |
FUNCTION |
|
1 |
Red |
USB +5V |
|
|
|
Encoder +5vdc |
|
2 |
Black |
USB GND |
|
|
|
Encoder GND |
|
3 |
Green |
DB25-2 |
I |
2 |
MPG1-A+ |
MPG CH A+ |
|
4 |
White |
DB25-3 |
I |
3 |
MPG1-B+ |
MPG CH B+ |
|
5 |
Green/black |
DB25-1 |
O |
1 |
Output #6 |
Jog “ON” LED +5vdc |
|
6 |
White/black |
GND |
|
|
|
Jog “ON” LED GND |
|
7 |
Yellow |
DB25-4 |
I |
4 |
OEM Trig #1 |
Select Axis X |
|
8 |
Yellow/black |
DB25-5 |
I |
5 |
OEM Trig #2 |
Select Axis Y |
|
9 |
|
DB25-6 |
I |
6 |
OEM Trig #3 |
Select Axis Z |
|
10 |
DB25-7 |
I |
7 |
OEM Trig #4 |
Select Axis 4 |
||
11 |
Gray |
DB25-8 |
I |
8 |
OEM Trig #5 |
X1 |
|
12 |
Gray/black |
DB25-9 |
I |
9 |
OEM Trig #6 |
X10 |
|
13 |
Orange |
DB25-10 |
I |
10 |
OEM Trig #7 |
X100 |
|
14 |
Orange/black |
+5vdc |
|
|
|
COM for Selector switches. |
|
15 |
Light blue |
DB25-15 |
I |
15 |
OEM Trig #8 |
E-Stop |
|
16 |
Light Blue/black |
+5vdc |
|
|
|
COM for E-Stop. |
|
17 | Red/black | ||||||
18 | Pink |
DB25-12 |
I |
12 |
OEM Trig #9 |
Select Axis 5 |
|
19 | Pink/black |
DB25-13 |
I |
13 |
OEM Trig #10 |
Select Axis 6 |
|
20 | Purple | DB25-20 | I | 20 | MPG1-A- | MPG CH A- | |
21 | Purple / Black | DB25-21 | I | 21 | MPG1-B- | MPG CH B- |
* These are the I/O functions selected for the Sample XML and Brain files. Users can reassign this.
1A. If using parallel ports, install a second parallel port on an available PCI port. If you do not have one, you can source one here: After installing and configuring a parallel port on the second port of the PC, make sure you configure Mach3 to allow that port to be used for input on pins 2-9 and that you have the correct memory address.
1B. If using the Smooth Stepper, make sure to enable pins 2-9 to work as inputs on LPT2.
The C23 Rev 2. Inverts input pins 12 and 10.
- Axis_JogRes_Selector.brn: Handles Axis selection and Jog resolution. It also enables/disables JOG option no axis is or is not selected.
- Enable.brn and Disable.brn: It handles the enable/disable button.
- E-Stop_W_AutoReset.brn: It handles E-STOP. This brain will automatically reset mach3 when the e-stop button is pulled out.
- E-Stop_WO_AutoReset.brn: This Brain handles E-Stop. It requires that the user press the "RESET" button in the screen in order to reset mach3.
Each brain can be enables and run independently. For example the can select which E-STOP brain to use according the what the user prefers to use. Many users prefer not to use the enable button, so they do not need to enable this brain. Having each brain run independently also eases customizing the brains by the users. A sample XML file is also provided.
If you are upgrading from a previous installation, make sure you backup and erase the old brains and do not forget to hit "Reload All Brains".
8 Configure the increment to be used under Config / General Configuration. These will be the increments that will work for the X1, X10, and X100 positions of the jog resolution knob.
An XML file with this configuration can be found HERE:
Brains that allow for using axes 5 and 6 for adjusting Feedrate Override and Spindle Speed can be found HERE: With these brains, the pendant will handle axes 1-4 as the other brains, but when axis 5 or 6 are selected, jog will be disabled and the hand wheel will adjust feed rate or spindle speed override. If using these brains, the Encoder1 must also be configured on the same pins as MPG1 but on port 0: