GUIDE FOR SETTING UP A PENDANT ON MACH3 USING THE PLUGIN
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 hardware level. The C22 is not necessary if using the C32 or M2 boards as this circuit is built into this boards.
This setup and brains is for an MPG4, but can be used for for an MPG2. The only difference between MPG2 and MPG4 is that MPG4 has more wires and connections for 5th and 6th axis.
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.
Steps for configuring Mach3:
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.
2. Connect the C22 to LPT2, the Pendant to the C22 and power the C22. Go to the diagnostics screen in mach3 and confirm that the Pendant communicates with Mach3 by moving knobs and buttons on the Pendant and watching the LEDs for the status of the pins changing states. Note that is using the C32 board, the C22 is not required as this circuit is included in the board.
3. Configure the Output for the pendant's LED.
4. Configure the MPG under Ports & Pins.
5. Configure the Input Pins.
The C23 Rev 2. Inverts input pins 12 and 10.
6. Hit the TAB key to bring the JOG window and play with the hand wheel. At this point the buttons on the pendant will not work, but you should be able to calibrate the MPG, move the axis if you select the options manually from the JOG menu.
7. Download the Plugin here, extract it and copy it into the C:\\Mach3\PluIns directory.
8. Start Mach3 and enable the plugin, then restart Mach3:
9. You can then configure the MPG according how you want to operate it:
9 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.