Civintec CN56 Series User manual

CN56X0B-X Reader User Manual
1/ 47
CN56X0B-X-XX
Access Control Door Reader
User Manual
Copyright @ 2013
CiVinTec Global Co., Limited
CivinTec Document-Reproduction and Disclosure Prohibited

CN56X0B-X Reader User Manual
2/ 47
Copyright Information
All rights reserved! No part of this publication may be reproduced and stored in any form (electronic,
mechanical, photocopying, recording or other forms) without obtaining written permission from Shenzhen
CiVinTec Global Co., Limited (hereinafter refers to as CIVINTEC). The manual is special written for the
use of this machine of ; therefore we are not responsible for any use of this information as
applied to other devices.
Neither CIVINTEC nor its affiliates shall be liable for damages, losses, costs, or expenses result from:
user or third party’s personal accident, misuse, or abuse of this unit, or unauthorized modifications,
repairs, or alterations to this unit, or failure to strictly comply with CIVINTEC operating and maintenance
instructions.
CIVINTEC shall not be liable for any damages or problems arising from the use of other accessories or
parts other than original CIVINTEC products or CIVINTEC approved products.
Declaration: Other product names used herein are for identification purposes only and the registered
trademark ownership belongs to original companies.
This equipment is intended for use by technical professionals or maintenance personnel.
Trademark Information
is a registered trademark of CiVinTec Global Co., Limited in China and other countries. All
other CIVINTEC trademarks, service marks, domain names, logos, and company names referred to in
this manual are property rights of CIVINTEC or its affiliates. In countries where any of the CIVINTEC
trademarks, service marks, domain names, logos and company names has not been registered,
CIVINTEC claims its ownership for them. Other trademarks referred to in this manual still belong to the
original registered company. You may not use any trademark, service mark, domain name, logo, or
company name of CIVINTEC or other companies referred to in this manual without prior permission from
the owners. You may contact CIVINTEC by visiting its website at http://www.civintec.com, if you have any
questions.

CN56X0B-X Reader User Manual
3/ 47
WARNING
zThis manual is a necessary part of this product, please read carefully
zKeep a record of this text , it may be used for further repair.
zThis machine is only for recommended uses, do not use for others.
zDamaged by improper uses or other uses, manufacturer is not responsible.
Matters Need Attention
zNot allowed by the manufacturer or failure to manufacturer's specifications, any changes to the
machine parts and range of use may cause the damage in the direct or indirect
zDon’t make machine at extreme temperature and humidity in the environment; Avoid placing it in the
heating equipment, faucet, a humidifier or the fireplace.
zShould make the machine avoid contact with a large dust, ammonia, alcohol, diluents or spray type
adhesives etc
zShould make machine avoid collisions, fall, etc., which may damage the machine to happen.
zPlease pay special attention to all labels pasted on the machine.
zShould avoid changing the machine’s parts, procedures and other abnormal operation
zNote static electricity protective

CN56X0B-X Reader User Manual
4/ 47
Version History
The table below contains the history of changes made to the present document.
Version Date Document Version History
V1.0 19-Feb-2013 Original Version
V1.1 28-Feb-2013 Release Version
V1.2 13-Dec-2013 Release Version

CN56X0B-X Reader User Manual
5/ 47
Table of Contents
1Instruction..................................................................................................................................................................8
1.1 Instruction..................................................................................................................................................................8
1.2 Functions and Features..............................................................................................................................................8
1.3 Scope of Suitable Models...........................................................................................................................................9
1.4 Applications ...............................................................................................................................................................9
2Machine Structure .....................................................................................................................................................9
2.1 CN56X0B-X-XX for contactless card interface..........................................................................................................9
3Connector Pin definition ......................................................................................................................................... 11
3.1 CN56X0B-X-XX Connector.......................................................................................................................................11
4Connection................................................................................................................................................................13
4.1 Wiegand/ABA /Clock&Data interface...................................................................................................................... 13
4.2 RS485 interface........................................................................................................................................................14
4.3 RS232 interface........................................................................................................................................................15
5Reference for Interface format............................................................................................................................... 15
5.1 Wiegand format........................................................................................................................................................15
5.2 Wiegand Frame........................................................................................................................................................ 16
5.3 ABA Track 1 output format.......................................................................................................................................16
5.3.1 Data................................................................................................................................................................... 16
5.3.2 Frame format..................................................................................................................................................... 17
5.4 ABA Tack 2 Output format .......................................................................................................................................17
5.4.1 Data................................................................................................................................................................... 17
5.4.2 Frame format..................................................................................................................................................... 18
5.4.3 LRC portrait redundant checking sum enable method...................................................................................... 18
5.5 Clock &Data (Europe) format .................................................................................................................................18
5.5.1 Description........................................................................................................................................................ 18
5.5.2 Protocol.............................................................................................................................................................19
6Reader Configuration.............................................................................................................................................. 20
6.1 System Application Development.............................................................................................................................20
6.2 Reader Configuration .............................................................................................................................................. 20
6.2.1 Communication port ......................................................................................................................................... 21
6.2.2 Reader Address .................................................................................................................................................22
6.2.3 LED Indicator ...................................................................................................................................................22

