beautypg.com

Controlled Products Systems Group WDG-5912 User Manual

Page 20

background image

©2010

Cypress Computer Systems, Inc. 2/1/10

WDG-5912 Programming Instructions Version 1.0.2

Page 14

1 2 3 4 5 6 7 7

01234567890123456789012345678901234567890123456789012345678901234567890123456789

e011010FFFFFFFFFFCCCCCCCCCCCCCCCCCCo

123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0

1 2 3 4 5

Example User Process:

0A 2E 10 3E 12

Pick a buffer size that will hold the
entire read (64,80, or 103)

80 bit Buffer

16 bits in
Facility Code

Field

18 bits in
Card
Number
Field

0CB + Offset: 0000

0CB is the address of the +Offset Parameter. It is a value that will be added to the binary value
in the lowest 2 bytes of the buffer before processing takes place. This is useful for outputting a
number based on the internal badge number + a constant.

Example:

Internal number = 123
Constant = 999
Output = 1122

To accomplish this, the constant (999) must be shifted into the proper location for the addition to
work. If using the WPP described above, the constant would be shifted left by one bit. So the
value (hexadecimal) in the + Offset parameter would be 07CE or 999*2.

e011010FFFFFFFFFFCCCCCCCCCCCCCCCCCCo

0000011111001110_

WDG-5912 Programming - Details of the Wiegand PreProcessor