The text of a manual · part 5 of 39
MINI Hawk Xi High Performance Imager User Manual, pages 41 to 50
Pages 41 to 50 of 388
The original document is the PDF (6.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 Microscan Mini Hawk Xi
Page 41
Using ESP
Send/Receive Options To access Receive, Save, and Default options, click the Send/Recv button. You can also access these options by right-clicking in any of the configuration views.
Receiving From the Send/Recv menu, select Receive Reader Settings. Caution: Do not select this option if you do not want to upload the imager’s settings. For example, if your ESP file has a number of custom settings that you want to maintain and download into the imager, these settings would be lost by choosing Yes. This is useful if you want to receive (upload) the imager’s settings and save them as a file for future use. For example, if your imager has settings that you do not want to change, choosing Yes would allow you to load those settings to ESP and save them in an ESP file for later retrieval. Receiving the imager’s settings will also assure that you will not be subsequently saving any unwanted changes that you or someone else has made previously in ESP.
Saving Send, No Save (<A>) Saves ESP settings to current memory.
Send and Save (<Z>) Activates all changes in current memory and saves to the imager for power-on.
Send and Save as Customer Defaults (<Zc>) Saves your default settings for quick retrieval. This option will be visible only if you have checked Enable ‘Send and Save as Customer Defaults’ in ESP Preferences.
MINI Hawk Xi High Performance Imager User Manual
2-15
Page 42
Send/Receive Options
Defaulting When you select Default Current Menu Settings or Default all ESP Settings, you are only defaulting the ESP settings.
Advanced Options Send Current View This is the same as Save to Reader > Send No Save except that only the commands in the current configuration tree are sent.
Send Current Command This is the same as Send Current View, except that it saves only the command that is currently selected.
Add/Remove Exception After you perform a Receive Reader Settings command1 and you click on the Add Exception option, you may see a list of serial commands. These are commands that may be in your imager’s firmware, but not included in, or different from, your current version of ESP. You can edit these commands by double-clicking on them and changing them as needed. It is important to note that these commands will be saved to your imager whenever you send a Save to Reader command, or an <A> or a <Z> command. Also, if there is a corresponding ESP menu item, the ESP Value column for that item will be blank following a Receive Reader Settings command.
1. From the Send/Recv button or by right-clicking in any blank section of a tree control view.
2-16
MINI Hawk Xi High Performance Imager User Manual
Page 43
Using ESP
Using EZ Trax For detailed information about using EZ Trax, refer to the Help menu in EZ Trax software, or the EZ Trax Quick Start Guide, available on the Microscan Tools Drive. For information about how to configure the MINI Hawk Xi for use with EZ Trax, see Setting Up the Imager for EZ Trax in Chapter 5, Read Cycle.
MINI Hawk Xi High Performance Imager User Manual
2-17
Page 44
Using EZ Trax
2-18
MINI Hawk Xi High Performance Imager User Manual
Page 45
3 Communications Contents Communications by ESP .............................................................................................................. 3-2 Communications Serial Commands.............................................................................................. 3-3 Host Port Connections .................................................................................................................. 3-4 Host Port Protocol......................................................................................................................... 3-5 ACK/NAK Options......................................................................................................................... 3-6 Polling Mode Options.................................................................................................................... 3-7 Ethernet ........................................................................................................................................ 3-8 Response Timeout...................................................................................................................... 3-14 LRC Status.................................................................................................................................. 3-15 Protocol Configuration Examples................................................................................................ 3-16 ASCII Character Entry Modifier................................................................................................... 3-17 Preamble..................................................................................................................................... 3-18 Postamble ................................................................................................................................... 3-19
This section explains how to set up communications parameters with the host. With Microscan’s ESP (Easy Setup Program), configuration changes can be made in the ESP menus and then sent and saved to the imager. The user can also send serial commands to the imager via ESP’s Terminal window.
MINI Hawk Xi High Performance Imager User Manual
3-1
Page 46
Communications by ESP
Communications by ESP
Click the Parameters button and then the Communication tab.
To open nested options, single-click the +.
3-2
To change a setting, double-click the setting and use your cursor to scroll through the options.
MINI Hawk Xi High Performance Imager User Manual
Page 47
Communications
Communications Serial Commands Host Port Connections Ethernet Ethernet TCP Ports Host Port Protocol Preamble Postamble Response Timeout LRC ACK/NAK Options Polling Mode Options
<K100,baud rate,parity,stop bits,data bits> <K126,status,IP address,subnet,gateway,IP address mode> <K127,TCP Port 1,TCP Port 2> <K140,protocol,address> <K141,status,preamble characters> <K142,status,postamble characters> <K143,response timeout> <K145,status> <K147,RES,REQ,STX,ETX,ACK,NAK> <K148,RES,REQ,STX,ETX,ACK,NAK>
MINI Hawk Xi High Performance Imager User Manual
3-3
Page 48
Host Port Connections
Host Port Connections The host port can be configured with RS-232 connections. The following settings define the basic transmission speeds and digital standards that ensure common formatting.
Baud Rate, Host Port Usage: Definition: Serial Cmd: Default: Options:
Can be used to transfer data faster or to match host port settings. The rate at which the reader and host transfer data back and forth. <K100,baud rate,parity,stop bits,data bits> 115.2K 0 = 600 1 = 1200 2 = 2400 3 = 4800 4 = 9600 5 = 19.2K 6 = 38.4K 7 = 57.6K 8 = 115.2K 9 = 230K
Parity, Host Port Usage: Definition: Serial Cmd: Default: Options:
Only changed if necessary to match host setting. An error detection routine in which one data bit per character is set to 1 or 0 so that the total number of bits in the data field is either even or odd. <K100,baud rate,parity,stop bits,data bits> None 0 = None 1 = Even 2 = Odd
Stop Bits, Host Port Usage: Definition: Serial Cmd: Default: Options:
Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. <K100,baud rate,parity,stop bits,data bits> One 0 = One 1 = Two
Data Bits, Host Port Usage: Definition: Serial Cmd: Default: Options: 3-4
Only changed if necessary to match host setting. One or two bits added to the end of each character to indicate the end of the character. <K100,baud rate,parity,stop bits,data bits> Eight 0 = Seven 1 = Eight MINI Hawk Xi High Performance Imager User Manual
Page 49
Communications
Host Port Protocol Usage:
In general, the point-to-point protocols will work well in most applications. They require no address and must use RS-232 communications standards. Definition: Protocols define the sequence and format in which information is transferred between the reader and the host. Serial Cmd: <K140,protocol,address> Default: Point-to-Point Options: 0 = Point-to-Point 4 = ACK/NAK 5 = Polling Mode Note: In all protocol modes, the preamble <K141> and postamble <K142> character strings can be used to frame the decode data, and both are included in calculating the LRC (Longitudinal Redundancy Check).
Point-to-Point (Standard) Usage: Definition: Serial Cmd:
Used only with RS-232. Standard Point-to-Point requires no address and sends the data to the host whenever it is available, without a request or handshake from the host. <K140,0>
ACK/NAK Definition: Serial Cmd:
See the ACK/NAK Options command <K147>. <K140,4>
Polling Mode Definition: Serial Cmd:
See the Polling Mode Options command <K148>. <K140,5>
Poll Address Serial Cmd: Default: Options:
<K140,protocol,address> 1 1 to 50 1 = Poll address 0x1C, Select address 0x1D 2 = Poll address 0x1E, Select address 0x1F ... 50 = Poll address 0x7E, Select address 0x7F
MINI Hawk Xi High Performance Imager User Manual
3-5
Page 50
ACK/NAK Options
ACK/NAK Options Definition:
Serial Cmd:
These parameters take effect for ACK/NAK <K140,4> on the main RS-232 port and are completely independent of the Polling Mode Options <K148>. The imager always follows the protocol in both directions (to and from the host). There is no option to disable it from either direction. <K147,RES,REQ,STX,ETX,ACK,NAK>
RES-NAK Defaults RES: (Reset) REQ: (Request) STX: (Start of Text) ETX: (End of Text) ACK: (Acknowledge) NAK: (Negative Acknowledge)
00 (disabled) 00 (disabled) 00 (disabled) 00 (disabled) 06 15
The following are general outlines of the ACK/NAK protocol. Items that are framed by brackets ( [ ] ) can either be disabled or enabled. LRC does not include STX, but it does include preamble, postamble, and ETX.
Symbol Data Output TX to host: [STX] [preamble] SYMBOL DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, or timeout (waiting for more data) are detected (if REQ is disabled) depending on what is enabled.
Commands from Host to Imager TX to Imager: [STX] <command> [ETX] [LRC] Response from Imager: ACK/NAK. Sent when LRC, ETX, or command-ending angle bracket ‘>’ are received, depending on what is enabled.
Command Response from Imager to Host TX to host: [STX] [preamble] COMMAND RESPONSE DATA [postamble] [ETX] [LRC] Response from host: ACK/NAK. Sent when LRC, ETX, postamble, command-ending angle bracket ‘>’, or timeout (waiting for more data) are detected, depending on what is enabled. As with Polling Mode <K140,5>, the imager can optionally perform the REQ and RES event sequences in ACK/NAK mode. If the sender does not receive an ACK or NAK, it will send REQ to request such a response (if enabled). When the sender receives an ACK, too many NAKs, or times out (if already enabled), it will send a RES (if enabled) to terminate the transaction. Note: See ACK/NAK Data Flow Examples for sample ACK/NAK communication scenarios.
3-6
MINI Hawk Xi High Performance Imager User Manual