Kimaldi BioMax2 Assembly instructions

Kimaldi Electronics, S.L.
Ctra. Rubí, 292-B Pol.Ind. Can Guitard
08228 Terrassa (Barcelona) CIF B61802302
www.kimaldi.com
Tel: 937 361 510 Fax: 937 361 511
E-mail: [email protected]
Installation and
Programming Manual
BioMax2 / BiomaxPlus
KBio2-Online
v. 2.11

Table of Content s
Date 11/8/12 Page 2 of 91
Table of Contents
1. About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2. Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1. BioMax2 electronics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2. KBio2-Online electronics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3. Technical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1. BioMax2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2. KBio2-Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.3. Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1. Connector signals, BioMax2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2. Connection details, BioMax2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.3. Mechanical Outline, BioMax2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.4. Connector signals, KBio2-Online . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.5. Connection details, KBio2-Online . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.6. Mechanical Outline, KBio2-Online . . . . . . . . . . . . . . . . . . . . . . . . 15
5. Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.1. Connection of a FIM module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.2. Connection to a configurable RS-232 reader . . . . . . . . . . . . . . . . 17
5.3. Finger presence detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.3.1. Optical Barrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
5.3.2. FIM Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
5.3.3. Setup and operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
5.4. Connection to an auxiliary board, Bio-OCX protocol . . . . . . . . . . . 20
5.5. BiomaxPlus-DB module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.6. Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.6.1. Information on exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
5.6.2. Remote FW update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
6. Comunicación con el Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.1. Communication with the Host via RS-232 . . . . . . . . . . . . . . . . . . 22
6.2. IP Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.2.1. Kimaldi Localisation Service . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
6.2.2. Bio-OCX protocol via TCP (TCP Server) . . . . . . . . . . . . . . . . . . . .23
6.2.3. Bio-OCX protocol via UDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
6.2.4. KSP protocol via UDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
6.2.5. KSP protocol via TCP (TCP-client) . . . . . . . . . . . . . . . . . . . . . . . .24
6.3. Routing and Localisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.3.1. Routing hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
6.3.2. KSP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
6.3.3. MAC Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
6.3.4. IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

Tabl e o f C o n tent s
Date 11/8/12 Page 3 of 91
7. Communication with RS-232 devices . . . . . . . . . . . . . . . . . . . . 26
7.1. Biometric identification module . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.2. RS-232 Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.2.1. “Read-only” readers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
7.2.2. Online readers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
7.2.3. Omnikey 55xx Readers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
7.3. Gateway to Bio-OCX or KPLUS2 electronics . . . . . . . . . . . . . . . . . 28
7.3.1. Supported electronics, Bio-OCX protocol . . . . . . . . . . . . . . . . . . .28
7.3.2. Supported electronics, KPLUS2 protocol . . . . . . . . . . . . . . . . . . . .28
7.3.3. Communication via Bio-OCX UDP . . . . . . . . . . . . . . . . . . . . . . . .28
7.3.4. Communication via KSP UDP . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
8. BioMax2 / KBio2-Online electronics configuration . . . . . . . . . 30
8.1. Parameter array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.1.1. Serial port configuration (UART0, UART1, UART2) . . . . . . . . . . . .32
8.1.2. Event configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
8.1.3. Optical barrier configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .36
8.1.4. Card reading port configuration . . . . . . . . . . . . . . . . . . . . . . . . . .38
8.1.5. Digital output timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
8.1.6. Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
8.2. IP configuration - TCP and UDP sockets . . . . . . . . . . . . . . . . . . . . 43
8.2.1. ePHY configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
9. Communications Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
9.1. Bio-OCX RS-232 or TCP/IP frame format . . . . . . . . . . . . . . . . . . . 46
9.2. Bio-OCX UDP frame format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.3. KSP UDP frame format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
9.4. KSP TCP frame format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
9.5. Common Instructions for Online Management . . . . . . . . . . . . . . . 49
9.5.1. Communications Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49
9.5.2. Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
9.5.3. Firmware Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50
9.5.4. GetCrashInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
9.5.5. ClearCrashInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51
9.6. Specific BioMax2/KBio2-Online instructions . . . . . . . . . . . . . . . . . 52
9.6.1. ReadCFG_Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
9.6.2. WriteCFG_Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
9.6.3. ReadCFG_IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
9.6.4. WriteCFG_IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
9.6.5. FactoryCFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54
9.6.6. ApplyCFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
9.6.7. Activate Led/Beeper Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56
9.6.8. Switch Led/Beeper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
9.6.9. Close Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
9.6.10. Switch Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
9.6.11. Clear Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
9.6.12. Write Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
9.6.13. Backlit Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
9.6.14. Switch Backlit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
9.6.15. Write Display, Backlit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
9.6.16. Digital input status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
9.6.17. Multiread filter status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62

