Kadtronix RWFC Manuale utente

RS232-to-Wiegand Format Converter (RWFC)
Quick-Reference Installation Guide
Revision 1.5 – 11/24/19
enneth Delahoussaye Consulting
web: www.kadtronix.com
email: kadtr[email protected]
Copyright © 2015 - 2019
All rights reserved
1

Table of Contents
1 - Revision History...........................................................................................................4
2 - Introduction...................................................................................................................5
3 - Setup............................................................................................................................. 7
4 - Hardware Insta ation....................................................................................................8
5 - Option Settings.............................................................................................................9
5.1 - Options..................................................................................................................9
5.1.1 - Output Format (switches 1, 2)........................................................................9
5.1.2 - RS232 Baud Rate (switch 3).........................................................................10
5.1.3 - Wiegand Pu up Vo tage (switch 4)...............................................................10
5.1.4 - Wiegand Pu se Width (switch 5)...................................................................11
5.1.5 - Port Power (switch 8)...................................................................................11
6 - TB-1 Wiring Connections...........................................................................................12
7 - Source Data.................................................................................................................13
8 - Windows Host Software..............................................................................................14
9 - ASCII Commands.......................................................................................................16
9.1 - Periphera Activation...........................................................................................18
9.1.1 - Activate Re ay..............................................................................................18
9.1.2 - Activate Piezo Beeper...................................................................................18
9.2 - Source Data Parsing.............................................................................................19
9.2.1 - Set Data Start Index......................................................................................20
9.2.2 - Set Data Length............................................................................................20
9.2.3 - Set Search Character.....................................................................................21
9.3 - Wiegand Formatting............................................................................................22
9.3.1 - Format C ear.................................................................................................24
9.3.2 - Set Format Identifier.....................................................................................24
9.3.3 - Set Parity Mask............................................................................................25
9.3.4 - Set User Code Fie d......................................................................................27
9.3.5 - Set Site Code Fie d.......................................................................................27
9.3.6 - Verify Format................................................................................................28
2

9.4 - Misce aneous Commands...................................................................................29
9.4.1 - Assign Defau t Site Code..............................................................................29
9.4.2 - Report Configuration Settings......................................................................29
9.4.3 - Enab e Output Status Messages....................................................................30
10 - Care and Maintenance...............................................................................................31
11 - Warranty....................................................................................................................32
12 - Contact Information..................................................................................................33
3

1 - Revision History
Rev.
Date Description
1.5 11/24/19 •Updated photo images.
1.4 01/25/18 •Added section describing the pu se-width option
setting.
1.3 12/19/16 •Updated introductory description of the section
describing misce aneous commands
1.2 11/15/16 •Updated description of Wiegand pu ups
•Revised section describing periphera activation
•Corrected photo reference
1.1 11/14/16 •C arified avai abi ity of the USB cab e
1.0 09/01/15 •Initia Re ease
4

2 - Introduction
The RS232-to-Wiegand Format Converter (RWFC) provides format conversion for host
computers and RS-232 devices inc uding magnetic stripe and barcode readers. It may
a so be used with specia ized devices such as B uetooth seria dong es. (If the source
device has on y USB port(s), a USB-to-RS232 adapter wi be required.)
The RWFC is a DCE (data communications equipment) device with DB9 fema e
connector. (P ease refer to the app icab e note be ow for additiona information.) It a so
features detachab e USB cab e and AC adapter. The RWFC is idea y suited for use in
access contro and other app ications where it may be necessary to interface a seria
device to a Wiegand-based system. It provides seam ess format conversion, accepting a
RS-232 source input and outputting a Wiegand stream of bits.
Consider these features:
•Accepts RS-232 data source inc uding magstripe or barcode reader
•Source can a so be a host PC with USB port (requires USB-to-RS232 adapter)
•A so accepts data from specia ized devices inc uding RS-232 wire ess dong es
•Outputs standard Wiegand format (26-bit or 8-bit burst)
•Optiona custom formats a so possib e (via Windows host software and/or RS-232
ASCII commands)
•DB-9 (ma e) connector
•Onboard re ay (for optiona activation of externa device or equipment
•Housed in attractive p astic enc osure
•AC adapter (12vdc)
5

Notes:
•Some RS-232 sources output extraneous characters that precede the actua data.
For instance, magnetic stripe readers are known to output additiona characters
which are used as track de imiters. Using the Windows host software, you can
configure the RWFC to ignore these characters.
•When connecting to another DCE device such as a magstripe card reader, a nu -
modem adapter is required. When connecting to a DTE (data termina equipment)
device such as a host computer, the adapter is not necessary.
•Source devices or systems without a compatib e RS-232 port wi require a
suitab e adapter. For instance, a PC or aptop with on y USB ports can uti ize a
USB-to-RS232 adapter.)
•A wire ess interface is possib e with the use of a seria B uetooth dong e. This
device has a RS-232 port which can be connected to the RWFC, permitting
Wiegand conversion of ASCII data received from a B uetooth-enab ed host.
6

