The text of a manual · part 15 of 25
AI1620 SmartPass System Guide, pages 141 to 150
Pages 141 to 150 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 141
Commands
7
613 Select Data Inquiry Protocol Command 613 selects the data inquiry protocol. Refer to “Data Inquiry Protocol” on page 6-4 for more information. Reader message: Done or Error
614N Select Flow Control Option This command selects the flow control option for reader-to-host communications. The factory default setting is software flow control (XON/XOFF) enabled. In download mode, flow control is not host-selectable; it is fixed at the default setting. However, during data mode and command mode operation, the following flow control options are available. Command
Flow Control Option
6140
Disable flow control
6141
Enable software flow control (factory default)
6142
Enable hardware flow control
Reader message: Done
If the reader is configured for software flow control (XON/XOFF), it stops transmitting if it receives an XOFF character (command 13H). It will not resume transmitting until it receives an XON character (command 11H). If the reader is configured for hardware flow control (RTS/CTS, request to send/clear to send), it stops transmission if it detects that the CTS line is no longer asserted. It will resume transmission when this line is asserted again. Note: Amtech recommends that XON/XOFF flow control be disabled while using the ECP.
6160 Disable Buffer Control Mode (Factory Default) Command 6160 is used to disable buffer control. Buffer control is an ECP option that prevents unsolicited (asynchronous) reader transmissions. If buffer control is not active, the reader transmits data to the host as soon as the data is acquired. The host must acknowledge the data according to the ECP acknowledgment/negative acknowledgment (ACK/NAK) protocol. Refer to command 6161 for more information. Reader message: Done
7-27
Page 142
AI1620 SmartPass System Guide
6161 Enable Buffer Control Mode Command 6161 is used to enable buffer control. Buffer control is an ECP option that prevents asynchronous reader transmissions. When buffer control is enabled using command 6161, the reader transmits only in response to command 06, transmit buffer entry. The exception to this rule occurs on startup when the reader transmits its twoline sign-on message asynchronously. The following commands are used for buffer control: Number
Command Description
Message
06
Transmit buffer entry
Done, error, or <message>
535
Display buffer control status where x= 0 for disabled
BCM x
1 for enabled 6160
Disable buffer control mode (default)
Done
6161
Enable buffer control mode
Done
If BCM is enabled, the host must request tag IDs and reports from the reader using the transmit buffer entry command 06. If the reader receives this command and it has data in its buffer, it will transmit the buffered message of highest priority (tag IDs first and then reports). If the reader’s buffer is empty, it will transmit the Done message instead. The reader will return an Error message if it receives command 06 when BCM is not enabled. If buffer control is enabled, the reader will not support ECP ACK or NAK messages from the host. Since all messages are transmitted in response to a host command, acknowledgment from the host is not required. Instead, the ECP sequence numbers are used to ensure data integrity. If the host receives an erroneous reader message, it should retransmit command 06, transmit buffer entry, with the same sequence number. This will cause the reader to search and replace its previous message. If buffer control is enabled, the reader will not use the timeout to trigger retransmission of data because in buffer control, reader data is transmitted only when requested by the host. Reader message: Done
7-28
Page 143
Commands
7
Buffer Control Error Messages The error messages shown in the following table are transmitted based on the content level of the tag buffer. These messages are transmitted in data mode and command mode. They will not be transmitted if uniqueness checking has been disabled to transmit all IDs (command 40) or buffer all IDs (command 43). Error Message
Buffer Status
Error02
Tag buffer is full. Incoming IDs cannot be buffered. An overflow of the tag buffer can occur if SmartPass is left in command mode or if flow control has disabled transmission. A buffer overflow results in subsequent tag IDs being lost.
Error03
Tag buffer has been partially cleared and new IDs are once again being stored.
Error04
Tag buffer has filled to 75%.
Error05
Tag buffer has emptied to 50%.
If the buffer fills up and then transmission is re-enabled, the sequence of transmitted reports would be as follows:
Error 04
75% full
Error 02
100% full
Error 03 emptied to less than 100%
Error 05 emptied to 50% or less
6170 Disable Echo Mode Command 6170 disables the reader’s echo of received host commands. If operating in basic protocol or data inquiry protocol, the reader echoes by default. As the reader receives a host command, it echoes each character of the command. Once the entire command has been received and processed, the reader transmits its response. If echoing is disabled with command 6170, the reader will not echo the command but only transmits its response. The reader never echoes while in ECP or download mode operation. Reader message: Done
7-29
Page 144
AI1620 SmartPass System Guide
6171 Enable Echo Mode (Factory Default) Command 6171 enables the reader to echo received host commands. Refer to command 6170 for more information. Reader message: Done or Error
620N Output Control This command provides direct control of two output lines that may be used to operate external hardware, such as gates or traffic lights. Receipt of any 620N command automatically disables predefined output mode command 621. The value for N specifies the output status requested as follows: Command
Output Control Option
6200
Turn off both output ports
6201
Turn off output0 on, output1
6202
Turn off output1 on, output0
6203
Turn on both output ports
Reader message: Done
621 Predefined Output Control (Factory Default) Command 621 configures the reader for predefined output mode. In this mode, both output lines, output0 and output1, are automatically asserted upon receipt of a valid unique tag ID. The output line remains asserted for the time specified by output pulse duration (command 67N). Any direct control command (620N) automatically disables the predefined output mode. Reader message: Done
63 Reset Reader Command 63 resets the power fail bit, clears all buffers, resets tag uniqueness, turns off both output lines, transmits the sign-on message, and returns to the data mode. Note: This command does not reset any other configuration parameters.
7-30
Page 145
Commands
7
Reader message: Model SP2-ACC Ver X.XXD SNYYYYYY Copyright 1996 AMTECH Corp.
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.
Caution All buffered data is lost when command 63 is executed.
640N RF Control This command directly controls the RF module. The N value controls the RF power as follows: Command
RF Power
6400
Turns off RF channel
6401
Turns on RF channel
Either command disables RF-by-input control command 641. Reader message: Done
641 Select RF-by-Input Control (Factory Default) Command 641 configures the reader for RF-by-input control. The reader automatically turns on RF when it detects a presence through sense0. The reader turns off RF according to the selected RF control algorithm command 692N. Reader message: Done
642NN Select RF Operating Frequency Caution The authorized frequency band in the U.S. is 902 to 904 MHz and 909.75 to 921.75 MHz. Contact Amtech if your application requires a frequency outside of this range. Command 642NN sets the reader RF frequency from 902 to 928 MHz in 500-kHz steps, where NN is a hexadecimal value from 00 to 34. After the reader’s frequency is set, the value is stored in battery-backed RAM (non-volatile RAM, NVRAM). This value is NOT altered by power-down, loading default parameters, or a flash download
7-31
Page 146
AI1620 SmartPass System Guide of new software (there is no default frequency value). It can only be changed by issuing command 642NN. Additionally, if the NVRAM becomes corrupted, the correct operating frequency cannot be guaranteed. In this circumstance, the RF section will shut down and the reader will send an error message to the host (error 06). Until the frequency is reset using command 642NN after NVRAM corruption, the unit will display the same error message every time it is powered up or if an attempt is made to enable the RF (by host or by external sensor). The commands to set the RF frequency are listed in. Table 7-1 RF Frequency Commands
7-32
Command
RF Frequency (MHz)
Approved for Use in the U.S.
64200
902
Yes
64201
902.5
Yes
64202
903
Yes
64203
903.5
Yes
64204
904
Yes
64205
904.5
No
64206
905
No
64207
905.5
No
64208
906
No
62409
906.5
No
6420A
907
No
6420B
907.5
No
6420C
908
No
6420D
908.5
No
6420E
909
No
6420F
909.5
No
64210
910
Yes
64211
910.5
Yes
64212
911
Yes
64213
911.5
Yes
Page 147
Commands
7
Table 7-1 RF Frequency Commands
Command
RF Frequency (MHz)
Approved for Use in the U.S.
64214
912
Yes
64215
912.5
Yes
64216
913
Yes
64217
913.5
Yes
64218
914
Yes
64219
914.5
Yes
6421A
915 (factory default)
Yes
6421B
915.5
Yes
6421C
916
Yes
6421D
916.5
Yes
6421E
917
Yes
6421F
917.5
Yes
64220
918
Yes
64221
918.5
Yes
64222
919
Yes
64223
919.5
Yes
64224
920
Yes
64225
920.5
Yes
64226
921
Yes
64227
921.5
Yes
64228
922
No
64229
922.5
No
6422A
923
No
6422B
923.5
No
6422C
924
No
6422D
924.5
No
6422E
925
No
7-33
Page 148
AI1620 SmartPass System Guide
Table 7-1 RF Frequency Commands
Command
RF Frequency (MHz)
Approved for Use in the U.S.
6422F
925.5
No
64230
926
No
64231
926.5
No
64232
927
No
64233
927.5
No
64234
928
No
Reader message: Done
643NN Select RF Operating Range (Distance) Command 643NN selects the read range where NN is a hexadecimal value from 00 to 1F; the range increases with increasing NN value. The RF output range can be adjusted for 32 discrete values, shown in the following list: 00 01 02 03 04 05 06 07
08 10 09 11 0A 12 0B 13 0C 14 0D 15 0E 16 0F 17
18 19 1A 1B 1C 1D 1E 1F where 00 is the shortest range and 1F is the longest range. The default range value is 1F. Reader message: Done
65 Reset Power Fail Bit Command 65 resets the power fail bit to 0. The bit changes from 0 to 1 when power is restored to the reader. Upon reader power-up, the host transmits either command 65 or the reset reader command 63 to properly initialize this bit. The current state of the power fail bit may be displayed. Refer to “520 Display Power Fail Bit” on page 7-15 for more information. Reader message: Done
7-34
Page 149
Commands
7
660 Test External RAM Command 660 performs a read/write test of external data memory (32 K). The contents of RAM are not disturbed by this test. Command 660 updates information displayed by the display diagnostic results command 661. Reader message: Done Error passed RAM test failed RAM test
661 Display Diagnostic Results Command 661 displays the results of previously performed diagnostics. The information displayed by this command is updated when the reader receives any diagnostic command. This information is preserved after power-down. Executing command 669 updates every field in this message. If diagnostics have never been performed, the information displayed by this command is not predictable. Reader message: DIAG R<0 to 1> E<0 to 1> D<0 to 1> C<0 to 1> where: R0 boot ROM OK
R1 boot failed
E0 flash memory OK
E1 flash memory failed
D0 external RAM OK
D1 external RAM failed
C0
RTC OK
C1
RTC failed
664 Test Real-Time Clock Command 664 tests the real-time clock (RTC). The reader tests the RTC by retrieving both the date and time and verifying their validity. This command updates information displayed by the display diagnostic results command 661. Reader message: Done Error real-time clock OK real-time clock failed
7-35
Page 150
AI1620 SmartPass System Guide
667 Verify Boot ROM Checksum Command 667 calculates and verifies the boot ROM checksum. This command updates information displayed by the display diagnostic results command 661. Reader message: Done Error boot ROM OK boot ROM failed
668 Verify Flash Memory Checksum Command 668 calculates and verifies the flash memory checksum. This command updates information displayed by the display diagnostic results command 661. Reader message: Done Error flash memory OK flash memory failed
669 Perform All Diagnostics Command 669 performs a test on each of the following items:
•
External RAM
•
Boot ROM
•
Flash memory
•
Real-time clock
This command also initiates a system check tag operation. This command updates information displayed by the display diagnostic results command 661. Reader message: Done all tests OK
Error one or more failures
Use command 661 to display the diagnostic results.
66F Load Default Operating Parameters Command 66F loads all the factory default operating parameters. Refer to Table 4-7 on page 4-13 for a listing of the defaults. Reader message: Done all parameters loaded OK
Error a parameter load failed
67N Set Output Pulse Duration Command 67N sets the output pulse duration for the predefined output mode command 621. This command specifies the length of time that output lines(s) will be asserted upon receipt of a valid and unique tag ID. The factory default setting is 228
7-36