GUIDE FOR SETTING UP A DISPLAY BOARD (M33) 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 and an M33 - 4x20 DISPLAY BOARD: http://www.cnc4pc.com/Store/osc/product_info.php?cPath=54&products_id=237.  This board can hold a PoKeys core board.

The M33 needs to be connected to Port3 of the M2 board, the pinout is the following:

I/O TERMINALS

LDC PIN

FUNCTION

PoKeys55 PIN

 

1

GND

GND

 

2

5V

5V

 

3

Contrast adjustment

 

 

4

Instruction/data input

P29

 

5

Read/write

P28

 

6

Enable signal

P30

 

7

DB0 Data bus bit 0

Not connected

 

8

DB0 Data bus bit 1

Not connected

 

9

DB0 Data bus bit 2

Not connected

 

10

DB0 Data bus bit 3

Not connected

 

11

DB0 Data bus bit 4

P26

 

12

DB0 Data bus bit 5

P25

 

13

DB0 Data bus bit 6

P24

 

14

DB0 Data bus bit 7

P23

P33

 

I/O

P33

P34

 

I/O

P34

P43

 

I/O

P43

P44

 

I/O

P44

P32

 

I/O or LDC LED control

P32

5V

 

5V

5V

3.3V

 

3.3V

3.3V

GND

 

GND

GND

 .

Run the PoKeys Configuration program and configure the I/Os accordingly.  Go to Peripherals / LCD Test.  Enable the LCD, this automatically assign the pins automatically.

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. Two text display methods can be used:

2.1You can assign text to be displayed on LEDs status.

2.2 Using a Visual Basic macro, you can use these commands:

SetUserLabel(1,"My")
SetUserLabel(2,"Message")
SetUserLabel(3,"for")
SetUserLabel(4,"CNC4PC")

Text can be formatted using visual basic functions.

An XML file with this configuration can be found HERE:

A PoKeys configuration file can be found HERE: