GUIDE FOR SETTING UP MPG2 ON A SECOND PARALLEL PORT USING MACH3

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 C22 board does the following pin conversion:

MPG2

CONNECTION

I/O

LPT2

MACH3 I/O *

FUNCTION

1

USB +5V

 

 

 

Encoder +5vdc

2

USB GND

 

 

 

Encoder GND

3

DB25-2

I

2

MPG1-A

MPG CH A

4

DB25-3

I

3

MPG1-B

MPG CH B

5

DB25-1

O

1

Output #6

Jog “ON” LED +5vdc

6

GND

 

 

 

Jog “ON” LED GND

7

DB25-4

I

4

OEM Trig #1

Select Axis X

8

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

DB25-8

I

8

OEM Trig #5

X1

12

DB25-9

I

9

OEM Trig #6

X10

13

DB25-10

I

10

OEM Trig #7

X100

14

+5vdc

 

 

 

COM for Selector switches.

15

DB25-15

I

15

OEM Trig #8

E-Stop

16

+5vdc

 

 

 

COM for E-Stop.

17          
18**

DB25-12

I

12

OEM Trig #9

Select Axis 5

19**

DB25-13

I

13

OEM Trig #10

Select Axis 6

* These are the I/O functions selected for the Sample XML and Brain files.  Users can reassign this.

** Only on 6 axis models.

Steps for configuring Mach3:

1. 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.

2. Configure the Output for the pendant's LED.

3. Configure the MPG under Ports & Pins.

4. Configure the Input Pins.

5. 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.

 

6. Download the Brain files "MPG4_LPT2Brains.zip", extract them and copy them into: "C:\Mach3\Brains".  Then enable the brains.  You should choose between E-Stop with and without auto enable.  The one with auto enable will put mach3 out of reset as soon as you pull the e-stop button out.  The other one will require that you hit the reset button in the mach3 screen.

6. Configure the increment to be used under: Ports & Pins / General Configuration.

An XML file with this configuration can be found HERE: