The text of a manual · part 36 of 37
MS-4 Imager User Manual, pages 351 to 360
Pages 351 to 360 of 366
The original document is the PDF (4.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 MS-4
Page 351
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)
MS-4 Imager User Manual
A-19
Page 352
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-20
MS-4 Imager User Manual
Page 353
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
MS-4 Imager User Manual
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
A-21
Page 354
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 MS-4 Imager, 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-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-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-22
MS-4 Imager User Manual
Page 355
Appendices
Appendix G, Object Detector In a typical operation, an imager will wait for symbol data only during a triggered read cycle. A read cycle is initiated by a “trigger” and can be in the form of a serial command from the host (internal trigger) or a signal from an object detector (external trigger). When an object detector (also called a sensor, package detector, etc.) is used, it is set up so that its beam will bounce off the approaching object and the resulting pulse will be sent to the imager to begin the read cycle. Typically, a detector is positioned so that it will detect the presence of an object before its symbol can be read. An object detector is mounted in almost any position relative to the object as long as the object passes within range of the detector and direct or reflected light from the detector does not interfere with the imager’s reception. As the item continues to move down the line, its symbol moves into the imager beam and is decoded.
Object and Symbol
Object Detector
Object and Symbol Imager
MS-4 Imager User Manual
A-23
Page 356
Operational Tips
Appendix H, Operational Tips Cleaning The MS-4 Imager has a hard coated window that should only be cleaned with alcohol (100% isopropyl).
Mounting When mounting the MS-4 Imager, 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.
A-24
MS-4 Imager User Manual
Page 357
Appendices
Appendix I, USB-to-Serial Virtual COM Port Driver (For use with Windows® Vista (32-bit), XP (32-bit), and 2000 Operating Systems) Microscan’s USB-to-Serial Virtual COM Port Driver allows you to send serial data using a USB MS-4 Imager. The driver is available at www.microscan.com or on the Microscan Tools Drive.
Installing the USB-to-Serial Virtual COM Port Driver 1. Download the driver files from the Microscan website or 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 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.
MS-4 Imager User Manual
A-25
Page 358
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-26
MS-4 Imager User Manual
Page 359
Appendices
Uninstalling the USB-to-Serial Virtual COM Port Driver Important: You must uninstall the USB-to-Serial Virtual COM Port Driver any time you require high-speed USB connectivity (to upload images using EZ Trax, for example).
Find the driver on the list of programs, select it, then click Uninstall/Change.
To use the Virtual COM Port again, follow the steps above to re-install the driver.
Changing the COM Port Follow these steps to change the reader’s COM Port: 1. Right-click on My Computer in the Windows Start menu and select Properties. 2. Select the Hardware tab in the System Properties dialog and click the Device Manager button. 3. Expand the Ports (COM & LPT) item on the Device Manager menu. Right-click on Microscan Reader and select Properties. 4. Select the Port Settings tab in the Properties dialog and click the Advanced button. 5. Expand the COM Port Number menu on the Advanced Settings dialog and select your new COM Port number.
You are now ready to begin using the new COM Port.
MS-4 Imager User Manual
A-27
Page 360
Glossary of Terms
Appendix J, Glossary of Terms Aberration, The failure of an optical lens to produce an exact point-to-point correspondence between the object and its resulting image. Various types are chromatic, spherical, coma, astigmatism and distortion. Absorption, The loss of light of certain wavelengths as it passes through a material and is converted to heat or other forms of energy. (–) Active Illumination, Lighting an area with a light source coordinated with the acquisition of an image. Strobed flash tubes and pulsed lasers are examples. ADC, See Analog-to-Digital Converter. A/D Converter, See Analog-to-Digital Converter. AGC, See Automatic Gain Control. Ambient Light, Light which is present in the environment of the imaging front end of a vision system and generated from outside sources. This light, unless used for actual illumination, will be treated as background Noise by the vision system. Analog, A smooth, continuous voltage or current signal or function whose magnitude (value) is the information. Analog-to-Digital Converter (A/D Converter or ADC), A device that converts an analog voltage or current signal to a discrete series of digitally encoded numbers (signal) for computer processing. Application-Specific Integrated Circuit (ASIC), An integrated circuit that is customized for a particular kind of use, rather than general use. All vision system elements including firmware can be integrated into one ASIC. Architecture, The hardware organization of a vision system designed for high speed image analysis. ASIC, See Application-Specific Integrated Circuit. Aspect Ratio, The ratio between the height and width of a sensor or display. Found by dividing the vertical number of pixels (height) by the horizontal number of pixels (width) leaving it in fractional format. Automatic Gain Control (AGC), Adjustment to signal strength that seeks to maintain a constant level regardless of the distance between a reader and symbol. Auxiliary Port, RS-232 connection to an auxiliary terminal or device for remote viewing. Blooming, A situation in which too many photons are being produced to be received by a pixel. The pixel overflows and causes the photons to go to adjacent pixels. Blooming is similar to overexposure in film photography, except that in digital imaging, the result is a number of vertical and/or horizontal streaks appearing from the light source in the picture. Baud Rate, The number of discrete signal events per second; bits per second. Capture, The act of acquiring and storing video images in an imager or host computer. Also, the image captured. CCD, See Charge-Coupled Device.
A-28
MS-4 Imager User Manual