CN56X0B-X Reader User Manual
6/ 47
6.2.4 Buzzer Indicator................................................................................................................................................ 22
6.2.5 Get Firmware Version.......................................................................................................................................23
6.2.6 Get Serial Number............................................................................................................................................ 23
6.2.7 ConfigSet..........................................................................................................................................................23
6.2.8 LED&Buzzer Controller(By external)..............................................................................................................24
6.3 CN56X0B-X-XX output 7bytes with Wiegand 56 ..................................................................................................... 24
6.4 Format for Wiegand58, Wiegand26, Wiegand32, Wiegand 32e, Wiegand34, Wiegand40, Wiegand42, Wiegand50,
Wiegand56 .....................................................................................................................................................................24
6.4.1 Wiegand58 Format............................................................................................................................................24
6.4.2 Wiegand26 Format............................................................................................................................................25
6.4.3 Wiegand32 Format............................................................................................................................................25
6.4.4 Wiegand32e Format..........................................................................................................................................25
6.4.5 Wiegand34 Format............................................................................................................................................25
6.4.6 Wiegand40 Format............................................................................................................................................26
6.4.7 Wiegand42 Format............................................................................................................................................26
6.4.8 Wiegand50 Format............................................................................................................................................26
6.4.9 Wiegand56 Format............................................................................................................................................26
7TCP/IP communication...........................................................................................................................................26
8Get IPaddress and MAC address........................................................................................................................... 27
9The Web Server of machine....................................................................................................................................28
9.1 login web server by IE explorer...............................................................................................................................29
9.2 System reset via web pages ...................................................................................................................................... 29
9.3 IP address reconfiguration.......................................................................................................................................30
9.4 MAC address............................................................................................................................................................ 30
9.5 Module name redefinition ........................................................................................................................................ 31
9.6 Restore factory defaults............................................................................................................................................31
9.7 Firmware Upgrade...................................................................................................................................................31
9.7.1 Firmware Upgrading via web pages .................................................................................................................31
9.7.2 The startup of Firmware Upgrading page via keypad.......................................................................................33
9.8 password management.............................................................................................................................................33
9.9 Restore factory defaults via keypad..........................................................................................................................34
10TCP/IP communication test and failed solution....................................................................................................34
10.1 TCP/IP communication test ...................................................................................................................................34
10.2 TCP/IP communication failed solution..................................................................................................................35
11Firmware update by RS232 or RS485.................................................................................................................... 38

CN56X0B-X Reader User Manual
7/ 47
12Installation................................................................................................................................................................42
12.1 CN56X0B-X-XX installation .................................................................................................................................. 42
13 Connection Diagram...................................................................................................................................................43
13.1 RS232 connection diagram....................................................................................................................................43
13.2 RS485 connection diagram....................................................................................................................................44
13.3 TCP connection diagram ....................................................................................................................................... 45
13.4 Typical Connection Diagram................................................................................................................................. 46
14 Revision history...........................................................................................................................................................46
15Technical support and latest documentation download........................................................................................46
16Repair and maintenance..........................................................................................................................................47
17Store ..........................................................................................................................................................................47

CN56X0B-X Reader User Manual
8/ 47
1 Instruction
1.1 Instruction
Optimized to make physical access more secure and smart, CN56X0B access readers
introduce multi-technique to work with all main 13.56Mhz smart cards as MIFARE®
DESFire® EV1, MIFARE Plus® and Sony Felica to enhance security through high
encryption and multi-authentication, and ISO18092 NFC for mobile phone access
solution.
1.2 Functions and Features
Functions/ Features CN56X0B
●High Intelligence, powerful YES
●Selective cared polling capability(Useful when several cards
are presented )
YES
●Built-in anti-collision(at least one card is detected when
several cards are presented)
YES
●RS232 / RS485 serial interface(Baudrate:9600-115200) YES
●Support TCP/IP(UDP) communication YES
●High speed of ISO14443 up to 424kbps YES
●User controllable bio-color LED, Buzzer YES
●Backward compatible with all existing versions of CiVinTec’s
13.56MHz products YES
●Auto answer mode: permanent reading and sending the ID
number Excellent and compact design, can be placed on the
metal surface
YES
●Support high level command of MIFARE Plus®, MIFARE®
DESFire® EV1 YES

CN56X0B-X Reader User Manual
9/ 47
1.3 Scope of Suitable Models
This user manual is made for the following list of products: CN56X0BS-X-XX series.
CN5600B – R/W MIFARE® secure sector
CN5600BS – R/O MIFARE® UID
1.4 Applications
1)Access Control
2)Personal Identification
3)E-payment
4)Public Transportation
5)Loyalty
2 Machine Structure
2.1 CN56X0B-X-XX for contactless card interface
CN56X0B-X-XX image:(Front View)
CN56X0B-T-0C CN56X0B-T-1C
CN56X0B-2-0C CN56X0B-2-1C
CN56X0B-4-0C CN56X0B-4-1C
CN5600BS CN5600B CN5610B CN5620B CN5630B CN5650B
MIFARE® ●●●●●●
MIFARE Plus®
●●●
MIFARE®
DESFire® EV1
●●●
NFC
●
Felica
●

CN56X0B-X Reader User Manual
10 / 47
Model CN56X0B-X-XX
CN5610B CN5620B CN5630B CN5650B
Standard ISO 14443A/B, MIFARE®, NFC Forum Specifications
Readable cards
Read/Write :
MIFARE® 1K,
MIFARE® 4K
MIFARE Ultralight®,
MIFARE Plus®
Read/Write :
MIFARE® 1K,
MIFARE® 4K
MIFARE Ultralight®,
MIFARE® DESFire®
EV1
(2K, 4K,8K)
Read/Write :
MIFARE® 1K,
MIFARE® 4K
MIFARE Ultralight®,
MIFARE Plus®
MIFARE® DESFire®
EV1
(2K, 4K, 8K)
Read/Write :
MIFARE® 1K,
MIFARE® 4K
MIFARE Ultralight®,
MIFARE Plus®
MIFARE® DESFire®
EV1
(2K, 4K, 8K)
NFC(type1-type4)
Felica
Operate
Frequency
13.56 MHz
Power Supply 9-24VDC <150mA
Interface
zRS232, Wiegand (26,34,42,50,58)/Clock & Data 8,10/ABA1,2
zRS485 Wiegand (26,34,42,50,58)/Clock & Data 8,10/ABA1,2
zTCP/IP Wiegand (26,34,42,50,58)/Clock & Data 8,10/ABA1,2
Reading output
format
Wiegand26/34/42/50/58, Clock & Data 8/10 (3 byte, 5byte, HEX, DEC) , ABA1/2
Keypad output
format
4bit, 8bit, Wiegand26
Keypad 3*4 keypad with backlight
Indicators Blo-color LED and Buzzer controlled by three-wires
Connection connector
Reading
Distance
50 - 100mm (depending on antenna, transponder)
Writing Distance 30 - 70mm (depending on antenna, transponder)
Operating
Temperature
-20°C ~ +60°C / -4°F ~ +160°F
Storage
Temperature
-20°C ~ +60°C / -4°F ~ +160°F
Operating
Humidity
0 ~ 95% relative humidity non-condensing
Housing
Material
ABS
Protection Class IP65, electric epoxy potted for harsh environment

