Professional Documents
Culture Documents
2355 Mira Mar Ave. Long Beach, CA 90815-1755 (562)-986-9105 FAX (562)-986-9205 www.mercury-security.com
Overview
The Mercury Powered Aperio 1 to 8 Hub device can be connected to the Mercury controllers as if it were
another Mercury SIO device. This is done via an RS-485 connection and the baud rate is fixed at
38,400bps.
Dip Switches
The following table describes the dip switch settings on the Aperio Hub:
DIP Switches Description
5 No function
9 No function
Wiring
The following table indicates the wiring that is needed to connect the Aperio Hub to the Mercury
Controller:
Aperio HUB Mercury Controller
24v DC V (5-30Vdc)
GND GND
RS485 B TR-
RS485 A TR+
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 1 September 13, 2013
Reader Tamper
Transactions with source type of “Reader Tamper” have a status code that contains additional
information. This status code is interpreted differently, depending on the actual reader. The
table below provides the meaning of the various status codes for the Aperio Hub.
In order to receive the “Reader Tamper” values and not have them filtered out, the keypad_mode
in command 112 (enCcReader) needs to be set to a value of 1. In EP firmware after 1.16.2, this
will be fixed to always report these transactions so the keypad_mode will essentially be ignored,
but can be still set to a value of 1.
Example: If the Reader Tamper is active and then the Low Battery condition occurs, the Low
Battery change of state will not be reported until the reader tamper is restored and the low battery
condition still exists.
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 2 September 13, 2013
Example:
# Define SIO 1 at port 1, address 1of model type 55.
0109 0 1234 01 24 8 8 55 0 0 -1 1 1 0 0 1 3 0 -1 -1 -1 1 0 0
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 4 September 13, 2013
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 5 September 13, 2013
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 7 September 13, 2013
14 door_sio Door contact link: the SIO number on the SCP that contains the
input. Valid values are 0 through c_1107, nSio –1. Use –1 for not
used. For Aperio this should be the SIO number of the Hub.
15 door_number Door contact link: Input number on the specified SIO (door_sio).
Valid values are 0 through c_109, nInputs –1. Use –1 for not used.
For Aperio, these values are fixed, see Input Configuation
section for more details.
16 dc_held Delay before held open alarm is reported (2 second units). Valid
values are 1 to 32767.
17 rex0_sio Rex-0 link: the SIO number on the SCP that contains the input.
Valid values are 0 through c_1107, nSio –1. Use –1 for not used.
For Aperio this should be the SIO number of the Hub.
18 rex0_number Rex-0 link: Input number on the specified SIO (rex0_sio). Valid
values are 0 through c_109, nInputs –1. Use –1 for not used. For
Aperio, these values are fixed, see Input Configuation section
for more details.
19 rex1_sio Rex-1 link: the SIO number on the SCP that contains the input.
Valid values are 0 through c_1107, nSio –1. Use –1 for not
configured. REX 1 will be used for the mechanical key override.
For Aperio this should be the SIO number of the Hub.
20 rex1_number Rex-1 link: Input number on the specified SIO (rex1_sio). Valid
values are 0 through c_109, nInputs –1. Use –1 for not used. For
Aperio, these values are fixed, see Input Configuation section
for more details.
21-22 rex_tzmask[2] Set to zero.
23 altrdr_sio Alternate reader link: the SIO number on the SCP that contains the
reader. Valid values are 0 through c_1107, nSio –1. Use –1 for
not used.
24 altrdr_number Reader link: Reader number on the specified SIO (altrdr_sio).
Valid values are 0 through c_109, nReaders –1. Use –1 for not
used.
25 altrdr_spec Alternate reader configuration as define below:
Define Value Alternate Reader Configuration Description
ACR_AR_NONE 0 Ignore Data from Alternate Reader
ACR_AR_NRML 1 Normal Access Reader (two read heads to the
same processor).
ACR_AR_BIO1 2 Biometric Reader, Type 1 – RSI Handkey II
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 8 September 13, 2013
26 cd_format Card data formatter table bit map. Positional based bit map of card
format to be supported. (Example: cd_format would be set to
0x04, for card format 3.) See command 1102, Card Formatter
Configuration. Bits 0–7 are for cardholders, bits 8–15 are for
assets.
27 apb_mode Anti-passback processing mode as defined below:
Define Value Anti-passback Mode Description
ACR_APB_NONE 0 Do not check or alter anti-passback location.
(No anti-passback rules.)
ACR_APB_ANY 1 Soft anti-passback: Accept any new location,
change the users location to current reader, and
generate an anti-passback violation for an
invalid entry.
ACR_APB_CHK 2 Hard anti-passback: Check user location, if a
valid entry is made, change user’s location to
new location. If an invalid entry is attempted,
do not grant access.
ACR_APB_DLY_L 3 Reader-based anti-passback using the ACR’s
last valid user. Verify it’s not the same user
within the time parameter specified within
apb_delay. Note: if card A is read and then
card B is read, card A can be re-used and not
violate this anti-passback rule. This type of APB
is not affected by the bSupportTimeApb flag in
the Access Database Specification command
(1105).
ACR_APB_DLY_R 4 Reader-based anti-passback using the access
history from the cardholder database: Check
user’s last ACR used, checks for same reader
within a specified time (apb_delay). This
requires the bSupportTimeApb flag be set in the
Access Database Specification command
(1105).
ACR_APB_DLY_A 5 Area based anti-passback: Check user’s current
location, if it does not match the expected
location then check the delay time (apb_delay).
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 9 September 13, 2013
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 10 September 13, 2013
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 11 September 13, 2013
newer than 3.1.2, then the ACR current mode is set. See
Command 308 – ACR Mode for definitions.
34 default_led_mode LED mode, set to 0 for Aperio.
35 pre_alarm Number of 2 second ticks before held open alarm condition. This
will cause a transaction to be generated prior to the held-open
alarm condition. Valid values are 0 through dc_held –1.
36 apb_delay Anti-passback delay in seconds. The number of seconds that need
to elapse before this card can be used again. A current request
beyond this delay is not rejected for anti-passback. Valid values
are 0 through 65535.
The following two fields are invoked for users with ADA Flag set in the Cardholder record
(Command 7304) to allow for handicapped access.
37 strk_t2 Strike time in seconds, "special door cycle" (ADA compliance).
Valid values are 0 through 255.
38 dc_held2 Held open time, number of 2 second ticks, "special door cycle"
(ADA compliance). Valid values are 0 through 32767.
The following fields are used for the strike follower feature. Please note, the strike follower
relay will not activate if the door opens before the strike_follow_delay interval has expired.
39 strk_follow_pulse Strike Follower not supported by Aperio.
40 strk_follow_delay Strike Follower not supported by Aperio.
Note: the shunt relay and strike follower features are mutually exclusive. If both are specified,
then the shunt relay option will be honored.
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 12 September 13, 2013
Input Configuration
The input configuration is fixed based on the reader number. This configuration cannot be altered. The
table below indicates the input number mapping based on the reader number.
Door
0 3 6 9 12 15 18 21
Contact
Rex 1
(inside 1 4 7 10 13 16 19 22
handle)
Rex 2
2 5 8 11 14 17 20 23
(key
override)
The equations that can be used to programmatically calculate the input number are:
Rex1 = ((ReaderNumber x 3) + 1)
Rex2 = ((ReaderNumber x 3) + 2)
Starting in HUB version 1.101.10, the ability to signal the lock that a PIN code is required is done by
looking at the temporary LED settings and if both red and green are seen then the proper command will
be issued to the lock requesting that a PIN entry is expected.
Using Keypads
To use the keypad on the Aperio Lock the keypad needs to be enabled in the lock via the Aperio
Programming Tool.
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 13 September 13, 2013
Scheduled Relock
Starting in HUB version 1.101.10 and in EP firmware 1.18.x the ability to issue the scheduled relock
command is available. To issue the scheduled relock you would need to issue the temp ACR mode
command (334) and set the upper two bits to a value of 01 and then the remaining bits would be used to
indicate the number of minutes since the last midnight.
For example, if you wanted to unlock ACR #3 until 5 p.m. you would use the following command:
The time field is set to 17404 which is 1020 (17 hours * 60 minutes) + 16384 (upper 2 bits set to 01).
You would most likely set this up in a trigger (on pre-grant ACR_F_LOG_EARLY) so that a valid
access attempt in the morning could be used to kick off this command to properly have the lock go
into the unlocked mode until 5 p.m.
If the command gets delayed making it to the lock but made it to the HUB, the HUB will keep track
of the difference and when finally relaying the command down to the lock the proper offset would be
used to account for the difference in time from when the command was initially sent.
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 14 September 13, 2013
Version Information
The Mercury and Aperio version information can be returned in the application (nFirmwareApp), boot
(nFirmwareBoot) and loader (nFirmwareLdr) version fields. The Mercury version is returned as the
application and the Aperio version is returned in both the boot and loader fields.
Aperio Build = nFirmwareLdr (reader directly as is without having to break into major, minor,
and build components)
Version App=1.101.5 and older had an issue with how the Aperio Build information was returned that
would truncated bits 4-7 of the Aperio build number. For historical purposes this is how these firmware
versions reported the Aperio build values:
Aperio Build (LSB) = loader major (upper nibble would get truncated)
CONFIDENTIAL DOCUMENT
This document is for the sole use of the intended recipient. It contains confidential and proprietary material protected by a Confidentiality Agreement
between the intended recipient and Mercury Security Corporation. Any use or distribution of this document not explicitly covered by the Confidentiality
Agreement is strictly prohibited. 15 September 13, 2013