beautypg.com

Controlled Products Systems Group WDG-5912 User Manual

Page 14

background image

©2010

Cypress Computer Systems, Inc. 2/1/10

WDG-5912 Programming Instructions Version 1.0.2

Page 8

The Wiegand preprocessor string for Wiegand Preprocessor 0 (WPP0) would be:

\L050C50828083010

Broken down to each parameter:

\L

; Programming string prefix

05

; There are 5 bytes of data in the programming string

0C5 ; The address in the programming parameter map of WPP0

08

; Defines 8 byte (64 bit buffer) to hold data

28

; Start of facility code bits in 64 bit buffer (0x28)

08

; Defines 8 bit length of facility code data

30

; Start of badge number data in 64 bit buffer (0x30)

10

; Defines 16 bit length of badge data (0x10)

075
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44

00 00 01 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00

45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Wiegand Binary Format Table - Wedge programming interface

Now we need to tell the Wiegand Preprocessor (WPP0) to process 26 bit streams using the
above criteria.

The number in the upper left corner is 0x75, a hexadecimal number that gives the
starting address of the Format Table. The 24 bit format would start at 0x75.

For example, a 32 bit format would be located at 0x7D

The 26 bit format we are interested in is located at 0x77.

Now that we know the address of the 26 bit format, we will place a 0x02 in that location.
The 0x02 tells the Wedge to use Wiegand Preprocessor #0 (WPP0)

See next page for details on the programming string to set 0x02 at location 0x77

Step by Step - Using the Wedge for custom Wiegand
formats