CN56X0B-X Reader User Manual
11 / 47
3 Connector Pin definition
3.1 CN56X0B-X-XX Connector
J3:
9-24V DC Power input, DC(9~24V)
GND Groud
A/TX Connect to RS485Aof RS485 network and Connect to RS232 TX of PC
B/RX Connect to RS485B of RS485 network and Connect to RS232 RX of PC
WD1 Data1 signal (connect an external wiegand reader Data1)
WD0 Data0 signal (connect an external wiegand reader Data0)
LED_R1 External control Red LED, low level ettection
LED_G1 External control Green LED, low level ettection
Buzzer External control Buzzer , low level ettection
CP1 Noconnect
J4:
NO normally open of lock relay
COM commonportoflockrelay
NC normallycloseoflockrelay
N/C Noconnect
TX- TranceiveData-;connect to green wire of network cable(pin 6).
TX+ TranceiveData+;connecttowhite/green wire of network cable(pin 3).

CN56X0B-X Reader User Manual
12 / 47
RX- Receive Data-; connect to orange wire of network cable(pin 2).
RX+ Receive Data+; connect to white/orange wire of network cable(pin 1)
J2:
3.3 DC Power input, DC3.3V
SWCKL Single bi-directional data pin
GND Ground
SWDIO ClocksingletotargetCPU
JP1: This jumper is opening in normal work. When this jumper is shorting before power on, Main unit go
to download user program state (only apply to RS232 interface)
JP2: This jumper is opening in normal work. When this jumper is shorting before power on, Main unit go
to download user program state(apply to RS232 interface and RS485 interface)

CN56X0B-X Reader User Manual
13 / 47
4 Connection
Attention:
1. Please make sure that CN56X0B-X-XX has the same interface format as controller
you are using. If there is need to change interface format, please refer to “6.Reader
Configuration”
2. When connecting to controller, please make sure that controller and reader have
common ground.
4.1 Wiegand/ABA /Clock&Data interface
1) Power: VCC connect to VCC(+) of controller, and GND connect to GND(-) of controller;
2) Communication: D1/Clock connect to D1/Clock of controller, D0/Data connect to D0/Data of
controller;

CN56X0B-X Reader User Manual
14 / 47
4.2 RS485 interface
1) Power: VCC(+), GND(-)connected with external adapter (9-24VDC);
2) RS485 communication:
Connect to RS485 Controller:
CN56X0B communication port A connected to the RS485 BUS A, and CN56X0B
communication port B connected to the RS485 BUS B. then RS485 BUS A connected with
the controller’s A communication port, and RS485 BUS B connected with the controller’s B
communication port:
Note: 1) Please refer to the file “Configuration Guidance” to set device address.
2) Please make sure that the controller will use the same communication protocol as
CN56X0B-X-XX. Please refer to the file “Communication Protocol”.

CN56X0B-X Reader User Manual
15 / 47
4.3 RS232 interface
1) Power: VCC(+), GND(-)connected with external adapter (9-24VDC);
2) RS232 communication:TXD connected to COM port PIN2, RXD connected to COM port
PIN3, GND connected to COM port PIN5(See the following figure):
5 Reference for Interface format
5.1 Wiegand format
Wiegand26 bits Output format
26 bits Wiegand output
Left even parity bit (MSB) + 24 bits card serial number + right odd parity bit(LSB)
Wiegand34 bits Output format
34 bits Wiegand output
Left even parity bit (MSB) +32 bits card serial number + right odd parity bit(LSB)
Wiegand42 bits Output format
42 bits Wiegand output
Left even parity bit (MSB) +40 bits card serial number + right odd parity bit(LSB)
Wiegand 50 bits Output format
50 bits Wiegand output
Left even parity bit (MSB) +48 bits card serial number + right odd parity bit(LSB)
Wiegand 58 bits Output format
58 bits Wiegand output
Left even parity bit (MSB) +56 bits card serial number + right odd parity bit(LSB)

CN56X0B-X Reader User Manual
16 / 47
5.2 Wiegand Frame
1 is represented by a 50 usec low pulse on DATA1
0 is represented by a 50 usec low pulse on DATA0
5.3 ABA Track 1 output format
5.3.1 Data
1) Starting Bits:Fifty “0”
2) Starting character:B(11010,Lower bit ahead,sort by 1248P)
3) Card ID:0000000000-9999999999(10 bits decimal number)
4) End character:F(11111,lower bit ahead,sort by 1248P)
5) LRC vertical redundant checking sum(BCC)
6) Ending Bits:Fifty “0”
7) Odd check apply on each character
8) All data output: 0 is high level output, 1 is low level output

