The text of a manual · part 6 of 13
Accu-Time Series 7000 Access Control Unit User's Manual: Chapter 3 Commands, pages 47 to 55
Pages 47 to 55 of 105, from Accu-Time Series 7000 Access Control Unit User's Manual
The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Accu-Time Series 7000
Page 47
Chapter 3
Commands
This chapter explains the commands used to control an Accu-Time Series 7000 access control unit (ACU) when running the standard firmware. This firmware is appropriate for the majority of access control and security applications. Once an ACU is installed, a number of operations are possible depending on its setup. For example, you can: • Swipe or key a badge at a reader / keypad and have the time logged and gain access. • Validate an employee badge number against the ACU’s internal validation tables. This can be a simple badge list or be linked with schedules in order to allow access at certain times to accommodate shift patterns, etc. • Load bell schedules to sound alarms or bells at certain times using the Digital Output options to signal meal times, breaks, etc. The DO options can also be used to trigger door locks. • Use interactive commands to control ACUs directly from a host application. Commands such as BELL and DCxxx (activating the relays) can be sent as and when required across a network. See Interactive commands section. The functions listed above are available on all ACUs from Accu-Time Systems, Inc. You can tailor the functionality of an ACU to your particular requirements using the command set described in this chapter.
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-1
Page 48
Command Syntax
Some commands, to be complete, need information added to them. These command descriptions have a table under them showing the valid choices. Default is the value applied if not modified. Valid range is the acceptable range of input the command will allow. LPB00
###### One or more command arguments, if any
Command Some commands accept one or more arguments. Sometimes an argument is a hexadecimal (base 16) number and the valid range of a single digit may exceed 9. For those instances, use the equivalents in the following table to enter digit values 10 through 15:
Table 3-1: Character Equivalents to Enter Hexadecimal Values Value
Equivalent
10
: (colon)
11
; (semicolon)
12
< (less than)
13
= (equals)
14
> (greater than)
15
? (question mark)
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-2
Page 49
Command Index
This section lists all the commands in alphabetical order, with a brief description.
Table 3-2: Command Index Command
Description
ALDI1
Digital IN 1 alarm message Page 3-31
ALDI2
Digital IN 2 alarm message Page 3-31
ALSTATE
Alarm query message Page 3-32
ALTAMP
Tamper alarm message Page 3-33
AQ10
Get current alarm status Page 3-5
BA01
Normal power recovery message Page 3-33
BA02
Low power message Page 3-34
BELL
Turn on “good” beep Page 3-26
BG00
Initial power-up message Page 3-34
BG01
Power-up recovery message Page 3-35
BS00
Program number request Page 3-36
BS01
Badge and schedule size request Page 3-36
BS02
Badge information request Page 3-37
BS03
Location information request Page 3-38
BS04
Schedule information request Page 3-38
BT01
Time request message Page 3-39
C00
Set up RS485 ports Page 3-5
D10
Set download ID Page 3-6
D20
Get download ID Page 3-6
DC100
Turn off DO_1 Page 3-28
DC101
Turn on DO_1Page 3-28
DC111
Turn on DO_1 for preset time Page 3-28
DC200
Turn off DC_2 Page 3-29
DC201
Turn on DO_2 Page 3-29
DC211
Turn on DO_2 for preset time Page 3-29
DI00
Download ID message Page 3-39
LAP01
Set anti-passback enable Page 3-7
LBC01
Load bell schedules Page 3-21
LBE01
Erase all bell schedules Page 3-24
LDA01
Enable or disable digital inputs Page 3-7
LEB01
Set badge mask and validation Page 3-18
LEC01
Load employee records Page 3-16
LED01
Erase a simple employee Page 3-17
LEE01
Erase employee file Page 3-16
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-3
Page 50
Table 3-2: Command Index (Continued) Command
Description
LHO101
Load holiday schedules Page 3-22
LPB01
Set beeper enable Page 3-7
LPB03
Set relay activation time in milliseconds Page 3-8
LPB04
Set relay activation time in seconds Page 3-8
LPB05
Set digital IN timeout Page 3-9
LSA01
Set master badge number Page 3-9
LSB01
Set schedule start date Page 3-20
LSC01
Load schedules Page 3-21
LSD01
Delete individual schedule Page 3-22
LSE01
Erase all schedules Page 3-20
O00
Lock ACU Page 3-10
O10
Unlock ACU Page 3-10
P....
Employee transaction message Page 3-40
R00
Reset Page 3-11
R01
Reset Page 3-11
S00
Get program number Page 3-11
S01
Get number of badges and schedules Page 3-12
S02
Get badge information Page 3-12
S03
Get badge information by storage location number Page 3-13
S04
Get schedule information Page 3-13
SI
Turn on “bad” beep and yellow LED Page 3-26
SO
Turn on “good” beep and green LED Page 3-26
T00
Set time/date Page 3-14
T10
Get time/date Page 3-14
T20
Set daylight savings time Page 3-14
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-4
Page 51
General Commands AQ10
This section lists general-purpose commands.
Get Current Alarm Status Syntax: AQ10rs Arguments: None. Discussion: Returns status of the Tamper, DI_1, and DI_2 inputs, OK or still active as ALSTATE message. Example: AQ10^
C00
Set Up Serial Ports Syntax: C00nmrs Arguments: n - Baud rate (value from 1 to 5) 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19200 m - Data bits and parity (value from 0 to 2) 0 = 8 data bits / no parity 1 = 7 data bits / odd parity 2 = 7 data bits / even parity Discussion: The serial ports are set by default to 9600,8,1,N (9600 baud, 8 data bits, 1 stop bit, no parity). Use the C00 command to change the port settings. (The number of stop bits cannot be changed.)
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-5
Page 52
The new settings will take effect only after a power off/on cycle or a RESET command occurs. Example: C0050^ Sets the ports to 9600 baud, 8 data bits, no parity.
D10
Set Download ID Syntax: D10xxxxxxxxrs Arguments: xxxxxxxx - Eight-character alphanumeric ID for the download. Discussion: Sets a download ID so you can later request from the ACU the ID of the last download it received. For instance, if there several .dld files each holding different groups of badges, the D10 command can get the ID of the download that was last sent to an ACU. Example: D10DL000023^ Sets the download ID to DL000023.
D20
Get Download ID Syntax: D20rs Arguments: None. Discussion: Gets the download ID from an ACU, which was previously set by the last download using the D10 command. The ACU responds with a DI00 message. Example: D20^
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-6
Page 53
LAP01
Set Anti-passback Enable Syntax: LAP01ars Arguments: a - 0 = disable anti-passback, 1 = enable anti-passback Discussion: This feature, if enabled, disallows a second access by a particular badge on reader A if the unit has not yet recorded a swipe by that badge on reader B. Example: LAP011^ Enables anti-passback mode.
LDA01
Set Digital Inputs Active/Inactive Syntax: LDA01ars Arguments: a - 0 = disable digital inputs, 1 = enable digital inputs. Discussion: This command enables or disables the digital inputs. Setting a to 1 enables the inputs and 0 disables them. Any other value is ignored. Example: LDA011^ Enables digital inputs.
LPB01
Set Beeper Enable Syntax: LBP01nrs Arguments:
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-7
Page 54
n - 0 = Disable on-board beeper. 1 = Enable on-board beeper. Discussion: The on-board beeper is sounded during validation badge swipes, alarm states, and while in test mode. Setting the argument n to 0 disables the on-board beeper, setting to 1 enables the beeper. Example: LPB011^ Enables on-board beeper.
LPB03
Set Relay Activation Time in Milliseconds Syntax: LPB03aaaabbbbrs
Arguments: aaaa - Amount of time, in milliseconds, to activate relay D01. Enter 0000 to disable. bbbb - Amount of time, in milliseconds, to activate relay D02. Enter 0000 to disable. Discussion: This command sets the amount of time the DO_1 and DO_2 relays will remain activated after reading a valid badge. The valid time range is from 0.001 to 9.999 seconds. Specify the time, in milliseconds, from 0001 to 9999. The value aaaa sets the time in milliseconds the DO_1 relay will be active. The value bbbb is used for the DO_2 relay. Entering 0000 disables a relay, thus NOT activating it after a valid badge swipe. You must specify 4 digits. Note: See also the LPB04 command below, which lets you set the relay activation time in seconds to allow longer periods of operation. Example: LPB0305000250^ Activates relay D01 for 500 milliseconds and relay D02 for 250 milliseconds.
LPB04
Set Relay Activation Time in Seconds Syntax: LPB04aabbrs Accu-Time® Series 7000 Access Control Unit User’s Guide
3-8
Page 55
Arguments: aa - Amount of time, in seconds, to activate relay D01. Enter 00 to disable. bb - Amount of time, in seconds, to activate relay D02. Enter 00 to disable. Discussion: This command sets the amount of time the DO_1 and DO_2 relays will remain activated after reading a valid badge. The valid time range is from 01 to 99 seconds. Specify the time, in seconds, from 01 to 99. The value aa sets the time in seconds the DO_1 relay will be active. The value bb is used for the DO_2 relay. Entering 00 disables a relay, thus NOT activating it after a valid badge swipe. You must specify 2 digits. Note: See also the LPB03 command above, which lets you set the relay activation time in milliseconds to allow shorter periods of operation. Example: LPB040520^ Activates relay D01 for 5 seconds and relay D02 for 20 seconds.
LPB05
Set Digital IN Timeout Syntax: LPB05aaabbbrs Arguments: aaa - Amount of time, in seconds, to wait for Digital IN 1. Enter 000 to disable. bbb - Amount of time, in seconds, to wait for Digital IN 2. Enter 000 to disable. Discussion: This command sets the amount of time that DI_1 and DI_2 will wait for input until the ACU enters alarm mode and sends an alarm message to the host. aaa is used for DI_1. bbb is used for DI_2. Valid time range is 001 to 999 seconds. Setting an argument to 000 disables timeout for that DI. Example: LPB05010020^ Sets DI_1 wait for input to 10 seconds and DI_2 wait to 20 seconds.
LSA01
Set Master Badge Number
Accu-Time® Series 7000 Access Control Unit User’s Guide
3-9