The text of a manual · part 37 of 38
MINI Hawk High Performance Imager User Manual, pages 361 to 370
Pages 361 to 370 of 380
The original document is the PDF (5.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
Page 361
Appendices
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)
MINI Hawk High Performance Imager User Manual
A-21
Page 362
Communications Protocol
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.
A-22
MINI Hawk High Performance Imager User Manual
Page 363
Appendices
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)
MINI Hawk High Performance Imager User Manual
A-23
Page 364
Communications Protocol
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.
A-24
MINI Hawk High Performance Imager User Manual
Page 365
Appendices
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
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
MINI Hawk High Performance Imager User Manual
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
A-25
Page 366
Interface Standards
Appendix F, Interface Standards Interface Standards, established by the Electronic Industries Association (EIA), specify such things as the signaling voltage levels, maximum cable lengths, and number of drivers. In the MINI Hawk, selection of interface is made by pin assignment and, in the case of host communications, by software switching between RS-232 and RS-422/RS-485.
RS-232 RS-232 defines an interface between two devices such as, for example, the reader and host. It differs from the other interfaces by dedicating individual pins to specific functions and by requiring both devices to share a common ground line. Since both device chassis are connected to a common ground, a ground loop potential and the possibility of noise interference exists. Therefore cable lengths are limited to a maximum of 50 feet (19.7m). Despite being the most limited, this interface is used frequently because of the large installed base of RS-232 equipment.
RS-422/RS-485 RS-422, unlike RS-232, measures signals deferentially; that is, the receiver looks at the potentials between the two receive (or transmit) wires rather than the potential between signal and ground. As a result, cables, if shielded, can be up to 4000 feet (1219m) in length. Like RS-232, RS-422 communication is designed for only two devices on a single line and must have a common ground. It can be used wherever RS-232 is used.
USB The Universal Serial Bus can connect up to 127 devices to a host at a maximum of 6 megabytes per second (Mbps) of bandwidth.
A-26
MINI Hawk High Performance Imager User Manual
Page 367
Appendices
Appendix G, Operational Tips Cleaning The MINI Hawk has a hard-coated window that should only be cleaned with alcohol (100% isopropyl).
Mounting When mounting the MINI Hawk, 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 High Performance Imager User Manual
A-27
Page 368
Using an External Trigger
Appendix H, Using an External Trigger Two types of inputs are used on Omron 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-28
NPN
MINI Hawk High Performance Imager User Manual
Page 369
Appendices
Appendix I, USB-to-Serial Virtual COM Port Driver (For use with Windows® 7 (32-bit), Vista (32-bit), XP (32-bit), and 2000 Operating Systems) Omron Microscan’s USB-to-Serial Virtual COM Port Driver allows you to send serial data using a USB MINI Hawk.
Installing the USB-to-Serial Virtual COM Port Driver 1. Download the driver files from the Omron Microscan website or Omron Microscan Tools Drive. If the driver files are in a .zip file, extract them to a folder of your choice before running the installer. 2. Double-click on DPInst.exe to launch the Omron Microscan USB-to-Serial Virtual COM Port Driver Installer. Select DPInst.exe to launch the driver installer.
3. Click Next on the driver installer’s welcome screen.
MINI Hawk High Performance Imager User Manual
A-29
Page 370
USB-to-Serial Virtual COM Port Driver 4. Read the License Agreement shown below. If you accept the terms of the agreement, click the radio button next to the statement “I accept this agreement”, and click Next.
Important: After accepting the license agreement and clicking Next, you may see a Windows Security warning that states “Windows can’t verify the publisher of this driver software”. If you receive this warning, choose the “Install this driver software anyway” option. 5. The driver files will begin installing. This may take several seconds. Do not interfere with the installer during this process.
6. Once the driver is installed successfully, you will receive the message shown below. Click Finish.
A-30
MINI Hawk High Performance Imager User Manual