The text of a manual · part 6 of 39
MINI Hawk Xi High Performance Imager User Manual, pages 51 to 60
Pages 51 to 60 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 51
Communications
Polling Mode Options Definition:
Serial Cmd:
These parameters only take effect for Polling Mode <K140,5> on the main RS-232 port and are completely independent of the ACK/NAK Options <K147>. The values of protocol characters can be changed, but the protocol events cannot be disabled. The polling mode address is configured in the <K140> command (see Poll Address). If RS-232 is enabled, <K102,0>, Polling Mode will operate as a Point-toPoint polling protocol. This is because the RS-232 transmitter is always left on when enabled. <K148,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)
04 05 02 03 06 15
Note: See Polling Mode Data Flow Examples for sample Polling Mode communication scenarios.
MINI Hawk Xi High Performance Imager User Manual
3-7
Page 52
Ethernet
Ethernet Enables or disables Ethernet connectivity in the imager.
IP Address Enter the IP address of the imager in this field.
3-8
MINI Hawk Xi High Performance Imager User Manual
Page 53
Communications
Subnet Enter the Subnet address of the imager in this field.
Gateway Enter the Gateway address of the imager in this field.
MINI Hawk Xi High Performance Imager User Manual
3-9
Page 54
Ethernet
IP Address Mode Determines how the imager’s IP address will be defined.
Static In Static Mode, the imager uses the user-defined IP address entered in ESP.
DHCP In DHCP Mode, the imager automatically acquires the IP address, Subnet, and Gateway addresses from a DHCP or BOOTP server.
3-10
MINI Hawk Xi High Performance Imager User Manual
Page 55
Communications
TCP Port 1 One of two TCP ports for Ethernet communication with the imager. The default setting is 2001.
Symbol Data Output Enables or disables decoded symbol data output from the imager.
Extra Symbol Information Enables or disables extra symbol information output from the imager.
Diagnostics Output Enables or disables diagnostics output from the imager.
External Source Processing Mode Enables or disables processing of commands or data from sources external to the imager.
Command Command enables command processing in the imager.
Data Data enables Ethernet TCP Port 1 as a data source port. Note: The data path between in the source port and out the source port is always two-way. Data is copied from source data ports and all those source ports’ data is transmitted to the destination port, and from the destination port to the source port.
MINI Hawk Xi High Performance Imager User Manual
3-11
Page 56
Ethernet
TCP Port 2 One of two TCP ports for Ethernet communication with the imager. The default setting is 2003.
Symbol Data Output Enables or disables decoded symbol data output from the imager.
Extra Symbol Information Enables or disables extra symbol information output from the imager.
Diagnostics Output Enables or disables diagnostics output from the imager.
External Source Processing Mode Enables or disables processing of commands or data from sources external to the imager.
Command Command enables command processing in the imager.
Data Data enables Ethernet TCP Port 2 as a data source port. Note: The data path between in the source port and out the source port is always two-way. Data is copied from source data ports and all those source ports’ data is transmitted to the destination port, and from the destination port to the source port.
3-12
MINI Hawk Xi High Performance Imager User Manual
Page 57
Communications
Search and Configure Mode
Search and Configure Mode is intended primarily for initial setup of an imager in a network. This parameter controls whether or not the imager will respond to ESP’s Search function in the Ethernet TCP/IP connect dialog section of the Connection Wizard:
After the imager is in full use in an application, you may want the imager to continue to appear in the Search response list for future searches. This can help prevent disruption of the system that may occur is ESP were to show only unconfigured units.
Changes to this parameter are saved to NOVRAM and are set to default on power on. A Reset <A> is required for settings to take effect. Important: Once this setting is Disabled, ESP will only be able to connect to the imager if you know the IP address and enter it in the IP Address field of the Ethernet TCP/IP connect dialog. Search and Configure Mode can be re-enabled by defaulting the imager.
Enabled When enabled, Search and Configure Mode will find the imager and settings can be changed.
Timed Window When Timed Window is selected, Search and Configure Mode will find the imager and settings can be changed, but only 60 seconds from the last reset. After 60 seconds, Search and Configure Mode will be disabled. MINI Hawk Xi High Performance Imager User Manual
3-13
Page 58
Response Timeout
Response Timeout Usage: Definition: Serial Cmd: Default: Options:
3-14
Only used when a response is required from the host. The reader can be set to wait indefinitely by setting Response Timeout to zero. The time that the imager will wait before timing out if ACK, NAK, and ETX are enabled, and a host response is expected. <K143,response timeout> 12 (in 1 ms increments) 0 to 255 (A zero (0) setting causes an indefinite wait.)
MINI Hawk Xi High Performance Imager User Manual
Page 59
Communications
LRC Status (Longitudinal Redundancy Check) Usage: Definition:
Serial Cmd: Default: Options:
Used when extra data integrity is required. An error-checking routine that verifies the accuracy of transmissions. It is the exclusive OR of all characters following the STX (start of text) up to and including the ETX (end of text). What this means is that the binary representation of all the characters in a transmission are cumulatively added in a column and each resulting odd integer is assigned a 1 and each even integer a 0 (two 1s = 0, two 0s = 0, a 1 and a 0 = 1). The extra LRC character is then appended to the transmission, and the receiver (usually the host) performs the same addition and compares the results. <K145,status> Disabled 0 = Disabled 1 = Enabled
MINI Hawk Xi High Performance Imager User Manual
3-15
Page 60
Protocol Configuration Examples
Protocol Configuration Examples Point-to-Point (Main Port) <K100,8,0,1,1> <K140,0> <K102,0>
Baud Rate: 115.2K; Parity: None; Stop Bits: 2; Data Bits: 8 Point-to-Point RS-232 enabled
Polling Mode (Main Port) <K100,4,0,1,1> <K140,5,23> <K102,0> <K143,30>
Baud Rate: 9600; Parity: None; Stop Bits: 2; Data Bits: 8 Polling Mode; Address: 23 RS-232 Point-to-Point polling 30 ms Response Timeout
“User-Defined” Polling Mode (Main Port) <K100,4,0,1,1> Baud Rate: 9600; Parity: None; Stop Bits: 2; Data Bits: 8 <K140,5,12> Polling Mode; Address: 12 <K148,,08,09,18,0B,0C,0D> Default RES (0x04), REQ=0x08; EOT=0x09; STX=0x18; ETX=0x0B; ACK=0x0C; NAK=0x0D <K102,0> RS-232 Point-to-Point polling <K143,40> 40 ms Response Timeout
ACK/NAK (Main Port) <K100,9,0,1,1> <K140,4> <K147,,,01,1B,2E,1F> <K102,0> <K143,50>
3-16
Baud Rate: 230K; Parity: None; Stop Bits: 2; Data Bits: 8 ACK/NAK Default RES and REQ (00, disabled); STX=0x01; ETX=0x1B; ACK=0x2E; NAK=0x1F RS-232 enabled 50 ms Response Timeout
MINI Hawk Xi High Performance Imager User Manual