CN56X0B-X Reader User Manual
17 / 47
5.3.2 Frame format
Starting bits Starting character Card info Ending character BCC Ending Bits
fifty “0” B 10BYTES F 5BITS fifty “0”
When sending characters, lower bit is in front of high bit
CARD IN
/DATA
1 0 1 0 1 1
CLOCK
1ms 0.5ms
5.4 ABA Tack 2 Output format
5.4.1 Data
1) Starting Bits:ten “0”
2) Starting character:B(11010,Lower bit ahead,sort by 1248P)
3) Card ID:0000000000-9999999999(10 bits decimal number)
4) End character:F(11111,lower bit ahead,sort by 1248P)
5) LRC portrait redundant checking sum(BCC)
6) Ending Bits:Five “0”
7) Odd check apply on each character
8) All data output: 0 is high level output, 1 is low level output

CN56X0B-X Reader User Manual
18 / 47
5.4.2 Frame format
Starting
Bits Starting
character Card info End
character BCC Ending
Bits
ten “0” B 10BYTES F 5BITS five “0”
CARD IN
/DATA
1 0 1 0 1 1
CLOCK
1ms 0.5ms
5.4.3 LRC portrait redundant checking sum enable method
LRC character apply following method to calculate: exclude Odd check bit,regulate each bit in
LRC character,it will ensure sum of the bits which is going to be encode at response position is
even number.
Magstripe data:B0 B1 B2 B3 P(odd check bit)
Starting character:1 1 0 1 0
First card character:1 0 0 0 0
Second card
character:
0 1 0 0 0
Third card
character::
1 1 0 0 1
…… …… …… …… …… ……
Ending character:1 1 1 1 1
LRC character:0 0 1 0 0
5.5 Clock &Data (Europe) format
5.5.1 Description
The protocol provides a 3-wire Clock and Data (Europe) interface with a 10 digit BCD or 8 digit
BCD Tag Code. The three wires are defined as Presence, Clock and Data. The Presence line will
indicate the presence of a Tag. The Clock line is used to clock the data on the Data line.

CN56X0B-X Reader User Manual
19 / 47
5.5.2 Protocol
A 10-Digit BCD number transmits the 32 bit Code with a Start and Stop sentinel and Longitudinal
Redundancy Check (LRC) checksum defined as follows:
BCD 0 BCD 1 to 10 BCD 11 BCD 12
Start 32 bit code as BCD Stop LRC Checksum
B (Hexadecimal) NNNNNNNNNN F (Hexadecimal) X
Where N = 0 to 9
Each BCD Digit has an odd-parity bit appended:
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4
LSB of BCD MSB of BCD Odd Parity
1 0 0 1 1
The LRC checksum is calculated by XOR the BCD Digits including the Start and Stop Sentinel but
excluding the parity bits. The parity of the LRC checksum is also set to odd-parity, For example:
BCD Binary Parity
B 1011 0
5 0101 1
7 0111 0
0 0000 1
1 0001 0
9 1001 1
3 0011 1
5 0101 1
1 0001 0
F 1111 1
LRC 1001 1
The 24 bit Code is transmitted by a 8 Digit BCD number with a Start and Stop sentinel and
Longitudinal Redundancy Check (LRC) checksum defined as follows:
BCD 0 BCD 1 to 8 BCD 9 BCD 10
Start 24 bit code as BCD Stop LRC Checksum
B (Hexadecimal) NNNNNNNN F (Hexadecimal) X
Where N – 0 to 9
Each BCD Digit is appended with an odd-parity bit as defined above. The LRC checksum is
calculated as above.
The 13-Digit or 11-Digit BCD number is transmitted serially on the Data signal line starting with
BCD-O’s LSB.If a bit is equal to a One the Data signal line is at GND. If the bit is equal to a Zero

CN56X0B-X Reader User Manual
20 / 47
the Data signal line is at Vcc.
The timing of the Clock and Data (Europe) protocol is shown in Figure 2.
6 Reader Configuration
6.1 System Application Development
CivinTec offers API function easy to use further application development, which the user
can directly call API function in program. The user will be recommended to read that
explanation documentation “CNReader SDK” carefully before starting the system
development.
6.2 Reader Configuration
Host Demo overview
This manual suits for next models
6
Table of contents
Other Civintec Card Reader manuals