GUIDE FOR SETTING UP MPG2 ON A PoKeys55 USING MACH3

For this implementation the optional M2 - PoKeys 55 Motherboard: http://www.cnc4pc.com/Store/osc/product_info.php?cPath=54&products_id=219.  is required.  This board can hold a PoKeys core board.  It will also provide power to the pendant.

The M2 board has the following pinout:

POKEYS PIN *

PENDANT FUNCTION

DB25 PIN

 

5V

1

 

5V

16

 

GND

2

 

GND

6

 

GND

14

PK35

AXIS X

7

PK36

AXIS Y

8

PK37

AXIS Z

9

PK49

AXIS 4

10

PK40

AXIS 5

18

PK41

AXIS 6

19

PK39

X 1

11

PK50

X 10

12

PK51

X 100

13

PK38

LED

-5

PK55

ESTOP

15

PK53

ENCODER A

3

PK52

ENCODER B

4

PK44

 

17

PK42

 

20

PK43

 

21

PK45

 

22

PK46

 

23

PK33

 

24

PK34

 

25

 

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

Run the PoKeys Configuration program and configure the I/Os accordingly.  Make sire to assign Pins 53 and 52 to channels A and B of Encoder1.  All others are discrete inputs except for pin 38, which is LED for JOG status output.  The PoKeys inverts the signals, so we request to invert them again, so they show up in mach3 as high or on when activated.

Steps for configuring Mach3:

1. Install and configure the latest plugin for PoKeys.  In Mach3, under PlugIn Control / PoKeys Cfg.., enable and map encoder 1 to 4, which is MPG1.

2. Under Ports & Pins / Encoders / MPG's,  Enable MPG1 and configure it as shown in the pincture:

3. Under Ports & Pins / Output signals, enable output 6 to port 10, pin 38, as shown in the picture.  In Mach3, the PoKeys is Port10, and the pin number is the same as the PoKeys pin number.

4. In Mach3, under PlugIn Control / PoKeys Cfg.., Map the Pokeys I/Os to User LEDs or ULEDs.  This way each PoKeys input will reflect in mach3 as a user LED.

5.   At this point in Mach3, hit the TAB key to bring up the MPG menu.  You calibrate the MPG, play with it until you feel comfortable with how it works.

 

6.   Download the Brain files "MPG2_PoKeys.zip", extract it and load into: "C:\Mach3\Brains".  Then enable the brains.  Note that you will have two versions of E-Stop Brain, one is with Auto Enable RESET, and the other one will require hitting the RESET button in the screen.

7. Configure the increment to be used under: Config / General Configuration.

A description of how the Brain works can be found HERE:

An XML file with this configuration can be found HERE:

A PoKeys configuration file can be found HERE: