Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 36 of 39

MINI Hawk Xi High Performance Imager User Manual, pages 351 to 360

Pages 351 to 360 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 351

Appendices

Setup 4 RES REQ STX ETX ACK NAK LRC

0x21 ‘!’ 0x3D ‘=’ 0x28 ‘(‘ 0x29 ‘)’ 0x06 0x15 enabled

Transfer 1 HOST_TX IMAGER_TX

(<K141,0>)H ‘ACK’

Transfer 2 HOST_TX IMAGER_TX HOST_TX IMAGER_TX HOST_TX IMAGER_TX

(<K100?>)n ‘ACK’ ‘!’ (<K100,8,0,0,1>)X ‘ACK’ ‘!’

Error Condition Transfer 1 HOST_TX (<K141,0>)H IMAGER_TX ‘ACK’ HOST_TX (<K100?>)n IMAGER_TX ‘ACK’ HOST_TX ‘!’ IMAGER_TX (<K100,8,0,0,1>)X timeout reached... IMAGER_TX ‘=’ timeout reached... IMAGER_TX ‘=’ timeout reached... IMAGER_TX ‘=’ timeout reached... IMAGER_TX ‘!’

MINI Hawk Xi High Performance Imager User Manual

A-27

Page 352

Communications Protocol

Polling Mode Data Flow Examples Setup 1 Address RES REQ STX ETX ACK NAK LRC

0x01 (translates to) Poll Req @ ‘0x1C’, Unit Select @ ‘0x1D’ 0x04 0x05 0x02 0x03 0x06 0x15 disabled

Transfer 1 HOST_TX IMAGER_TX HOST_TX IMAGER_TX HOST_TX

‘RES’ ‘0x1D’ ‘REQ’ (Select Unit 1 to receive data) ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘STX’ <T> ‘ETX’ ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘RES’ (Terminate Transfer 2)

Transfer 2 HOST_TX IMAGER_TX HOST_TX IMAGER_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘ACK’ ‘RES’ (Terminate Transfer 1)

Starting with a ‘RES’ ensures a clean transaction, without “leftovers” from the previous transaction.

Error Condition 1 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘RES’ (Terminate Transfer 1, data is flushed)

A-28

MINI Hawk Xi High Performance Imager User Manual

Page 353

Appendices

Error Condition 2 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) HOST_TX ‘NAK’ (Host rejects data frame) (Retry Event) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ (Unit sends again) HOST_TX ‘ACK’ (Host receives data) IMAGER_TX ‘RES’ (Terminate Transfer 1)

The protocol makes 3 retry attempts before data is flushed and transfer is aborted.

MINI Hawk Xi High Performance Imager User Manual

A-29

Page 354

Communications Protocol

Setup 2 Address RES REQ STX ETX ACK NAK LRC

0x01 (translates to) Poll Req @ ‘0x1C’, Unit Select @ ‘0x1D’ 0x04 0x05 0x02 0x03 0x06 0x15 enabled

Transfer 1 HOST_TX IMAGER_TX HOST_TX IMAGER_TX HOST_TX

‘RES’ ‘0x1D’ ‘REQ’ (Select Unit 1 to receive data) ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘STX’ <T> ‘ETX’ ‘LRC’ ‘0x1D’ ‘ACK’ (Unit responds with its address) ‘RES’ (Terminate Transfer 2)

Transfer 2 HOST_TX IMAGER_TX IMAGER_TX HOST_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ ‘ACK’ ‘RES’ (Terminate Transfer 1)

Starting with a ‘RES’ ensures a clean transaction, without “leftovers” from the previous transaction.

Error Condition 1 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) timeout reached... IMAGER_TX ‘RES’ (Terminate Transfer 1, data is flushed)

A-30

MINI Hawk Xi High Performance Imager User Manual

Page 355

Appendices

Error Condition 2 HOST_TX ‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ HOST_TX ‘Nothing’ (Host should ‘ACK’ here) timeout reached... IMAGER_TX ‘REQ’ (Unit requests an ‘ACK’ again) HOST_TX ‘NAK’ (Host rejects data frame) (Retry Event) IMAGER_TX ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘LRC’ (Unit sends again) HOST_TX ‘ACK’ (Host receives data) IMAGER_TX ‘RES’ (Terminate Transfer 1)

Error Condition 3 HOST_TX IMAGER_TX HOST_TX (Retry Event) IMAGER_TX HOST_TX IMAGER_TX

‘RES’ ‘0x1C’ ‘REQ’ (Poll Unit 1 for data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘BAD LRC’ ‘NAK’ (Host rejects bad LRC data) ‘0x1C’ ‘STX’ <T/00000> ‘ETX’ ‘GOOD LRC’ (Unit sends again) ‘ACK’ (Host receives data) ‘RES’ Terminate Transfer 1)

The protocol makes 3 retry attempts before data is flushed and transfer is aborted.

MINI Hawk Xi High Performance Imager User Manual

A-31

Page 356

ASCII Table

Appendix E, ASCII Table Dec 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

A-32

Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

Mne NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

Ctrl ^@ ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^^ ^_

Dec 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

Hex 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F

Ch SP ! “ # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

Dec 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

Hex 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F

Ch @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _

Dec 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

Hex 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F

Ch ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ D

MINI Hawk Xi High Performance Imager User Manual

Page 357

Appendices

Appendix F, Operational Tips Cleaning The MINI Hawk Xi has a hard-coated window that should only be cleaned with alcohol (100% isopropyl).

Mounting When mounting the MINI Hawk Xi, do not insulate the stand mount. The bottom panel is the hottest part of the imager and metal-to-metal contact is necessary for heat dissipation.

MINI Hawk Xi High Performance Imager User Manual

A-33

Page 358

Using an External Trigger

Appendix G, Using an External Trigger Two types of inputs are used on Microscan readers. 5 volt devices have NPN trigger inputs. 10-28 volt devices have optoisolated inputs and outputs.

5 Volt Devices To trigger a 5 volt device, the input has to be pulled down to “signal ground” (NPN). This can be done by relays or by a transistor-sourced signal. If a 5 volt device is used in combination with an IC-332, it must be connected as a 10-28 volt device. Reader

Reader

Sensor

Sensor

10-28 Volt Devices To trigger a 10-28 volt device, a small amount of current needs to flow from “Trigger +” to “Trigger –”. If a PNP source is used, “Trigger –” must be connected to “signal ground”. If an NPN source is used, “Trigger +” must be connected to the supply voltage. Reader

Reader

Sensor

Reader

Sensor

Sensor

PNP

A-34

NPN

MINI Hawk Xi High Performance Imager User Manual

Page 359

Appendices

Appendix H, MINI Hawk Xi Image Output This section explains how to extract (download) a video-captured image from a MINI Hawk Xi.

Y-Modem Method The easiest download method is to issue the <op,9> command to get a list of available images, then initiate a download sequence using a Y-Modem utility or protocol sequence. The user will need to issue the <op,9> first to get an image list response from the imager. Then initiate the Y-modem download sequence with the <uy,"path\filename"> command, where: [path\filename] is one listed from the <op,9> response.

Retrieve File List To receive a file list of all images stored in the reader, send the command: <op,9,*.*> The reader will respond with a list similar to the one below: <op,009,0,/good/0/640x480_gs.bmp 00003 00090,/pending/1/640x480_gs.bmp 00003 00057,/pending/2/640x480_gs.bmp 00003 00057,/pending/3/640x480_gs.bmp 00003 00058,/pending/4/640x480_gs.bmp 00003 00057> In this example, there are 5 images in memory: /good/0/640x480_gs.bmp /pending/1/640x480_gs.bmp /pending/2/640x480_gs.bmp /pending/3/640x480_gs.bmp /pending/4/640x480_gs.bmp • The image will be stored in a directory describing the result of the image. None assumes root. / Root Directory. /saved Saved Directory. Good/ Symbol was decoded and good. noread/ No symbol was decoded in this image. Mismatch/ Symbol was decoded, but did not match. pending No attempt was made to decode this image. • The image may be in a numbered sub-folder 0-9 indicating age; 0 = older, 9 = newer. • The filename will describe the resolution and file type. Valid file types are: .jpg and .bmp. • The directory locations, file names and file types will vary, depending on reader configuration.

MINI Hawk Xi High Performance Imager User Manual

A-35

Page 360

MINI Hawk Xi Image Output

Upload Image Select a file from the file list above, and then send the command: <uy,path/filename.extension>. Now initiate the Y-modem transfer and save the file. Y-modem uploads will vary depending on the program or language. See the HyperTerminal example below.

Image Upload Using HyperTerminal • Open the HyperTerminal application by clicking Start, Programs, Accessories, Communication, and then HyperTerminal. • Enter a name, and select an icon, then select OK. • In the connection window, select the COM port, and then click OK. • Adjust ‘COM Properties’ settings to match the reader (reader defaults shown below).

• Click OK and you will see the HyperTerminal screen. • Retrieve an image list by sending <op,9>. <op,9> <op,009,0,/good/0/1280x1024_gs.bmp 00003 00064,/pending/1/1280x1024_gs.bmp 00003 00061,/pending/2/1280x1024_gs.bmp 00003 00061,/pending/3/ 1280x1024_gs.bmp 00003 00061,/pending/4/1280x1024_gs.bmp 00003 00061> • Request an image upload of the desired file. <uy,/good/0/1280x1024_gs.bmp> • From the menu bar, select Transfer, Receive File… • Select a file storage location, and then select ‘Y-modem’, click Receive.

• HyperTerminal will upload the image and save the file to the directory specified. A-36

MINI Hawk Xi High Performance Imager User Manual