3 - Setup
Setup primari y invo ves the fo owing operations:
•Attach the RS-232 source device
•Connect the Wiegand destination device
•Estab ish DIP switch option settings
•P ug in the AC adapter
If the source device is a host computer (PC or aptop) with no RS-232 ports, a USB
adapter cab e wi be necessary (avai ab e from Kadtronix). In this instance, perform the
fo owing additiona setup steps:
•Insta the Windows drivers (using the CD inc uded with the adapter cab e)
•Attach the DB9 end of the adapter cab e to the RWFC contro er
•Attach the USB end of the adapter cab e to an avai ab e port on the host PC
•Verify that Windows identifies the adapter and oads the drivers
Additiona setup & insta ation detai s are provided in subsequent sections of this manua .
7

4 - Hard are Installation
WARNING: Be sure that power is not applied until all wiring has been completed and
verified.
Perform the fo owing operations:
•Disconnect the AC power source
•Detach cover by removing the retaining screws.
•Assign desired options. (Refer to "Option Settings".)
•Locate the 14-position wiring termina connector. (Refer to "TB-1 Wiring
Connections".)
•Attach wires associated with the Wiegand output destination
•Connect the RS-232 source device at the DB9 connector. (The RWFC is a Data
Communications Equipment [DCE] device. If the source device is a so a DCE
device such as a magstripe card reader, a nu -modem adapter wi be needed.)
•Re-attach cover and secure with retaining screws
•Connect the barre p ug of the AC power adapter into the mating receptac e of
the RWFC.
•P ug the AC adapter unit into a suitab e wa out et.
8

5 - Option Settings
The RWFC contro er has an 8-position set of on-board DIP switches for configuring
misce aneous options. To access the switches, remove the retaining screws from the
enc osure and then carefu y detach the id. (Be sure to power off the device prior to
opening the enc osure.) The photo above depicts interior e ements of the RWFC device
inc uding option switches:
Note:
•The RWFC contro er must be powered off prior to making any DIP switch
changes.
5.1 - Options
The DIP switches permit configuration of the fo owing options:
•Output format
•Source baud rate
•Wiegand pu ups
5.1.1 - Output Format (s itches 1, 2)
This setting defines the Wiegand format conversion to perform. You may se ect a pre-
stored format type or define a custom format. Configure the switches as fo ows for the
desired output conversion type:
Conversion DSW1 Switches
26-bit Wiegand 1 = off, 2 = off (defau t)
8-bit burst 1 = off, 2 = on
Custom format 1 = on, 2 = off (see note be ow)
Reserved 1 = on, 2 = on
Note:
•Custom formatting is possib e via RS-232 commands. For custom formatting
detai s, refer to "ASCII Commands".
•The RWFC contro er must be powered off prior to making any DIP switch
changes.
9

5.1.2 - RS232 Baud Rate (s itch 3)
This setting estab ishes the data rate for communicating with the source device or host
computer (for performing optiona host commands). Configure the switches as fo ows
for the desired baud rate:
Baud Rate DSW1 Switch
9600 3 = off (defau t)
19200 3 = on
Notes:
•Additiona RS-232 settings: 8 data bits, no parity, 1 stop bit.
•The RWFC must be powered down & restarted before a new baud rate
assignment can take effect.
5.1.3 - Wiegand Pullup Voltage (s itch 4)
Wiegand-based systems typica y provide a pu up vo tage on data signa ines D0 & D1.
If there is no avai ab e pu up vo tage, the RWFC can be configured to provide it as
fo ows:
Pullup Voltage DSW1 Switch
Disab ed 4 = off (defau t)
Enab ed 4 = on
Note:
•By defau t, output data signa s D0 & D1 assume a high impedance state when
inactive. During a Wiegand output transaction, the signa s are driven to high
and/or ow output transitions as required to fu fi the data transmission. Once the
conversion has comp eted, the signa s return to the high impedance state.
•The high impedance state is especia y crucia when there are other device(s)
concurrent y connected on the D0 & D1 data ines. These may inc ude card
readers, access contro ers, or other compatib e Wiegand items. It is imperative
for any attached device to re ease the data ines (i.e., invoke the high impedance
state) after generating a Wiegand transaction so that other devices may enact
subsequent transactions.
•The RWFC uti izes 10k resistors to provide a pu up vo tage of 4 to 5vdc. If the
option is enab ed, a pu up vo tage is app ied when the data ines are inactive (i.e.,
high impedance).
•Do not attempt to enab e pu up vo tage if another device a ready provides it.
10
Indice
















