The text of a manual · part 13 of 25
AI1620 SmartPass System Guide, pages 121 to 130
Pages 121 to 130 of 246
The original document is the PDF (4.1 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 Intermec AI1620 and Intermec SmartPass Reader AI1620
Page 121
Commands
7
Communications Port Control, Command Group 1 Group 1 commands configure the parameters used by SmartPass to communicate with a host computer or terminal. These commands set baud rate, stop bits, parity, and end-of-line delay.
100N Select Baud Rate Command 100N selects the reader baud rate. The factory default setting is 9600 baud. The N variable specifies the baud rate as follows: Command
Baud Rate Selected
1000
110
1001
300
1002
1200
1003
2400
1004
4800
1005
9600 (factory default)
1006
19.2 K
The reader transmits Error if the currently selected ECP timeout is not sufficient for the requested baud rate. The timeout must be increased before the select baud rate command can be retransmitted. Reader message: Done or Error
101N Select Stop Bits Command 101N selects the number of stop bits for reader character transmission. The factory default setting is 1 stop bit. The N variable specifies the number of stop bits as follows: Command
Stop Bits Selected
1010
1 (factory default)
1011
2
Reader message: Done
7-7
Page 122
AI1620 SmartPass System Guide
102N Select Parity Command 102N selects the reader parity setting. The factory default setting is parity disabled. The N variable specifies parity as follows: Command
Data Bits
Parity Selected
1020
8
Disable parity (factory default)
1021
7
Select even parity
1022
7
Select odd parity
Reader message: Done
Real-Time Clock, Command Group 2 Group 2 commands control the real-time clock which maintains the SmartPass internal time and date. This time and date can be appended to IDs, error messages, and sensor input reports. An internal battery supports the clock, so time and date are preserved if main power is lost.
20 Set Time Command 20 sets the time. Enter the time in the proper format: two-digit decimal entries with no spaces between characters and using colons as delimiters. The entry format is as follows: 20HH:MM:SS or 20HH:MM:SS:hh where: HH represents hours (00 to 23).
MM represents minutes (00 to 59).
SS represents seconds (00 to 59).
hh represents hundredths of a second (00 to 99).
:
is the time delimiter.
If hundredths of a second are not specified, the reader sets the hundredths register to 00. Reader message: Done or Error
7-8
Page 123
Commands
7
21 Set Date Command 21 sets the date. Enter the date in the proper format: two-digit decimal entries with no spaces between characters and using forward slashes “/” as delimiters. The entry format is as follows: 21MM/DD/YY where: MM represents the month (01 to 12).
DD represents the day (01 to 31).
YY represents the last two digits of the year (00 to 99).
/ is the date delimiter.
Reader message: Done or Error
22 Display Time and Date Command 22 displays the reader’s current time and date. One space separates the time and the date output. Reader message: HH:MM:SS.hh MM/DD/YY where: HH represents hours.
MM represents minutes.
SS represents seconds.
hh represents hundredths of seconds.
:
is the time delimiter.
MM represents the month.
DD represents the day.
YY represents the last two digits of the year.
/ is the date delimiter.
Append Information, Command Group 3 Group 3 commands append useful information to reader transmissions, such as time and date, IDs, error messages, and sensor input reports. The reader is set at the factory to append time and date to all IDs. Auxiliary information, such as reader number, antenna number (or manual entry code), number of times the previous tag was read, and sensor input status can also be appended to the ID using the Group 3 commands.
7-9
Page 124
AI1620 SmartPass System Guide
30N Append Time and Date Selection This command selects the option of appending the time and date to transmitted IDs, error messages, presence without tag reports, and input status change reports. The factory default setting is time and date appended (command 302). The reader returns an Error message if its tag buffer contains data. The reset reader command 63 may be transmitted to clear the buffer; however, tag ID data will be lost. If this is unacceptable, allow the buffer to empty before re-issuing append time and date command 30N. Command
Append Option
300
No time and date appended
302
Time and date appended (factory default)
The reader transmits messages with time and date appended as follows. One space separates the time from the date. <string>&<HH:MM:SS.hh MM/DD/YY> where: string is a tag ID, error message, or report.
& separates <string> from the time and date.
HH:MM:SS is the time delimiter.
MM/DD/YY is the date delimiter.
Reader message: Done or Error
31N Append Auxiliary Information Selection This command selects the option of appending auxiliary information to transmitted IDs, presence without tag reports, and input status change reports. Auxiliary information is not appended to error messages. The factory default setting is no auxiliary information appended. Command
Append Option
310
No auxiliary information appended (factory default)
311
Auxiliary information appended
The reader returns an Error message if its tag buffer contains data. The reset reader command 63 may be transmitted to clear the buffer; however, tag ID data will be lost. If this is unacceptable, allow the buffer to empty before re-issuing append auxiliary information command 31N.
7-10
Page 125
Commands
7
The reader transmits messages with auxiliary information appended as: <message data>%<xx-y-zz-q> where: % separates the auxiliary information and signals the host computer that auxiliary information is appended.
xx is the reader ID (value can be set with command 60NN).
- is the auxiliary information delimiter.
y is the antenna number (value fixed at 0).
zz is the number of reads of the previous tag (00 to FF hexadecimal).
q is the current status of input0 and input1 (0 to 3). Refer to “526 Display I/O Status” on page 7-18. These values are inverted if input inversion is enabled with command 6941.
Reader message: Done or Error
ID Filtering, Command Group 4 Group 4 commands set criteria for filtering (buffering or discarding) ID codes. These commands are useful for eliminating duplicate ID codes and filtering unwanted IDs obtained from fringe areas of the SmartPass read zone.
40 Transmit All ID Codes Command 40 instructs the reader to transmit all IDs without regard for uniqueness. Note: Command 40 is for diagnostic purposes only. The tag buffer must be empty before the reader accepts this command. After diagnostics are complete, reinstate the uniqueness check using select unique ID code criteria (command 410N). Reader message: Done or Error
410N Anti-Passback (Select Unique ID Code Criteria) This command instructs the reader to buffer and transmit ID codes according to the following test: an ID is buffered if, in the time interval since the new ID was last received, previously decoded IDs have changed value at least N +1 times, or the
7-11
Page 126
AI1620 SmartPass System Guide uniqueness timeout has occurred. IDs that do not pass the test are not buffered. The factory default setting is command 4100, which selects a separation of one ID. Command
Uniqueness Criteria
4100
Separation of 1 ID (factory default)
4101
Separation of 2 IDs
Each time the reader receives a tag ID, it compares the ID with the contents of a comparison register. This register contains the following two items: Item 1
Most recently acquired ID
Item 2
Second-most recent ID (if different from item 1)
When the uniqueness filter is set to a separation of one ID, the newly acquired ID is transmitted only if it is different from item 1. When the uniqueness filter is set to a separation of two IDs, the newly acquired ID is transmitted only if it is different from both items 1 and 2. Note: A new ID can fail the filter test and not be transmitted; however, it remains stored in the comparison register. The uniqueness test has a 2-minute time limit. If an ID is buffered, it will not be accepted again unless it arrives at the reader more than 2 minutes from the previous arrival or until the receipt of one or more other IDs reset the uniqueness. Reader message: Done
43 Buffer All ID Codes Command 43 buffers all acquired ID codes. It effectively cancels any uniqueness criteria previously set by select unique ID code criteria command 410N. Note: Command 43 is for diagnostic purposes only. After diagnostics are complete, reset the select unique ID code criteria using command 410N. Reader message: Done
450 Disable Wiegand Mode (Factory Default) Command 450 is a default set in the factory to disable Wiegand mode. Reader message: Done
7-12
Page 127
Commands
7
451 Enable Wiegand Mode Command 451 enables Wiegand mode, which allows the reader to transmit data in a format that emulates the output of a magnetic card reader. If Wiegand mode is enabled, the reader will transmit Wiegand-formatted data through the Wiegand interface and ASCII data through the serial port interface. In Wiegand mode, the reader outputs data from Wiegand-programmed tags via the Wiegand interface (the red/blue pair for data1/data0; yellow/black pair for logic ground). Tags that are not Wiegand-formatted will not be transmitted through the Wiegand interface. Reader message: Done or Error
452 Disable Tag Translation Mode (Factory Default) Command 452 disables tag translation mode. Incoming full-frame tags will be directly converted to ASCII. They will not be translated from Association of American Railroads (AAR) and American Trucking Associations (ATA) format to ASCII. Reader message: Done
453 Enable Tag Translation Mode Command 453 enables the translation of tags in AAR and ATA formats. Specific data fields, such as owner ID and car number, will be extracted from these tags, translated according to AAR or ATA standards, and converted to ASCII. Tags that are not programmed in AAR or ATA format will be directly converted to ASCII. The reader will not attempt to translate data from half-frame or dual-frame tags. Reader message: Done
46NN Set Wiegand Retransmit Interval Command 46NN sets the time delay to control the reader retransmission of Wiegand data of a tag remaining in the read zone. where: NN where NN is a hexadecimal code from 01 to FF
For example, 10 = 16 seconds and FF = 255 seconds. The factory default is 4601 (1 sec). Uppercase or lowercase characters are allowed for NN; for example, hex digits A to f. Reader message: Done or Error
7-13
Page 128
AI1620 SmartPass System Guide
48N Select Dual-Frame Processing Mode Command 48N selects the dual-frame tag processing mode. Dual-frame tags consist of an A frame and a B frame. The dual-frame processing mode selected determines if the A or B frame will be used to reset uniqueness. It also specifies whether the A or B or both frames will be transmitted to the host. The handshake count for a dual-frame tag equals the number of A frame handshakes plus the number of B frame handshakes. where: N
= 0 to 3
0 reset uniqueness on A, transmit A; B frames are counted and then discarded (factory default)
1 reset uniqueness on B, transmit B; A frames are counted and then discarded
2 reset uniqueness on A, transmit both A and B
3 reset uniqueness on B, transmit both A and B
Reader message: Done
If both frames of a dual-frame tag are transmitted to the host, the data is formatted as follows: A...A represents A frame data (20 characters)
B...B represents B frame data (20 characters)
A and B frame data strings are separated by one blank character. Command 302 can be used to append date and time data, and command 311 can be used to append auxiliary information. Examples: A...A B...B A...A B...B&HH:MM:SS.hh MM/DD/YY A...A B...B%nn-0-hh-q A...A B...B&HH:MM:SS.hhMM/DD/YY%nn-0-hh-q
7-14
Page 129
Commands
7
Reader Status, Command Group 5 Group 5 commands provide status reports on the parameters and operation of the reader.
505 Display Software Version Command 505 displays the reader model number, software version information, and assigned serial number. Reader message: Model SP2-ACC Ver X.XXD SNYYYYYY where: X.XXD is the version number.
YYYYYY is the serial number expressed in decimal digits (0 to 9) with the first two digits representing the year.
506 Display Hardware Configuration Information Command 506 displays hardware configuration information stored into the reader memory during system testing. Reader message: An ASCII string from 1 to 20 characters in length
520 Display Power Fail Bit Command 520 displays the value of the reader power fail bit. The power fail bit changes from 0 to 1 when power to the reader is interrupted. To reset the bit, use reset reader command 63 or reset power fail bit command 65. On initial power-up, the host transmits one of these two commands to clear the power fail bit. Reader message: PWRB P<0 to 1>R0 where: P0 no power failure detected
P1 power failure detected
R0 not applicable to SmartPass
521 Display Reader ID Number Command 521 displays the reader ID that is sent in the auxiliary data field. Reader message: RDID xx
7-15
Page 130
AI1620 SmartPass System Guide where:
xx
01 to FF (hexadecimal)
522 Display Communications Port Parameters Command 522 displays the selected communications port parameters, including the baud rate (100N), the number of stop bits (101N), the parity scheme (102N), and the end-of-line delay. Reader message: MAIN B<0 to 6> S<0 to 1> P<0 to 2> D0 where: B0
110 baud
B1
300 baud
B2
1200 baud
B3
2400 baud
B4
4800 baud
B5
9600 baud (factory default)
B6
19.2 kbps
S0 one stop bit (factory default)
S1 two stop bits
P0 no parity (factory default)
P1 even parity
P2 odd parity
D0
00 ms end-of-line delay (fixed)
One space is required between each value. For example, if factory default settings are assigned, the reader message is: MAIN B5 S0 P0 D0
Indicating 9600 baud, one stop bit, no parity, and 0 ms end-of-line delay Note: The information transmitted in response to command 522 applies to data and command mode operation only. While operating in download mode, default communication parameters are always used.
524 Display Appended Information Status Command 524 displays the information being appended to the reader transmissions. Appended information is selected using command 30N to append time and date selection and command 31N to append auxiliary information.
7-16