Tabl e o f C o n tent s
Date 11/8/12 Page 4 of 91
9.6.18. Card Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
9.6.19. Key Pressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
9.6.20. Send to UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
9.6.21. Reception from UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
9.6.22. Optical Barrier Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
9.6.23. Enable optical barrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
9.6.24. Disable optical barrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
9.6.25. Encapsulate GCR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
9.7. Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
10. Biometric identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
10.1. Basic instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
10.1.1. Retrieve sensor version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
10.2. Capture of biometric information . . . . . . . . . . . . . . . . . . . . . . . . 69
10.2.1. Capture of biometric information . . . . . . . . . . . . . . . . . . . . . . . .69
10.3. Sensor database management . . . . . . . . . . . . . . . . . . . . . . . . . 70
10.3.1. Add user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
10.3.2. Request number of users . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
10.3.3. Delete user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
10.3.4. Delete all users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
10.4. User identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.4.1. Instant Matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
10.4.2. 1:N Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
10.4.3. 1:1 Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Appendix A. Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
A.1. BioMax2-FP + Mag + Mifare . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
A.1.1. Hardware connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
A.1.2. Configuration of the terminal device . . . . . . . . . . . . . . . . . . . . . .75
A.1.3. Configuration of KRD13M reader . . . . . . . . . . . . . . . . . . . . . . . . .76
A.1.4. 1:N Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
A.1.5. 1:1 Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
A.2. BioMax2-FP Prox + KBio Online RS-232 . . . . . . . . . . . . . . . . . . . . 79
A.2.1. Hardware connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
A.2.2. Device configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
A.2.3. Communication through Bio-OCX UDP . . . . . . . . . . . . . . . . . . . . .81
A.2.4. Communication through KSP UDP . . . . . . . . . . . . . . . . . . . . . . . .82
A.3. Wiegand Reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
A.3.1. Hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
A.3.2. Firmware Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
A.3.3. Wiegand format explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
A.3.4. Configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
Appendix B. Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Revision Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 5 of 91
1. About this Manual
This manual applies to BioMax2 and KBio2-Online access and presence control
electronics, firmware versions 0x61.43 and 0x62.43 respectively.
2. Description
BioMax2/KBio2 electronics are designed as Online access and/or presence control
terminals..
• BioMax2 is versatile enough to control up to two Clock&Data readers and two RS-
232 devices, whether RFID readers or FIM modules for biometric identification.
It is also equipped with a 2x20-character alphanumeric display and a 4x4
numerical keypad.
• KBio2-Online is a more compact piece of hardware, only supporting one
Clock&Data reader and two RS232 devices (RFID readers or FIM modules).
User interface is simpler, solely based on LEDs.
• Default connectivity is based on both TCP/IP and UDP. Alternatively,
communication may be carried out via RS232. KiWi2 electronics can also be
connected for WiFi communications.
• It is possible to add the BiomaxPlus-DB device, intended for Semi-Offline access
control. That is, the system switches to Offline mode whenever communication
with main Host is lost. That way, it is BioMax2 itself managing and logging
access activity, until communication with main Host is recovered.
BioMax2 and KBio2-Online electronics are recommended for all access control
applications on electric locks, displays, leds, buzzers and ticker printers, etc. requiring
online operation. In particular, whenever biometrical identification is required, the
search engine may be installed in the main Host1or in the FIM module.
BioMax2 and KBio2-Online electronics may be controlled with serial commands or with
the help of the Active-X, Kimaldi Bio-OCX controller or its equivalent .NET version,
the latter method being recommended.
Except for their hardware differences, BioMax2 and KBio2-Online are equivalent in
terms of functionality and programming interface. With regards to BioMaxPlus, it
behaves as BioMax2 in all aspects, although it offers additional features.
1. Nitgen’s eNSearch and eNBSP libraries are available for that purpose.

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 6 of 91
2.1. BioMax2 electronics
The BioMax2 electronics board has the following hardware resources:
• RJ45 Ethernet connection (10/100-BaseT)
• UART0: First port RS-232 (by default, for Host connection).
• UART1: Second port RS-232 (by default, for biometric sensor connection).
• UART2: Third port, 3V3 TTL levels (reserved as a socket for BioMaxPlus-DB or
other special cases).
• Two Clock&Data ports
• Four relays
• Two LED outputs (Green and Red)
• One output for an external buzzer.
• One current-limited 5 VDC outlet
• One connector to a 4x4 keypad
• One 2x20-character, alphanumeric, backlit display connector
• One card-mounted buzzer
• Four digital inputs
• Connection to Optical Barrier
• One socket for KiWi2 Converter (UART0) or BioMaxPlus-DB (UART2).
2.2. KBio2-Online electronics
The KBio2-Online electronics board has the following hardware resources:
• RJ45 Ethernet connection (10/100-BaseT)
• UART0: First port RS-232 (by default, for Host connection).
• UART1: Second port RS-232 (by default, for biometric sensor connection).
• UART2: Third port, 3V3 TTL levels (reserved as a socket for BioMaxPlus-DB or
other special cases).
• One Clock&Data ports
• One relay
• One current-limited 5 VDC outlet
• One connector to a 3-key pad with 3 LEDs
• One card-mounted buzzer
• One digital input
• Connection to Optical Barrier
• One socket for KiWi2 Converter (UART0) or BioMaxPlus-DB (UART2).

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 7 of 91
3. Technical Specifications
3.1. BioMax2
Size: OEM board: 134 mm x 106 mm x 25 mm
Supply Voltage: 5 VDC. ± 10%
Maximum consumption 1: 450 mA
Ethernet Interface: 10/100 Base-T
RS232 Interface: Baud Rate between 9600 and 57600; n,8,1
5VDC Output: Limited to 1 Amp by means of a retriggerable fuse. Maxi-
mum recommended current to external readers: 500 mA.
User interface: 2x20-character, backlit LCD Display; 4x4 numerical keypad,
buzzer on-board; output drivers for 2 LEDs (green and red)
and external buzzer.
Optical Barrier: 4-pin connector for LED and phototransistor 2
Relay contacts: 4 relay contacts, normally open, 24V / 1A
Digital inputs: 4 relay-type digital inputs. In open circuit (contact open) their
logic value will be 0. In contact with GND (contact closed),
logic value 1.
Clock&Data Inputs: 2 ports for Clock&Data readers, ABA-Track 2 encoding.
3.2. KBio2 Online
Size: OEM board: 96 mm x 59 mm x 25 mm
Supply Voltage: 5 VDC. ± 10%
Maximum consumption 3: 400 mA
Ethernet Interface: 10/100 Base-T
RS232 Interface: Baud Rate between 9600 and 57600; n,8,1
5VDC Output: Limited to 1 Amp by means of a retriggerable fuse. Maxi-
mum recommended current to external readers: 500 mA.
User Interface: 3-key pad with 3 LEDs and buzzer.
1. Consumption of the raw board, without peripheral devices connected to it.
2. The LED optical barrier has been discontinued on devices featuring FIM5360 or equivalent.
See section 5.3 for further information
3. Consumption of the raw board, without peripheral devices connected to it.

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 8 of 91
Optical Barrier: 4-pin connector for LED and phototransistor 1.
Relay contact: 1 relay contact, normally open, 24V / 1A
Digital input: 1 relay-type digital input. In open circuit (contact open) its
logic value will be 0. In contact with GND (contact closed),
logic value 1.
Clock&Data Input: 1 port for Clock&Data reader, ABA-Track 2 encoding.
3.3. Addressing
BioMax2 and KBio2-Online electronics have two jumpers (JMP1 and JMP2) to encode
the ID Application in the KSP protocol.
See chapter 6.3.: “Routing and Localisation” for further details.
1. The LED optical barrier has been discontinued on devices featuring FIM5360 or equivalent.
See section 5.3 for further information

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 9 of 91
4. Installation
4.1. Connector signals,BioMax2
WARNING !!!!
Take the necessary antistatic precautions when handling this product
to avoid damaging the sensitive electronic devices.
BioMax2 electronics board requires +5 Vdc supply
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1
J3
5 vcc
GND
N.C.
N.C.
N.C.
N.C.
Host Rx
Host Tx
J4
DIN_0
DIN_1
DIN_2
DIN_3
GND
LED_0 (+)
LED_1 (+)
BUZZER (-)
J2
RELE 3-A
RELE 3-B
RELE 2-A
RELE 2-B
RELE 1-A
RELE 1-B
RELE 0-A
RELE 0-B
J1
GND
DATA_1
CLK_1
CLS_1
+5V Out
GND
Lector Tx
Lector Rx
P2: Contrast
J6: Keypad
J5: Ethernet
J9: TTL-0
J7: FIM Connector
J8: Opt. Bar.
J10: Display
J14: KiWi2
JP1, JP2
LEDs
JP1
JP2
LD1
LD2
LD3
LD4
J15: BiomaxPlus-DB

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 10 of 91
4.2. Connection details,BioMax2
J3 - Main Connector
Pin 1 - Positive power supply pole (5 Vcc)
Pin 2 - Negative power supply pole (GND) (Pin no. 5, female SubD connector)
Pin 3 - Not connected
Pin 4 - Not connected / UART_2 - Rx, 3V3 TTL, in special cases
Pin 5 - Not connected / UART_2 - Tx, 3V3 TTL, in special cases
Pin 6 - Not connected
Pin 7 - UART_0 - Rx, RS232 to Host (Pin nº 3, female SubD connector)
Pin 8 - UART_0 - Tx, RS232 to Host (Pin nº 2, female SubD connector)
J2 - Relay Connector
Pin 1 - Pole A of Relay 0
Pin 2 - Pole B of Relay 0
Pin 3 - Pole A of Relay 1
Pin 4 - Pole B of Relay 1
Pin 5 - Pole A of Relay 2
Pin 6 - Pole A of Relay 2
Pin 7 - Pole A of Relay 3
Pin 8 - Pole B of Relay 3
J4 - Digital Input/Output connector
Pin 1 - Digital Input 0
Pin 2 - Digital Input 1
Pin 3 - Digital Input 2
Pin 4 - Digital Input 3
Pin 5 - LED common cathode - GND
Pin 6 - Anode (+) for LED 0 (Green)
Pin 7 - Anode (+) for LED 1 (Red)
Pin 8 - Cathode (-) for External Buzzer (5 V)
J1 - Connector to Card Readers
Pin 1 - UART_1 - Rx, RS-232 to reader (Pin nº 2, male SubD connector)
Pin 2 - UART_1 - Tx, RS-232 to reader (Pin nº 3, male SubD connector)
Pin 3 - Negative power supply pole (GND) (Pin no. 5, male SubD connector)
Pin 4 - +5 VDC Output
Pin 5 - CLS Signal (TTL_1)
Pin 6 - Clock Signal (TTL_1)
Pin 7 - Data Signal (TTL_1)
Pin 8 - Negative power supply pole (GND)

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 11 of 91
J5: Ethernet Connector (RJ45 connection)
J9 - TTL_0 connector to Card Reader: NdCAN-compatible
Pin 1 - Data Signal (TTL_0)
Pin 2 - Clock Signal (TTL_0)
Pin 3 - CLS Signal (TTL_0)
Pin 4 - +5 VDC Output
Pin 5 - Negative power supply pole (GND)
J7: Connection to FIM biometric identification module or to generic RS-232 reader
Pin 1 - +5 VDC Output
Pin 2 - UART_1 - Tx 232 signal to reader or FIM Module
Pin 3 - UART_1 - Rx 232 signal to reader or FIM Module
Pin 4 - Power supply negative pole (GND)
J8: JST Connector to Kimaldi Optical Barrier
Pin 1 - Anode (+) of the emitting LED
Pin 2 - Cathode (-) of the emitting LED
Pin 3 - Collector (+) of the receiving phototransistor
Pin 4 - Emitter (GND) of the receiving phototransistor
P2: Display Contrast: adjustment potentiometer
JP1, JP2: Jumpers to select KSP Application_ID (see Subsection 6.3.2. )
LEDs showing the electronics status:
LD1 - 3V3 supply operating
LD2 - Rx/Tx Instructions or Events between BioMax2 and the Host computer
LD3 - Red - Ethernet Link Error
LD4 - Green - Ethernet Activity (when blinking).
In addition, Keypad and Display connections are available for the OEM version of the
equipment:
J6: 4x4 Keypad connector
Pin 1 - Column 3 (OUT) Pin 5 - Row 0 (IN)
Pin 2 - Column 2 (OUT) Pin 6 - Row 1 (IN)
Pin 3 - Column 1 (OUT) Pin 7 - Row 2 (IN)
Pin 4 - Column 0 (OUT) Pin 8 - Row 3 (IN)
J10: Connector to 20x2 Display, with incorporated Backlit
J14 - Connector/socket for KiWi2 Converter (UART0):
Pin 1 - No Connect
Pin 2 - No Connect
Pin 3 - UART_0 - Tx 232 signal to Host
Pin 4 - UART_0 - Rx 232 signal to Host

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 13 of 91
4.4. Connector signals,KBio2-Online
WARNING !!!!
Take the necessary antistatic precautions when handling this product
to avoid damaging the sensitive electronic devices.
KBio2 electronics board requires +5 Vdc supply
J2: Keypad
J10: Ethernet
J3: TTL-0
J5: Opt. Bar.
J7: KiWi2
LEDS
J4: FIM
1 2 3 4 5 6 7
J1
JP1
JP2

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 14 of 91
4.5. Connection details,KBio2-Online
J1 - Main Connector:
Pin 1 - Positive Power Supply Pole (+5 VDC).
Pin 2 - Negative power supply pole (GND) (Pin no. 5 SubD female connector).
Pin 3 - UART_0 - Tx 232 Signal to Host (Pin no. 2, SubD female connector).
Pin 4 - UART_0 - Rx 232 Signal to Host (Pin no. 3, SubD female connector).
Pin 5 - Digital Input 0.
Pin 6 - Pole A of Relay 0.
Pin 7 - Pole B of Relay 0.
J2: Keypad connector:
Pin 1 - Red LED Anode (+). Pin 5 - Keypad supply (+5 VDC).
Pin 2 - Green LED Anode (+). Pin 6 - IN Key.
Pin 3 - Yellow LED Anode (+). Pin 7 - F1 Key.
Pin 4 - Common Cathode (GND). Pin 8 - F2 Key.
J3 - TTL_0 Connector to card Reader (NdCAN compatible):
Pin 1 - Data signal (TTL_0)
Pin 2 - Clock signal (TTL_0)
Pin 3 - CLS signal (TTL_0)
Pin 4 - Output +5 VDC
Pin 5 - Negative power supply pole (GND)
J4: Connection to FIM biometric identification module or to generic RS-232 reader
Pin 1 - +5 VDC Output
Pin 2 - UART_1 - Tx 232 signal to reader or FIM Module
Pin 3 - UART_1 - Rx 232 signal to reader or FIM Module
Pin 4 - Power supply negative pole (GND)
J5: JST Connector to Kimaldi Optical Barrier
Pin 1 - Anode (+) of the emitting LED
Pin 2 - Cathode (-) of the emitting LED
Pin 3 - Collector (+) of the receiving phototransistor
Pin 4 - Emitter (GND) of the receiving phototransistor
J7 - Connector/socket for KiWi2 Converter (UART0):
Pin 1 - No Connect
Pin 2 - No Connect
Pin 3 - UART_0 - Tx 232 signal to Host
Pin 4 - UART_0 - Rx 232 signal to Host
Pin 5 - GND
Pin 6 - 5VDC input/output (only for KiWi2, BioMaxPlus-DB).
J10: Ethernet Connector (RJ45 connection)

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 15 of 91
JP1, JP2: Jumpers to select KSP Application_ID (see Subsection 6.3.1. )
LEDs showing the electronics status:
LD1 - 3V3 supply operating
LD2 - Rx/Tx Instructions or Events between BioMax2 and the Host computer
LD3 - Red - Ethernet Link Error
LD4 - Green - Ethernet Activity (when blinking).
4.6. Mechanical Outline, KBio2-Online
Measurements in mm.
J1
IN0
GND
+5V TX RX
POWER IN HOST RELE0

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 16 of 91
5. Operation
Thanks to its IP connectivity, BioMax2 and KBio2-Online electronics make it possible to
install a network of biometric sensors or different types of card readers, accompanied by
the corresponding actuators or user interfaces. All the peripherals are Host-managed,
except for the biometric search engine, which may optionally be located in the FIM it-
self 1.
Normal operations consist of sending the events that occur to the Host. Normally, these
will be linked to a user ID. The user can simply put his or her finger on the biometric
sensor or start the identification by presenting the card or pressing any key. From hereon,
the Host will launch the identification and save its result. Once the identity of the person
is known, it will be possible to act on an access relay, display a personalised message on
screen or even ask for a code using the keycard.
An aspect that deserves special attention is the possibility to connect a choice of RS-232
peripheral devices to BioMax2, as indicated in chapter 7.
5.1. Connection of a FIM module
The most usual implementation of BioMax2 is BioMax2-FP, which features a FIM
module for biometric identification. The same statement applies to KBio2-Online. In
both cases, several types of use are allowed:
• Host-based template database:
- 1-to-N identification (1:N): the user places his or her finger on top of the
biometric sensor. An optical barrier activation event occurs, after which the
Host orders the capture of the user's fingerprint. The host will compare the
scanned template with all the fingerprints in its database (in the order of 25,000
users).
- 1-to-1 Identification (1:1): the user is identified using the card or by entering a
code. The Host receives the identification code and retrieves the corresponding
identification code from its database. This fingerprint is sent to the biometric
sensor, after which the sensor itself scans the user's finger to check its identify
with a 1 to 1 comparison (“Instant Matching”).
• FIM-based template database:
- 1-to-N identification (1:N): the user places his or her finger on top of the
biometric sensor. An optical barrier activation event occurs, after which the
Host orders the capture and immediate identification of the user's fingerprint.
- 1-to-1 Identification (1:1): the user is identified using the card or by entering a
code. The Host receives the identification code and triggers a comparison
between a template in the FIM module and the scanned fingerprint.
1. Offline behaviour is allowed when the search engine is located in the FIM. Typically, the
offline mode is enhanced by means of the BiomaxPlus-DB auxiliary board. See section 5.5

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 17 of 91
5.2. Connection to a configurable RS-232 reader
Kimaldi Electronics offers a series of readers (for example, KRD13M and SC42) that
have automatic operating modes and that also allow for two-way communications
between the Host and the reader (normally for configuration tasks).
BioMax2 and KBio2-Online are capable of capturing the events generated by these
readers and applying them with the same treatment as if they came from a Clock&Data
reader: automatic buzzer activation and LEDs and multiread filtering, etc.. These
readings are notified from the Card Reading event.
At the same time, two-way communications are permitted between the Host and the
reader from the combination of the Send to UART command and the Reception from
UART event.
5.3. Finger presence detection
BioMax2 and KBio2-Online electronics support two different means of finger presence
detection, depending on the installed hardware:
• LED optical barrier: This is the legacy method, the only one available for old FIM
versions (FIM20xx, FIM22xx y FIM30xx). The LED barrier is going to be
obsoleted. Please find more details in Subsection 5.3.1.
• Auto-On funcion: Newer FIM versions (FIM 5360 and later) provide an Auto-
Identify function based on an embedded capacitive sensor. This is going to be the
default detection method for BioMax2 and KBio2-Online. Please find more
details in Subsection 5.3.2.
5.3.1. Optical Barrier
BioMax2 and KBio2 terminals allow you to control an optical barrier to detect the
presence of a finger on the biometric sensor. In addition to the normal operating
conditions, the optical barrier manages two possible error situations:
1.- Permanent obstruction of the beam. In its idle state, the optical barrier detects the
beam of light from the LED emitter. If it does not detect the beam for some time, it
may be due to a mechanical or electronic fault. In normal conditions, 2 or 3 consec-
utive identification attempts can be made, without removing your finger from the
biometric sensor, before this error is triggered. This parameter can be configured, as
explained in the chapter 8.
2.- Interference by external light sources . If you expose the terminal to extreme light
conditions, the receptor element can be saturated, so it cannot detect the presence of
a finger.
Both permanently blocking the beam and saturating the receptor trigger an error
situation, in the event of which the Host will receive a notification (event Optical Barrier
Status, code 0xED ). The yellow LED on KBio2-Online’s User Interface (“Ready”) will

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 18 of 91
flash to indicate this. In this situation, you must press the green key (“Enter”) to initiate
biometric identification.
It will automatically return to normal when the beam of light is no longer obstructed or
the external interference is removed (event Optical Barrier Status, code 0x0D).
In order to activate this detection method, it is necessary to configure the following
parameters:
• Parameter$03 (CFG_Opt_T_Watchdog): it allows activation of the LED optical
barrier. So:
- LED operation: $80 (LED optical barrier on, obstruction timeout to 12.8 sec.).
If a second FIM module is connected, a special cable assembly allows using a Digital
Input to detect finger presence.
5.3.2. FIM Module
BioMax2 and KBio2-Online also allow finger presence detection by means of the
capacitive sensor embedded both in the OPP06 optical sensor and the capacitive sensors
that can be attached to the FIM5360 module (and later).
If two FIM devices are connected to a single BioMax2 or KBio2-Online, the same
detection mechanism can be used.
In order to activate this detection method, the following parameters must be correctly
configured:
• Parameter$03 (CFG_Opt_T_Watchdog): it allows to select the finger detection
method, or disable it altogether.
- Required value: $FF (Auto-On enabled).
• Parameter$1B (CFG_Serial_Port_Reader): it is necessary to configure UART1 for
a FIM module, at the correct baud rate.
- Possible values: $88 to $8B.
- Recommended value: $8A.
• Parameter$1D (CFG_Main_Reader): the FIM module must be declared here.
- Required value: $05 (FIM module on UART1 for the main reader).
Optionally, a second FIM module with Auto-On detection may be connected. In this
event, UART0 will be used:
• Parameter$1A (CFG_Serial_Port_Host):it is necessary to configure UART0 for a
FIM module, at the correct baud rate.
- Possible values: $88 to $8B.
- Recommended value: $8A.
• Parameter$1E (CFG_Aux_Reader): the second FIM module must be declared here.
- Required value: $04 (FIM module on UART0 for the auxiliary reader).

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 19 of 91
5.3.3. Setup and operation
Once configured, the BioMax2 or KBio2-Online electronics must be reset (use command
ApplyCFG), in order to start operation.
Optical barrier
The LED optical barrier will operate immediately, and it will be promptly generate a Key
Pressing event as soon as the infra-red beam is blocked. Any key value may be
announced, as configured through Parameter$05 (CFG_OPT_KeyCode). Its default
value is $41 (‘A’ : green key).
Upon finger detection, operation is suspended during a guard time period, which is
configured through Parameter$02 (CFG_OPT_T_GUARD). Such guard time may be
overridden from the application by disabling the optical barrier prior to communication
with the FIM module (Disable optical barrier). When done, re-enable operation (Enable
optical barrier) to resume detection.
FIM Auto-On
Automatic finger detection by the biometric sensor is a more complex process:
- Upon startup, a boot-up time is required for the FIM module. We may configure
such value through Parameter$0E (CFG_IDNT_-BOOTUP_TIME). The
recommended value depends on the FIM model and the database capacity.
- If a finger is presented during the boot-up period, an Optical Barrier Status event
showing status $FC, will appear.
- After boot-up, Auto-On starts automatically. If we force Enable optical barrier, we
get its current status in response. Value $00 is the correct operation status,
while $FD means that boot-up operation did not end correctly, so Auto-On is
not available. That can be due to a communication error (baudrate mismatch,
broken cable...) or to an old version of FIM that does not support this feature.
- Finger detection occurs when the finger is placed on the surface of the sensor. If
there is no clear perception of change (for instance, if the finger does is not
removed between one failed identification and the next retry), the finger is not
detected. Therefore, it is necessary to remove and re-place the finger for each
identification that we try. Upon detection, a Key Pressing event appears. The
value of the pressed key is configurable through Parameter$05 (CFG_
OPT_KeyCode), and its default value is $41 (‘A’ : green key).
- Upon finger detection, operation is suspended during a guard time period, which
is configured through Parameter$02 (CFG_OPT_T_GUARD). Such guard time
may be overridden from the application by disabling the optical barrier prior to
communication with the FIM module (Disable optical barrier). When done, re-
enable operation (Enable optical barrier) to resume detection.

BioMax2 / KBio2-Online
Installation and Programming Manual
www.kimaldi.com Page 20 of 91
- If Auto-On could not be enabled, an Optical Barrier Status event appears every
time we contact the FIM module through Send to UART.
- If two FIM modules are connected to BioMax2, both may activate the Auto-On
mechanism. In such case, the key value that is reported by the auxiliary FIM is
one count higher than the one of the main FIM (by default, values $41 for the
main FIM and $42 for the auxiliary FIM are used, corresponding to green and
red keys on the BioMax2 keypad).
5.4. Connection to an auxiliary board, Bio-OCX protocol
It is worth remarking that various electronic devices, based on protocol Bio-OCX, can be
easily connected to the RS-232 ports. That provides Ethernet connectivity to legacy
electronics such as the old BioMax and KBio, which may be converted to KSP nodes
when connected to UART0 of BioMax2 or KBio2-Online.
We may also adapt to very particular installations, for instance by connecting a Series-
16R board for additional relays.
5.5. BiomaxPlus-DB module
Kimaldi Electronics offers the BiomaxPlus-DB module, which provides an offline
behaviour, so that it acts as a back-up host when the main one is out of reach.
The BioMax2 + BiomaxPlus-DB assembly is commercially known as BiomaxPlus.
The BioMaxPlus-DB module is recommended for online access control applications,
where offline control must take over if communication to the main Host is lost. In
particular, if biometric identification is required, the template database must be located
in the FIM module as well.
When using the BioMaxPlus-DB module, the following parameters must be correctly
configured:
• Parameter$1C: UART2 is configured to link with BioMaxPlus-DB.
- Recommended value: $D1 (19200 baud communication)
• Parameter$12: It sets the maximum response time (in tenths of second), allowed for
Host response, upon event issued by BioMax2 (key pressed, finger detected, etc.). If
the Host does not reply promptly, it is assumed to be lost, and operation mode
switches to Offline.
- Recommended value: $0A (1 second)
• Parameter$13: It sets the maximum time between Host instructions (we assume
that the Host is regularly sending Keep-Alive frames to BioMax2). After such
period of time, the Host is assumed to be lost, and operation mode switches to
Offline.
- Recommended value: $64 (10 seconds)
This manual suits for next models
2
Table of contents