The text of a manual · part 25 of 25
AI1620 SmartPass System Guide, pages 241 to 246
Pages 241 to 246 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 241
E Using Error Correcting Protocol
Page 242
Page 243
Using Error Correcting Protocol
E
This appendix gives helpful information about using Error Correcting Protocol (ECP) and, in particular, how to escape from an ECP “time-out” loop. The SmartPass software user should be thoroughly familiar with the description of ECP given in Chapter 6, “Communications Protocols,” in this manual.
Communications in ECP Under certain conditions, communications between the host and SmartPass may be lost temporarily. The reader or host is sending out a message and waiting for an acknowledgment. When the acknowledgment is not received, the message is sent again. Often the first indication that the SmartPass software is in an ECP “loop” is when the user/technician sees a recurring display of the same message repeated over and over again on the monitor. During such a loss of communications, a large number of tag IDs may be acquired and stored in the buffer which holds as many as 195 timestamped tag reads. To escape this repeat loop and safely move the data to the host application, each transmission must be acknowledged, the buffer cleared of any stored and unacknowledged reads, and communications restored. Once the buffer has been cleared, the user may then take the reader out of ECP and/or change the timeout factor to be able to key in commands manually within the allowed time. Since ECP operates very quickly (about 4 milliseconds), it is difficult to type in the necessary commands within the allowed time. Meta keys may be set in a terminal emulator (ProComm Plus, for example) to enter commands manually within the allowed time.
Setting Up Meta Keys To set up meta keys, the user must follow the instructions for the terminal emulation program being used. Any value can be assigned to a meta key entry. Table E-1 lists example meta keys and their assigned values that can be used for escaping from an ECP loop. In Table E-4 the value corresponds to the ECP host response or host message. If the value is used for acknowledgment, the format is:
<som><seq><ack><crc><eom> where:
<som>
Start-of-message (ASCII # character)
<seq>
An echo of the sequence number received from SmartPass. The sequence number should correspond to the data message that is being acknowledged by the host.
E-3
Page 244
AI1620 SmartPass System Guide
<ack>
ASCII @ character for ACK response
<crc>
SmartPass accepts 4 ASCII < ` > characters (60 hex) as a wild card CRC in lieu of a valid 4-character CRC to facilitate testing and diagnostic checkout.
<eom>
End-of-message character (ASCII CR)
If the value is used for a host command, the ECP format is:
<som><seq><cmd><crc><eom> where:
<som>
Start-of-message (ASCII # character)
<seq>
The sequence number. In this case, 0.
<cmd>
Command number
<crc>
4 ASCII < ` > characters (60 hex as a wild card CRC in lieu of a valid 4-character CRC)
<eom>
End-of-message character (ASCII CR)
Table E-4 Example meta keys and values Key
Value
Used For
ALT1
#0@````^M
Acknowledgment
ALT2
#1@````^M
Acknowledgment
ALT3
#2@````^M
Acknowledgment
ALT4
#3@````^M
Acknowledgment
ALT5
#4@````^M
Acknowledgment
ALT6
#5@````^M
Acknowledgment
ALT7
#6@````^M
Acknowledgment
ALT8
#001````^M
Switches to command mode
ALT9
#0610````^M
Switches to basic protocol
ALT0
#0801````^M
Saves parameters to EEPROM
In the examples above, meta keys ALT1 and ALT2 are used to acknowledge the reader’s sign-on message and copyright message line. Meta keys ALT3 through ALT7
E-4
Page 245
Using Error Correcting Protocol
E are used to acknowledge the first 5 tag reads in the buffer. Meta keys ALT8 and ALT9 are used to switch the reader into command mode and disable ECP by switching the reader into basic communication protocol. Note: The communication mode cannot be changed with data still in the reader’s buffer, so additional meta keys may have to be programmed with additional acknowledgment sequences (cycling hex digits 0-9 and A-F) if more tag reads remain in the buffer.
Understanding Sequence Numbers Tag reads are stored in the buffer in one of two numbering schemes, depending on software version. In the sequential numbering scheme, tags reads are assigned consecutive sequence numbers, for example 1, then 2, then 3, and so on. In the even numbering scheme, tag reads are assigned only even numbers, for example 2, then 4, then 6, and so on. With consecutive sequence numbers, the first tag read line would be displayed as #1DNT123457TimeDate (for example) and would scroll continuously until acknowledged. The next tag read line would then be displayed as #2DNT123456 (for example) and would scroll until acknowledged. With even sequence numbers, the display would first be #2DNT123457Time/Date and then the next line displayed would be #4DNT123456, the next #6DNT123455, and so on. You must acknowledge the sequence number that is displayed.
Reader Power Down or Power Loss In the event of power loss or power down while the reader is in ECP, the buffer display will start with #0modelAI1620Ver2.50/N89001ABCD (for example). After acknowledgment of the first message line, then the reader will display #1CopyrightAMTECH CORPABCD. After acknowledgment of the second entry, the third entry will be a tag read line beginning with the start of message character and sequence number.
Escaping from an ECP Loop To escape from an ECP “loop” perform the following actions 1.
Acknowledge the reader’s sign-on message and the tag reads in the buffer by pressing the meta key that corresponds to the message line on the screen. The sequence number should correspond to the data message that is being acknowledged.
2.
When the buffer is cleared of all tag reads, switch to command mode by pressing the meta key ALT8 (or any meta key that you have programmed with the correct command value).
3.
Switch to basic communications protocol by pressing the meta key ALT9.
E-5
Page 246
AI1620 SmartPass System Guide
Changing the Time-out Value The user can also configure the reader for an ECP timeout value of approximately 10 seconds by entering, while in command mode, the command #612NN where: NN is a hexadecimal number that specifies the timeout interval. In this case, use C8 to specify approximately 10 seconds. A meta key with the following syntax can also be created:
#0612C8‘‘‘‘^M This meta key changes timeout value to approximately 10 seconds. Having ten seconds allows the user enough time to enter commands to clear the buffer of as many tag reads as necessary, without creating many meta keys.
E-6