beautypg.com

Controlled Products Systems Group WDG-5912 User Manual

Page 35

background image

©2007 Cypress Computer Systems, Inc.

2/6/07

AppNote Wedge Programming Version 1.0.0

Page 5

The programming string to tell the wedge “Use WPP0 on 26 bit formats would be:

\L0107D02

Broken down to each parameter:

\L

; Programming string prefix

01

; There are 1 bytes of data in the programming string

077

; The address of the programmed parameter (26 bit)

02

; Parameter that defines use of Wiegand Preprocessor 0 (WPP0)

Lets assume we want the Facility Code to output as a 3 digit decimal number.
Upper digits will be zero padded from left to right.
The programming string to tell the wedge to use a 3 digit decimal number for the Facility Code:

\L0105B03

Broken down to each parameter:

\L

; Programming string prefix

01

; There are 1 bytes of data in the programming string

05B

; The address of the programmed parameter

03

; The number of digits to use in the Facility field. (This can be set to zero if no Facility needed)

Lets assume we want the Badge Number to output as a 5 digit decimal number.
Upper digits will be zero padded from left to right.
The programming string to tell the wedge to use a 5 digit decimal number as the Badge:

\L0105D05

Broken down to each parameter:

\L

; Programming string prefix

01

; There are 1 bytes of data in the programming string

05D

; The address of the programmed parameter

05

; The number of digits to use in the badge Field