Home

DMx AutoID+™ User Manual

image

Contents

1. Power 12V to Sensors Part Sensor 2 Part Sensor 1 Part Sensor Gnd Strobe Flash 2 Strobe Flash 1 Strobe Gnd Chassis Gnd JS The JS connector also provides two non isolated TTL strobe outputs STROBEI on pin and STROBE on pin 5 a strobe return on pin 7 and a CHASSIS GND on pin 8 The internal voltage reference signal VREF is connected to SENSOR_PWR on the board and is used to properly bias the sensor inputs For 12V sensors supply power to your sensor using the sensor power SENSOR_PWR on pin 1 on the sensor strobe connector JS For 24V sensors 30 volts maximum you must provide an external 24V power supply which also sets the internal reference voltage VREF Connect external 24V to sensor power SENSOR_PWR pin 1 on connector JS and supply power to your sensor using the sensor power SENSOR_PWR pin 1 on connector JS v2 1 0 Feb 2009 DMx AutoID User Manual A 3 gt pus 5 Eg Is a8 co oc SE 5 Appendix Optional Hardware Installation For TTL sensors do not connect power to the sensor power SENSOR_PWR pin 1 on connector JS You must remove jumper on the Camera I O Card This will properly bias the sensor inputs for TTL levels Note Whenever the Sensor Power pin on JS is less than 12V jumper JMP1 on the Camera I O Card MUST be removed Caution If you connect an external power supply that is
2. PanelClick event 6 72 property 6 30 Parameter Setup data matrix dialog box 3 7 general dialog box 3 6 Parameter Setup Dialog Box 4 18 4 28 4 32 Parameters aim 4 46 dpm 4 50 180 8 180 15415 9 Parity 4 13 Partial Result String 4 43 Password run continuous mode 4 5 Performance fan 2 3 PLC 4 14 service 4 79 to DMx AutoID transfers 4 80 Point Source Lighting B 7 POL Command 5 8 Pol Property 6 31 Polarity 4 21 4 22 4 30 Polarized Light B 11 Poor Depth of Field 2 7 Position Enhance 4 25 Pre Process Menu 4 135 Prefix 4 38 Primary Character 4 32 Print Growth 4 47 4 50 4 52 Probe Spacing 4 28 Process Overrun 4 16 Profibus command set 4 89 data exchange protocol 4 88 network configuring 4 83 Index protocol 4 82 Protocol client 4 76 dde 4 80 error handling 4 92 profibus 4 82 server 4 76 transfer 4 79 Quiet Zone C 4 R READ Command 5 9 Read Method 6 49 Reading actual data matrix via live camera 3 12 sample data matrices from file list 3 10 sample data matrix from file 3 2 Reads Minute high resolution mode 1 1 Rectangular Symbols C 12 Reed Solomon Code C 5 Reference Decode 4 49 4 65 Reflectance Reversal C 12 Region of Interest B 5 Relief camera cables 2 7 Remote host identification 4 76 port 4 77 Remove Noise 4 36 Report 4 62 target intensity 4 62 Reporting Verification Results 4 66 Requirements minimum 1 3 Resize View Event 6 73 RETRY none command 5 9 supermarket c
3. gt v lt fe 0 0 s d Appendix Optional Hardware Installation Connecting Sensor amp Strobe For continuous motion or high speed indexing applications a sensor and strobe will be required to freeze each part before the image can be acquired The strobe unit may include a fiber optic light pipe When choosing your part sensor you must consider the time interval between the part passing into the sensing zone and an electrical signal being generated When there is a large variation in process speed considerable apparent motion of the part within the FOV may result The DMx AutoID Express system can compensate for this motion over a considerable range However the sensor should be fast enough to minimize this apparent shift Mini Opto I O High Speed Sensor And Strobe Connections Figure 7 illustrates how to connect a part sensor and strobe to the JS connector of the Mini Opto I O board A 12 DMx AutoID User Manual v2 1 0 Feb 2009 Connecting Sensor amp Strobe FIGURE A 7 Connecting Part Sensor and Strobe to JS Connector Sensor Power Sensor 2 Sensor 1 Sensor GND Strobe 2 Flash Flash 6 Strobe 1 Flash wnhite OTa 7 V Black Brown _Flash 7 Strobe GND GND JS Disc Color 8 Chassis GND 6 Flash Ch 1 Brown 7 Flash Rtn
4. Advanced Lighting SCDI Ideal for uneven specular surfaces Square Continuous Diffuse Illumination SCDI as shown in Figure B 13 increases the uniformity of on axis illumination by ensuring direct light from the diffuser is equally intense as light coming from the beam splitter and the lighting cavity Increasing the diffuser width and elongating the chamber ensures any light directed to the object is uniform UJ e Excellent uniformity 20 across the lighting envelope at close range e Extraordinary diffuse illumination o D Sen S Illumination source include LED and microfluorescent sources FIGURE B 13 Square Continuous Diffuse Illumination Camera Beam Splitter ENENH o v2 1 0 Feb 2009 DMx AutoID User Manual B 15 Appendix Creating A Good Image MVi Imager Aperture Integrated system for enhanced ease of use The MVi Imager integrates camera lens and light combination machine vision imaging As a result these consolidated components cannot be improperly adjusted by operators or line technicians The aperture is the adjustable opening in a lens that varies the amount of light reaching a target The f stop indicates the size of the opening The larger the number the smaller the opening As you go from a smaller number to the next larger one e g 11 to 16 the amount of light reaching the target in the camera
5. Open List Look in ex E3 History Desktop My Computer My Network x METTE STRE fe MPLED2 BMP SAMPLEO3 BMP File name PLEO3 BMP 2 Files of type EMP File bmp f SAMPLE12 BMP Mf lt 13 Mf SAMPLE14 BMP Mf SAMPLE15 BMP Mf SAMPLE16 BMP Mf sample17 bmp Mf sample18 bmp Mf sample19 bmp 4 2 Press and hold Ctrl and then left click to select the first three sample image files Click Open to access and display the first image sample3 bmp in our example The image window showing Sample 3 Data Matrix is in Figure 3 10 3 10 DMx AutoID User Manual v2 1 0 Feb 2009 Tutorial 2 Reading Sample Data Matrices from File List FIGURE 3 10 Sample 3 Data Matrix Image Window a rr i a3 xr a Since the Data Matrices in our 3 sample images contain similar properties to the Data Matrix learned in Step 3 on page 3 4 it is not necessary to repeat another Learn Instead to read all three consecutively open the Run menu and select Run Continuously This menu item is detailed in Run gt Run Continuously on page 4 127 v2 1 0 Feb 2009 DMx AutoID User Manual 3 11 Chapter DMx AutoID Tutorials Tutorial 3 Reading Actual Data Matrix via Live Camera 1 From the main menu Figure 3 1 on page 3 1 open the File menu and select Live to displa
6. Qs Sa HE m Microscan provided ESD ground strap Installing the 0300 Board 1 Remove the cover of your PC 2 Locate an open PCI slot 3 Unscrew the Port Access Covers on the PC 4 Install the 0300 board by aligning the gold fingers and pressing the module firmly into the slot 5 Fasten the 0300 board with port access screws v2 1 0 Feb 2009 DMx AutoID User Manual 2 3 Chapter DMx AutoID Installation Installing the Internal Camera Power Cable 1 Connect the small connector of the internal Camera Power Cable to the Camera Power connector on the 0300 Board as shown in Figure 2 1 FIGURE 2 1 Internal Cabling Power Suppl Camera Power Cable 0300 Board Ribbon 0 Stripe PCI BUS 2 Connect the middle connector to an unused Hard Drive power cable in the PC 2 4 DMx AutoID User Manual v2 1 0 Feb 2009 Hardware Installation Connecting the Camera Cable For analog camera operation connect the multiple camera cable to the camera port on your PC and connect the camera cable from the camera to the other end of the multiple camera cable as shown in Figure 2 2 N FIGURE 2 2 Camera Cabling m c Qs PE HE m Note For detailed information about analog cameras refer to the 0300 Board User Manual
7. EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 53 Chapter DMx AutoID Visual Basic Support ShowOption Method Use the ShowOption method to display the dialog boxes in the Setup Menu of the DMx AutoID Syntax Object ShowOption option Description option String e BARCODE Parameters Barcode tab e BCVERIF Parameters BC Verification tab e DIGITALIO Digital I O Settings dialog e DMATRIX Parameters Data Matrix tab e FINDER Parameters Fiducial tab e FORMAT Parameters Formatting tab e GENERAL Parameters General tab e MGSAVING Image Saving dialog Note Delete Old Images at Startup is not supported e LIGHTING Lighting Control dialog e MATCHMODE Checking Modes dialog e OCRFIXED Parameters Fixed Font OCR tab e OUTMESSAGES Output Messages dialog e RETRYMODE Retry Modes dialog e STATWINDOW Reading Statistics window e SYSCONFIG System Configuration dialog VERIFIER Parameters Verifier tab 6 54 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Stats Method Use the Stats method to get or reset the reading statistics Syntax Object Stats str Description str String Use RESET to reset the statistics Return Value When RESET is omitted a string of the reading statistics is returned o T 5 Qe lt z g t3 ao oo
8. lt O Use this command to display the version of the software This is camera independent VERIFY ENABLEMASK mask Use this command to set change the custom settings of the verifier The range for the mask is 0x01 If mask is omitted the current custom settings are returned as a bitwise mask v2 1 0 Feb 2009 DMx AutoID User Manual 5 11 Chapter DMx AutoID Command Set VERIFY MODE NONE CUSTOM AIM IAQG 115015415 Use this command to set the Data Matrix verifier mode If the optional parameter is omitted the verifier mode in the current camera configuration is returned Note When you choose CUSTOM you are actually selecting DPM mode WIDTH value AUTO Use this command to set get the width of the Data Matrix The value ranges from 20 to 1024 pixels Type WIDTH AUTO lt Enter gt if you want to allow the matrix width to vary in READ mode Type WIDTH lt Enter gt to get the width of Data Matrix 5 12 DMx AutoID User Manual v2 1 0 Feb 2009 CHAPTER 6 DMx AutoID Visual Basic Support Microsoft Visual Basic 6 0 is required for creating custom VB applications that communicate with the DMx AutoID application There are two approaches to adding DMx AutoID functionality to a custom VB application If the VB program is to be written to control or monitor the operation of the DMx AutoID in the same PC or a remote PC then the Serial or
9. DMx AutolD File Setup 521501 Leam Bun View Help ep pe fe s gt v2 1 0 Feb 2009 DMx AutoID User Manual 3 1 Chapter DMx AutoID Tutorials Tutorial 1 Reading Sample Data Matrix from File 1 From the main menu open the File menu and select Open This displays the Open dialog box as shown in Figure 3 2 FIGURE 3 2 Open Dialog Box open h 1 Look in ex E3 SAMPLED1 BMP SAMPLE12 BMP E M sawPLEOZ BMP saMPLE13 BMP History MfsawpLEos BMP sawPLE14 BMP M sawPLEO4 BMP SAMPLE1S BMP f sawPLEOS BMP SAMPLE16 BMP Desktop Vf sawpLEO6 BMP sample17 bmp SAMPLEO7 BMP M sample18 bmp SAMPLEOS BMP Sample19 bmp Tq TEE Mf SAMPLEOS BMP gu Tj SAMPLE10 BMP ws SAMPLE 11 BMP My Network Fe File name 5 PLEO1 BMP Open Files of type BMP File bmp 2 Cancel 3 2 DMx AutoID User Manual v2 1 0 Feb 2009 Tutorial 1 Reading Sample Data Matrix from File 2 Select samplel and click Open The image is displayed as shown in Figure 3 3 FIGURE 3 3 Sample 1 AutoID help SAMPLEO1 BMP a File Setup SetROI Learn Run View Help ol w e 8 os 56 lt 5 a v2 1 0 Feb 2009 DMx AutoID User Manual 3 3 Chapter DMx AutoID Tutorials 3 Open the Learn menu and select Data Mat
10. Figure 2 3 shows an example of an RS170 factory modified CM4000 camera The connectors at the rear of the camera supply power and sync to the camera and send video from the camera to the 0300 board The 15 1 and VIDEO v2 1 0 Feb 2009 DMx AutoID User Manual 2 5 Chapter DMx AutoID Installation connectors are not used for normal operations Set the switches to 1 0 MGC FRM FIGURE 2 3 CM4000 Camera CM4000 Camera Mount The camera mount holds the camera in a fixed position If the camera moves the results of the inspection may not be valid Refer to Appendix B Creating A Good Image for more information Note Mount the camera in a low vibration environment Otherwise use a strobe in low ambient light Checklist e Ensure that the camera is grounded only by the camera cable back to the camera port on the PC The CM4000 camera case is connected to the camera s return circuit This means that a camera affixed to an earth grounded metallic fixture has the potential for creating a ground loop A ground loop is an undesirable circuit created when grounds are connected at two or more locations Return signals tend to flow through both ground circuits which results in noise and or distortion in the camera s video signal Isolate the camera s body from grounded fixtures You could use plastic mounting bolts in conjunction with an insu
11. For AIM IAQG and ISO 15415 Data Matrix verification the verification status is configured using the Overall Grade The default configuration is that grade B is Good grade C and D are Fair 4 54 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 22 IAQG Verification Camera 1 Parameter Setup DM Verifier General Data Matrix Barcode OCR Fixed Font Formatting Verifier Fiducial BC Verification Mode C None DPM C 150 15415 I Status Color Key Good Fair Ex Poor Show Status Only 3 D E 238 3 gt 5 AF Validate Inspection 14065 Status Configuration Overall Grade For DPM verification the verification status is not configured using the Overall grade Instead the verification status for each parameter is individually configured and determined by its grade The verification status for the DPM verification is chosen as the lowest verification status of all enabled parameters v2 1 0 Feb 2009 DMx AutoID User Manual 4 55 Chapter DMx AutoID Reference Guide FIGURE 4 23 DPM Verification Camera 1 Parameter Setup DM Verifier General Data Matrix Barcode OCR Fixed Font Formatting Verifier Fiducial BC Verification m Mode m DPM Status Configuration None Cell Size Grade al ci D F IAQG C 150 15415 Status Color Key
12. Set ROI gt Fiducial This menu item modifies the ROI for the fiducial target to find The default ROI for Fiducial is the full FOV Field of View We recommend that you set the ROI for Fiducial to as small an area as possible for speed and robustness The ROI is 4 98 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface normally set during the Learn Fiducial process After the Learn and prior to Run you can use Set ROI gt Fiducial to modify the ROI if necessary Set ROI gt Clear ROI This menu item removes the currently selected ROI To clear Data Matrix ROI first select Set ROI and then Data Matrix to display the ROI Then select Set ROI and Clear ROI to remove it e g to set it to the full image size Use the same process to Clear ROI for barcode OCR or Fiducial Learn Menu Learn gt Data Matrix The Learn menu as shown in Figure 4 43 allows you to set up the parameters for reading Barcode Data OCR or Fiducial FIGURE 4 43 Learn Menu I Run view Data Matrix Barcode OCR Fixed Font Fiducial ES E 28 3 gt 5 x 2 AF To learn the Data Matrix parameters you need to have an image containing a Data Matrix Use the following steps to capture a Data Matrix image from Camera 1 1 Select Camera 1 by pushing down the Camera 1 icon on the tool bar this is not needed if only one camera is configured in the System Configurat
13. v2 1 0 Feb 2009 DMx AutoID User Manual 6 11 Chapter DMx AutoID Visual Basic Support CameraCount Property This property returns the total number of cameras that are checked in Setup System Configuration This is a read only property that can be retrieved in runtime This is camera independent Syntax Object CameraCount Return Value A long value ranges from to 16 6 12 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support CameraEnableMask Property This property returns in hex format the bit mask of enabled cameras in Setup System Configuration This is a read only property that can be retrieved in runtime This is camera independent Syntax Object CameraEnableMask Return Value The mask of enabled camera as a string ranging from amp H1 to amp HFFFF o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 13 Chapter DMx AutoID Visual Basic Support CameraResol Property This property corresponds to Camera Resolution in Setup System Configuration This is a read write property that can be retrieved and set in runtime Syntax Object CameraResol index Description index e 0 640x480 for RS170 or 768x572 for CCIR e 1 640 240 2 for RS170 or 768x286x2 for CCIR e 2 320x240 for RS170 or 384x286 for CCIR Return Value Long Camera resolution index value of 0
14. v2 1 0 Feb 2009 DMx AutoID User Manual D 1 Appendix Sample Data Matrix Symbols FIGURE D 3 Data Matrix Sample 3 Data A B C D EFGHIJKLM ECC 80 Format ID 3 FIGURE D 4 Data Matrix Sample 4 x Data A1B2C3D4E5F6G7H8I ECC 100 Format ID 4 FIGURE D 5 Data Matrix Sample 5 Data AaBbCcDdEeFfGgHhl ECC 140 Format ID 5 FIGURE D 6 Data Matrix Sample 6 Data AaBbCcDdEeFfGgHhl ECC 200 Format ID N A D 2 DMx AutoID User Manual v2 1 0 Feb 2009 appenpxe sample Barcode Symbols This appendix includes a number of sample 1D Barcode symbols to ensure that your system is functioning properly FIGURE E 1 Code 128 15 5 8 rm FIGURE E 2 Code 93 1234 CODE 93 0 xe o 6 0 ry ae o E qo v2 1 0 Feb 2009 DMx AutoID User Manual E 1 Appendix Sample Barcode Symbols FIGURE E 3 Code 39 ABCD CODE 39 FIGURE 4 Interleaved 2 of 5 25251234567890 FIGURE E 5 Codabar 12345678905 FIGURE E 6 EAN 13 70543 210999 E 2 DMx AutoID User Manual v2 1 0 Feb 2009 FIGURE E 7 EAN 8 fbo4 0 FIGURE E 8 UPC A 57654 32109 m FIGURE E 9 UPC E 123450 15 ry as 0 FIGURE E 10 5 Digit Postnet with Check Character 02021 v2 1 0 Feb 2009 DMx
15. wer 5 2 02 ae sei 9 p di p di 4 ee Pd pd 27 15 1 MA pu 7 0 9 pe 1 5 950 4 6 8 10 12 14 16 18 20 22 FY Horizontal Field of View inches D Part to Camera Distance in inches from the part to the front mounting hole Note The number under a dot on the camera indicates the size in millimeters of the needed extension ring If F Camera Lens in mm number appears under the dot an extension ring is not needed Using the Lens Selection Chart The Lens Selection Chart helps you choose the appropriate lens using approximate dimensions For very precise measurements you may need to use a precision low distortion lens Contact Microscan Technical Support for a recommendation that is specific to your measurement task see the inside front cover for more information First determine the required horizontal Field of View FY Use a dimension of 0 75 inches from the front of the camera to the first mounting hole as shown in Figure B 3 Next measure the distance from the part to the first mounting hole on the camera D v2 1 0 Feb 2009 DMx AutoID User Manual B 3 Appendix Creating A Good Image FIGURE B 3 Determining Lens Selection First Mounting Hole 75 inches y s gt Select a lens using the Lens Selection Chart The chart also indicates if you need an extension ring An extension ring decrease
16. z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 25 Chapter DMx AutoID Visual Basic Support ImageControl Property Set the property to the DMx ImageView ActiveX Control on your form so that the display of image graphics and text can be done automatically by the Control For example images obtained from the methods Grab and Live are shown without having to use the ImageDisplay method of the ImageView control and default graphic drawing and text results are shown in the ImageView control as well for the methods Learn and Read This is a write only property that can only be set at runtime This is camera independent Syntax Object ImageControl control Description control Set the control to the Image View control on your form so that the image graphics and text data are automatically displayed when needed If this optional property is not set then no display is automatically done for you Remark If there are more than one ImageView controls on your form only one of them can be assigned to the ImageControl property To display images for the rest of the controls you need to use the ImageDisplay method explicitly 6 26 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Initialize Property This property retrieves the software protection key dongle status This is a read only property that can only be retrieved at runtime T
17. 6 8 m Stop Bits Parity 1 C Even Flow Control a INDE None s 0 EO 2 rod C RTS AS C Mark Xon E Iv Output lt z C Space C RTS Xon x lt Input a 8 Or Output Prefix Prefix Suffix Suffix Cancel Make appropriate settings for Baud Rate Data Bits Stop Bits Parity and Flow Control for Com 1 Serial Communications and or Com 2 Serial Communications as applicable By default both the Output and Input boxes are checked to allow DMx AutoID to send the read result to the COM port e g output and to receive serial commands from the COM port e g input You can specify prefixes and suffixes to be used when presenting data v2 1 0 Feb 2009 DMx AutoID User Manual 4 13 Chapter DMx AutoID Reference Guide Output Prefix Suffix Any output message transmitted from the COM port to other serial devices will be prepended by the Output Prefix and appended by the Output Suffix Input Prefix Suffix DMx AutoID can receive serial commands from other serial devices such as terminals or Programmable Logic Controllers PLC By specifying Prefix and Suffix the DMx AutoID will recognize the input messages from other devices formed by appending Prefix and Suffix to serial commands supported by DMx AutoJD For DMx AutoID to accept the supported commands an input suffix is always required Note The Comm
18. E Good jeg Fair Poor Show Status Only Center Offset Grade Size Offset Grade Cell Modulation Grade Border Match Grade Contrast Grade Axial Uniformity Grade Print Growth Grade Error Correction Grade Distortion Angle Grade W c al c W c W 8 c Alef cl e W c W c W c o W c Validate Inspection Advanced Verification Results Display Verification results are sent to serial port TCP port or log file the same way as they appear in the status bar of DMx AutoID In the following we use Decode Data to refer to the Data Matrix decode string and the Symbology Debug Report specified in the formatting tab When the Data Matrix is not decoded the decoded string will be substituted with the default LOCATE FAILURE or DECODE FAILURE message When the Data Matrix is decoded the verification results are displayed in the following ways AIM Mode ISO 16022 Decode Data decode string and debug output when specified 4 56 DMx AutoID User Manual v2 1 0 Feb 2009 IAQG Mode AS9132 DMx AutoID Graphic User Interface Symbology Verification Status Code if Status Code is checked in Formatting tab Symbology Verification Timing if Timing is checked in Formatting tab Overall Grade Symbol Contrast Grade Symbol Con
19. FIGURE B 7 Side Lighting v2 1 0 Feb 2009 DMx AutoID User Manual B 9 Appendix Creating A Good Image Back Lighting Back lighting helps in the inspection of silhouettes e g the outer edges of a part It enhances the contrast between the part and the background Think of Contrast refers to the grayscale variation between two areas Back lighting is helpful in the inspection of holes cutouts and outline dimensions as shown in Figure 3 8 FIGURE B 8 Back Lighting DMx AutoID User Manual v2 1 0 Feb 2009 Illuminating the Part Polarized Light Polarized light helps reduce glare on an object when the glare interferes with a visual inspection such as when attempting to read a label UJ To polarize light place polarizing material over the light source as shown in Figure B 9 Another piece of polarizing material an analyzer is placed in front of the camera lens and rotated until the glare or mirror like reflection is minimized FIGURE B 9 Polarized Light o D Sen S Polarizer Analyzer For some applications glare may be helpful and you would not want to eliminate it For example a hole in an object may be more easily detected on a surface that has glare In all cases you will want to adju
20. Read Method Use Read method to decode barcode Data Matrix OCR and or locate Fiducial depending on their configuration The Read method without the option On Off is equivalent to Run Once while the Read or Off are the same as Run Continuously or Stop If the custom VB program knows when to trigger a read then the Read method should be used The method will return decode data immediately if no hardware trigger is configured When hardware trigger is configured the Read method will return decode data when the first trigger occurs The VB program can also perform custom image display saving and processing When continuous hardware triggers are received and the custom program does not know when a trigger can occur then the Read On method must be used Once the Read on method is invoked it won t return until the method Read Off is used During the period whenever a hardware trigger occurs an image is acquired and decoded and the decode data is reported using the ReadData event Camera independent Syntax Object Read str Description str String Use to enter Run Continuously mode and use Off to stop Run Continuously mode Return Value String Results for barcode Data Matrix OCR decoding or output of the Fiducial finder o Remark The Read method may or may not acquire a new image depending on how the Grab New in the system configuration is configured in the job that is l
21. Refer to Appendix A Optional Hardware Installation to install the I O board and related hardware v2 1 0 Feb 2009 DMx AutoID User Manual 2 9 Chapter DMx AutoID Installation Starting DMx AutolID Note Prior to launching the software if needed securely attach the optional License Key to the PC s parallel or USB port For more information about the optional License Key see Configuration on page 1 3 To launch the DMx AutoID TM 1 Click the Start button from the Windows taskbar 2 Select Program Files the DMx AutoID folder then the DMx AutoID program 2 10 DMx AutoID User Manual v2 1 0 Feb 2009 cuaptens DMXx AutoID Tutorials This chapter provides three DMx AutoID tutorials that demonstrate setting parameters learning a Data Matrix samples vs actual and running inspection Use these tutorials to become better acquainted with the DMx AutoID TM program prior to full operation a os 56 lt 5 a Note This chapter serves as a guide Your results may vary Refer to Chapter 4 DMx AutoID Reference Guide for comprehensive descriptions of the DMx AutoID GUI To launch the DMx AutoID from your Windows desktop click the Start button choose Programs and then select DMx AutoID This displays the DMx AutoID main menu GUD as shown in Figure 3 1 FIGURE 3 1 DMx AutoID Main Menu GUI
22. 4 76 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface is running on the same PC enter the default value 127 0 0 1 If the program is running on a different PC enter the name or IP address of that PC Remote Port Enter the port number to match the Local Port number used in the Server program on which the Server is listening Default 8510 Range 0 to 32000 e Local Port This Local Port is available when the Protocol is set to Server Select a Local Port number on which the DMx AutoID Server will be listening Default 8500 Range 0 to 32000 I e Timeout minute Setting this to a positive value will ensure the DMx AutoID will attempt to reconnect to the other program within the specified Timeout limit should the connection be terminated for any reason e Input Prefix Suffix DMx AutoID can receive TCP IP commands from other programs running TCP IP protocol By specifying Prefix and Suffix the DMx AutoID will recognize the commands from other programs by searching for the Prefix and Suffix in the TCP IP buffer For the DMx AutoID to recognize the supported commands an input suffix is always required ES E 238 3 gt 5 x 2 AF e Output Prefix Suffix Any output message transmitted from the DMx AutoID TCP IP port to other programs will be prepended by the Output Prefix and appended by the Output Suffix An output suffix is re
23. 51 and Figure 4 52 4 106 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 51 Parameter Setup Dialog Box General Tab Verifier Fiducial BC Verification General DataMatrix Barcode OCRFixedFont Formatting Barcode Multi Code Setup Code 128 2 Number of Code 39 Postnet Barcodes fi to Decode Code 3 Pharmacode Number of B Data Matrices 0 I 5 14 to Decode Number of 0 Codabar RSS Limited C UNS UPC EAN ASS Expanded UPC E RSS Stacked r Data Matris BarcodeTime out UPC Sup Composite 7 1000 28 Time out Value PDF417 QR Code x p s Cancel svezesrsezenoneesesene v2 1 0 Feb 2009 DMx AutoID User Manual 4 107 I 3 ES E 28 3 gt 5 2 AF Chapter DMx AutoID Reference Guide FIGURE 4 52 Parameter Setup Dialog Box Barcode Tab Camera 1 Parameter Setup Barcode 1 x Verifier __ Fiducial BC Verification General DataMatrix OCR Fixed Font Formatting m Probe Spacing Barcode Properties Horizontal 32 zd Vertical 2 Max Bar Width 7 Min Bar Width r Search Direction for Horizontal Vertical 21 7 Her rec Hori gt Vert Vert gt Hori Min No of Bars 70 Max Code Height zm Ig 102 el m Barcode Specific
24. EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 73 Chapter DMx AutoID Visual Basic Support 6 74 DMx AutoID User Manual v2 1 0 Feb 2009 APPENDIX A gt 5 eg IS 8 c o oc SE 5 Optional Hardware Installation Your DMx AutoID system typically comes with the 0300 board for image acquisition The Combo I O board interface connector is also included In order to use the sensor and strobe you need to purchase the Mini Opto I O board and or the Combination I O board This section shows the strobe sensor and digital I O connectors of the Mini Opto I O board and the Combination I O board It also illustrates how to connect the strobe sensor for the two boards v2 1 0 Feb 2009 DMx AutoID User Manual A 1 Appendix Optional Hardware Installation Mini Opto I O Board The Mini Opto I O board provides two sensor inputs two strobes two opto isolated input points and four opto isolated output points FIGURE A 1 Sensor and Strobes A 2 DMx AutoID User Manual v2 1 0 Feb 2009 Mini Opto I O Board Sensor Strobes The Sensor Strobe connector JS is supplied with an 8 position mating screw terminal plug It provides two non isolated sensor inputs SENSOR1 on pin 3 SENSOR on pin 2 a sensor return on pin 4 and 12 for sensor power SENSOR PWR on pin 1 Each sensor input can operate from TTL to 30V DC FIGURE A 2 JS Connector
25. Reading Statistics while Running Quad v2 1 0 Feb 2009 DMx AutoID User Manual 3 13 Chapter DMx AutoID Tutorials 3 14 DMx AutoID User Manual v2 1 0 Feb 2009 LIMx AutoID M Reference Guide This chapter provides a complete reference guide for DMx AutoID operation It explains the menu items toolbar buttons dialog boxes and image windows provided in this product Launching the DMx AutoID During the installation the DMx AutoID can be installed under the DMx AutoID Program Group default or the StartUp Program Group If you wish to run the DMx AutoID program automatically every time you power up the computer then use the StartUp Program Group If the DMx AutoID Program Group is selected in the installation then you need to manually launch the DMx AutoID program You can either select Windows Start DMx Auto ID folder and DMx AutoID program to run the program or select Windows Start and Run and then click OK v2 1 0 Feb 2009 DMx AutoID User Manual 4 1 I E 20 28 3 lt 5 2 AF Chapter DMx AutoID Reference Guide FIGURE 4 1 Run Dialog Box Run 12 x Type the name of a program folder document or Internet 1 resource and Windows will open for you Open C Program Files DMx AutolD DMxAutolD exe v 1 Cancel Browse When the application is launched either manually
26. 1 or 2 6 14 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support CameraType Property This property corresponds to Cameras Type in Setup System Configuration This is a read write property that can be retrieved and set in runtime Syntax Object CameraType str Description str RS170 or CCIR Return Value String Camera type of RS170 or CCIR o T 5 Qe lt z g t3 ao oo EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 15 Chapter DMx AutoID Visual Basic Support CellSize Property This property indicates the cell size of the Data Matrix in Setup Parameters Data Matrix Advanced box This is a read write property that can be retrieved and set in runtime Syntax Object CellSize size Description size The cell size value ranges from 2 to 20 pixels Return Value A long value ranging from 2 to 20 6 16 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Cols Property This property indicates the number of columns of the Data Matrix in the Setup Parameters Data Matrix tab This is a read write property that can be retrieved and set in runtime Syntax Object Cols str Description str The str is either AUTO or ranges from 8 to 144 Return Value A string value of AUTO or that is between 8 to 144 o T 5 Qe lt z g t3 ao EE x 0 e v2
27. An ROI is required for enabling the Zoom x1 5 or Rotate option The decode graphics can be displayed in two different colors depending on whether preprocess is used or not Green color is used for reading without preprocess while light blue color indicates that preprocess is used You can perform multiple erosion or dilation steps before performing the Learn You can also perform a certain number of erosion steps followed by a different number of dilation steps or vice versa before performing the Learn Pre Process gt Undo Select this to undo any preprocessing step s to go back to the original image Pre Process Invert This is useful for inverting a light on dark barcode to dark on light for barcode decoding v2 1 0 Feb 2009 DMx AutoID User Manual 4 137 I ES E 20 2 8 3 gt 5 2 AF Chapter DMx AutoID Reference Guide Pre Process gt Zoom x 1 5 This is useful for enlarging the image to increase the resolution for reading small Data Matrix barcode or OCR characters To use this option you are required to draw the corresponding ROI first The ROI can be drawn as large as the full image but can not be set by Set ROI gt Clear ROI When the ROI is drawn the Zoom x 1 5 option is enabled in the Pre Process drop down menu Check the option by selecting it An enlarged image of the ROI area is then displayed Perform the Learn based on the image and ensure the Learn is successful Use R
28. EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 55 Chapter DMx AutoID Visual Basic Support DMx AutoID Custom Control Events The events exposed by the DMx AutoID Custom Control are listed in the following pages Error Event Occurs when an error is detected This is camera independent Syntax Object Error ByVal nError As Long Description nError eNCAMCONNECTED Camera not connected eNCONFIGPRT Pointer to global config not set eNCREATEIMAGE Image memory allocation failure eNERROR Software key not detected eNEXISTFILE File does not exist eNGRABINSTANCE 0300 board not instantiated eNSUPPORTFILE File not supported eNSUPPORTIMG Image not supported ePORTALRDYOPEN Port not available already open eWRONGEXT Wrong file extension 6 56 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support ImageSizeChange Event Occurs when an image of different size is loaded Syntax Object_ImageSizeChange ByVal width As Long ByVal height As Long Description width Image width in pixels height Image height in pixels o T 5 Qe lt z g 35 oo EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 57 Chapter DMx AutoID Visual Basic Support CamEnableMaskChange Event Occurs when a camera is added or removed from the enabled list Syntax Object_CamEnableMaskC
29. Half length PCI board Symbologies Data Matrix PDF 417 Code 39 Codabar Code 128 Code 93 Interleaved 2 of 5 UPC EAN UPC E UPC Supplementals RSS QR Code Postnet Pharmacode Optical Character Recognition SEMI OCR A B 1 4 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Specifications s Operational e Up to 30 reads per second with full 640x480 resolution or 25 reads second with full 768x572 resolution e Up to 60 reads per second with 320x240 resolution or 50 reads per second with 384x286 resolution 5 E a e RS 170 or CCIR video inputs e Reading results with debugging outputs e Methods to reformatting the reading results e Simple and effective learn mode e Four camera asynchronous or synchronous image acquisition with strobe output per 0300 board e Continuous mode with retry upon failure e 16 programmable digital I O e Multiple image display options e Ethernet TCP IP connectivity e Fiducial finding capability e Code quality verification e Password protection mode e Support for up to four 0300 boards e Windows GUI with ActiveX control programming support Environmental e Operating Temperature 32 to 104 0 to 40 C e Storage Temperature 4 to 149 F 20 to 65 C e Humidity Up to 95 non condensing v2 1 0 Feb 2009 DMx AutoID User Manual 1 5 Chapter DMx AutoID 1 6 DMx AutoID User Manual v2 1
30. Use Setup gt PLC Communication to display the PLC Communication dialog c Select PROFIBUS as the Transfer Protocol d Click OK to exit the dialog 10 In the DMx AutoID program select Run gt PLC to check it A small icon showing two connected monitors is displayed in the status panel of the program Communication is established when both monitors have the same light blue color The data exchange can now begin You can also use View gt PLC Status to display the communication status Profibus Data Exchange Protocol A simple data exchange protocol is implemented to ensure that a data packet sent from DMx AutoID is always delivered and processed by the master before DMx AutoID can send new packet of data Every time DMx AutoJD sends a new data packet to the master it must wait for the master to acknowledge the packet with an acknowledgement packet DMx AutoID will not send a new data packet to the master until it receives acknowledgment on the previously sent packet from the master The size of the data packet sent from DMx AutoID to the master is the input module size of 64 bytes configured in Step 6c If the data to be sent to the master exceeds 62 bytes then another or more data packets will be needed for sending the remaining data The size of the data packet sent from the master to DMx AutoID is the output module size of 64 bytes Table 4 3 shows the data packet format TABLE 4 3 Data Packet Forma
31. e True Save file Return Value The full path of the file to be opened or saved as a string If the Cancel button is entered an empty string is returned 6 36 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support CheckString Method Use the CheckString method to set or get a match string Syntax Object CheckString field field2 Description e fieldl Use 1D 2D or OCR to indicate the match string is for barcode Data Matrix or OCR e field2 The field2 can be ON OFF READ str ON Enable the match string checking OFF Disable the match string checking READ Automatically set the match string to the decode data with the next Read method str Set the match string by type in the match string as sfr here Return Value The match string as a string when field2 is omitted o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 37 Chapter DMx AutoID Visual Basic Support DisablelmageSaving Method The DisableImageSaving method can disable the image saving for failed images This is useful when you need to stop image saving in the custom program Syntax Object DisableImageSaving index Description index Long Camera index from to 16 6 38 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support GetlmageSize Method The GetImageSize method ca
32. minimize shadows use lighting sources with a diffuser such as CDI e Your lighting should be much brighter than the room in which the inspection is taking place e tisoften best to light the environment not the part e Anenclosure around the inspection station will minimize the impact of ambient light as well as protect lights and cameras Lighting provides a clear image that is not too bright or too dark and enables the 0300 board to identify the desired features and characteristics Refer to Table B 3 for additional lighting information TABLE B 3 Additional Lighting Information Lighting Type Hardware Required Representative Applications EVEN FRONT DIFFUSED Band Fluorescent Tube Straight or Simplest general purpose lighting Circular Always try first Zone Diffuser Plate or Reflecting Panel Detect broken microscope slides DOAL CDI SCDI POINT FRONT Point Source Fiberlight or Incandescent DOAL CDI SCDI Use where high intensity lighting is required on small area Also for shadow fill in and general lighting touch up v2 1 0 Feb 2009 DMx AutoID User Manual UJ 8 5 Fr 4 pun Appendix Creating A Good Image TABLE B 3 Additional Lighting Information continued Lighting Type Hardware Required Representative Applications Multiple Point Multiple Fiberlights or Incandescents Symmerical
33. you to view the reading graphics during a Run sequence Enabling graphics display will add very little overhead to each read cycle View gt Status Bar While Running Open the View menu and select Status Bar while Running This menu item updates the status bar display Enabling Status Bar update will add significant overhead to each read cycle For high speed application disable the Status Bar while Running View gt Reading Statistics While Running Open the View menu and select Reading Statistics while Running This menu item allows you to see the reading statistics in Run mode 4 134 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Pre Process Menu Figure 4 82 displays the Pre Process Menu FIGURE 4 82 Pre Process Menu zoom x 1 5 Rotate Erode Dilate Open Close Top Hat Wall Max Min I The Pre Process menu can be displayed by checking View gt Pre Processing Any Pre Process step can be used for reading Data Matrix barcode OCR or performing Data Matrix in line verification but is not applicable to the fiducial finder so far E 28 3 gt 5 x AF For challenging Data Matrix or OCR reading applications sometimes utilizing a proper Pre Process step to enhance the image quality before reading can actually make the reading more consistent and robust For example when the cell size of a dot peen mark is much smaller
34. 0 Feb 2009 CHAPTER 2 DMx AutoID Installation This chapter explains the complete software and hardware installation procedures For first time installations you must install the software prior to installing the 0300 board Software Installation Before installing the DMx AutoID software exit from other applications and disable any virus protection software you are running You may re enable the virus protection software after installation is complete The DMx AutoID software can run on Windows 2000 and XP platforms To install or upgrade to DMx AutoID 2 0 double click the setup exe icon in the Install folder in the installation CD Reboot as required For upgrading there is no need to uninstall any previous version prior to upgrading to the new version If you are upgrading from previous versions of DMx AutoID with a 0300 board already installed you only need to perform the Software Installation section to upgrade the software to version 2 0 When you need to install a new 0300 board follow the Hardware Installation section after first installing the software v2 1 0 Feb 2009 DMx AutoID User Manual 2 1 g 5 N d Chapter DMx AutoID Installation Hardware Installation Basic Setup Procedures The setup and installation procedure for your DMx AutoID involves Unpacking the 0300 board Installing the 0300 board In
35. 1 0 Feb 2009 DMx AutoID User Manual 6 17 Chapter DMx AutoID Visual Basic Support FormatLabel Property This property describes the Label separator in the Setup Parameters Formatting tab This is a read write property that can be retrieved and set in runtime Syntax Object FormatLabel str Description str The Label separator is a one character string The default value is Return Value The label separator as a one character string 6 18 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support FormatOCR Property This property is the bit mask in hex format corresponding to the check boxes in the OCR Debug Report in the Setup Parameters Formatting tab This is a read write property that can be retrieved and set in runtime Syntax Object FormatOCR str Description str You can have up to five bits enabled with Timing as the MSB The str ranges from amp to amp H1F Return Value The mask of the OCR formatting as a string o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 19 Chapter DMx AutoID Visual Basic Support FormatPrefix Property This property is the Prefix in the Setup Parameters Formatting tab This is a read write property that can be retrieved and set in runtime Syntax Object FormatPrefix str Description str String Prefix s
36. 1 to 30000 milliseconds RETRY TIME time limit Use this command to set the read cycle to multiple attempts within a specified time limit ranging from 50 to 30000 milliseconds 2 2 5 EE 3 lt O v2 1 0 Feb 2009 DMx AutoID User Manual 5 9 Chapter DMx AutoID Command Set ROI 10 20 1 OCR FIND CLEAR left top width height Use this command to set ROI for barcode Data Matrix OCR or Fiducial Finder The first parameter selects the type of symbology or tool The second parameter or the set of parameters specify the size of the ROI The values left top width and height represent the x y coordinates of the upper left corner and the width and height of the ROI in pixels For example to set ROI as 10 10 300 200 for Data Matrix type ROI 2D 10 10 300 200 lt Enter gt To set ROI to the full image size type ROI 2D CLEAR lt Enter gt If the optional parameter is not entered the command returns the ROI size in the order of left top width height If the ROI size has not been set from GUI or using ROI command the values 1 1 0 0 are returned to indicate that the ROI is the full image ROWS value AUTO Use this command to set get the number of matrix rows The value ranges from 8 to 144 The AUTO should be used if the number of rows varies in READ Type ROWS lt Enter gt to get the number of rows SAVE jobfile Use this command to save current
37. 2009 DMx AutoID User Manual 4 5 Chapter DMx AutoID Reference Guide enable the password protection mode by entering the correct password as shown in Figure 4 6 FIGURE 4 6 Password Setting Dialog Box Password Setting x r Password Protection Enter Password Lock GUI OK Cancel If you need to have access to the Run Continuously menu to start the reading with or without hardware trigger do not check the Lock GUI option If DMx AutoID is triggered by serial or TCPIP command then Lock GUI can be checked to ensure there is no unauthorized access to the Run menu If the system is configured properly e g after Learn you can select Run gt Run Continuously to perform continuous reading or decoding with password protection enabled The only way to stop the continuous reading is to type in the password from the keyboard The password mode is not disabled when the continuous reading is stopped This way you do not need to enable the password protection again before restarting the Run Continuously mode To disable the password mode select File Password Disable Password Protection to display a password box Enter the password then select OK When the Password Protection is disabled you can change the password by selecting File Password Change Password and following the dialog boxes step by step Remember that once the password mode is disabled you must re enable it before
38. 4 19 Parameter Setup Formatting Tab Dialog Box Camera 1 Parameter Setup Formatting x Verifier General Data Matrix Fiducial Barcode Output Formatting Prefix Suffix Label Separator a a BC Verification OCR Fixed Font OCR Debug Report Status Code String Confidence Char Confidence Status Separator Char Comers Advanced Timing Symbology Debug Report Status Code Symbol Angle Symbol Corners Symbol Contrast Damage Percent Border Match Percent Threshold Value Timing Total Error Bits Output Formatting Prefix Defines the prefix string that will be prepended to the symbology OCR data string for each camera read Suffix Defines the suffix string that will be appended to the symbology OCR data string for each camera read Label Separator Character that delimits the data from different symbols when multiple symbols are decoded in the same image 4 38 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface e Status Separator Character that delimits the Status code and other debug data from each other Symbology OCR Debug Report Report data that is formatted down the left column then down the right column and is separated by a Status Separator Character Data may be enabled for reporting or disabled unchecked as follows e Status Code for Dat
39. AutoID Graphic User Interface e Setup gt Lighting Control starting on page 4 78 e Setup gt PLC Communication starting on page 4 79 e Setup gt Wedge Target starting on page 4 94 e Setup gt Calibration starting on page 4 95 Setup gt System Configuration This menu item displays the System Configuration dialog box as shown in Figure 4 8 FIGURE 4 8 System Configuration Dialog Box System Configuration 4 m Cameras Enabled Strobe Light Resolution gt 0 ES Camera 1 Iv 640 x 480 5 205 2 640x240 x2 g 8 as Iv Camera 3 Iv 320x240 x 5 4 a tr Single Capture Settings Hardware Trigger Trigger Mode Internal Sync Cameras Type Rz170 Iv Grab New Advanced OK Cancel Cameras Enabled Click to select a camera s in the system If a camera is enabled checked you can further enable or disable its corresponding Strobe Light option and select its corresponding camera resolution For example if the corresponding Strobe Light is enabled checked for camera v2 1 0 Feb 2009 DMx AutoID User Manual 4 9 Chapter DMx AutoID Reference Guide 1 then whenever camera 1 acquires an image of the specified resolution the strobe signal for the camera will be output from the digital I O board Single Capture Settings Click to enable appropriate features to be employed during the ima
40. AutoID Installation e Foreshortening One axis of the image appears shorter than the another The decision of where to mount your camera is important because it influences which lens you will use Adjusting the Camera Position After you determine the best FOV for your application and determine the type of lens and its distance from the object being viewed determine whether it is necessary to move the camera For example you may be viewing different parts on one line and each part may require a different X horizontal Y vertical or Z in and out position Refer to Appendix B Creating A Good Image for more information The most common change is in the X and Y position A screw adjusted slide on the camera mount allows the best camera adjustment Clamping the Lens Any lens movement either by changing the focus or the f stop can seriously affect the results of the inspection Ensure that the lens cannot move once it has been set The best method to inhibit movement is to clamp the lens as shown in Figure 2 5 This ensures that the focus and f stop will not change and should also prevent mechanical stress from being transferred to the camera 2 8 DMx AutoID User Manual v2 1 0 Feb 2009 Hardware Installation FIGURE 2 5 Lens Clamp N CM 4000 m Qs PE HE m 86 v 9S Ob L Z0 90 vo Lens Clamp Optional Hardware Assembly
41. Barcode Specific Properties Dialog Box Barcode Specific Advanced Parameter x Decode Leftto Right Polarity 1 OK Cancel v2 1 0 Feb 2009 DMx AutoID User Manual 4 29 Chapter DMx AutoID Reference Guide e Barcode Type Sets parameters that apply only to a given barcode symbology Selecting a barcode type from the drop down list allows you to enable the barcode parameters BC412 symbology is supported and the following parameters are only applicable to BC412 barcode Start Stop Enabled Enabling this item requires that the BC412 barcode contains a start and stop pattern e Check Sum Enabled Enabling this item requires that the BC412 barcode contains a checksum character Decode Left to Right Enables left to right decoding of data When de selected the data will be decoded from right to left Note This mode is only useful when Start Stop Enabled is de selected This mode should not be used for SEMI BC412 barcode which contains both Start Stop and Check Sum Polarity When the polarity is known select either Dark on Light or Light on Dark from the drop down list When polarity is not known leave Polarity de selected Clicking the Advanced button displays the Barcode Specific Advanced Parameter dialog box as shown in Figure 4 16 FIGURE 4 16 Barcode Specific Advanced Parameter Dialog Box Barcode Advanced Parameter Lx Minim
42. Continuously is selected the program will acquire a new image whenever the trigger occurs and perform Data Matrix Barcode OCR reading The Waiting for a Trigger message will be displayed in the status bar before the first trigger occurs If no hardware trigger is used then Run Continuously will acquire an image and then perform Data Matrix Barcode OCR reading In the reading process a new image will be acquired and read as soon as the reading process of the current image is finished I If you use File gt Open List to open a list of images saved before then Run Continuously will read the images one by one and cycle through the list The Stop menu and tool bar will be displayed during Run Continuously mode to allow you to stop the running ES E 20 2 8 3 gt 5 x 2 AF Open the Run menu and select Com1 or Com2 as applicable When either option is checked enabled the respective serial port Com1 or Com2 is subsequently initialized Decode data is sent from that Com serial port along with any associated prefix and or suffix Run gt Beeper FIGURE 4 73 Beeper Window Cum Ea SA Beeper Ethernet TCP IP Read Log Data v2 1 0 Feb 2009 DMx AutoID User Manual 4 127 Chapter DMx AutoID Reference Guide The beeper has two tones indicating success or failure Selecting Beeper gt Fail checked enables the PC to beep when the inspection reading fails Similarly selecting Be
43. DMx AutoID Reference Guide Setup gt Output Messages This menu item displays the Customized Output Messages dialog box as shown in Figure 4 27 FIGURE 4 27 Customized Output Messages Dialog Box Customized Output Messages Lx Output for No Locate JOCATEFAILURE Output for No Decode DECODE FAILURE Output for String Mismatch MISMATCH Output for String Match MATCH Output for Angle Check Failed JANGLEQUTOFRANGE 0000008 Output for Damage Check Failed EXCESSIVE DAMAGE 00000008 Output for System Overrun SYSTEMOVERRUN Output for Camera Not Connected CAMERA NOT CONNECTED OK Cancel The strings in the edit boxes can be modified All enabled cameras report same string for the same error condition To add prefix select Setup then Parameters and finally Formatting to indicate the camera number Setup gt Checking Modes The String Angle and Damage Checking are performed only when enabled To perform the checking the barcode Data Matrix or OCR should be successfully decoded Each camera has separate checking parameters for Barcode Data Matrix and OCR that can be enabled or disabled String Checking Mode Data decoded from an inspection is compared to a defined string You can enter the check string in uppercase and or lowercase characters but the entry must match the data being read e g string length and case of each character in the string Wild card can be used That is
44. E a Note The parameter values shown in this dialog are generated by running a Learn Use caution when changing these values manually Advanced To modify advanced parameters Click Here OK b Cancel v2 1 0 Feb 2009 DMx AutoID User Manual 3 7 Chapter DMx AutoID Tutorials 8 Click Advanced to display the Advanced Parameter Tuning dialog box as shown in Figure 3 7 This menu item is detailed in Figure 4 13 Advanced Parameter Tuning Dialog Box on page 4 23 FIGURE 3 7 Advanced Parameter Tuning Dialog Box Advanced Parameter Tuning Average Element Size Minimum Edge Strength Samples per Cell Width Height Ratio m Search Speed Normal C Overdrive Turbo LN F3 2 Search Direction Horizontal C Vertical C Hori Vert C Vert Hori Criss cross Border Integrity 80 zi 2 Angle Variation Size Variation 4 Fine Tune Method C Position Enhance Intensity Enhance Quiet Zone Clutter No Top Timing Border x m Method Threshold Global C Slow Local C Fast w Adaptive x OK Cancel 9 Notice that Average Element Size is set to 5 pixels This is highly recommended in order to achieve fastest speed and most robust performance when configuring a typical Data Matrix
45. EAN 13 E 2 EAN 8 E 3 interleaved 2 of 5 E 2 pharmacode E 4 E 5 semi BC412 E 4 UPC E 3 UPC E E 3 type 4 30 v2 1 0 Feb 2009 DMx AutoID User Manual Index 1 Index verification 4 65 BARCODE Command 5 2 BARCODE ENABLEMASK Command 5 2 BarcodeCount Property 6 8 BarcodeEnableMask Property 6 9 Basic Setup Procedures 2 2 Baud Rate 4 13 BC412 4 29 properties 4 30 BCVERIFY Command 5 2 BCVerify Property 6 10 Binary Code C 4 Border integrity 4 24 match 4 52 match percent 4 41 Broken Border C 4 Buffer Overrun 4 16 Byte Oriented Error Detection and Correction Algorithm C 6 Cc Cable Connection 2 5 Calibration contrast 4 95 CamEnableMaskChange Event 6 58 Camera adjusting position 2 8 cable connection 2 5 cables 2 5 checklist 2 6 connection 2 5 enabled 4 9 f stop 6 lens clamping 2 8 mounting considerations 2 6 property 6 11 CAMERA Command 5 2 CAMERA COUNT command 5 2 CAMERA ENABLEMASK command 5 2 CameraCount Property 6 12 CameraEnableMask Property 6 13 CameraResol Property 6 14 Cameras Type 4 10 CameraType Property 6 15 CamIndexChange Event 6 59 CCIR 4 11 CDI B 14 Cell modulation 4 51 outline 4 26 size 4 50 value 4 23 CELL SIZE Command 5 3 CellSize Property 6 16 Center Offset 4 51 Certifications C 1 Char confidence 4 42 corners 4 42 Character dimensions 4 36 size space vary 4 36 CHECK STRING Command 5 3 Check Sum Enabled 4 30 Checklist camera 2 6 CheckString Method 6 3
46. Graphics While Running 4 134 View gt Status Bar While Running 4 134 View gt Reading Statistics While Running 4 134 Pre Process Menu 4 135 Pre Process gt Undo 4 137 Pre Process gt Invert 4 137 viii DMx AutoID User Manual v2 1 0 Feb 2009 CHAPTER 5 Contents Pre Process gt Zoom x 1 5 4 138 Pre Process gt Rotate 4 138 Pre Process gt Erode 4 138 Pre Process gt Dilate 4 138 Pre Process gt Open 4 138 Pre Process gt Close 4 138 Pre Process gt Top Hat 4 138 Pre Process gt Well 4 139 Pre Process gt Max Min 4 139 Pre Process Example 4 139 Help Menu 1 Help gt About 4 141 Tool Bar 4 142 Status Bar 4 143 DMx AutoID Command Set 1 BARCODE COUNT number 5 2 BARCODE ENABLEMASK mask 5 2 BCVERIFY NONE OVERALL SCANx 2 CAMERA number 5 2 CAMERA COUNT 5 2 CAMERA ENABLEMASK 5 2 CELL SIZE value 5 3 CHECK STRING 1D 2D OCR ON OFF str 3 CHECK STRING 10 120 OCR READ 5 3 COLS value AUTO 5 4 DEL jobfile 5 4 DIR 5 4 FORMAT PREFIX SUFFIX STATUS LABEL str 5 4 GRAB filepath 5 5 HEIGHT value AUTO 5 5 HELP 5 5 INVERT 5 5 LEARN 1D 2D 5 LIGHT axis intensity 5 6 LOAD jobfile 6 LOCK ON OFF 6 MATRIX COUNT number 5 6 MINIMIZE ON OFF 6 v2 1 0 Feb 2009 DMx AutoID User Manual ix Contents CHAPTER 6 MORPH ERODE DILATE OPEN CLOSE TOPHAT WELL MAX MIN number 6 OPTO INPUT point board 5 6 IOEVENT input enablemas
47. Greek Hebrew and other data interpretations or industry specific requirements to be represented Rectangular symbols ECC 200 only optional Six symbol formats are specified in a rectangular form Structured append ECC 200 only optional This allows files of data to be represented in up to 16 Data Matrix symbols The original data can be correctly reconstructed regardless of the order in which the symbols are scanned DMx AutoID User Manual v2 1 0 Feb 2009 Symbol Structure Symbol Structure Each Data Matrix symbol consists of data regions which contain nominally square modules set out in a regular array In larger ECC 200 symbols data regions are separated by alignment patterns The data region is surrounded by a finder pattern and as a result is surrounded on all four sides by a quiet zone border The Finder Pattern is a perimeter to the data region and is one module wide Two adjacent sides left and lower sides forming the L shaped boundary are solid dark lines These sides primarily determine physical size orientation and symbol distortion The two opposite sides are made up of alternating dark and light modules These are used primarily to define the cell structure of the symbol but can also assist in determining physical size and distortion O Regarding Symbol Sizes and Capacities the ECC 000 140 symbols consist of an odd number of rows and columns Symbols are square with sizes from 9x9 to 49x49 m
48. Learn select File gt Open List to open files sample10 bmp and sample11 bmp 8 From the Run menu select Run Continuously You can speed up the reading by selecting checking Speed Enhance in Fine Tune Method in Advanced OCR Parameter Tuning box Note No separator characters can be recognized in the OCR A or OCR B font The following example illustrates how to read the OCR A font containing separators Reading OCR A with Separator Example 1 Since the five separators and space are not recognizable in OCR A and OCR B font reading a string containing these separators requires special attention This example illustrates how this can be done 1 Set ROI string box and character box 4 116 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 60 DMx AutolD E ocr_a with separator tif G x suele ejeje ff Te gt 5 x 378 y 85 161 Whenever Ready Click this Panel 2 Click the panel to enter the following information as shown in Figure 4 61 FIGURE 4 61 4 Camera 1 Parameter Setup OCR Fixed Font Lx Homeri ETS Primary Character fe Row 1 1 4 Font Type OCRA M Row 2 d OCR Method Degraded Row3 Text Polarity Light on Dark Row 4 Text Orientation Normal E 28 3 gt 5 x 2 AF Fielding Train String 88C5200 LFE Cance
49. Matrix Symbology TABLE 4 ECC 200 Symbol Attributes continued 1 36 10x16 2 1 44 31 20 45 0 23 38 2 1 36 14x16 2 1 64 46 30 42 9 21 38 6 1 48 14x22 2 1 98 72 47 36 4 18 32 6 Note 1 Symbol size does not include a quiet zone Note The maximum correctable percentage can range between 28 and 39 Note In the largest symbol 144x144 the first eight Reed Solomon blocks are 218 code words long encoding 156 data code words The last two blocks encode 217 code words 155 data code words All the blocks have 62 error correction code words DMx AutoID User Manual v2 1 0 Feb 2009 Data Matrix Specification Details Data Matrix Specification Details This section provides excerpts from the AIM International Technical Specification International Symbology Specification Data Matrix 1996 Refer to the AIM Specification for the complete text For new applications ECC 200 is recommended ECC 000 140 should only be used in closed applications where a single party controls both the production and reading of the symbols and is responsible for overall system performance The characteristics of the code consist of 1 Encodable character set a Values 0 127 in accordance with ANSI X3 4 i e all 128 ASCII characters equivalent to the US national version of ISO 646 b Values 128 255 in accordance with ISO 8859 1 Latin Alphabet No 1 These are refer
50. Menu file 4 3 help 4 141 pre process 4 135 run 4 125 set ROI 4 98 setup 4 8 view 4 129 MinHeight Property 6 64 Mini Opto I O 4 16 MINIMIZE Command 5 6 Minimized 4 7 Minimum edge contrast 4 65 edge strength 4 23 4 31 PC requirements 1 3 quiet zone 4 31 reflectance 4 65 MinWidth Property 6 65 Modes overall 4 67 scan 4 68 Modulation 4 50 4 65 Module Fill Rate 4 48 MORPH Command 5 6 MouseEnable Property 6 66 MoveAOI Event 6 71 Multi Code Setup 3 6 Multiple Input Modules 4 94 No quiet zone clutter 4 25 retry 4 74 No of cols 4 21 4 22 of rows 4 21 4 22 Nominal Module Size 4 48 Number of barcodes to decode 4 19 of characters vary 4 36 of data matrices to decode 3 6 4 19 of ocr rows to read 4 19 Numeric Grading 4 66 0 OCR debug report 4 39 4 42 license key required 1 3 method 4 34 OCR A 4 33 fixed font 4 32 OCR B 4 33 fixed font 4 32 OPTO INPUT command 5 6 IOEVENT command 5 7 OPTO IOMASK command 5 8 OPTO OUTPUT command 5 8 OptoInput Method 6 45 OptoIOEvent Method 6 46 OptoIOMask Method 6 47 OptoOutput Method 6 48 Orientation 4 21 Orientation Parameter relation to angle variation 4 24 Output formatting 4 38 prefix 4 14 4 77 suffix 4 14 4 77 Ovality 4 49 Overall grade 4 49 4 50 4 53 mode 4 67 symbol grade 4 48 Overdrive Mode 4 26 Index 6 DMx AutoID User Manual v2 1 0 Feb 2009 Overrun process 4 16 trigger 4 16 Overwrite Old Images 4 71 OVHD C 5
51. Properties Min Code Height 40 Max Code Length zi ax Code Leng 318 44 Min Code Length 318 Et Advanced Advanced The Learn Barcode auto discriminates the type of barcodes presented in the image among the following barcode types Code 128 39 93 I 2 of 5 Codabar UPC EAN UPC E UPC Supplemental PDF417 RSS 14 RSS Limited RSS Expanded RSS Stacked Composite and QR code Note To read BC412 Postnet or Pharmacode you need to check the barcode type in General tab before performing Learn Barcode For reading the same type of barcode the Learn Barcode process sets up the barcode parameters in the Barcode tab to increase the barcode reading robustness 4 108 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface in Run mode If reading different types of barcodes is necessary then the learned parameters for Bar Width No of Bars Code Height Code Width should be adjusted to cover all types of barcodes to ensure the maximum robustness On the other hand simply resetting the parameters to default values will allow barcodes of different type to be read For example select File gt Jobs gt Load Default to reset the barcode parameters Open images Sample7 bmp for Code 39 Sample8 bmp for 1 2 of 5 and Sample9 bmp for Code 128 Select Code 128 Code 39 and 2 of 5 in Parameter Setup gt General tab and set Number of Barcodes to Deco
52. Run Once mode with each of the three image modes described in 1 the image and decode graphics can be displayed differently depending on whether Run Once operates on a new image i e whether the Grab New flag in Setup gt System Configuration is checked or not If no new image is acquired in Run Once mode then the Data Matrix reading is based on the already processed image and the decode graphics is displayed in the usual green color If a new image is acquired then Run Once applies the preprocessing step and read the Data Matrix based on the processed image The decoded graphics is displayed in light blue color Since Run Continuously mode is not affected by the Grab New flag the image and decode graphics are displayed the same way as the Run Once with Grab New checked The following explains the design more specifically File Grab The original image was acquired from the 0300 board In this mode if Grab New is checked then Run Once acquires a new image perform the preprocessing step then read the Data Matrix The new image before the preprocessing is displayed with the decode graphics in light blue color If Grab New is unchecked then Run Once does NOT acquire a new image Instead it performs the preprocess step on the original image then reads the Data Matrix This time however the preprocessed image and the decode graphics are displayed File Open List You need to have at least two files To test this mode use F
53. Service Set to RsLinx for DDE protocol or Profibus for PROFIBUS protocol Note The PLC Communication setup parameters cannot be changed when it has been selected from the Run menu To change the parameters de select PLC Communication from the Run menu change the PLC setup parameters and then select PLC Communication again v2 1 0 Feb 2009 DMx AutoID User Manual 4 79 Chapter DMx AutoID Reference Guide DDE Protocol FIGURE 4 33 PLC Communications Dialog Box DDE PLC Communication x r Transfer Protocol 34 Transfer Format DDE 2 characters word C PROFIBUS OPC Byte swapped r PLC to DMx AutolD Transfers r DMx AutolD to PLC Transfers Read Data 0 0 Write Data 0 Read Length 20 Write Length 20 Loa File PLC Service Rstin DDE Topic ri OK Cancel When DDE is selected and Run gt PLC is checked AutoID 1M continuously attempts to establish a DDE hot link to the PLC software for receiving DMx AutoID commands Decode data from DMx AutoID is sent across a manual DDE link to the PLC software If the DDE connection is broken by exiting the PLC software for instance DMx AutoID attempts to reconnect PLC to DMx AutoID Transfers For the PLC software to send commands to DMx AutoID both Read Data and Read Length are required Read Data is the starting data tab
54. Sets the direction of the search such as Horizontal Vert gt Horiz etc Barcode Properties The barcodes to be decoded should meet the dimensional requirements described by the following properties Max Min Bar Width The maximum minimum width of bars in pixels Default 1 to 100 pixels 4 28 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Max Min No of Bars The maximum minimum number of bars in the barcodes to be decoded Default 2 to 256 Max Min Code Height The maximum minimum height of barcodes to be decoded Default 20 to 1024 pixels Max Min Code Length The maximum minimum length of barcodes to be decoded Default 20 to 1024 pixels Note If barcodes of different type or size need to be decoded each barcode should be learned separately and its barcode properties recorded by the user To read them all the barcode properties list should be manually set to contain all the barcode properties learned from each barcode The corresponding barcode type in Barcode group in the General tab should be set accordingly I Barcode Specific Properties group allows the properties that are unique to certain types of barcode to be displayed and modified Currently only BC412 contains special parameters When BC412 is enabled in the General tab the following part of the Barcode tab is enabled ES E 28 3 gt 5 x AF FIGURE 4 15
55. Standard e DMx AutoID software e Single slot 0300 board with interface to RS 170 and CCIR cameras and onboard digital I O e An Port Connector bezel that replaces a blank port access cover e Internal cabling for connecting connector on the 0300 board to the I O port connector PC power to the 0300 board camera power connector Optional e Camera stand lens light source e Mini I O or Combination I O board 1 2 DMx AutoID User Manual v2 1 0 Feb 2009 Configuration h Configuration 0300 board Camera Cables g E a DMx AutoID Software CD only DMx AutoID License Key If the 0300 board is installed e You need a License Key for OCR e You need a License Key for inline verification If no 0300 board is installed e need a License Key for Barcode Data Matrix e need a License Key for OCR e You need a License Key for inline verification DMx AutoID User Manual Minimum Host PC Requirements Pentium III class CPU 350 MHz or higher 128 MB memory required 2 GB hard disk Enhanced IDE SVGA display 800x600 with 256 colors Disk Space Approximately 20 MB free to install the software One open PCI slot necessary for 0300 board installation only Microsoft Windows 2000 XP with Service pack 2 v2 1 0 Feb 2009 DMx AutoID User Manual 1 3 Chapter DMx AutoID DMx AutoID Specifications Physical
56. cameras 1 to 16 strData decode data when barcode is decoded or output messages programmed in DMx AutoID The output message can be Locate Failure Decode Failure Match MisMatch Overrun etc When message Overrun is received a number of 1 for process buffer overrun or 2 for trigger overrun is also reported v2 1 0 Feb 2009 DMx AutoID User Manual 6 61 o T 5 Qe lt z g 35 EE x 0 e Chapter DMx AutoID Visual Basic Support DMx ImageView Control The DMx ImageView ActiveX Control provides properties and methods for managing the image display user input from mouse and keyboard and managing the status panel It also provides events so that the user inputs can be passed on to the DMx AutoID Custom Control The remainder of this section describes the following e DMx ImageView Control Properties starting on page 6 62 DMx ImageView Control Methods starting on page 6 68 e DMx ImageView Control Events starting on page 6 70 DMx ImageView Control Properties The properties exposed by the DMx ImageView Control are described in the following pages 6 62 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support AutoResize Property The AutoResize property determines if the Image View Control can be resized This is a write only property that can be set in the runtime This is camera independent Syntax Object AutoResize
57. direction This mode is particularly useful for shuttered applications in which full horizontal resolution 768 pixels is needed I In setup mode with Synchronous trigger enabled when camera x is selected to acquire an image the strobes connected to both camera x and camera 1 will fire at the same time Therefore if you always want to fire the strobe no matter which camera is selected connect the strobe to camera 1 E 20 2 8 3 gt 5 2 AF To achieve consistent image quality in asynchronous or synchronous mode with strobe we recommend that you use a shroud to block out the ambient light to ensure the camera sees only the strobe light When Strobe Light is checked an advanced button allows the access to the dead zone settings The settings control when the strobe can or cannot fire You should not change them for the CM4000 RS170 and CM4001 CCIR cameras For other types of cameras please contact Microscan Technical Support see the inside front cover for more information v2 1 0 Feb 2009 DMx AutoID User Manual 4 11 Chapter DMx AutoID Reference Guide Throughput Estimation Guidelines The DMx AutoID is capable of performing up to 3 600 reads per minute To estimate the maximum throughput for a given application first obtain the shortest Inspection Time out Value that is sufficient for each decode to complete successfully In milliseconds the total cycle time will be nl
58. displayed Using the character 0 as an example Character Width is the horizontal distance between the center of the left stroke and that of the right stroke and Character Height is the vertical distance between the center of the top stroke and that of the bottom stoke Using the character dimensions obtained from the OCR learn the nominal character width and the nominal character height can be computed The nominal character width is the horizontal distance between the leftmost pixel and the rightmost pixel of a character and is obtained as the sum of Character Width and Stroke Width The nominal character height is the vertical distance between the topmost pixel and the bottommost pixel of a character and is the sum of Character Height and Stroke Width To assure the 4 36 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface most reliable and efficient reading the recommended nominal character width and height are 20 5 pixels and 35 15 pixels respectively e Custom Fielding Allows the user to specify to which fielding option each character position belongs The Fielding Option group is enabled only after the OCR Fixed Font parameters have been learned By default each character position uses Alphanumeric fielding represented by To set certain position to be either Alpha only or Numeric only or other custom combination click the to display the Fielding Options section and then se
59. file to be used in your custom2 type of application Most of the properties and methods are tied to the current camera and you should always ensure the current camera is set correctly using the Camera property Properties or methods that are only applicable to the current camera are said to be camera dependent Properties or methods that are not tied to a specific camera are called camera independent and are specifically noted In the following descriptions the square brackets indicate that an item is optional A mask is a string of binary bit patterns in hex format An enable mask describes an array of check box options for enabled 0300 boards cameras barcodes custom verifier options symbology debug information and OCR debug information The topmost check box corresponds to the LSB and the bottommost to the MSB of the bit mask For a value over 9 the string format 6 4 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support amp Hx has to be used where x is the hex representation For example to represent a bit pattern of 1010 enter amp HA If a string value for a mask is between amp HO and amp H9 you can simply use a value between 0 and 9 for a write property The corresponding read property returns a variant which can be retrieved as a string or long value DMx AutolD Custom Control The DMx AutoID Custom Control is an ActiveX control that provides properties methods and events for DMx AutoI
60. five separators and the space ABCDEFGHIJKLM NOPQRSTUYUKY2 0103356783 OCR A A Z 0 9 ABCDEFGHIJKLM NOPQRSTUVWXYZ 12038557854 OCR B A Z 0 9 1234567890 ABCDEFGHIJKLM NOPQRSTUVWXYZ Note If the OCR A or OCR B string contains one of the separators used in the SEMI font and the position of the separator is fixed then the string can still be read by specifying the separator in the fielding An example in the Learn gt Fixed Font OCR illustrates how this can be done I ES E 20 2 8 3 gt 5 2 AF v2 1 0 Feb 2009 DMx AutoID User Manual 4 33 Chapter DMx AutoID Reference Guide e Method Indicates which method is to be used in locating and decoding the characters The default is Degraded Options include Standard This method works on clean characters with no significant background noise The method allows the text string to rotate up to 15 from the horizontal or vertical orientation The speed of the method is relatively fast The number of characters to be read during the run is allowed to vary from the number used in Learn Dot Matrix This method is the Standard method optimized for Dot Matrix characters It has the similar performance as the Standard method except that it is more tolerant of background noise Degraded This method is the most robust of all three methods and should be used whenever possible It is c
61. folder I Program Files HilScher SyCon Fieldbus PROFIBUS GSD Obtain the DIB files CSODPS_S DIB CSODPS_R DIB and C50DPS D DIB and install them in the appropriate directory of the Profibus configuration tool For example when SyCon is installed and used the DIB files are already installed in the folder ES E 20 28 3 gt 5 2 AF Program Files HilScher SyCon Fieldbus PROFIBUS BMP Using the Profibus configuration tool add and configure the DMxAutoID CIF50 DPS on the logical network as a slave Make sure the Station address is set to the value previously chosen in Step 5 Configure the input and output modules of DMxAutoID CIF50 DPS to be the same as those already downloaded to the CIF50 DPS board in Step 5e in this case 64 byte input con for data packets coming from DMxAutoID to the master and 64 byte output con for commands from the master to the slave respectively Generate the configuration file for loading to the Profibus master For example when SyCon is used select Online gt Download to download the master slave configuration Physically connect the DMxAutoID CIF50 DPS to the Profibus network using appropriate cables and terminator settings Start Profibus communication v2 1 0 Feb 2009 DMx AutoID User Manual 4 87 Chapter DMx AutoID Reference Guide 9 Launch DMx AutoID program a Check View gt Additional Menus gt PLC Interface if it is not already checked b
62. high intensity Sources DOAL illumination of microscopic fields of CDI view such as electronic components SCDI EVEN BACK Backlighting Light Box or Uniform Surface Dimensioning highly reflective parts inspecting contours of parts with highly variable surfaces STRUCTURED On Axis DOAL See flat dark reflective surfaces Beam Splitter Front light deep holes Light Line Laser with Cylinder Lens Relative height measurements of surfaces Non contact gaging SPECIAL EFFECTS Polarizing Polarizing on Light Sources and Minimize glare and variable glints on Lens top lit reflective surfaces Color Interference and Gelatin Filters Discriminate copper and steel Make variable colored parts appear more similar to camera Strobe Strobe Source and Synch Box Use wherever part moves more than one pixel in 17 milliseconds B 18 DMx AutoID User Manual v2 1 0 Feb 2009 Data Matrix Symbology 6 O This appendix describes the Data Matrix Symbology gt o ge aw Data Matrix Certification Data Matrix has been certified by AIM USA and AIM International as a fully public domain symbology AIM stands for Automatic Identification Manufacturers International Inc It is located on the Internet at http www aimi org bib4 htm which provides the complete specification Data Matrix has also been selected as a standard for 2D marking by a majority of industry organizations suc
63. if you want to ignore part of the string in checking mode replace each character of that part with a question mark 4 72 DMx AutoID User Manual v2 1 0 Feb 2009 Camera 1 Checking Modes Setup Data Matrix Barcode OCR On Off Auto Set String LI Angle Damage DMx AutoID Graphic User Interface e Angle Checking Mode Use this mode to verify that the matrix barcode being decoded is at a specified angle with a specified tolerance The angle and deviation are specified in degrees with the angle increasing as the matrix is rotated counter clockwise Damage Checking Mode Use this mode to make sure that the Data Matrix being decoded contains less than the specified percent of damage to the data cells The maximum allowed damage ranges from 0 to 99 Open the Setup menu and select Checking Modes to display the Data Matrix Checking Mode dialog box as shown in Figure 4 28 FIGURE 4 28 Checking Modes Setup Data Matrix Tab Dialog Box I E CE Maximum Damage Percent LE Cancel You can either manually enter the match string angle deviation and damage percent or set them automatically by checking the Auto Set option before Learn is performed To enable a certain type of checking check its corresponding On Off box D E 28 3 gt 5 AF In Barcode Checking Mode the Damage Checking is not supported Only Str
64. is reduced by one half The best image is obtained at the higher f stops settings however the aperture is smaller and less light enters the lens You will have to experiment with the aperture setting to obtain the best image for your application and lighting Depth Of Field Depth of field is the size of the front to back distance that is in focus The aperture opening is the most important influence in determining the depth of field e When using a small aperture high f stop number much of the area both in the foreground and background of the object will be in focus More light is required when the aperture is small This provides greater depth of field and reduces the effects of ambient light e When using a large aperture the object is in focus but the areas in the foreground and background of the object are out of focus e lenses are accompanied by an information sheet detailing depth of field at various F stop settings and working distances DMx AutoID User Manual v2 1 0 Feb 2009 Lighting Ti ps Lighting Tips e light a round part try using a round light source which provides even lighting on the inspected parts such as CDI Cloudy Day Illumination Experiment with different light positions and sources until you find the best illumination for your part e Ifyou place a point source light close to the part you will likely produce harsh glare with black shadows e To fill in
65. less than 12V to the sensor power pin on the JS connector you must remove jumper JMP1 on the camera I O card Failure to remove the jumper may cause damage to the mini opto I O board and the camera I O card Digital I O There are two dedicated input and four dedicated optically isolated output points The field wiring is terminated on the two screw terminal connectors JI and JO FIGURE A 3 JI Connector Opto Input 2 A Opto Input 2 B Opto Input 1 A Opto Input 1 B 1 Jl 4 Jl A 4 DMx AutoID User Manual v2 1 0 Feb 2009 gt Mini Opto I O Board The digital input connector JI is supplied with a 4 position mating screw terminal plug It provides two bi directional Opto inputs e INI on pins 3 and 4 e 12 on pins 1 and 2 pus 5 Eg Is 8 co oc SE 5 Each input can operate with non polarized DC signals from 5 to 50 volts with DC currents from 0 5 to 5ma FIGURE A 4 JO Connector EN Opto Output 4 A Opto Output 4 B Opto Output 3 A Opto Output 3 B Opto Output 2 A Opto Output 2 B Opto Output 1 A Opto Output 1 B JO AAAAAAA 8 The digital output connector JO is supplied with an 8 position mating screw terminal plug It provides four bi directional opto outputs e OUTI on pins 7 and 8 e OUT2 on pins 5 and 6 e OUT3 on pins 3 and 4 e OUTA on pins 1 and 2 v2 1 0 Feb 2009 DMx AutoID User
66. lightest 10 pixels within the Data Matrix area are computed Symbol Contrast is the difference of the two means divided by the full gray scale range This parameter is not graded but provided as a reference I e Overall Grade Lowest grade of all graded parameters ISO 15415 Verification Parameters The following parameters are measured based on ISO IEC 15415 Bar code symbol print quality test specification Two dimensional symbols using the measuring aperture 05 To correctly apply the aperture 05 the camera must be calibrated first using Setup Calibration menu ES E 20 2 8 3 gt 5 2 AF e Reference Decode Use the symbology Reference Decode Algorithm to decode the Data Matrix Reference Decode is graded as A if the Data Matrix is successfully decoded F if the Data Matrix cannot be decoded Symbol Contrast SC Difference between the highest and lowest reflectance values in the Data Matrix area including the quiet zone It is graded as A if SC gt 70 B if SC gt 55 Cif SC gt 40 D if SC gt 20 F if SC lt 20 Axial Nonuniformity Same as AIM Verification v2 1 0 Feb 2009 DMx AutoID User Manual 4 49 Chapter DMx AutoID Reference Guide Grid Nonuniformity GN Measures and grades the largest vector deviation of the grid intersections from their ideal theoretical position The grid intersections are determined by the reference decode algorithm f
67. or automatically upon power up the main menu and toolbar of the DMx AutoID Graphic User Interface GUI is displayed as shown in Figure 4 2 FIGURE 4 2 DMx AutoID Main Menu amp Toolbar File Setup SetROl Learn Run View Help fel of pe sf gt Camera 2 Camera 1 Stop Run Run Continuously Run gt Run View Watch Window Set ROI Clear ROI Set Parameters File Save As File Live File Grab File Open List File Open 4 2 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface DMx AutoID Graphic User Interface File Menu This section contains complete details on menu items dialog boxes image windows and toolbar buttons that are available in the DMx AutoJD GUI The remainder of this chapter describes the following menus e File Menu starting on page 4 3 e Setup Menu starting on page 4 8 e Set ROI Menu starting on page 4 98 e Learn Menu starting on page 4 99 e Run Menu starting on page 4 125 4 e View Menu starting on page 4 129 e Pre Process Menu starting on page 4 135 gt 5 e Help Menu starting on page 1 5 e gt Figure 4 3 displays the File Menu FIGURE 4 3 File Menu File Setup Open Cti o Open List Ctrl L Grab Live Password
68. size in the FOV If necessary refer to a complete description of Average Element Size in Figure 4 13 Advanced Parameter Tuning Dialog Box on page 4 23 10 To perform a Data Matrix reading open the Run menu and select Run Continuously This menu item is detailed in Run gt Run Continuously on page 4 127 3 8 DMx AutoID User Manual v2 1 0 Feb 2009 Tutorial 1 Reading Sample Data Matrix from File 11 The same Data Matrix is repeatedly decoded and the total number of reads is displayed in the second field along the Status Bar panel Our example as shown in Figure 3 8 displays 02 reads FIGURE 3 8 Status Bar Showing Number of Decode Reads Dx AutolD C Program Files DMx AutoID bmp sample1 bmp Ble Sete Leer Stop Help ee os KE xr a Nn Displays number of Data Matrix decode reads 14ms 102 Data Matrix Sample 1 12 During the running sequence you are allowed only one action to stop the execution To do so click the Stop button on the Toolbar v2 1 0 Feb 2009 DMx AutoID User Manual 3 9 Chapter DMx AutoID Tutorials Tutorial 2 Reading Sample Data Matrices from File List 1 From the main menu Figure 3 1 on page 3 1 open the File menu and select Open List This displays the Open List dialog box as shown in Figure 3 9 FIGURE 3 9 Open List Dialog Box
69. state Description state Boolean e True Allow ImageView Control to resize e False ImageView Control does not resize This is the default o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 63 Chapter DMx AutoID Visual Basic Support MinHeight Property The MinHeight property sets the minimum height of the Image View control This is used when AutoResize is set to True This is a write only property that can be set in the runtime This is camera independent Syntax Object MinHeight height Description height Long The height of the view of the ImageView control The height cannot be less than 64 pixels 6 64 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support MinWidth Property The MinWidth property sets the minimum width of the ImageView control This is used when AutoResize is set to True This is a write only property that can be set in the runtime This is camera independent Syntax Object Min Width width Description width Long The width of view of the Image View control The width cannot be less than 64 pixels o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 65 Chapter DMx AutoID Visual Basic Support MouseEnable Property Use the MouseEnable property to enable disable Windows Mouse M
70. the DPM Status Configuration the Advanced button will be enabled Clicking Advanced button displays the Target Print Growth Advance Setup box Target Print Growth represents the best print growth value required for the marking application and it defaults to 0 For dot peen marks you may choose to mark the dot size to be a certain percentage smaller than the nominal cell size A target print growth value of 0 10 indicates that the best print growth should be 10 percent smaller than the nominal cell size AIM Verification Parameters The following parameters are measured based on AIM Uniform Symbology Specification Data Matrix or ISO 16022 document The method described in the document parallels in many ways the ANSI X3 182 1990 guideline for assessing print quality of linear bar code symbols The parameters are mostly applicable to high contrast printed labels or certain laser marks on clean surfaces Symbol Contrast SC Contrast of the Data Matrix measured from the image The grade is A if SC gt 75 if SC gt 55 Cif SC gt 40 D if SC gt 20 F if SC lt 20 Axial Nonuniformity AN Check if the spacing between Data Matrix rows and the spacing between Data Matrix columns are similar to each other The smaller the score the better the quality The grade is 4 46 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface A if AN lt 0 06 B if AN lt 0 08 Cif AN lt 0 10 D
71. to the AutoID Custom Control using the ROI method of AutoID Custom Control Syntax Object MoveAOI ByVal item As Long Description item e 0 Main ROI Used as the ROI for Data Matrix Barcode OCR and Fiducial Finder e Extra Used for the OCR Train string box or Data Matrix outline box in assisted learn or template box for Fiducial finder e 2 Extra ROI Used for the OCR character box o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 71 Chapter DMx AutoID Visual Basic Support PanelClick Event Occurs when the status panel in the ImageView control is clicked You typically pass the user click information to AutoID Custom Control when the event occurs Syntax Object PanelClick ByVal item As Long Description item There are seven panel items on the status panel and only the last panel item can generate a PanelClick event for an item value of 7 6 72 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support ResizeView Event Occurs when a new image is acquired whose size is different than the previously displayed image and the AutoResize property is set to True Syntax Object ResizeView ByVal width As Long ByVal height As Long Description width width of the view in pixels height height of the view in pixels o T 5 Qe lt z g 35
72. while DMx AutolD has more data to send Information packet consisting of two bytes m 1 0 A packet m containing an invalid command PLC packet that is none of the three types above a misspelled command or incorrect command length in byte 1 Data packet consisting of the words Invalid command m 1 15 73 110 118 97 108 105 100 32 67 111 109 109 97 110 100 Error Handling in Run Continuously Mode The master a PLC sets the Run Continuously mode of DMx AutoID by sending the command READ ON AutoID is then triggered by hardware triggers and sends the decode data back to the master TABLE 4 5 Error Handling in Run Continuously Mode When AutoID Receives Command READ OFF with packet number n while there is no more data to send DMx AutoID Responds With Command response READ OFF SUCCESS with packet n 1 Command READ OFF with packet number n while there are more data to send A new packet n 1 for the remaining data Anything else from the master is treated as an acknowledgement packet These include A true acknowledgement packet A valid or invalid command with an arbitrary number that is different from the previous one Data up to 62 bytes with no more data left to send or data of 62 bytes with more data to be sent v2 1 0 Feb 2009 DMx AutoID User Manual 4 93 I ES E 20 28 gt gt 5 2 AF Chapter DM
73. 0 Fif BM 80 Symbol Contrast SC Contrast of the Data Matrix measured from the image The value is sensitive to the lighting change thus uncalibrated value has little meaning To use this parameter properly contrast calibration must be performed first The range is from 1 to 100 The grade is A if SC gt 75 if SC gt 55 Cif SC gt 40 D if SC gt 20 F if SC lt 20 Axial Nonuniformity AN Check if the spacing between matrix rows and the spacing between matrix columns are similar to each other The smaller the score the better the quality The grade is A if AN lt 0 06 B if AN lt 0 08 Cif AN lt 0 10 D if AN lt 0 12 Fif AN 0 12 Print Growth PG Measures how much the Data Matrix cells are over or under printed marked in both X and Y directions X Print Growth XPG is computed as the difference between the average width of all On cells and 4 52 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface the X Nominal Cell Size divided by the X Nominal Cell Size Y Print Growth YPG is computed as the difference between the average height of all On cells and the Y Nominal Cell Size divided by the Y Nominal Cell Size Print Growth PG is defined as the larger value of IXPG TPGI and IYPG TPGI where TPG is the Target Print Growth Target Print Growth represents the best print growth value required for the marking application and is default to 0 For dot p
74. 0 and OxFFFF to configure all General Purpose IO points GPIO 1 16 to be either input or output The optional parameter board from 0 3 indicates the 0300 boards The default board number is 0 indicating the first board When more than one board is used the optional number tells DMx AutoID to which 0300 board the Opto I O board is connected If no optional board number is specified DMx AutoID uses the current camera to determine which 0300 board the Opto I O board is connected to The first 4 cameras belong to board number 0 the next 4 cameras belong to board number 1 and so on The following examples show how to program the I O points to be either output or input To set all GPIO 1 16 as output type OPTO IOMASK 0 lt Enter gt To set GPIO 1 as input and GPIO 2 16 as output type IOMASK amp HI Enter To set GPIO 1 2 as input and 3 16 as output type IOMASK amp H03 lt Enter gt To set GPIO 1 and 3 as input and the rest as output type IOMASK amp H05 lt Enter gt To set all GPIO as input type OPTO IOMASK amp HFFFF lt Enter gt For Mini Opto I O the two inputs and four outputs cannot be changed The first four points are outputs and the next two points are input and the only acceptable command is OPTO IOMASK amp H30 lt Enter gt For description of the board parameter see the preceding paragraph OUTPUT point 1 0 board Use this command to set the state of one output I O point conf
75. 096 2096 border mismatch or damage is tolerated Range 75 to 100 e Angle Variation The orientation of a Data Matrix is set after a successful Learn By default the angle variation factor is set to 23 i e half of 45 This means the Data Matrices in the inspection READ mode can rotate up to 23 from the Learned orientation The variation value is ignored if the Orientation parameter in Data Matrix tab is unchecked When the Data Matrices do not change their orientation by more than 10 the angle variation factor can be set to 10 Note With today s fast CPUs we suggest that you keep the default value of 23 for the angle variation for maximum robustness e Size Variation 96 The size representing the height and width of a Data Matrix is set after a successful Learn When the Data Matrices in subsequent inspections READ have similar size the size learned applies to these matrices The size variation factor default is 10 which means the size can vary up to 10 from the nominal values determined from the Learn regardless of the cell size used in the setup The maximum size variation allowed is 25 If the variation exceeds 25 both Height and Width should be de selected unchecked 4 24 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface e Width Height Ratio This tells the program to only search for a Data Matrix symbol with the specific aspect ratio when either H
76. 1 amp H3FF For the Mini Opto I O the input enablemask ranges from amp H10 to amp H30 The state parameter indicates the initial state before the input state change see Table 5 1 TABLE 5 1 State Parameters State What It Means 0 An input state change from 0 to 1 generates the command response 1 An input state change from 1 to 0 generates the command 5 response 2 Either a state change from 1 to 0 or from 0 to 1 generates the command response This is the default The board parameter is the board number 0 3 Once the OPTO IOEVENT command is sent the program must wait for the OPTO IOEVENT n command response to be received before sending next command to perform some action based on the input To detect the next input OPTO IOEVENT must be sent again before the state change of the input is generated 2 2 5 EE lt O This is camera independent v2 1 0 Feb 2009 DMx AutoID User Manual 5 7 Chapter DMx AutoID Command Set IOMASK value board By default the DMx AutoID controls all 16 digital I O points on the Combo I O board with Standard 1 predetermined I O mode Using command the I O implementation can be set to Custom and the I O behavior can then be changed This command sets the Custom I O mode and must be used once before any other OPTO commands can be used For Combo I O use parameter value between 0x
77. 1 2 3 and 4 represent the data valid pulses indicating that the data in I O points 5 16 are valid System Overrun Consists of Process Overrun and Trigger Overrun which can only happen in Run Continuously with hardware trigger enabled When a hardware trigger occurs a new image is acquired and placed into one of several pre allocated image buffers as long as the image to be overwritten is no longer needed by the reading process Process Overrun also called Buffer Overrun occurs when the system cannot process the images fast enough and release the buffers thus leaving no buffer available for a newly acquired image Process Overrun is represented by System Overrun being set to high and the Match output set to low Trigger Overrun occurs when a new hardware trigger is received for a camera while it is still acquiring the previous image Trigger Overrun is represented by System Overrun being set to high and the Match output set to high In either case Read output is always held at low Verifier Failure Indicates when a Data Matrix is successfully read but its print quality does not meet the specified grade When this happens the Read output is set to high and System Overrun output is set high See Verifier section under Parameter Setup for more information Data Valid Pulse Width ms Enter the width of the data valid pulse It is limited to between 8 and 125 ms When Mini Opto I O is selected the pre defined I O beha
78. 1 1 6 3 1 62 5 25 12 12 10x10 1 1 10 6 3 58 3 25 14 14 12x12 1 1 16 10 6 55 6 28 39 16 16 14x14 1 1 24 16 10 50 0 25 38 18 18 16x16 1 1 36 25 16 43 8 22 34 20 20 18x18 1 1 44 31 20 45 0 23 38 22 22 20x20 1 1 60 43 28 40 0 20 34 24 24 22x22 1 1 72 52 34 40 0 20 35 26 26 24x24 1 1 88 64 42 38 9 19 35 32 32 14x14 4 1 124 91 60 36 7 18 34 36 36 16x16 4 1 172 127 84 32 8 16 30 40 40 18x18 4 1 228 169 112 29 6 15 28 C 8 DMx AutoID User Manual v2 1 0 Feb 2009 Data Matrix Encodation Schemes TABLE 6 4 ECC 200 Symbol Attributes continued 44 44 20x20 4 1 288 214 142 28 0 14 27 48 48 22x22 4 1 348 259 172 28 1 14 27 52 52 24x24 4 2 408 304 202 29 2 15 27 64 64 14x14 1 2 560 418 278 28 6 14 27 6 72 72 16x16 1 4 736 550 366 28 1 14 26 6 80 80 18x18 1 4 912 682 454 29 6 15 28 6 88 88 20x20 1 4 1152 862 574 28 0 14 27 6 96 96 22x22 1 4 1392 1042 694 28 1 14 27 6 104 104 24x24 1 6 1632 1222 814 29 2 15 28 6 120 120 18x18 3 6 2100 1573 104 28 0 14 27 6 8 132 132 20x20 3 8 2608 1954 130 27 6 14 26 6 2 144 144 22x22 3 8 3116 2335 155 28 5 14 27 6 6 2 Rectangular Symbols 8 18 6x16 1 10 6 3 58 3 25 8 32 6x14 1 20 13 8 52 4 24 1 26 10x24 1 32 22 14 46 7 23 37 2 v2 1 0 Feb 2009 DMx AutoID User Manual C 9 O Xm eo o SE Appendix Data
79. 144 DMx AutoID User Manual v2 1 0 Feb 2009 CHAPTER 5 DMx AutoID Command Set The DMx AutoID commands are designed to enable a custom program to configure and control the DMx AutoID system via serial communication or Ethernet TCP IP The same set of commands can also be used by PLC in order to control DMx AutoID via RsLinx or Profibus To ensure proper communication each time the custom program sends a serial TCP IP command it must wait for the command to respond The next command cannot be sent before the event is acknowledged that notifies the previous command has been completed Most of the commands are tied to the current camera you should always ensure the current camera is set correctly using the command CAMERA n Commands that are only applicable to the current camera are said to be camera dependent Commands that are not tied to a specific camera are called camera independent and are specifically noted e tems in ALL CAPS represent a system command or keyword e tems in italics should be replaced with a value or keyword corresponding to the parameter range specified e Curly brackets indicate that an item is required e Square brackets indicates that an item is optional v2 1 0 Feb 2009 DMx AutoID User Manual 5 1 2 2 eps EE 3 lt O Chapter DMx AutoID Command Set BARCODE COUNT number Use this command to set change the Number of B
80. 2 1 0 Feb 2009 DMx AutoID User Manual F 1 Appendix IO Matrices TABLE F 2 IO Matrix Camera 2 Camera Number IO Point Camera 2 2 8 9 10 Data Valid No Read ON of of off Data Valid Good Read Verifier Success if enabled ON ON off off Data Valid Good Read No Match if enabled ON ON off off Data Valid Good Read Good Match if enabled ON ON ON off Data Valid Process Overrun ON off off ON Data Valid Trigger Overrun ON off ON ON Data Valid Good Read Verifier Failure if enabled ON ON off ON F 2 DMx AutoID User Manual v2 1 0 Feb 2009 TABLE F 3 IO Matrix Camera 3 Camera Number IO Point Camera 3 3 11 12 13 Data Valid No Read ON off off off Data Valid Good Read Verifier Success if enabled ON ON off off Data Valid Good Read No Match if enabled ON ON off off Data Valid Good Read Good Match if enabled ON ON ON off Data Valid Process Overrun ON off off ON Data Valid Trigger Overrun ON off ON ON Data Valid Good Read Verifier Failure if enabled ON ON off ON v2 1 0 Feb 2009 DMx AutoID User Manual F 3 Appendix IO Matrices TABLE F 4 IO Matrix Camera 4 Camera Number Point Camera 4 4 14 15 16 Data Valid No Read ON off off off Data Valid Good Read Verifier Success if enabled ON ON off off Da
81. 3 I E 20 2 9 3 gt 5 2 AF Chapter DMx AutoID Reference Guide they are disabled in order to avoid lowering the overall grade of an otherwise good Data Matrix mark Sometimes you may also find other parameters that receive low grades due to the improper camera setup These parameters have to be disabled so that the overall grade is determined by the remaining important parameters more suitable for the application For example a laser mark that has perfect center offset and size offset may report a low grade for both parameters if the camera has to be mounted at an angle that is not perpendicular to the mark surface Based on the assumption that both the center and size offset are not contributing factors to the low quality of the mark the verification can be done after disabling the two parameters Verification Status The Verification Status is used to indicate Verification Pass Fail or Verification Good Fair Poor It is configured based on the individual parameter grade for DPM verification or the Overall Grade for AIM IAQG and ISO 15415 verifications The verification status is such that the grade A is always Good and grade F is always Poor and that grade B C or D can be configured to be any of the Good Fair and Poor status as long as no lower grade is assigned a better status If the Fair status is not used then the verification status has two outcomes only Good or Pass and Poor or Fail
82. 5 v2 1 0 Feb 2009 DMx AutoID User Manual Index 9
83. 6 DIR Command 5 4 Directory for Saved Images 4 70 4 71 Disable Prefilter 4 36 DisableImageSaving Method 6 38 DMx AutoID configuration 1 3 launching 4 1 main menu 3 1 number of reads per minute 1 1 to PLC transfers 4 80 DOAL B 13 Dot center offset 4 48 matrix method 4 34 size 4 48 DPM parameters 4 50 E ECC 000 140 C 5 C 7 C 12 C 13 200 C 5 C 8 C 12 C 13 level 4 21 4 22 C 5 Edge determination 4 65 strength value 4 23 C 1 Electronics Industries Association C 1 Encodation Schemes file formats C 8 format strings C 7 Ensure ROI 4 26 Environmental Requirements 2 2 Error correction codes C 5 event 6 56 Example data matrix assisted learn 4 101 Extended Channel Interpretations C 12 Extension Ring B 4 F Failed Images saving 4 70 v2 1 0 Feb 2009 DMx AutoID User Manual Index 3 Index Fan Performance 2 3 Field of View 2 7 3 12 determining B 2 ensuring optimum 2 7 general rule B 2 horizontal B 3 Fielding custom 4 37 File formats C 8 menu 4 3 FileNameQuery Method 6 36 Finder Pattern C 13 Fine Tune method 4 25 4 36 purposes 4 22 Fixed font ocr a 4 32 ocr b 4 32 pattern damage 4 50 Flow Control for Com 1 Serial Communications 4 13 Fluorescent Lighting B 6 Focal Length B 2 Focus 2 8 Font Type 4 32 ocr a 4 33 ocr b 4 33 semi 4 33 Foreshortening 2 8 Format id 4 21 strings encodation scheme C 7 FORMAT Command 5 4 FormatLabel Property 6 18 FormatOCR Property 6 19 FormatPrefix Pr
84. 7 Clamping the Lens 2 7 Cloudy Day Illumination B 14 CM4000 2 5 2 6 COLS Command 5 4 Cols Property 6 17 Combination I O Board optional component 1 2 Components 1 2 Confidence Threshold 4 31 4 35 Configuration main trigger 4 75 Configuring the Profibus Network 4 83 Continuous Diffuse Illumination B 14 Contrast Calibration 4 95 Custom 4 16 fielding 4 37 Customized Output Messages Dialog Box 4 72 D Damage checking mode 4 73 percent 4 41 Dark on Light 4 30 Index 2 DMx AutoID User Manual v2 1 0 Feb 2009 Data bits 4 13 regions C 13 storage area C 4 valid 4 16 valid pulse width ms 4 16 Data Matrix 8 bit binary code C 4 additional features C 12 assisted learn 4 101 checking mode dialog box 4 73 compared to barcode C 2 components C 3 dialog box 3 7 examples C 2 reading ensuring completed 4 19 sample symbols D 1 what it is C 1 Date Time Stamp 4 42 DDE protocol 4 80 topic 4 82 Debug Report ocr 4 39 4 42 symbology 4 39 Decodability 4 64 Decode Left to Right 4 30 Defects 4 64 Define ROI Menu 4 98 Degraded Method 4 34 DEL Command 5 4 Delete Old Images at Startup 4 71 Depth of Field B 16 poor 2 7 Detect Space 4 36 Dialog Box advanced parameter tuning 3 8 data matrix 3 7 digital i o settings 4 15 general 3 6 parameter setup 4 18 4 28 4 32 system configuration 4 9 Diffuse Lighting B 7 Diffused On Axis Lighting B 13 Digital I O Settings Dialog Box 4 15 Index Dimensions character 4 3
85. 7 you need to set the binary bit mask to 100000011 Enter str in the hex value as amp H103 The str ranges from amp to amp 2 Return Value The mask of enabled barcodes as a string o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 9 Chapter DMx AutoID Visual Basic Support BCVerify Property This property configures barcode verifier mode in the Setup Parameters BC Verifier tab This is a read write property that can be retrieved and set in runtime Syntax Object BCVerify str Description str String None Do not perform barcode verification e Overall Perform ANSI verification and report the overall results e Scanx Perform ANSI verification and report detailed scan result for scan line x where x ranges from 0 to 9 Return Value A string of None or Overall or Scanx 6 10 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Camera Property This property indicates the current camera index that is checked in the View Camera menu This is a read write property that can be retrieved and set in runtime Syntax Object Camera index Description index The current camera index ranges from 1 to 16 Return Value A long value ranging from to 16 o T 5 Qe lt z g 35 EE x 0 e
86. AutoID Reference Guide The BC Verification dialog box Figure 4 25 allows you to enable barcode verification and report either the overall results or each individual scan results but not both at the same time FIGURE 4 25 Parameter Setup Barcode Verification Dialog Box Camera 1 Parameter Setup BC erifier E General Data Matrix Barcode OCR Fixed Font Formatting Verifier Fiducial BC Verification Mode C None Numeric Grading C Overall Show Status Only 0 Validate Inspection Status Color Key Status Configuration Good mm Final Grade Al E c Dj F 1 Poor Cancel Grading Criteria The following information describes briefly how each parameter is graded based on a scan reflectance profile e Decodability is graded as A At least 0 62 B At least 0 50 C At least 0 37 D At least 0 25 F Otherwise e Defects is graded as 4 64 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface At most 0 15 B At most 0 20 C At most 0 25 D At most 0 30 F Otherwise e Edge Determination is graded as A pass or fail depending on whether all element edges are correctly identified Minimum Edge Contrast is graded as A if it is at least 15 F otherwise e Minimum Reflectance is graded as I A if max reflectance value is at least twice min reflect
87. AutoID User Manual E 3 Appendix Sample Barcode Symbols FIGURE E 11 SEMI BC412 with Both Start Stop and Check Sum TTT E FIGURE E 12 Pharmacode AQQ45670 399 FIGURE E 13 RSS 14 01 15012345678909 FIGURE E 14 RSS Limited 01 15012345678907 FIGURE E 15 RSS Expanded 01 98898765432106 3202 012345 15 991231 4 DMx AutoID User Manual v2 1 0 Feb 2009 FIGURE E 16 RSS Stacked 01 00012345678905 FIGURE E 17 RSS Limited Composite 01 13112345678906 17 010615 10 A123456 FIGURE E 18 RSS 14 Stacked Composite Wi m 01 03412345678900 17 010200 FIGURE E 19 QR Code Oe m QR Code symbol 0 xe o 6 oO ry ae o E o v2 1 0 Feb 2009 DMx AutoID User Manual E 5 Appendix Sample Barcode Symbols E 6 DMx AutoID User Manual v2 1 0 Feb 2009 IO Matrices APPENDIX F TABLE F 1 IO Matrix Camera 1 Camera Number IO Point Camera 1 1 5 6 7 Data Valid No Read ON off off off Data Valid Good Read Verifier Success if enabled ON ON off off Data Valid Good Read No Match if enabled ON ON off off Data Valid Good Read Good Match if enabled ON ON ON off Data Valid Process Overrun ON off off ON Data Valid Trigger Overrun ON off ON ON Data Valid Good Read Verifier Failure if enabled ON ON off ON v
88. Barcode OCR Fixed Font Formatting r Number of Characters Primaiy Character p Row 1 m Font Type Row 2 LR OCR Method Degraded z Row 3 LE Text Polarity Light on Dak gt Row 4 LE Text Orientation Noma z Advanced Train String Cancel The OCR Fixed Font program can read up to four lines of character strings having the same font Only three standard fixed fonts are supported namely SEMI OCR A and OCR B Each line can have up to 30 characters When the Number of OCR Rows to Read in the General tab is set to a positive value up to 4 the number of characters in each available row in the Number of Characters group will be enabled for editing Note The Degraded OCR method only works with one line of text Primary Character The single character selected during the Learn OCR process The character should be chosen such that the size of the character reflects the average size of the characters in the string Font Type Indicates the font of characters in the text string Options include SEMI OCR A and OCR B Default is SEMI font The SEMI font contains 0 9 A Z and five special characters such as P 4 32 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface and the space The currently supported OCR A and B fonts contain 0 9 and A Z They are illustrated as follows SEMI A Z 0 9 and
89. Black 5 Flash Ch 2 Blue 8 Not Connected Black not used Sensor SM312 Sensor Cable AS MP50 xxx assy EN Part Dd Strobe Cable Red not used Strobe Light Unit Xenon Strobes v2 1 0 Feb 2009 DMx AutoID User Manual A 13 P pus 5 ge Is 8 co oc SE 5 Appendix Optional Hardware Installation Combination I O High Speed Sensor amp Strobe Connections This following figure illustrates how to connect a part sensor and strobe to the JSS1 JSS4 connectors of the Combination I O board FIGURE A 8 Connecting Part Sensor and Strobe to JSS1 JSS4 JSS1 JSS4 1 Strobe Flash Flash ii k Brown Flash 2 7 Black Brow GND Strobe GND 40 30V_ 3 Sensor Power Sink 4 Sensor N Pe 5 Sensor GND Clear Chassis GND 1 JSS1 JSS4 For LED Strobes JSS1 Disc Color Flash Ch 1 Brown Flash Rtn Black Flash Ch 2 Blue Not Connected Black not used Sensor SM312 Sensor Cable AS MP50 xxx assy SN Strobe Cable Red not used Xenon Strobes DMx AutoID User Manual v2 1 0 Feb 2009 gt Connecting Sensor amp Strobe Strobe Unit Example The following is a typical strobe light unit FIGURE A 9 Strob
90. Boot job or change to a different one select Boot again to display the dialog box D E 20 2 8 3 gt 5 2 AF Note We recommend although not required that all jobs be stored in DMx AutoID jobs directory which is normally under C Program Files File gt Exit This menu item exits the program v2 1 0 Feb 2009 DMx AutoID User Manual 4 7 Chapter DMx AutoID Reference Guide Setup Menu The Setup menu Figure 4 7 allows you to configure various DMx AutoID system parameters FIGURE 4 7 Setup Menu SetROl Learn System Configuration COM Port Digital 1 0 Parameters Image Saving Output Messages Checking Modes Retry Modes Ethernet TCP IP Lighting Control PLC Communication Wedge Target Calibration ID The remainder of this section describes the following Setup Menu selections e Setup gt System Configuration starting on page 4 9 e Setup gt Com Port starting on page 4 13 e Setup Digital I O starting on page 4 15 e Setup gt Parameters starting page 4 17 e Setup gt Image Saving starting on page 4 70 e Setup gt Output Messages starting on page 4 72 e Setup gt Checking Modes starting on page 4 72 e Setup gt Retry Modes starting on page 4 74 e Setup gt Ethernet TCP IP starting on page 4 76 4 8 DMx AutoID User Manual v2 1 0 Feb 2009 DMx
91. D system and parameter configurations image acquisition learn and read image job file open and save digital I O control lighting control etc The remainder of this section describes the following e DMx AutoID Custom Control Properties starting on page 6 5 e DMx AutoID Custom Control Methods starting on page 6 36 e DMx AutoID Custom Control Events starting on page 6 56 DMx AutoID Custom Control Properties The properties exposed by the DMx AutoID Custom Control are listed in the following pages o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 5 Chapter DMx AutoID Visual Basic Support ApplicationPath Property This property passes the current application path to the control The application path can be useful for opening or saving an image or a job file This is a write only property that can be set only at runtime This is camera independent Syntax Object ApplicationPath path Description path This is the file path that you want the DMx AutoID Custom Control to know as the application path Typically you get path using App Path in VB and set it to the ApplicationPath property 6 6 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support AssistedLearnEnable Property The property is a Boolean setting that determines if the assisted learn mode interactive learn mode is allowed This is a write o
92. Drawing Rectangular Box DMx AutoID D Program Files DMx AutoID 10 ol x Setup SetROl Leam Bun Help mofo jae ee Te gt e 58 3 Draw the Prime Char Box INSIDE the Training Box 4 Draw a tight bounding box indicating the size of one character In Figure 4 56 we select the character O to be the primary character 4 112 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 56 Drawing the Tight Bounding Box DMx AutoID D Program Files DMx AutolID Sample10 bmp ol x jp Leam Bun View Help I x 248 228 Whenever Ready Click this Panel 3 ES E 2g gt 5 AF 5 Left click the status bar to display the OCR parameters tab to enter more information Note Before left clicking the mouse you can further adjust the three boxes by placing the cursor near the smaller squares on the rectangular boxes and resize them by either moving the mouse or pressing the arrow keys on the keyboard After left clicking the status bar the Parameter Setup dialog box is displayed as shown in Figure 4 57 You need to enter all relevant information correctly v2 1 0 Feb 2009 DMx AutoID User Manual 4 113 Chapter DMx AutoID Reference Guide FIGURE 4 57 Parameter Setup Dialog Box Camera 1 Parameter Setup
93. Grade e Print Growth Value X e Print Growth Value Y e Nominal Cell Size Value DPM Mode e Decode Data decode string and debug output when specified e Symbology Verification Status Code if Status Code is checked in Formatting tab I e Symbology Verification Timing if Timing is checked in Formatting tab Overall Grade e Nominal Cell Size Grade Nominal Cell Size e Center Offset Grade ES E 20 2 8 3 gt 5 2 AF e Center Offset e Size Offset Grade e Size Offset e Cell Modulation Grade e On Cell Modulation e Off Cell Modulation e Border Match Grade e Border Match e Symbol Contrast Grade e Symbol Contrast v2 1 0 Feb 2009 DMx AutoID User Manual 4 59 Chapter DMx AutoID Reference Guide e Axial Nonuniformity Grade e Axial Nonuniformity e Print Growth Grade e X Print Growth e Y Print Growth e UEC Grade UEC e Distortion Angle Grade e Angle of Distortion Setup gt Parameters gt Fiducial To use the fiducial finder you first need to perform a Learn For more information see Learn gt Fiducial on page 4 120 The Fiducial tab allows you to configure the correlation based fiducial finder to search for a target in the image 4 60 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 24 Parameter Setup Fiducial Finder Dialog Box Camera 1 Parameter Setup Finder x General DataMatri
94. ID Once a connection is established the VB program can send a command to and receive the command response from DMx AutoID The supported TCP IP commands are listed in Chapter 5 DMx AutoID Command Set Note The command TCPIP is not supported as a TCP IP command In the custom VB application you have the option to set up the TCP IP protocol as either server or client By default the DMx AutoID application is configured as a TCP IP client We recommend that you configure the custom VB application as a TCP IP server When you create a server application select a port LocalPort property of the WinSock Control on which to listen and invoke the Listen method When the DMx AutoID computer requests a connection as a client the ConnectionRequest event will occur To complete the connection invoke the Accept method within the ConnectionRequest event In DMx AutoID you need to set the Remote Host ID to be the server computer s name or IP address and the Remote Port to match the Local Port on which the Server is listening On the other hand if you need to configure the custom VB application as a TCP IP client you must set the DMx AutoID as a TCP IP server and select the Local Port on which the Server will be listening In your client application you must enter the DMx AutoID computer s name or IP address in the RemoteHost property and set the RemotePort property to match the Local Port set in DMx A
95. ISO 15415 parameters described in this section except for Print Growth DPM Verification Parameters The following parameters are measured based on Microscan s extensive experience in Data Matrix reading and verification of Direct Part Marks DPM Cell Size CS Test if Nominal Cell Size exceeds the minimum requirement To ensure accurate and repeatable measurement results it is 4 50 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface recommended that nominal cell size be no less than 10 pixels For good quality images a minimum of 5 pixels may be sufficient The grade is A if CS gt 0 B if CS gt 9 Cif CS gt 7 D if CS gt 5 FifCS lt 5 Note that for calibrated system the cell size is reported in Mils 0 001 inch instead of Pixels but the grading is always based on the pixel values Center Offset CO Check if On cells are precisely placed according to the nominal Data Matrix grid If a cell is out of alignment its center offset error is computed as the distance from the center of the cell to its nominal location in pixels divided by the nominal cell size The Center Offset of the Data Matrix is the average of center offset errors for all the On cells normalized to achieve the proper range between 0 and 10 The measurement I is most useful for gauging the quality of dot peen or inkjet marks The smaller the score the better the quality The grade is 5 L A if C
96. Initialize Property 6 27 KeyCode Property 6 28 MatrixCount Property 6 29 PanelClick Property 6 30 Pol Property 6 31 Rows Property 6 32 VerifyEnableMask Property 6 33 VerifyMode Property 6 34 Width Property 6 35 DMx AutoID Custom Control Methods 6 36 FileNameQuery Method 6 36 CheckString Method 6 37 DisablelmageSaving Method 6 38 GetlmageSize Method 6 39 Grab Method 6 40 Learn Method 6 41 Light Method 6 42 Live Method 6 43 Load Method 6 44 Optolnput Method 6 45 OptolOEvent Method 6 46 OptolOMask Method 6 47 OptoOutput Method 6 48 Read Method 6 49 ROI Method 6 50 Save Method 6 51 Savelmage Method 6 52 SetROI Method 6 53 ShowOption Method 6 54 Stats Method 6 55 DMx AutolD Custom Control Events 6 56 Error Event 6 56 ImageSizeChange Event 6 57 v2 1 0 Feb 2009 DMx AutoID User Manual xi Contents CamEnableMaskChange Event 6 58 CamlndexChange Event 6 59 GrablndexChange Event 6 60 ReadData Event 6 61 DMx ImageView Control 6 62 DMx ImageView Control Properties 6 62 AutoResize Property 6 63 MinHeight Property 6 64 MinWidth Property 6 65 MouseEnable Property 6 66 StatusBarVisible Property 6 67 DMx ImageView Control Methods 6 68 GetImageRECTAOI Method 6 68 SetlmageSize Method 6 69 DMx ImageView Control Events 6 70 KeyDown Event 6 70 MoveAOI Event 6 71 PanelClick Event 6 72 ResizeView Event 6 73 APPENDIX A Optional Hardware Installation 1 Mini Opto I O Board 2 Sensor Strobes 3 Digital 4 Com
97. Intensity If checked the average intensity of the found target is reported after the correlation score Setup Parameters Barcode Verification The implementation of barcode print quality verification is based on the ANSI X3 182 1990 Bar Code Print Quality Guideline 15015416 A total of 10 scans are made to get 10 scan reflectance profiles of the barcode The scans are approximately equally spaced within the barcode and are made parallel to the length of the barcode 4 62 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface For each scan reflectance profile these parameters are graded e Decodability e Defects e Edge Determination Minimum Edge Contrast e Minimum Reflectance e Modulation e Quiet Zone Reference Decode I e Symbol Contrast Each parameter is given a grade A B C D F that corresponds to a numeric value of 4 3 2 1 or 0 respectively The lowest grade received from these parameters is used as the Overall Profile Grade for the scan profile The Final Symbol Grade Score is the simple average of all the overall profile grades using the standard weighting 42A ES E 20 2 9 3 gt 5 2 AF 3 B 26 1 D O F The average is converted to the Final Symbol Grade e 3 5 lt A lt 4 0 e 25 lt B lt 3 5 e 5 e 05 lt D lt 1 5 e lt 0 5 v2 1 0 Feb 2009 DMx AutoID User Manual 4 63 Chapter DMx
98. M Perform AIM verification standard AQG Perform IAQG verification standard e ISO 51415 Perform ISO 51415 verification standard Return Value A string of None or Custom or AIM or IAQG 6 34 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Width Property This property corresponds to the Width in the Setup Parameters Data Matrix tab This is a read write property that can be retrieved and set in runtime Syntax Object Width str Description str String The str is AUTO or ranges from 20 to 1024 pixels Return Value A long value of AUTO or that is between 20 and 1024 o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 35 Chapter DMx AutoID Visual Basic Support DMx AutoID Custom Control Methods The methods exposed by the DMx AutoID Custom Control are listed in the following pages FileNameQuery Method Use the FileNameQuery method to get the full file path including the file name for image Job file opening or saving Camera independent Syntax Object FileNameQuery strPath bImage bSave Description strPath String You have the option to set a file path so that the method will display the file path in the query dialog box blmage Boolean e True Image file This is the default e False Job file bSave Boolean e False Open file This the default
99. MATRIX COUNT number Use this command to set change the Number of Data Matrices to Decode in the General parameter tab The value in the current camera configuration is returned if the optional number is not entered The valid range for number is 0 5 MINIMIZE ON OFF Use this command to minimize restore the DMx AutoID GUI The default for the optional value is ON This is camera independent MORPH ERODE DILATE OPEN CLOSE TOPHAT WELL MAX MIN number Use this command to perform morphological preprocessing Operates on the current acquired image Use the optional number from 1 to 8 to indicate the number of iterations The default is 1 OPTO INPUT point board Use this command to get the value of one input I O point configured by OPTO IOMASK command The first parameter point is the input point the second optional parameter board is the board number from 0 3 The return value is 1 for I O state high and 0 for I O state low 5 6 DMx AutoID User Manual v2 1 0 Feb 2009 IOEVENT input enablemask state 0 3 Use this command to request the OPTO IOEVENT command response be sent when a digital input state changes The input enablemask parameter enables all or a subset of the input points configured by OPTO IOMASK The enabled input points will generate the command response OPTO IOEVENT n once the state of input point n changes For the Combo I O the input enablemask ranges from
100. MICROSCAN DMx AutolID User Manual v2 1 0 Feb 2009 EM 20171 1V210 Copyright and Disclaimer Copyright 2009 by Microscan Systems Inc 1201 S W 7th Street Renton WA U S A 98057 425 226 5700 FAX 425 226 8682 All rights reserved The information contained herein is proprietary and is provided solely for the purpose of allowing customers to operate and or service Microscan manufactured equipment and is not to be released reproduced or used for any other purpose without written permission of Microscan Throughout this manual trademarked names might be used Rather than place a trademark symbol at every occurrence of a trademarked name we state herein that we are using the names only in an editorial fashion and to the benefit of the trademark owner with no intention of infringement Disclaimer The information and specifications described in this manual are subject to change without notice Latest Manual Version For the latest version of this manual see the Download Center on our web site at www microscan com Technical Support For technical support email helpdesk microscan com Microscan Systems Inc 1201 S W 7th Street Renton WA 98057 U S A Tel 425 226 5700 Fax 425 226 8250 helpdesk microscan com Microscan Europe Tel 31 172 423360 Fax 31 172 423366 Microscan Asia Pacific R O Tel 65 6846 1214 Fax 65 6846 4641 Microscan Limited Warranty Statement and Exclusions What Is Cov
101. Manual A 5 Appendix Optional Hardware Installation Each output has a contact resistance of less than 20 ohms and can operate with non polarized AC or DC signals up to 50 volts at 100ma Each output is protected by a current limiting foldback circuit The I O connector supplies the necessary 5 volts DC to operate the I O board via the I O cable There is no external power supply connector Note Do not attempt to connect an external 5 volts DC power supply to the Mini Opto I O Board There is no connector provided for this function This board receives its power via the I O cable Connecting an external power supply will cause serious problems the two power supplies will conflict with each other to produce unpredictable results and the external power supply s ground may cause ground loops to occur Contact Customer Service at 603 598 8400 for assistance A 6 DMx AutoID User Manual v2 1 0 Feb 2009 Combination I O Board gt Combination I O Board When more than 2 input or 4 output points are needed the DMx AutoID system uses the following external Combination I O board fe 5 2 m FIGURE A 5 Combination I O Board pen G gt G I Q Inr Strobe Out Analog JVREF Sensor In Connections JSS1 thru JSS4 Connection VO Output DAC from P C Connections v2 1 0 Feb 2009 DMx AutoID User Manual A 7 Append
102. Mx AutoID Reference Guide Configuration The retry mode is not entered not implemented when the trigger mode is set to synchronous e Supermarket Retry In this mode the inspections are continuously performed and only successful attempts are reported In order not to report duplicate data decoded from the same image a time limit must be specified The time limit ensures that the duplicate data will not be reported until the specified time has elapsed since the last decode output This mode is only applicable to reading one Data Matrix or one barcode Setup gt Ethernet TCP IP You can set up DMx AutoID as either TCP IP server or client to communicate with another Windows program running TCP IP protocol see Figure 4 30 FIGURE 4 30 Retry Modes Setup Dialog Box Ethernet TCP IP Remote Hostldentification Protazol NT 127 0 0 1 Remota Port Server Timeout minute 1n E Outpt Input Prefix Prafix Suffix hr Suffix n Cancel e Protocol If you need to set up DMx AutoID to communicate with another program that s configured as a TCP IP server select Client here If another program is configured as a TCP IP client select Server here Remote Host Identification If the Protocol is set to Client you need to enter the Server computer s name or IP address in the Remote Host Identification If the Server program communicating with DMx AutoID
103. O lt 5 gg 50 Bif CO lt 5 qS CifCO lt 7 5 D if CO lt 10 F if CO gt 10 Or Size Offset SO Check if all matrix On cells have similar size The size offset is computed as the standard deviation of the cell area for all On cells normalized to achieve the proper range between 0 and 10 The measurement is most useful in detecting the matrix cell size variation The smaller the score the better the quality The grade is A if SO lt 2 5 BifSO lt 5 Cif SO lt 7 5 Dif SO lt 10 Fif SO 10 Cell Modulation CM Measures the spread of the gray scale values of cells of the same polarity On Cell Modulation is computed for all On cells and Off Cell Modulation for all Off cells A high On Cell Modulation indicates that all On cells have similar gray scale values and the spread is v2 1 0 Feb 2009 DMx AutoID User Manual 4 51 Chapter DMx AutoID Reference Guide small A high Off Cell Modulation indicates all Off Cells background cells have similar gray scale values The Cell Modulation is the smaller of the On and Off Cell Modulation The cell modulation value ranges from 0 to 100 The grade is A if CM gt 90 B if CM gt 80 Cif CM gt 70 D if CM gt 60 F if CM gt 60 Border Match BM Check if all border cells are present The border match is 100 for a Data Matrix with perfect borders The grade is A if BM gt 95 B if BM 90 Cif BM 85 D if BM gt 8
104. OCR Fixed Font GT Degraded Light on Dark 6 Click OK to finish the Learn process It may take a while before the successful results are displayed as shown in Figure 4 58 4 114 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 58 Finishing the Learn Process DMx AutolD D Program Files DMx AutolID Sample10 bmp ol x File Setup SetROl Leam View Help espe ej gt 5 I 4682 ms x 414 y 332 5 WED449D009F2 82 21 36 13 6 E 20 2 9 3 gt 5 x a2 When the training is successful the string confidence value character width height and spacing are displayed behind the decoded text string in the Status Bar The learned parameters can be seen from Advanced OCR Parameter Tuning box as well v2 1 0 Feb 2009 DMx AutoID User Manual 4 115 Chapter 22 DMx AutoID Reference Guide FIGURE 4 59 Advanced OCR Parameter Tuning Advanced OCR Parameter Tuning x Confidence Threshold o Charecter Dimensions String Lergth Voriotion i AL 21 Cha acter Height 5 5 Fine Tune Methed Baggs 33 m CIDetect Space E Chevarter Sparing 13 6 5 ONumber of Characters Vary Disable Pre Filter v Stro e Width p Custom Fielding Jw5044960009F2 OK test the OCR reading after the
105. Overrun System Overrun AND Match Verifier Failure Read AND System Overrun OK Cancel Implementation ES E 28 3 gt 5 2 AF e Standard I O Select this to use the Combination Opto I O board that has 16 General Purpose IO points GPIO DMx AutoID determines all 16 GPIO as output points and controls them according to the Standard I O Settings table When Standard I O is selected there are four digital outputs per camera in the pre defined Standard I O settings For camera 1 the I O points 1 5 6 and 7 are used for Data Valid Read Match and System Overrun The I O points 2 8 9 and 10 are used for Data Valid Read Match and System Overrun for camera 2 The I O points 3 11 12 and 13 are used for camera 3 The I O points 4 14 15 and 16 are used for camera 4 Note A high 5V indicates Success and a low OV indicates Failure v2 1 0 Feb 2009 DMx AutoID User Manual 4 15 Chapter DMx AutoID Reference Guide Mini Opto I O Select this to use the Mini Opto I O board that has four outputs and two inputs DMx AutoID controls all 4 output points according to the Standard I O Settings table Custom When this is selected the DMx AutoID stops controlling the I O signal The user can write program to control the I O through DMx AutoID via serial TCP IP commands or DMx ActiveX control Standard I O Settings Data Valid The I O points
106. SetROl Learn PreProcess Run 2 e View gt Additional Menus gt PLC Interface DMx AutoID can communicate with a PLC Programmable Logic Controller through the PLC software You can select and check PLC Interface to display the PLC Communication in the Setup menu the PLC option in the Run menu and the PLC Status in the View menu View gt Additional Menus gt Keyboard Wedge DMx AutoID can send output data to an open Windows program that has the focus You can select and check Keyboard Wedge to display the Wedge Target in the Setup menu and the Keyboard Wedge option in the Run menu 4 130 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface View gt Watch Window When Watch Window is selected checked a text window will be displayed This will allow you to see the full decoded data in Run Once or Run Continuously mode To save the data to a file use the Run gt Log Data option View gt Reading Statistics When Reading Statistics is selected checked the reading statistics results will be displayed as shown in Figure 4 77 FIGURE 4 77 Reading Results Statistics Displayed DMx AutolD Reading Statistics Lx Camera Read No Read Match No Match System Overrun 95 0 0 0 1 0 0 Refresh Rate snap shot basis fio 3 Reset All You can change the Refresh Rate from 1 to 50 to reduce the results updating frequency The default Refresh Rate is to upda
107. Surface Characteristics B 5 Symbol angle 4 41 contrast 4 41 4 46 4 49 4 52 4 65 corners 4 41 density C 5 ECC 200 attributes C 8 Symbologies Specified 1 4 Symbology C 1 debug report 4 39 Symbols D 1 System components 1 2 configuration 4 141 dialog box 4 9 overrun 4 16 Index 8 DMx AutoID User Manual v2 1 0 Feb 2009 Target Print Growth 4 46 Target ROI 4 97 TCPIP Command 5 11 Temperature typical rise 2 3 Template golden 4 62 TEMPLATE Command 5 11 Text orientation 4 34 polarity 4 34 Threshold 4 27 value 4 41 Throughput Estimation Guidelines 4 12 Timed Retry 4 74 Timeout minute 4 77 Timing 4 42 Tips lighting B 17 Tool Bar 4 142 Tools 2 3 Total Error Bits 4 41 Train String 4 34 Transfer format 4 81 protocol 4 79 Trigger hardware 4 10 overrun 4 16 Turbo Mode 4 26 Tutorial reading actual data matrix via live camera 3 12 sample data matrices from file list 3 10 sample data matrix from file 3 2 U UNDO Command 5 11 Unused Error Correction 4 47 4 50 4 53 V Validate Inspection 4 46 4 62 4 67 VER Command 5 11 Verification inline license key required 1 3 Index results display 4 56 4 67 reporting 4 66 Verifier Failure 4 16 VERIFY enablemask command 5 11 mode command 5 12 VerifyEnableMask Property 6 33 VerifyMode Property 6 34 Video Connector 2 5 View Menu 4 129 Warp Method 4 26 Wedge 1 2 Width 4 20 4 22 4 25 property 6 35 WIDTH Command 5 12 Width Height Ratio 4 2
108. TCP IP command is generated from another Windows program communicating with DMx AutoID through TCP IP protocol If hardware trigger is unchecked Setup gt System Configuration box then the retry cycle for the specified camera is started as soon as the command READ is received by DMx AutoID If hardware trigger is checked then the retry cycles will not start until a hardware trigger for the specified camera is received after the command READ is received by DMx AutoID Start the Run Continuous mode with Timed Retry mode If the hardware trigger is unchecked in System Configuration box the system will cycle through all enabled and configured cameras and perform timed retry for each camera that has the timed retry mode checked If the hardware trigger is checked and the trigger mode is set to asynchronous then the retry cycle for a camera that has the retry mode enabled will start only when a hardware trigger arrives for that camera Once the camera enters retry cycle any new triggers from the same camera or other enabled cameras will be ignored Therefore it is essential that no trigger be generated before a retrying camera completes its retry cycle This also means that the triggers for multiple cameras are not truly asynchronous although the trigger mode needs to be set to asynchronous in the System v2 1 0 Feb 2009 DMx AutoID User Manual 4 75 I ES E 20 28 3 gt 5 2 AF Chapter UE D
109. TCP IP command support should be used If you want to have a custom interface without DMx AutoID running then you should use the ActiveX control support Sample VB projects can be found on the CD in the DMx AutoID Visual Basic Support folder o If you plan to write a VB program that uses the serial or TCP IP command support to communicate with the DMx AutoID program that is running on the same PC or a different PC you can use the Microsoft ActiveX controls MSComm or Winsock for connecting the two programs In your VB program once a command is sent in one statement it is your responsibility to ensure the response of the command is available before its data can be used in your program In other words you cannot assume the next statement immediately following the statement for sending a command can use the command response data without first ensuring the data is already available for use The OLE TCPIP sample code shows how to send a command and process the response data via the function SendCommand T 5 Qe lt z g 35 p EE 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 1 Chapter DMx AutoID Visual Basic Support TCP IP Support To write a custom VB program to communicate with the DMx AutoJD running in the same or a different PC you need to use the Microsoft Winsock ActiveX control to enable the custom VB program to establish a TCP IP connection with the DMx Auto
110. a Matrix Barcode excluding QR Code and OCR TABLE 4 1 Status Code For Data Matrix Barcode amp OCR Numeric Code Description 0 Read Success No Verification Enabled 4 1 Read Success Verification Status Poor 2 Read Success Verification Status Fair gt 3 Read Success Verification Status Good 5 3048 Symbology Decode Failed 2 4301 Trigger Overrun 5 4303 String Mismatch 5 4304 Angle Match Failed 5 4305 Excessive Damage ac 4310 Process Overrun 4601 No Edge Candidate Found 4604 First Edge Not Found or Too Small 4605 Second Edge Not Found 4611 Third Edge Not Found 4612 Fourth Edge Not Found 4620 Symbology Corner Out of Image 4621 Size Test Failed 4622 Unable to Find Row Column 4630 Inspection Timed Out 4633 Border Match Failed 4700 Read Success but Verification Process Error 4701 Read Success but Verification Unsupported v2 1 0 Feb 2009 DMx AutoID User Manual 4 39 Chapter 22 DMx AutoID Reference Guide TABLE 4 1 Status Code For Data Matrix Barcode amp OCR continued Numeric Code Description 4702 Read Success but Verification Timed Out 4710 Read Success but ISO Requires ECC200 4711 Read Success but ISO Aperture Too Small 4712 Read Success but ISO Aperture Too Large 4713 Read Success but ISO Insufficient Space 4714 Read Success but ISO Fails RDA Step F1 4715 Read Success b
111. a Matrix 2 and replies with 03 63 xx XX XX XX PLC extracts 62 bytes of data and acknowledges with 03 Since the value 63 was received the PLC must prepare itself to receive the next packet from DMx AutoID M The PLC is not allowed to send a new command before the final packet is received containing 62 or less in byte 1 4 90 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface 8 DMXx AutoID receives the acknowledgement and sends the next packet with the remaining data 04 18 xx Xx Xx Xx 9 PLC extracts the 18 bytes of data and acknowledges with 04 10 DMx AutoID receives the acknowledgement and does nothing since there is no more data to send Note The PLC is allowed to send a command immediately after it acknowledges the receipt of the data packet from the DMx AutoID only when the second byte of data packet contains a value of 62 or less This means that DMx AutoID has no more data to send out For example if Step 5 happens immediately after Step 3 then there is a possibility that Step 4 will not happen in the sense that the DMx AutoID sees the command instead of the acknowledgement This will not affect the normal communication Example 2 A single camera DMx AutoID is triggered with hardware triggers in Run Continuously mode to decode a Data Matrix containing 40 bytes of data The Run Continuously mode can be enabled disabled using the Profibus
112. able when View gt Additional Menus gt Wedge is checked When Run gt Keyboard Wedge is enabled checked output data such as 4 128 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface decode results is sent to an open Windows program that has the focus This enables DMx AutoID to send the data to a program such as Microsoft Excel Word Notepad that is specified in Setup gt Wedge Target Run gt PLC This menu is available when View gt Additional Menus gt PLC Interface is checked To enable DMx AutoID to communicate with PLC software you must first configure the parameters in Setup gt PLC Communication and then select Run gt PLC to check it The communication is ended when Run gt PLC is unchecked View Menu The View menu as shown in Figure 4 75 contains the options to configure the Run Time display behavior 4 FIGURE 4 75 View Menu J ED View Help 5 Camera 52 Contrast Enhancement X o Additional Menus Or Watch Window Reading Statistics Camera Status Pre Processing Job Images while Running v Graphics while Running v Status Bar while Running Reading Statistics while Running View gt Frame Grabber The menu is visible only when more than one 0300 board is installed The menu can display up to four 0300 boards that are supported by DMx AutoID The checked 0300 board item is the current 0300 board which corresponds to t
113. ace Help Menu Help gt About This menu item displays the About the DMx AutoID dialog box as shown in Figure 4 85 FIGURE 4 85 About DMx AutoID Dialog Box About DMx AutolD Microscan DMx AutolD Copyright 2008 Microscan All rights reserved I Version 2 1 0 01 SRE Version 5 1 OCR Version 1 6 System Driver 3 3 mgenum dll 3 3 High Performance Symbology Reading and Verification software This computer program is protected by copyright law Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the System Info maximum extent possible under the law E 2g 3 gt 5 x 2 AF This provides critical information about your system including software versions serial number and your PC s system information Use the information provided in this dialog box to expedite any technical questions you may have about the product v2 1 0 Feb 2009 DMx AutoID User Manual 4 141 Chapter DMx AutoID Reference Guide Tool Bar Figure 4 86 displays the DMx AutoID tool bar FIGURE 4 86 DMx AutoID Tool Bar File Setup SetROl Leam Bun View Help ej fol fe Stop Run gt Run Continuously Run gt Run Once L View Watch Window Set ROI gt Clear ROI Set Pa
114. ame field of view Return Value A long value ranging from 0 to 5 o T 5 Qe lt z g 5 au EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 29 Chapter DMx AutoID Visual Basic Support PanelClick Property This property passes the panel item from the DMx ImageView Control to the AutoID Custom Control This is a write only property that can only be set at runtime This is camera independent Syntax Object PanelClick item Description item The item is obtained by DMx Image View Control and passed via the PanelClick event to the PanelClick property of the DMx AutoID Custom Control There are seven panel items and only the last panel generates a PanelClick event for an item value of 7 6 30 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Pol Property This property corresponds to the Polarity in the Setup Parameters Data Matrix tab This is a read write property that can be retrieved and set in runtime Syntax Object Pol polarity Description polarity String DL Dark on light e LD Light on dark e AUTO Either dark on light or light on dark Return Value A string value of DL LD or AUTO o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 31 Chapter DMx AutoID Visual Basic Support Rows Property This property
115. ance value F otherwise e Modulation is graded as A At least 0 70 B At least 0 60 C At least 0 50 D At least 0 40 F Otherwise ES E 20 2 8 3 gt 5 2 AF e Reference Decode is graded as or F depending on whether the reference decode passes or fails Both Start and Stop Quiet Zone must be at least 10X for the reference decode to pass Symbol Contrast is graded as A At least 70 B At least 55 C At least 40 D At least 20 F Otherwise Barcode Verification Currently DMx AutoID supports barcode print quality verification for Code 128 Code 39 Code 93 I 2 of 5 UPC A EAN13 EANS and RSS To ensure the verification to be accurate and consistent you need to set the barcode in the FOV v2 1 0 Feb 2009 DMx AutoID User Manual 4 65 Chapter DMx AutoID Reference Guide such that the 1X dimension is between 2 5 to 4 pixels The barcode needs to be evenly illuminated with good contrast and no image saturation Once a good image is obtained 1 Select Learn gt Barcode to configure the barcode reading first 2 Once the Learn is successful use Setup gt Parameters to display the Parameter Setup dialog 3 Select BC Verification tab and then select Overall mode 4 To exit the dialog box click OK 5 Click Run Once to view the verification results following the decode data Alternatively you can configure the DMx AutoID to verif
116. annot replace the Global method because each is slower and less stable than Global when reading high quality marks Local For dot peen marks or inkjet printer marks the spacing between cells may not be even in which case Local may yield less error used in the error correction algorithm Setup gt Parameters gt Barcode This menu item displays the Parameter Setup dialog box Barcode tab as shown in Figure 4 14 v2 1 0 Feb 2009 DMx AutoID User Manual 4 27 I ES E 20 28 3 lt 5 2 AF Chapter DMx AutoID Reference Guide FIGURE 4 14 Parameter Setup Barcode Tab Dialog Box Camera 1 Parameter Setup Barcode Verifier BC Verification General Data Matrix N OCR Fixed Font Formatting m Probe Spacing Barcode Properties Horizontal fig H Verica fe Min Bar Width fi No of Bars 256 r Search Direction Horizontal Vertical Q 1 Hori in No Hori gt Vert C Vert Hori Min No of Bars 2 Max Code Height 1024 Barcode Specific Properties Bacada Min Code Height 4 Max Code Length 1024 Min Code Length 20 Advanced OK e Probe Spacing Defines the distance between barcode scanning probes in pixels You must enter a value for Horizontal and Vertical Default 16 pixels e Search Direction
117. apable of reading characters with damages and noise It allows minor rotation from the horizontal or vertical orientation The speed of the OCR reading is slower than the above two methods e Text Polarity Indicates whether the characters are Dark on Light or Light on Dark With Degraded OCR method if the text polarity may vary from image to image in the Run mode after the Learn then select Unknown Since using Unknown Polarity reduces the robustness in locating characters this mode should be avoided whenever possible The Unknown polarity is only available for Degraded OCR method Text Orientation Indicates whether the character string s is placed Normal Top to Bottom Upside Down or Bottom to Top e Train String During the Learn OCR process one row of characters in the image should be entered in the Train String box Clicking the Advanced button displays the Advanced OCR Parameter Tuning dialog box as shown in Figure 4 18 4 34 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 18 Advanced OCR Parameter Tuning Dialog Box Advanced OCR Parameter Tuning Confidence Threshold feo Character Dimensions Character Width String Length Variation 0 Se 22 Fine Tune Method O Detect Space Character Spacing 2 9 Number of Characters Vary Disable Pre Filter xj Stroke Width 5 r Custam Fieldin
118. arcodes to decode in the General parameter tab The Number of Barcodes to Decode in the current camera configuration is returned if the optional number is not entered The valid range for number is 0 5 BARCODE ENABLEMASK mask Use this command to set change the type of barcodes to be checked in the General parameter tab The barcode types that are checked in the current camera configuration are returned as a bitwise mask if the optional mask is not entered The valid range for mask is 0 amp H2FFFF BCVERIFY NONE OVERALL SCANx Use this command to set the Barcode verifier mode The value x in SCANx mode is the scan line number from 0 to 9 If the optional parameter is omitted the verifier mode in the current camera configuration is returned CAMERA number Use this command to set the current camera from 1 to 16 Once the current camera is set all camera dependent commands will refer to this camera Since the DMx AutoID may support up to four 0300 boards in one PC the number of camera supported can be from to 16 Use this command without options to return the index of the current camera CAMERA COUNT Use this command to return the number of cameras enabled CAMERA ENABLEMASK Use this command to return the camera enabled mask For example if cameras 1 and 2 are enabled the mask is amp H03 5 2 DMx AutoID User Manual v2 1 0 Feb 2009 CELL SIZE value Use CELL SIZE value to set the matrix cel
119. as though it were captured from the current camera For example to open and display a file named test bmp on drive C type GRAB c test bmp lt Enter gt HEIGHT value AUTO Use this command to set get the height of the Data Matrix The value ranges from 20 to 1024 pixels To allow the matrix height to vary in READ mode type 5 HEIGHT AUTO lt Enter gt To get the height of Data Matrix type HEIGHT lt Enter gt 2 a it XE Use this command to display the list of serial commands This is camera independent INVERT Use this command to invert the current image that is acquired with GRAB or READ Attempting to invert an already inverted image results in an error LEARN 10 2D Use this command to learn barcode or Data Matrix v2 1 0 Feb 2009 DMx AutoID User Manual 5 5 Chapter DMx AutoID Command Set LIGHT axis intensity Use this command to configure a multi axis imager from NER Axis 1 5 Intensity 0 99 LOAD jobfile Use this command to load job settings of a saved job No path is required if the job is in the default job folder Otherwise the complete path is required When jobfile is not specified the default factory settings are loaded This is camera independent LOCK ON I OFF Lock the DMx AutoID GUI so that it will not respond to mouse or keyboard input Remove the GUI lock with LOCK OFF This is camera independent
120. ata Once the master gets the value 63 it extracts 62 bytes of valid data acknowledges the packet and prepares itself for processing the subsequent packet from DMx AutoID Once the master receives all the data from the DMx AutoID it can identify the beginning and the end of data from each read by using the Prefix and or Suffix specified in the Formatting tab of DMx AutoID under the Setup Parameters menu I On the other hand a single packet from the master is required for sending a complete command from the DMx AutoID Therefore the output module size must be chosen to be large enough to accommodate the longest commands supported Typically the size of 64 byte input is sufficient for all the commands ES E 20 28 3 gt 5 2 AF Profibus Command Set The DMx AutoID Profibus command set is identical to the serial command set This means that every serial command can be issued from the Profibus master The most commonly used commands are READ n and READ ON OFF When the master sends a command to DMx AutoID it will receive a command response from the DMx AutoID This is true for all the commands except the commands READ ON and READ OFF The commands READ ON and READ OFF enable disable the Run Continuously mode when hardware trigger is used When READ ON is sent to DMx AutoID DMx AutoID starts the Run Continuously mode and displays Wait for a Trigger status No response is sent to
121. ata Matrix is located unless it is fully inside the ROI Cell Outline Enabling the option helps the algorithm decode a Data Matrix with outlined cells only In this case the On and Off cells have little or no contrast but they are separated by edges of the cells e Search Speed The default for this setting is Normal which is the most robust search speed For a high contrast well formed Data Matrix selecting Overdrive or Turbo mode may reduce the total locate decode time e Search Direction The default is Criss cross which causes the DMx AutoID program to search horizontally and vertically at the same time The search direction Hori Vert causes the program to search horizontally for the Data Matrix first in the entire ROI When no Data Matrix is found or decoded the algorithm searches vertically for the Data Matrix Selecting Vert gt Hori causes the opposite search process Warp Method The default is Fast Fast typically produces satisfactory read rates with much higher speed although Slow sometimes can be more robust than Fast for very poor images 4 26 DMx AutoID User Manual v2 1 0 Feb 2009 e Threshold Threshold Options Adaptive Global Local DMx AutoID Graphic User Interface Description Default Adaptive When the background of the Data Matrix is uneven due to poor marking or lighting Adaptive may produce better decode results Global Local or Adaptive methods c
122. ate on it Cameras Type Both RS170 and CCIR are supported RS170 All four cameras can have mixed resolution settings of high res 640x480 low res 640x240x2 or 320x240 The maximum reading speed is 30 reads per second for high res and 60 4 10 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface reads per second for low res see Throughput Estimation Guidelines on page 4 12 Note You can use strobe or shuttering to freeze the motion Using strobe can freeze the motion in both high res and low res settings When camera shuttering is desired however only low res images can be obtained The low res setting 640x240x2 preserves the high resolution in horizontal direction but achieves interpolated full resolution 480 pixels in vertical direction This mode is particularly useful for shuttered applications in which full horizontal resolution 640 pixels is needed e CCIR four cameras can have mixed resolution settings of high res 768x572 low res 768x286x2 or 768x286 The maximum reading speed is 25 reads per second for high res and 50 reads per second for low res Using strobe can freeze the motion in both high res and low res settings When camera shuttering is desired however only low res images can be obtained The low res setting 768x286x2 preserves the high resolution in horizontal direction but achieves interpolated full resolution 572 pixels in vertical
123. ates of four corners of each character found in OCR Clicking the Advanced button inside the Output Formatting displays the Advanced Formatting dialog box as shown in Figure 4 20 FIGURE 4 20 Advanced Formatting Options Formatting Tab Dialog Box Advanced Formatting Options Show Verifier Tags Hexa Result String Partial Result String OK Cancel Date Time Stamp The date and time stamp will be appended to the decoded data string for each camera read when checked e Show Verifier Tags When this is checked tags are inserted before each type of the parameters measured in Data Matrix and barcode verification results The tags for Data Matrix verification are e ad angle of distortion e axial nonuniformity bm border match 4 42 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface e cf cell fill rate e cm cell modulation e co center offset e cs cell size e pg print growth e sc symbol contrast e SO size offset uec unused error correction The tags for barcode verification are I e 1 one X dimension e decodability e df defects e ec min edge contrast e edge determination ES E 20 2 8 3 gt 5 2 AF modulation e qz quiet zone e rd reference decode e rf reflectance max and
124. atrices F 1 Index 1 xiv DMx AutoID User Manual v2 1 0 Feb 2009 Preface PREFACE Welcome Purpose of This Manual This manual is a comprehensive guide for setting up installing and using the DMx AutoID software and related hardware It also includes information on Data Matrix symbology and image acquisition Manual Conventions The following typographical conventions are used throughout this manual e tems emphasizing important information is bolded e Menu selections menu items and entries in screen images are indicated as Run triggered Modify etc v2 1 0 Feb 2009 DMx AutoID User Manual Preface xvi DMx AutoID User Manual v2 1 0 Feb 2009 CHAPTER 1 Overview DMx AutoID This chapter provides an overview of the DMx AutoID including product description and components system requirements and specifications The DMx AutoID is an advanced high performance symbology reader capable of reading barcodes including all common 1D PDF 417 Data Matrix and QR Code and performing Optical Character Recognition OCR for SEMI OCR A and OCR B font The optional inline verification supports all public print quality standards for 1D barcodes and Data Matrix and also offers the Microscan patented DPM Verification technology Powerful state of the art image processing algorithms and the Microsoft Windows software interface allow the DMx AutoID to s
125. bination I O Board 7 Installing the Combination I O Board amp Ribbon Cable A 8 Strobe Sensors 8 Digital O 9 Connecting Sensor 8 Strobe 2 Mini Opto I O High Speed Sensor And Strobe Connections A 12 Combination I O High Speed Sensor 8 Strobe Connections A 14 Strobe Unit Example 15 APPENDIX B Creating A Good Image B 1 Overview B 1 Determining the Field Of View FOV B 2 Selecting Lens 2 Using the Lens Selection Chart B 3 Illuminating the Part B 4 xii DMx AutoID User Manual v2 1 0 Feb 2009 APPENDIX C APPENDIX D APPENDIX E Contents Lighting Considerations 5 Types of Lighting B 5 Fluorescent Versus Incandescent Lighting B 6 Lasers B 7 Strobe Lights B 7 Diffuse Versus Point Source Lighting B 7 Placement of Light Sources 9 Front Lighting B 9 Side Lighting Dark Field B 9 Back Lighting B 10 Polarized Light B 11 Advanced Lighting B 12 DOAL 3 CDI B 14 SCDI 5 MVi Imager 6 Aperture B 16 Depth Of Field B 16 Lighting Tips B 17 Data Matrix Symbology 1 Data Matrix Certification 1 What Is Data Matrix 1 Data Matrix Components C 3 Data Matrix Error Correction 5 Bit Versus Code Word 6 Data Matrix Encodation Schemes 7 ECC 000 140 C 7 ECC 200 C 8 Data Matrix Specification Details 1 Summary of Additional Features 12 Symbol Structure 3 Sample Data Matrix Symbols D 1 Sample Barcode Symbols 1 v2 1 0 Feb 2009 DMx AutoID User Manual xiii Contents APPENDIX F IO M
126. c Failed 4 6030 QR BCH15 Decode Error 6031 QR Invalid Model Symbol Angle Angle formed by the bottom solid side of each Data Matrix symbol with the horizontal x axis or Angle formed by the barcode OCR string orientation with the horizontal x axis Range 0 to 359 in increments of 1 ES E 20 28 m gt 5 2 AF Symbol Corners Contains the coordinates of the four corners of each Data Matrix Barcode found Symbol Contrast Symbol contrast from 0 through 100 in each Data Matrix symbol Total Error Bits Number of error bits found in each decoded Data Matrix For ECC200 this is obtained by multiplying the number of codewords corrected by 8 Damage Percent Number of error bits number of total bits in each Data Matrix symbol Border Match Percent Measures how good the border of each Data Matrix is when compared to ideal Threshold Value Value used in determining the color of cells in each Data Matrix v2 1 0 Feb 2009 DMx AutoID User Manual 4 41 Chapter DMx AutoID Reference Guide Timing Total time to decode all barcodes then all Data Matrix symbols in an entire image or total time to perform OCR OCR Debug Report Char Confidence OCR confidence level for each read character String Confidence OCR confidence for the read text string This is the minimum of all char confidence Char Corners Contains the coordin
127. ces Superior uniformity Significantly enhances image quality Advanced Lighting Improves the accuracy and repeatability of machine vision performance on specular surfaces Illumination sources include LED fiber optic and micro fluorescent sources Flexible light field dark field illumination characteristics depending on distance to target FIGURE B 11 Diffused On Axis Lighting A o Light Source v2 1 0 Feb 2009 DMx AutoID User Manual B 13 UJ 8 cE Et Appendix CDI Creating A Good Image Ideal for very uneven specular surfaces Continuous Diffuse Illumination CDI also known as Cloudy Day Illumination as shown in Figure B 12 provides a hemisphere of diffuse uniform illumination The complete lighting envelope generates even lighting from all directions The use of a curved beam splitter completes the horizon to horizon illumination On axis and off axis lighting is controlled separately to ensure that uniformity remains in balance e Outstanding uniformity up to 10 maximum deviation within the lighting envelope e llumination sources include LED fiber optic and white microfluorescent sources FIGURE B 12 Continuous Diffuse Illumination Camera Beam Splitter Light Source on axis Y Light Source off axis EMEN o DMx AutoID User Manual v2 1 0 Feb 2009
128. cle usually consists of several read cycles A 4 74 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface read cycle includes acquiring a new image and reading the symbology or OCR according to the configuration parameters A trigger hardware trigger or serial TCPIP command READ is required to start the first read cycle of the retry cycle When a trigger is received the system performs the first read cycle If the reading is successful no further read cycles are needed If the reading is not successful and if there is enough time remaining the next read cycle is performed The retry cycle will terminate as soon as the reading is successful or until the corresponding retry time limit is reached The reading results are reported when the retry cycle ends Before the retry cycle ends the system will ignore any new triggers for any cameras We recommend that you set the retry time limit to be significantly less than the duration between two triggers When there are more than one camera enabled in the system you can enable Timed Retry for specific camera s up to all enabled cameras It is important to set the retry time limit long enough to allow several read cycles to be performed There are two main trigger configurations Send a software trigger to DMx AutoID for a specified camera using serial TCPIP command READ Usually a serial command is generated from a PLC Programmable Logic Controller A
129. cluding but not limited to implied warranties of merchantability and Technical support questions may be directed to helpdesk microscan com Register your product with Microscan www microscan com register fitness for a particular purpose Microscan Systems Inc does not warrant that the functions contained in the product will meet any requirements or needs purchaser may have or that the product will operate error free or in an uninterrupted fashion or that any defects or errors in the product will be corrected or that the product is compatible with any particular machinery Limitation of Liability In no event shall Microscan Systems Inc be liable to you or any third party for any special incidental or consequential damages including without limitation indirect special punitive or exemplary damages for loss of business loss of profits business interruption or loss of business information whether in contract tort or otherwise even if Microscan Systems Inc has been advised of the possibility of such damages Microscan Systems Inc s aggregate liability with respect to its obligations under this warranty or otherwise with respect to the product and documentation or otherwise shall not exceed the amount paid by you for the product and documentation Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages or limitations on an implied warranty so the above limitation or exclusion may not apply t
130. command READ ON OFF 1 The PLC sends the command READ ON with packet 01 07 82 69 65 68 32 8 2 DMx AutoID receives the command and enables the Run Continuously mode that displays Waiting for a trigger in the status bar 3 DMx AutoID receives a trigger successfully reads the Data Matrix and sends the data packet 01 40 xx xx xx 4 PLC extracts 40 bytes of data and acknowledges with packet 01 5 DMx AutoID receives the acknowledgment and does nothing if there is no more data to send v2 1 0 Feb 2009 DMx AutoID User Manual 4 91 I ES E 20 2 8 3 gt 5 2 AF Chapter DMx AutoID Reference Guide 6 DMx AutoID receives a new hardware trigger reads the Data Matrix and sends the data packet 02 40 xx xx Xx 7 Assume PLC is busy and does not acknowledge before DMx AutoID is triggered consecutively twice two new reads are performed and a total of 80 bytes of new data will be kept in DMx AutoID but will not be sent pending the acknowledgement from the PLC 8 PLC getsa chance to acknowledge with packet 02 9 DMx AutoID receives the acknowledgement and sends the data packet 03 63 xx xx xx The remaining 12 bytes of data need to be sent in the next packet 10 If DMx AutoID receives the acknowledgement packet 03 before it is triggered again the data packet 04 12 xx xx xx will be sent If DMx AutoID received the acknowledg
131. d Start Options Jobs d Exit v2 1 0 Feb 2009 DMx AutoID User Manual 4 3 Chapter DMx AutoID Reference Guide File gt Open This menu item opens an image file BMP TIF RAW or ALL of these from disk display it and then decode it File gt Open List This menu item opens a list of image files BMP TIF RAW or ALL of these from disk displays them and decodes them one by one interactively or continuously File gt Grab This menu item captures an image from the 0300 board e Ifthe Hardware Trigger option is not checked an image will be captured immediately and displayed e If the Hardware Trigger option is checked Waiting for a Trigger will be displayed in the Status Bar telling you that a new image will be captured after the first image is captured No more images will be captured after the first image is captured The Grab mode can be cancelled by selecting it again before the hardware trigger occurs File gt Live This menu item displays live images from the 0300 board e If the Hardware Trigger option is not checked the DMx Auto D displays live images at the rate of up to 30 frames per second e Ifthe Hardware Trigger option is checked Triggered Grab will be displayed in the status bar telling you that new images will be captured whenever a hardware trigger occurs When live images are displayed selecting Live again will stop the live image display mode For applica
132. d The current supported card is Hilscher CIF 50 DPS Communication Interface PCI Profibus DP Slave A Board Number of 0 indicates one such board is used for the Profibus communication purpose 4 82 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface DMx AutoID can either receive a command trigger from a master typically a PLC or be triggered independently of a master typically via a sensor hardware trigger A simple handshaking data exchange protocol is implemented to ensure the decode data from DMx AutoID is received by the master Configuring the Profibus Network Follow the steps below to configure DMx AutoID as a slave on a Profibus network using the CIF 50 DPS slave card Note The Windows administrator privilege is required 1 Install the DMx AutoID software and the 0300 board Refer to the Readme file on DMx AutoID Installation CD for more details I 2 Install the Hilscher CIF50 DPS according to the manufacturer s instructions Make sure the correct driver is installed 3 Run CIF Device Driver programs from the Windows Start gt Programs menu to ensure the CIF50 DPS functions properly 4 Install the SyCon program supplied by the board manufacturer for configuring the DMx AutoID as a slave device ES E 20 2 8 3 gt 5 2 AF Note No license code is required by the manufacturer for installing SyCon for configuring a single s
133. d is incorrectly identified the code word is subsequently affected by that bit and thus requires error correction Since it is the code word that matters in the error correction algorithm one single bit can cause the same amount of damage as the eight wrong bits in the same code word For example if one bit within the code word is in error the entire code word is in error Likewise if multiple bits within the same code word e g 2 8 bits are in error this still counts as one code word in error The DMx AutoID is designed to cover both ECC200 and non ECC200 Data Matrices As a result the number of wrong cells or bits not code words is displayed in the DMx AutoID The code word affected by displayed bits can also be displayed for the ECC200 Data Matrix C 6 DMx AutoID User Manual v2 1 0 Feb 2009 Data Matrix Encodation Schemes Data Matrix Encodation Schemes This section describes ECC 000 140 and ECC 200 ECC 000 140 The data is encoded using one of six encodation schemes format strings The encodation scheme is fixed for the entire symbol As a result the selection of the most appropriate encodation scheme allows the user to compress the symbol to its smallest form without wasting space on characters not used Table C 2 Lists the six encodation schemes and their outputs TABLE C 2 Encodation Schemes Format Strings O X eo fe o SE an Encodati
134. dations and your company s electrical standards Typically one side of all input modules connect to the hot power terminal with input devices e g switches wired between the other contact and the common terminal Output modules are often wired to the common terminal with loads returning to the hot terminal Four sample wiring diagrams for Input AC Output AC Input DC and Output DC Opto modules are shown in the figure below Note that correct polarity is critical for DC modules The odd numbered terminals on the I O board are positive and the even numbered terminals are negative A 10 DMx AutoID User Manual v2 1 0 Feb 2009 Combination I O Board FIGURE A 6 Four Sample Wiring Diagrams 1 1 SWITCH LOOP LOAD LOOP L2 SUPPLY L2 SUPPLY 1 3 3 Input DC Output AC 4 4 5 INPUT AC OUTPUT USING USING STANDARD STANDARD MOUNTING RACK MOUNTING RACK 1 1 pc 0 SWITCH LOOP LOAD LOOP 12 sUPPYY 2 _ SUPPLY SIRS A 1 24 2 1 Input DC Output AC 4 4 5 INPUT AC OUTPUT USING USING STANDARD STANDARD MOUNTING RACK MOUNTING RACK This gives you access to a combination of up to 16 input or output modules v2 1 0 Feb 2009 DMx AutoID User Manual gt
135. de to 1 Select OK Select Run and then Run Once or Run Continuously to verify all three types of barcodes are decoded I ES E 20 2 8 3 gt 5 2 AF v2 1 0 Feb 2009 DMx AutoID User Manual 4 109 Chapter DMx AutoID Reference Guide Learn gt OCR Fixed Font We use image Sample10 bmp to illustrate how to Learn OCR parameters 1 Open sample10 bmp FIGURE 4 53 Opening sample10 bmp DMx AutolD D Program Files DMx AutolID Sample10 bmp fol x File Setup SetROl Leam View Help ajo eu nfo E sj s gt d 3 2 From the Learn menu select the OCR Fixed Font DMx AutoID program will instruct you to draw the ROI for OCR reading as shown in Figure 4 54 4 110 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 54 Drawing the ROI I E D E 2g 3 gt 5 x zr 3 After drawing the ROI with the mouse the program instructs you to draw the Train String Bounding box Draw a rectangular box starting precisely from the left side of the first character and ending precisely with the right side of the last character of the string as shown in Figure 4 55 You can leave some space on the top and bottom of the text string v2 1 0 Feb 2009 DMx AutoID User Manual 4 111 Chapter DMx AutoID Reference Guide FIGURE 4 55
136. e The address of the image buffer as a long Remark You can set the ImageControl property to the ImageView control so that the image is displayed automatically 6 40 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Learn Method Use the Learn method to configure Data Matrix barcode OCR or Fiducial finder parameters from the image obtained from the Grab method Syntax Object Learn str Description str String e ID learn barcode e 2D learn Data Matrix e OCR learn OCR e FIND learn Fiducial finder Return Value The results of the learn as a string Remark To enable learn OCR FIND or Data Matrix assisted learn the AssistedLearnEnable property must be set to True o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 41 Chapter DMx AutoID Visual Basic Support Light Method Use the Light method to control multi axis light Syntax Object Light axis level Description axis Long Select the axis to control The axis ranges from to 5 level Long Set the light intensity level from 0 to 99 6 42 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Live Method Use the Live method to display live images Syntax Object Live Return Value Long The address of the last acquired image when the live mode is stopped Remark You must s
137. e is 07001101 e Dark cell e 0 Light cell e Stored in the Data Matrix as shown in Figure C 4 FIGURE C 4 Data Matrix Storage M 01001101 The Quiet Zone is a clear white space surrounding the Data Matrix without clutter or text of any kind The width of the quiet zone must be at least the size of one cell The quiet zone should be at least 1096 of the width or height of the symbol in order to achieve an optimum read rate C 4 DMx AutoID User Manual v2 1 0 Feb 2009 Data Matrix Error Correction Data Matrix Error Correction Error correction provides safeguards and additional capabilities for handling poorly printed or damaged symbols Error Correction Codes ECC are selected by the user when encoding the Data Matrix symbol Data Matrix is the only symbology which offers both Reed Solomon ECC 200 and Convolutional error correction codes ECC 000 140 Reed Solomon is a byte correcting scheme preferred for block damage recovery Convolutional code is a bit correcting scheme preferred for random damage recovery With the proper choice of Error Correction Code for a given environment a high rate of decoding can be achieved In Convolutional code as ECC level increases data redundancy is added to the Data Matrix symbol as well as increased overhead OVHD in ECC 000 140 Additionally as the ECC levels increase the physical marked area increases proportionally The redundant data i
138. e Protocol 4 88 Profibus Command Set 4 89 Profibus Communication Examples 4 90 Protocol Error Handling 4 92 Working with Multiple Input Modules 4 94 Setup gt Wedge Target 4 94 Setup gt Calibration 4 95 Contrast amp Size Calibration 4 95 Calibration Setup 4 96 Calibration Check 4 96 Target ROI 4 97 Set ROI Menu 8 Set ROI gt Data Matrix 4 98 v2 1 0 Feb 2009 DMx AutoID User Manual vii Contents Set ROI gt Barcode 4 98 Set ROI gt OCR Fixed Font 4 98 Set ROI gt Fiducial 4 98 Set ROI gt Clear ROI 4 99 Learn Menu 4 99 Learn gt Data Matrix 4 99 Data Matrix Assisted Learn Example 4 101 Learn gt Barcode 4 105 Learn gt OCR Fixed Font 4 110 Reading OCR A with Separator Example 1 4 116 Learn gt Fiducial 4 120 Run Menu 4 125 Important Settings Prior to Run 4 125 Run gt Run Once 4 126 Run gt Run All Once 4 126 Run gt Run Continuously 4 127 Run gt Stop 4 127 Run gt Com 1 or Com 2 4 127 Run gt Beeper 4 127 Run gt Ethernet TCP IP 4 128 Run gt Log Data 4 128 Run gt Keyboard Wedge 4 128 Run gt PLC 4 129 View Menu 9 View gt Frame Grabber 4 129 View gt Camera 4 130 View Contrast Enhancement 4 130 View gt Additional Menus gt Pre Process 4 130 View gt Additional Menus gt PLC Interface 4 130 View gt Additional Menus gt Keyboard Wedge 4 130 View gt Watch Window 4 131 View gt Reading Statistics 4 131 View gt PLC Status 4 131 View gt Camera Status 4 132 View gt Pre Processing Job 4 133 View gt Images While Running 4 133 View gt
139. e Running This menu item allows you to view the current image during a Run sequence as shown in Figure 4 81 FIGURE 4 81 Images While Running Window 3 E 23 3 gt 5 AF Images while Running di m Graphics while Running 4 v Status Bar while Running 15 Reading Statistics while Running Quad You have the following options for displaying images in Run time 1 Display image in full resolution one at a time in the order it is acquired 4 Display image in one fourth of the full resolution in the order it is acquired A maximum of four images can be displayed before the oldest image is replaced with a new image 16 Display image in one sixteenth of the full resolution in the order it is acquired A maximum of sixteen images can be displayed before the oldest image is replaced with a new image Quad Display images from camera 1 2 3 and 4 in the corresponding quadrant v2 1 0 Feb 2009 DMx AutoID User Manual 4 133 Chapter DMx AutoID Reference Guide Since image display uses a significant amount of the computer resources for high speed high throughput application try to display images in lower resolution or disable the image display whenever possible To disable the image display simply select the checked display option to uncheck it View gt Graphics While Running Open the View menu and select Graphics while Running This menu item allows
140. e Unit pus 5 ge Is P co oc Ss 5 Fiber Optic Light Part Sensor v2 1 0 Feb 2009 DMx AutoID User Manual A 15 Appendix Optional Hardware Installation A 16 DMx AutoID User Manual v2 1 0 Feb 2009 UJ appenpxs Creating A Good Image 8 5 Fr 3 7 pus This appendix provides guidance on creating a good image Overview To successfully use your 0300 board you must know how to obtain a clear precise image of the part and features you want to inspect Factors that contribute to obtaining a good image include Determining the Field of View FOV e Selecting a lens e Illuminating the part e Advanced lighting e Aperture e Depth of Field e Lighting tips v2 1 0 Feb 2009 DMx AutoID User Manual B 1 Appendix Creating A Good Image Determining the Field Of View FOV Determining the best Field of View that is the area viewed by the camera is your first consideration before setting up a camera for your application The object of interest should appear as large as possible in the Field of View The Field of View should clearly show the level of detail you want to see while ensuring that the part to be inspected is always seen by the camera The general rule is to fill the Field of View with the part you are inspecting leaving enough space around the part to compensate for part positioning This provides a superior image of th
141. e greater the score the better the quality The grade is A if UEC gt 0 62 B if UEC gt 0 50 C if UEC gt 0 37 v2 1 0 Feb 2009 DMx AutoID User Manual 4 47 Chapter DMx AutoID Reference Guide D if UEC gt 0 25 F if UEC lt 0 25 Overall Grade Lowest of the parameter grades achieved from above four parameters IAQG Verification Parameters The following parameters are measured based on AS 9132 Rev A Data Matrix 2D Coding Quality Requirements for Parts Marking International Aerospace Quality Group Dot Size Check how much the size of all modules varies The value Dot Size Count is the percentage of the modules that are either smaller than 70 or greater than 90 of the nominal module size The value Dot Size Count2 is the percentage of modules that are either smaller than 60 or greater than 105 of the nominal module size The Dot Size Grade is A Excellent if Dot Size Count is no more than 2 B Acceptable if Dot Size Count2 is no more than 296 F Fail if Dot Size Count2 is greater than 296 Dot Center Offset Check if modules are marked in the correct locations The value Dot Center Offset Count is the percentage of modules whose dot center offset exceeds 1096 of the nominal module size The value Dot Center Offset Count2 is the percentage of modules whose dot center offset exceeds 20 of the nominal module size The Dot Center Offset Grade is A Excellent if Dot Center Offs
142. e gt Open 4 4 File gt Open List 4 4 File gt Grab 4 4 File gt Live 4 4 File gt Save As 4 5 File gt Password 4 5 File gt Start Options 4 6 File gt Jobs 4 7 File gt Exit 4 7 Setup Menu 4 8 Setup gt System Configuration 4 9 Throughput Estimation Guidelines 4 12 Setup gt Com Port 4 13 Setup gt Digital I O 4 15 Implementation 4 15 Standard I O Settings 4 16 vi DMx AutoID User Manual v2 1 0 Feb 2009 Contents Setup gt Parameters 4 17 Setup gt Parameters gt General 4 18 Setup gt Parameters gt Data Matrix 4 20 Setup gt Parameters gt Barcode 4 27 Setup gt Parameters gt OCR Fixed Font 4 31 Setup gt Parameters gt Formatting 4 37 Output Formatting 4 38 Symbology OCR Debug Report 4 39 OCR Debug Report 4 42 Setup gt Parameters gt Verifier 4 44 AIM Verification Parameters 4 46 IAQG Verification Parameters 4 48 ISO 15415 Verification Parameters 4 49 DPM Verification Parameters 4 50 Verification Status 4 54 Verification Results Display 4 56 Setup gt Parameters gt Fiducial 4 60 Setup gt Parameters gt Barcode Verification 4 62 Grading Criteria 4 64 Barcode Verification 4 65 Reporting Verification Results 4 66 Setup gt Image Saving 4 70 Setup gt Output Messages 4 72 Setup gt Checking Modes 4 72 Setup gt Retry Modes 4 74 Setup gt Ethernet TCP IP 4 76 Setup gt Lighting Control 4 78 Setup gt PLC Communication 4 79 DDE Protocol 4 80 Profibus Protocol 4 82 Configuring the Profibus Network 4 83 Profibus Data Exchang
143. e other methods OptoInput OptoOutput OptoIOEvent can be called Syntax Object OptoIOMask mask index Description mask String The mask is a 16 bit value whose LSB corresponds to the first GPIO point To configure a point to be input set the corresponding point to 1 For example to configure all points as input set mask to amp HFFFF To configure all points as output set mask to amp HO Only the first 10 points can generate an event index Long The 0300 board index from 0 to 3 The default is 0 the first 0300 board Remark The two input points and four output points are fixed on the Mini Opto I O board that cannot be re assigned The mask for Mini I O board is amp H20 o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 47 Chapter DMx AutoID Visual Basic Support OptoOutput Method Use the OptoOutput method to set the state of an output point Syntax Object OptoOutput point state index Description point Long The GPIO points from 1 to 16 that have been programmed as output by the OptoIOMask method state Long 0 low 1 high index Long The 0300 board index from 0 to 3 The default is 0 the first 0300 board Return Value A long value that s same as state for success or 1 when writing to an input point 6 48 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support
144. e part and regions of interest for the system to see In Figure B 1 the image on the left provides more detail and thus a more desirable image than the one on the right FIGURE 8 1 Fields of View AUN Selecting Lens Selecting a lens is one of the most critical factors for obtaining a good image Lenses used for 35 mm SLR cameras are preferable for use with the 0300 board camera than standard C mount lenses when performing accurate measurements Lenses for 35 mm SLR cameras are more optically accurate and therefore more expensive However they are larger than C mount camera lenses and may cause a problem in mounting a camera in a particular enclosure To use a 35 mm SLR camera lens with your 0300 board camera you need to use a C mount to F mount adapter Use the Lens Selection Chart Figure B 2 to determine the lens size As a general guideline lenses that have a longer focal length make the object appear closer larger and show less of the background For example a 50 mm lens has a longer focal length than a 25 mm lens B 2 DMx AutoID User Manual v2 1 0 Feb 2009 Selecting Lens FIGURE B 2 Lens Selection Chart 40 1 F 25 12 5 2 LAS eO ea P je 50 e Pa 97 7 o 4 F 35 lt lt p mm x ff 4 2 1 p E 4 di 2 2 30 Ed 2 4 Pd F 50 mm o 2 9 20 e 75
145. ecode grade min edge contrast grade min edge contrast Note Percentage value of minimum edge contrast symbol contrast grade symbol contrast Note Percentage value of symbol contrast modulation grade I modulation Note 0 00 1 00 defects grade defects Note 0 00 1 00 A decodability grade decodability Note 0 00 1 00 ES E 20 2 8 3 gt 5 2 AF start quiet zone 0 0 10 0 stop quiet zone 0 0 10 0 v2 1 0 Feb 2009 DMx AutoID User Manual 4 69 Chapter DMx AutoID Reference Guide Setup gt Image Saving This menu item displays the Image Saving dialog box as shown in Figure 4 26 FIGURE 4 26 Image Saving Dialog Box Camera 1 Image Saving x Save Failed Images Maximum Count Delete Old Images at Startup Save Image Before Decoding Directory for Saved Images Browse C PROGRAM FILES DMX AUTOID save OK e Save Failed Images Enable to save the images that cannot be located decoded to the Directory for saved images described below Images are saved as FAILxnnn BMP where Represents the zero based index of the camera from which the image was taken nnn Represents the 3 digit numbering index for each image The allowable range for nnn is from 000 to 1 less than the Maximum count as described next not to exceed 999 Maximum count Since each image
146. een marks you may choose to mark the dot size to be a certain percentage smaller than the nominal cell size and set the TPG to be a negative value such as 0 10 or 0 20 Print Growth is graded as A if PG lt 0 10 B if PG lt 0 20 C if PG lt 0 30 D if PG lt 0 40 F if PG gt 0 40 Unused Error Correction UEC The Error Correction Used measures how many cells for ECC050 ECC080 ECC100 and ECC140 codewords each consisting of eight cells for ECC200 have been corrected in order to decode the Data Matrix The UEC is the full error correction capacity normalized to 1 minus the Error Correction Used The greater the score the better the quality The grade is A if UEC gt 0 62 B if UEC gt 0 50 C if UEC gt 0 37 D if UEC gt 0 25 F if UEC lt 0 25 Angle of Distortion AD Measures how much the L angle the angle formed by the two solid borders deviates from the right angle The grade is A lt 2 if lADI lt 4 Cif ADI lt 6 D if IADI lt 7 F if ADI gt 7 Overall Grade The overall grade is the lowest grade received by all enabled verification parameters By default all parameters except Cell Size and Symbol Contrast are enabled Since it is not always possible to achieve the recommended 10 pixels per cell or good contrast for DPM parts and the two parameters Cell Size and Symbol Contrast are usually less important v2 1 0 Feb 2009 DMx AutoID User Manual 4 5
147. eight or Width is unchecked The value has no effect on the program when both Height and Width are specified When neither Height Width nor Ratio is selected the system will look for Data Matrix of any size and aspect ratio Range 0 3 to 5 0 Fine Tune Method You have the following options Position Enhance Enabling this option instructs the algorithm to locate the four corners of the Data Matrix more precisely and in general reduce the number of error correction used for severely underprinted or overprinted symbols The default is Off ntensity Enhance Designed to overcome dramatic intensity variation over the matrix border area For example certain poorly marked Data Matrix may have some cells that are almost invisible compared to the rest of the cells Without enabling the option the system may issue a status code indicating a certain edge cannot be found Enabling the option will help read this type of Data Matrix more consistently The default is Off I Note Refer to the Formatting tab for a description of DMx AutoJD status codes E 20 2 8 3 gt 5 2 AF No Quiet Zone Clutter Enabling this option will speed up the reading process when Data Matrix has sufficient quiet zone With sufficient quiet zone a Data Matrix with irregular curved or distorted border s can be read more efficiently with the option checked Typically the border problem is associated with low qua
148. ement packet 03 after it is triggered again and the Data Matrix is decoded then the data packet 04 52 xx xx xx will be sent instead 11 To disable the Run Continuously mode PLC sends command READ OFF with packet 05 08 82 69 65 68 32 79 70 770 Protocol Error Handling Table 4 4 and Table 4 5 show how DMx AutoID responds to various inputs from a PROFIBUS master including possible erroneous inputs The protocol allows the communication to resume without compromising the data integrity in the presence of erroneous inputs from the PROFIBUS master program Error Handling in Run Once Mode In the Run Once mode i e the Run Continuously mode is not entered DMx AutoID receives the READ command from the master a PLC and sends the decode data back to the PLC 4 92 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface TABLE 4 4 Error Handling in Run Once Mode When DMx AutoID Receives A valid command other than READ READ ON OFF with packet number n DMx AutolID Responds With Command response with packet n 1 Command READ Decode data or failure message Command READ ON No response is sent but it enters the Run Continuously mode Acknowledgement Data up to 62 bytes with no more data left to send or data of 62 bytes with more data to be sent An unexpected command with packet number m A valid command is unexpected when it is received
149. ent image open image file Sample18 bmp and perform Run Once You can also use File gt Open List to open files Sample17 bmp and Sample18 bmp and select Run Run Continuously 4 124 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Run Menu The Run menu as shown in Figure 4 71 allows you to perform various inspection sequences FIGURE 4 71 Run Menu View Hel Run Once F8 v Alli Gere Sh Bon Al Gace pe Run Continuously Comi Beeper Ethernet TCP IP Log Data Keyboard Wedge v PLC I Before select Run Once or Run Continuously always ensure that the settings in the Multi Code Setup box in Setup Parameters General Tab are configured correctly By design when a Learn Data Matrix is successful the Number of Data Matrices to Decode is automatically set to 1 to read one Data Matrix and the Number of Barcode to Decode and Number of OCR Rows to Read are both set to O to disable those readings Consequently when a Learn Barcode is performed the Data Matrix parameters are retained but only the Barcode will be allowed to run E 29 3 gt 5 2 AF The same strategy applies to OCR reading In order to read Data Matrix Barcode and OCR you must set each parameter Number of Data Matrix to Decode Number of Barcode to Read and Number of OCR Rows to Read to a value greater than 0 Important Settings Prior to Ru
150. eper gt Read checked enables the PC to beep when the inspection reading succeeds Run gt Ethernet TCP IP Enable Ethernet TCP IP by checking this option Once checked DMx AutoID will attempt to establish the TCP IP connection with the parameters specified in Setup gt Ethernet TCP IP box Once connected you can terminate the connection by unchecking the option Run gt Log Data Select Run gt Log Data gt Log to check the option if you want to log the data to the file DMx AutoID job mxAutoID log Selecting this again will uncheck it to disable logging data If the file already exists on the system the Delete menu will be enabled If you want to delete the log file select Delete and click OK in the Delete Current Log File box as shown in Figure 4 74 FIGURE 4 74 Delete Current Log File Dialog Box DMx AutolD 22 Delete Current Log File When the file is removed and the Run gt Log Data gt Log is checked any newly decoded data from Run Once or Run Continuously will be logged starting from the first line of the file If the file already exists and Run gt Log Data gt Log is checked any newly decoded data will be appended to the end of the file Note You should not access the Log file during the Run Continuously process If Log Data is enabled in List mode with image files then Run Continuously will go through the list of image files only once Run gt Keyboard Wedge This menu is avail
151. eps 5e and 7c plus an output module of 64 bytes Doing so will allow up to 242 bytes to be sent to the master in a single packet Setup gt Wedge Target This menu item is visible only when the Wedge option is checked in View gt Additional Menus You can have the output data sent from DMx AutoID to a target text processing program as though the data were typed in from the PC keyboard Typical text processing programs are Microsoft Notepad WordPad Word Excel etc You can open a custom program by specifying the name of the EXE program using Other and then select Run gt Keyboard Wedge to check it To reconfigure the Wedge program you need to de select Run gt Keyboard Wedge first 4 94 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Setup gt Calibration Two types of calibrations can be performed for DMx AutoID 1M e Contrast amp Size Calibration starting on page 4 95 e Target ROT starting on page 4 97 FIGURE 4 39 Calibration Dialog Box Calibration Contrast Calibration gt Target ROI 4 Contrast amp Size Calibration FIGURE 4 40 Contrast Calibration I Contrast Calibration Setup Target ROI b Check Enabled The DMx AutoID system must be calibrated in order to report the cell module size in mil 1 1000th of an inch and the contrast as a NIST traceable value ES E 28 3 gt 5 x 2 AF The Setup menu allows y
152. er General Data Matrix Barcode OCR Fixed Font Formatting Verifier Fiducial BC Verification r Made __ Template C None C Fast Standard r Report Upper left comer Center I GOLDENO bmp Browse Validate Inspection 5 gt 70 E Angle o Report Target Intensity Cancel 3 Configure the parameters as shown in Figure 4 69 E 28 3 gt 5 x 2 AF 4 Select Run Once you should see Figure 4 70 v2 1 0 Feb 2009 DMx AutoID User Manual 4 123 Chapter DMx AutoID Reference Guide FIGURE 4 70 After Selecting Run Once AutoID help sample17 bmp x File Setup SetROI Learn Run View a of Fe 6407 477 101 1 4242849324 The output of the fiducial finder has the following syntax Xout single digit x coordinate y coordinate score intensity If a target is found the single digit is 1 and the y coordinates of the upper left corner correlation score and average intensity of the target will be displayed Otherwise the single digit is 0 indicating that no target is found No valid coordinates are displayed either Instead of reporting the upper left corner you can also choose to report the center of the target 5 test the fiducial finder on a differ
153. er score is the correlation score intensity is the average intensity of the target e Score gt Enabled for editing only when the fiducial finder is enabled You can set the threshold for correlation score here The higher the score the better the template match If you want to allow a less perfect fiducial mark to be found then you might need to lower the threshold Default 70 Range 20 to 100 Angle x Enabled for editing only when the fiducial finder is enabled If you need to allow up to 5 rotation angle in the fiducial search set the angle here accordingly Default 0 No rotation is allowed e Template This is the golden template needed in the correlation search algorithm It is a bitmap image of the target learned in the Learn Fiducial step and saved in the job folder under the DMx AutoID application folder You can use Browse to select a different template e Validate Inspection The fiducial finder can be enabled to work together with regular inspection e g reading Data Matrix and or barcode and or OCR When Validate Inspection is unchecked the status of the inspection is not affected by the success or failure of the fiducial finder When Validate Inspection is checked the status of the inspection will fail whenever the fiducial finder fails to find a target regardless of whether the correct number of Data Matrices and or barcodes and or OCR strings have been read or not Report Target
154. ered Microscan Systems Inc warrants to the original purchaser that products manufactured by it will be free from defects in material and workmanship under normal use and service for a period of one year from the date of shipment This warranty is specifically limited to at Microscan s sole option repair or replacement with a functionally equivalent unit and return without charge for service or return freight What Is Excluded This limited warranty specifically excludes the following 1 Any products or parts that have been subject to misuse neglect accident unauthorized repair improper installation or abnormal conditions or operations 2 Any products or parts that have been transferred by the original purchaser 3 Customer mis adjustment of settings contrary to the procedure described in the Microscan Systems Inc owners manual 4 Upgrading software versions at customer request unless required to meet specifications in effect at the time of purchase 5 Units returned and found to have no failure will be excluded 6 Claims for damage in transit are to be directed to the freight carrier upon receipt Any use of the product is at purchaser s own risk This limited warranty is the only warranty provided by Microscan Systems Inc regarding the product Except for the limited warranty above the product is provided as is To the maximum extent permitted by law this express warranty excludes all other warranties express or implied in
155. ers tab will be displayed after you click the mouse At this time however only Number of Rows and Columns and Polarity are enabled for editing The rest are all disabled Make sure you enter the correct information In the example in Figure 4 48 we enter 14 for number of rows and column and Light on Dark for the matrix polarity v2 1 0 Feb 2009 DMx AutoID User Manual 4 103 Chapter DMx AutoID Reference Guide FIGURE 4 48 Parameter Setup for Camera 1 Camera 1 Parameter Setup LightonDark Foret Dy ECC Level fe Grentation rege style Select OK and the matrix parameters will be learned afterwards as shown in Figure 4 49 4 104 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 49 Matrix Parameters After Being Learned I ES E 2g 3 gt 5 2 AF 182 ms x 484 122 1 0 xdsfegbxdz Learn gt Barcode 1 Open sample7 bmp 2 From the Learn menu select Barcode as shown in Figure 4 50 v2 1 0 Feb 2009 DMx AutoID User Manual 4 105 Chapter DMx AutoID Reference Guide FIGURE 4 50 Example Learn Barcode 3 DMx AutolD C Program Files DMx AutolID Sample bmp When the Learn Barcode is successful the decoded data is displayed in the status bar The barcode reading is now enabled as shown in Figure 4
156. es the image Pre Process Example 1 Open sample12 bmp 2 From the Pre Process menu select Erode to display the DMx AutoID Size dialog box You can enter 1 or 2 and then click OK In this example size 2 will produce a better image than size 1 but take more time to do the processing I FIGURE 4 83 Size Dialog Box DMx AutoID Size 1 15 Cancel ES E 28 3 gt 5 x 2 AF 3 From the Learn menu select Data Matrix to memorize the preprocess step and learn the Data Matrix v2 1 0 Feb 2009 DMx AutoID User Manual 4 139 Chapter DMx AutoID Reference Guide FIGURE 4 84 Memorize Pre Process Step AutoID C help sample12 BMP Setup SetROI Learn PreProcess Run View Help 4 From the Run menu select Run Continuously to decode the Data Matrix with preprocessing embedded The preprocess step Invert or Max Min can be applied only once with no configurable parameter The rest of the preprocess steps have the size parameter which can be set from to 16 You should begin with size 1 and gradually increase the size to see which one produces the most satisfactory reading performance For Erode and Dilate you are allowed to perform certain size of Erode followed with certain size of Dilate or vice versa 4 140 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interf
157. et Countl is no more than 2 B Acceptable if Dot Center Offset Count2 is no more than 296 F Fail if Dot Center Offset Count2 is greater than 296 Angle of Distortion Measure the angular deviation of 90 plane between the two solid borders The Angle of Distortion Grade is A Excellent if the Angle of Distortion is no more than 3 5 B Acceptable if no more than 7 F Fail if more than 7 Nominal Module Size Same as Nominal Cell Size on page 4 44 Module Fill Rate Average module size divided by the nominal module size in both X and Y direction provided as a reference only 4 48 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface e Ovality A module has poor ovality if the width and height of the module differ by more than 20 of the nominal module size The Ovality Value is the percentage of modules that have poor ovality The Ovality Grade is A and B if Ovality Value is no more than 2 F if Ovality Value is greater than 2 Symbol Contrast Defined as the gray density difference between the marking and its substrate For image based contrast measurement the camera system first must be calibrated to match the Scale of Gray Density chart shown in AS9132 The contrast is then measured as the difference in reflectance measured by grayscale values between the light and dark modules of the symbol The arithmetic mean of the darkest 10 of the pixels and that of the
158. et the ImageControl property to the Image View control so that the image is displayed automatically In your VB program ensure the live mode is stopped by invoking the Live method again before you allow other action o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 43 Chapter DMx AutoID Visual Basic Support Load Method The Load method loads a job file previously saved with the Save method This is camera independent Syntax Object Load jobPath Description jobPath String Specifies the full path of the job file with the extension INI The extension is not required If only the file name with no path is supplied the Load method attempts to load the file with the path specified by the ApplicationPath property If no job file is supplied the default configuration settings are loaded Return Value An empty string if the job loaded does not contain a Boot job entry or the full path of the boot job if the loaded job contains a Boot job entry 6 44 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Optolnput Method Use the OptoInput method to get the state of an input point Syntax Object OptoInput point index Description point Long The GPIO points from 1 to 16 that have been programmed as input by the OptoIOMask method index Long The 0300 board index from 0 to 3 The default is 0
159. ethod Use SetImageSIze method to set the size of the image display window If the AutoResize property is set to False the display size will not change even when an image of different size is loaded If the AutoResize property is set to True the display size will automatically resize within the constraints set by MinWidth and MinHeight properties See also the ResizeView event and the GetImageSize method of AutoID Custom Control Syntax Object SetImageSize width height Description width Long Image width in pixels height Long Image height in pixels o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 69 Chapter DMx AutoID Visual Basic Support DMx ImageView Control Events The events exposed by the DMx ImageView Control are described in the following pages KeyDown Event Occurs when a key is pressed Use the KeyDown Event to pass the key code to AutoID Custom Control Syntax Object_KeyDown ByVal KeyCode As Integer Shift As Integer Description KeyCode Only ESC and SPACE bar are allowed to generate an event Shift Code for control characters Not used 6 70 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support MoveAOI Event Occurs when an ROI Region of Interest is drawn within the image display area You typically retrieve the ROI set by the user using the GetlmageRECTAOI method and pass the ROI
160. etup 1 Select File gt Live Place a Data Matrix target of suitable size near the center of the FOV If necessary adjust the lighting the camera s f stop aperture or focus to obtain good images The images should not look too dark or saturated 1 the value of light pixels should not reach 255 Select File gt Live to exit the live mode and capture an image 2 Select Setup gt Calibration gt Contrast Calibration and then select Setup The following box is displayed for you to enter the contrast of the target shown on the Microscan Calibration Test Card Enter it then hit OK 3 If the calibration is successful the following message will be displayed in the Status bar Calibration succeeded and enabled You can verify that Calibration Mode is now enabled by selecting Setup gt Calibration gt Contrast Calibration to see that Enabled is displayed If the calibration is unsuccessful then one of the following messages will be displayed instead Calibration failed No Data Matrix found Calibration failed Invalid calibration target Calibration failed Adjust image Calibration Check For a calibrated system you can check if it has changed from the last calibrated state such that it may require re calibration To do this place in the center of the FOV the same target that was used in the calibration setup process then select Setup gt Calibration gt Contrast Calibration gt Check If no re calibration is
161. for the selected symbols or text The Number of Barcodes Data Matrices and OCR Rows to Decode Read tell the system how many symbol s should be decoded in the field of view 4 18 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Number of Barcodes to Decode Setting the number to 0 disables barcodes reading The supported barcodes are listed in Barcode group Only the enabled checked barcodes will be decoded Range 0 to 5 Number of Data Matrices to Decode Setting to 0 disables Data Matrix reading Range 0 to 5 e Number of OCR Rows to Read Setting to 0 disables OCR Optical Character Recognition Range 0 to 4 I The system will in turn search Barcode items first Data Matrix next and OCR last as defined in this dialog box and based on the respective quantities in Multi Code Setup To ensure that the Barcode Data Matrix reading completes within a pre defined time limit the Inspection Time out Value can be set to the time limit in milliseconds Setting the value to 0 indicates that no limit is set See Important Settings Prior to Run on page 4 125 for suggestions on how to set the time limit E 20 2 8 3 gt 5 2 AF v2 1 0 Feb 2009 DMx AutoID User Manual 4 19 Chapter DMx AutoID Reference Guide Setup gt Parameters gt Data Matrix This menu item displays the Parameter Setup dialog box Data Matrix tab as sh
162. for the Run mode to perform robustly When the quality of the Data Matrix is high reducing the cell size value slightly will not affect the read rates but will accelerate the read cycle When the element size drops below 4 pixels however the locate decode time will increase and the robustness of the algorithm may degrade Range 2 to 20 e Minimum Edge Strength For extremely low contrast images the edge strength value can be set between 5 and 18 gray scale values The edge strength can be raised to higher values when the Data Matrix is of relatively v2 1 0 Feb 2009 DMx AutoID User Manual 4 23 Chapter DMx AutoID Reference Guide high contrast and the background clutter is of relatively low contrast With higher edge strength the DMx AutoID program will ignore most of the low contrast objects and get to the higher contrast matrix area quicker A value of 18 allows the program to read the Data Matrix with contrast as low as 10 If the label s contrast is unlikely to change e g when a stable lighting source is employed the level can be raised to 36 to produce the optimum run performance The value can be set between 5 and 100 Samples Per Cell Select a different cell sampling method to overcome some print quality issues The DMx AutoID program samples and averages portions of each cell to determine whether the cell is light or dark Border Integrity This is a percentage value Default 8
163. g Jjw50449600039F2 I Ga OK e Confidence Threshold This confidence threshold value is useful in rejecting the decoded character string in which the minimum confidence of all characters is below this value The confidence value measures how well a character matches its ideal shape Raising the threshold value will reduce the ability to read poorly formed or damaged characters and also reduces the possibility of mis decoding characters e g substitution error 3 ES E 28 gt 5 AF Default 60 Range 0 to 100 Note If the OCR string is successfully read but the minimum confidence value is less than the threshold value then the status code 6001 will be reported indicating OCR confidence checking failure To see the status code select Formatting tab and check OCR Debug Report Status Code e 96 String Length Variation Can be set to up to 10 variation from the string length used in Learn This parameter is only applicable to Degraded OCR Method The default value 0 is adequate from most of the OCR applications in which the text string length in pixels does not vary from part to part A positive percentage number should be used when the length does vary significantly up to 1096 v2 1 0 Feb 2009 DMx AutoID User Manual 4 35 Chapter DMx AutoID Reference Guide Fine Tune Method Indicates which options should be used in R
164. ge capture grab sequence Hardware Trigger When enabled the capture sequence starts with the presence of a signal at each trigger input for the selected camera s The Asynchronous Synchronous mode is used when more than one camera is enabled e In Asynchronous mode each camera is independently triggered by its own trigger e In Synchronous mode all cameras are triggered at the same time by one trigger which corresponds to the first camera the camera with smallest index in the list of enabled cameras Internal Sync This option allows the DMx AutoID to work with an internal sync camera Check this option if the camera does not support external sync signal Since the 0300 board has to sync with the camera s internal sync signal only one internal sync camera is allowed to work with the 0300 board Furthermore more frames are needed before the 0300 board can sync with the camera when image acquisition starts or changes Due to these limitations you should always avoid internal sync cameras when possible Grab New e List mode When a list of image files is selected and the Grab New is not selected Run Once will operate on the currently displayed image in the list If the Grab New is selected Run Once will operate on the next image in the list e Live Camera mode If Grab New is not selected Run Once will operate on the currently displayed image If Grab New is selected Run Once will acquire a new image and oper
165. grading will be displayed When IAQG is selected the verifier will perform mark quality measurement based on the 489132 specifications on Data Matrix If the Mode is set to ISO 15415 then the verification is performed based on the ISO IEC 15415 specification The AIM IAQG ISO 15415 Status Configuration is enabled when the mode is set to AIM IAQG or ISO 15415 When DPM is selected the verifier will perform mark quality measurement for the Direct Part Marks DPM and the DPM Status Configuration will be enabled 3 D E 20 2 9 3 gt 5 v2 1 0 Feb 2009 DMx AutoID User Manual 4 45 Chapter DMx AutoID Reference Guide Show Status Only When this is checked only the verification status value is reported The verification grades and values are not sent out in the report Note that the Status Code must be checked first in the Formatting tab in order to report the verification status Validate Inspection Defines how the verification failure affects the inspection result When verification fails and Validate Inspection is checked the inspection will fail even if the Data Matrix was decoded In this case the Read I O will not be raised in and the Read failure is indicated When verification fails and Validate Inspection is unchecked the inspection will not fail both the Read I O and Overrun I O will be raised Target Print Growth When Mode is set to DPM and Print Growth Grade is checked in
166. h String Specifies the full path including the name of the job file If only file name with no path is specified the file is saved in the application folder Return Value Boolean True for success False for failure for example when accessing an invalid path o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 51 Chapter DMx AutoID Visual Basic Support Savelmage Method Use the SaveImage method to save the image in the buffer to a BMP file The image can be acquired by the methods Grab Live or Read Syntax Object Savelmage path Description path String The path in the image file path can be obtained from the FileNameQuery method If only file name with on path is specified the file is saved in the application folder Return Value Boolean True for success False for failure when accessing an invalid path 6 52 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support SetROI Method Use SetROI method to set the extra ROI s needed in the interactive learn mode Syntax Object SetROI type item Description type String 2D OCR FIND item Long e 0 Regular rectangular ROI for 1D 2D OCR or FIND e The Data Matrix outline box for 2D the training box for OCR or the template box for FIND e 2 The character box for OCR o T 5 Qe lt z g 35
167. h as Semiconductor Equipment amp Materials International SEMI Electronics Industries Association EIA Air Transport Association ATA and Automotive Industry Action Group What Is Data Matrix The Data Matrix is a unique machine readable symbol capable of storing a large amount of information within a small physical size Examples are shown in Figure C 1 v2 1 0 Feb 2009 DMx AutoID User Manual C 1 Appendix Data Matrix Symbology FIGURE C 1 Data Matrix Examples a The Data Matrix symbology allows for two dimensional encoding and decoding For the first time users are no longer constrained by the limitations of a printed symbol Now with the Data Matrix symbology users have the ability to Select output size ranging from 0 001 square inches to 14 square inches regardless of the amount of data encoded Encode up to 3116 numeric characters or 2335 alphanumeric characters in a single symbol Encode and read many supported international languages Easily integrate with existing computer systems Data Matrix symbols are capable of carrying 25 to 100 times more information than the typical barcode This range is directly related to the image quality that the printer is capable of producing The following summarizes characteristics of 2D Data Matrix Both height and width encode data Works with contrast as low as 20 Readable through 360 of rotation Designed to survive harsh industr
168. hange ByVal camEnablemask As Long Description camEnableMask The bit mask formed by the enabled cameras 6 58 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support CamindexChange Event Occurs when the index of the current camera changes Syntax Object CamIndexChange ByVal index As Long Description index The index of the current camera It ranges from 1 to 16 o T 5 Qe lt z g t3 ao oo EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 59 Chapter DMx AutoID Visual Basic Support GrablndexChange Event Occurs when the 0300 board index changes The 0300 board index changes when you change a camera index to a new camera that is attached to a different 0300 board Syntax Object_GrabIndexChange ByVal index As Long Description index This is the index to the current 0300 board It ranges from 0 to 3 6 60 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support ReadData Event Occurs when the Read On method is invoked If hardware is enabled the event is fired when a hardware trigger occurs and the associated image acquired and decoded If hardware trigger is not enabled the event is fired whenever a decode cycle is completed and decode data is available Syntax Object_ReadData ByVal As Long ByVal strData As String Description camltem data is decoded from this camera It ranges from 0 to 15 for
169. hange it to Disabled v2 1 0 Feb 2009 DMx AutoID User Manual 4 97 Chapter DMx AutoID Reference Guide Set ROI Menu FIGURE 4 42 SetROI Menu Learn Run Data Matrix Barcode OCR Fixed Font Fiducial The Define ROI Region of Interest menu as shown in Figure 4 42 allows you to specify a Region of ROI within the selected camera s Field Of View by drawing a rectangular area using the mouse cursor Set ROI Data Matrix This menu item modifies the ROI containing the Data Matrix or matrices to decode The default ROI for Data Matrix is the full FOV Field of View If no ROI is explicitly set by using this menu prior to Learn Data Matrix then the default ROI is used for Data Matrix Learn and Run Set ROI Barcode This menu item modifies the ROI containing the barcode s to decode The default ROI for barcode is the full FOV Field of View If no ROI is explicitly set by using this menu prior to Learn Barcode then the default ROI is used for barcode Learn and Run Set ROI OCR Fixed Font This menu item modifies the ROI containing the text to read The default ROI for OCR is the full FOV Field of View We recommend that the ROI for OCR be set to as small an area as possible for speed and robustness The ROI is normally set during the Learn OCR Fixed Font process After the Learn and prior to Run select Set ROI and then OCR Fixed Font to modify the ROI if necessary
170. he current camera Use this menu to select the desired 0300 board first in order to access the cameras connected to that 0300 board v2 1 0 Feb 2009 DMx AutoID User Manual 4 129 Chapter DMx AutoID Reference Guide View gt Camera Use this menu to select the current camera among the list of cameras enabled in Setup gt System Configuration View gt Contrast Enhancement When the image displayed in the DMx AutoID GUI is too dark or to bright to see the details of the Data Matrix barcode or the OCR text you can select check Contrast Enhancement to display the contrast enhancement slider in the Status Bar area You can click inside the slider or press arrow keys to adjust the image display This feature only affects the image display and does not change the actual image used by the decoding software View gt Additional Menus gt Pre Process Sometimes for poor symbology or OCR images a properly chosen preprocessing step can enhance the image quality and reduce the noise and hence improve the reading robustness The Pre Process menu can be displayed by selecting Pre Processing under Additional Menus When this is done the Pre Process menu is inserted between the Learn and Run menus You can hide the Pre Process menu by selecting View gt Additional Menus gt Pre Process again to uncheck it The Pre Process menu is explained in the next section FIGURE 4 76 Pre Process Menu Item Displayed DMx AutolD File Setup
171. henever Ready Click this Panel A small target has less data for the correlation algorithm When the target is too small a warning box will be displayed to tell you a small target is chosen You can proceed to use the target or to re select the target you may need to reconfigure your FOV to make the feature larger in the FOV When you are satisfied with the target selection click the status bar panel to bring up the Save As dialog box for you to save the target portion of the image as the golden template used in the correlation search algorithm See Figure 4 68 v2 1 0 Feb 2009 DMx AutoID User Manual 4 121 Chapter DMx AutoID Reference Guide FIGURE 4 68 Save As Dialog Box Save in ex E3 64 History Desktop My Documents My Computer File name GOLDENO bmp x Save as type BMP File bmp z Cancel A file name will be generated automatically for you You can modify it to a more meaningful name or you can accept the name as is My Network 2 Click Save to save the target image in the job folder under the DMx AutoID application folder Then Figure 4 69 will be displayed to allow you to configure the fiducial finder parameters for details see page 4 60 4 122 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 69 Parameter Setup Finder Window Camera 1 Parameter Setup Find
172. his is camera independent Syntax Object Initialize Return Value A long value ranging from to 7 e the first bit LSB of the return value is 1 symbology Data Matrix and Barcode decoding is enabled e If the second bit is 1 OCR is enabled e Ifthe third bit is 1 the inline verifier is enabled o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 27 Chapter DMx AutoID Visual Basic Support KeyCode Property This property passes the KeyCode obtained by the DMx ImageView Control to the AutoID Custom Control to signal a certain key has been pressed This is a write only property that can only be set at runtime This is camera independent Syntax Object KeyCode KeyCode Description KeyCode The KeyCode is generated by Windows when keyboard is pressed It is obtained by the DMx ImageView Control and passed to the DMx AutoID Custom Control via the KeyDown event Only the ESC and SPACE bar keys are allowed 6 28 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support MatrixCount Property This property is the Number of Matrices to Read in the Setup Parameter General tab This is a read write property that can be retrieved and set in runtime Syntax Object MatrixCount number Description number e 0 No barcode is allowed to decode e 5 Upto five Data Matrices can be decoded in the s
173. ial environments Codes can be marked on the surface of a part without using a paper label Every DM code is half black and half white to help ensure that cell damage will not harm readability Several error correction schemes are available to optimize symbol damage recovery C 2 DMx AutoID User Manual v2 1 0 Feb 2009 Data Matrix Components e Advanced image processing is used for higher read rates of cluttered and or damaged symbols Figure C 2 illustrates a Data Matrix on an actual part FIGURE C 2 Data Matrix Example O gt E o ge aw Data Matrix Components Data Matrix consists of a solid border a broken border a data storage area and a quiet zone as shown in Figure C 3 FIGURE C 3 Data Matrix Components EXE E Quiet Zone Solid Border Broken Border E E Data Storage v2 1 0 Feb 2009 DMx AutoID User Manual C 3 Appendix Data Matrix Symbology The DMx AutoID uses the solid border to calculate the rotation of a Data Matrix symbol The DMx AutoID uses the broken border to identify the number of rows and columns in a symbol The data storage area contains the binary information that was encoded during the construction of the Data Matrix The data storage area is illustrated in Figure C 4 showing how data is stored in 8 bit format Each encoded data character can be represented by an 8 bit binary code The character M for exampl
174. if AN lt 0 12 Fif AN lt 2 Print Growth PG Measures how much the cells comprising the Data Matrix have grown or shrunk from nominal cell size Two measurements are made by sampling the centerline of two alternating patterns or timing borders independently to arrive at X Print Growth and Y Print Growth For example if the cell size has grown 20 over the nominal cell size in the X direction then the X Print Growth is 0 20 If the cell size has shrunk 20 from the nominal cell size in Y direction then the Y Print Growth is 0 20 The closer the score is to 0 the better the quality The Print Growth is the X and Y print growth that has the larger absolute value The grade is I A if IPGI lt 0 15 B if IPGI lt 0 21 C if IPGI lt 0 26 D if IPGI lt 0 30 F if IPGI 0 30 Note that in the Data Matrix Spec a D value was introduced as the Print Growth In fact D 3 3 x PG Therefore the above grading criteria can also be written as ES E 20 2 8 3 gt 5 2 AF A if ID I lt 0 50 B if ID I lt 0 70 C if ID I lt 0 85 D if ID I lt 1 00 F if ID I gt 1 00 Unused Error Correction UEC The Error Correction Used measures how many cells for ECC050 ECC080 ECC100 and ECC140 or codewords each consisting of eight cells for ECC200 have been corrected in order to decode the Data Matrix The UEC is the full error correction capacity normalized to 1 minus the Error Correction Used Th
175. igured by OPTO IOMASK command The first parameter point is the output point the second value is the I O state 1 for high and 0 for low the third optional parameter board is the board number from 0 3 This is camera independent POL DL LD AUTO Use this command to set the matrix polarity to Dark on Light or Light on Dark To allow the polarity to vary in READ use AUTO Type POL lt Enter gt to get the polarity 5 8 DMx AutoID User Manual v2 1 0 Feb 2009 READ number ALL ON OFF READ Run Once the current camera The Run Once mode acquires a new image when the Grab New option is checked in the System Configuration The Run Once operates on the already acquired image using GRAB command when the Grab New is unchecked e READ number Run Once on camera specified by number from 1 to 16 This is equivalent to combining two commands CAMERA number and READ e READ ALL Run all enabled cameras once e READ ON Enter Run Continuously mode for all enabled cameras e READ OFF Stop Run Continuously mode for all enabled cameras RETRY NONE Use this command to disable retry and reset the read cycle to single attempt mode i e one image acquisition per trigger RETRY SUPERMARKET time Use this command to set the read cycle to supermarket mode i e report only successful attempts upon duplicate data report only if the time limit has elapsed since last decode The time limit ranges from
176. ile gt Open List to open image files Samplel bmp and Sample2 bmp Assume Samplel bmp is displayed in DMx AutoID as the original image and you have performed steps 1 through 4 If Grab New is checked then Run Once acquires the next image in the list 4 136 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface performs the preprocessing step then reads the Data Matrix The image before the preprocessing is displayed with the decode graphics If Grab New is unchecked then Run Once operates on the same image Samplel bmp and the preprocessed image and the decode graphics are displayed File Open There is only one file available and Grab New has no effect Run Once performs the preprocess step on the original image reads the Data Matrix and displays the preprocessed image along with the decode graphics To display the original image with the decode graphics you need to open the same or a new image again then do Run Once Note When no ROI is chosen for Data Matrix or barcode before the Learn the full image is used as the ROI You can always use Set ROI then Clear ROI to set the full image as the ROI for Data Matrix Barcode or OCR Although it is not required to use an ROI smaller than the full image for all the preprocessing options except for the Zoom x 1 5 and Rotate we recommend that you set an ROI as small as possible to reduce the time required for performing the preprocessing step
177. indicates the number of rows of the Data Matrix in the Setup Parameters Data Matrix tab This is a read write property that can be retrieved and set in runtime Syntax Object Rows str Description str String The str is AUTO or ranges from 8 from 144 Return Value A string value of AUTO or that is between 8 and 144 6 32 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support VerifyEnableMask Property This property is the bit mask in hex format corresponding to the check boxes in the Custom Settings in the Setup Parameters Verifier tab This is a read write property that can be retrieved and set in runtime Syntax Object VerifyEnableMask str Description str String You can have up to 10 bits enabled with Cell Size check box option being the LSB The str ranges from amp to amp H2FF Return Value The mask of enabled verification parameters as a string o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 33 Chapter DMx AutoID Visual Basic Support VerifyMode Property This property corresponds to the Mode in the Setup Parameters Verifier tab This is a read write property that can be retrieved and set in runtime Syntax Object VerifyMode str Description str String None Do not perform Data Matrix verification e Custom Perform DPM verification e AI
178. ing Checking is supported in OCR Checking Mode Note The Checking Mode can only be enabled when the DMx AutoID program is configured to read one Data Matrix one barcode or one row of OCR text It is not allowed to work with Retry Supermarket mode v2 1 0 Feb 2009 DMx AutoID User Manual 4 73 Chapter DMx AutoID Reference Guide Setup gt Retry Modes Retry Modes define the inspection Run cycle Several retry modes are available This menu item displays the Retry Modes Setup dialog box as shown in Figure 4 29 FIGURE 4 29 Retry Modes Setup Dialog Box Camera 1 Retry Modes Setup C No Retry Time Limit ms C Timed Retry fi 000 Note Timed Retry sets each of the Run Continuously cycle to multiple attempts within the entered time limit The time limit is normally set to 2 to 5 times the timeout value for symbology or OCR Supermarket mode enables the Run Continuously cycle to report only successful attempts When duplicate data is found reports only ifthe entered time has elapsed since the last decode OK Cancel e No Retry This is the default Retry mode In this mode no retry is attempted upon failure e Timed Retry When this option is selected you must enter the time limit for the retry process and the Inspection Time out Value specified in the General Tab of the Parameter box The time limit should be at least twice the Inspection Time out A retry cy
179. ion box 2 From the File menu select Live to enable live camera display 3 Put the Data Matrix label in Camera 1 s FOV and capture the image by stopping the Live display In the following sections we use saved sample images under the DMx AutoID application directory 1 Open sample4 bmp v2 1 0 Feb 2009 DMx AutoID User Manual 4 99 Chapter DMx AutoID Reference Guide 2 If you choose to use a smaller ROI than the full FOV you can set the ROI now Otherwise the full ROI will always be used as the ROI for Data Matrix or barcode reading 3 From the Learn menu select Data Matrix to learn the Data Matrix parameters FIGURE 4 44 Data Matrix Image DMx AutolD C Program Files DMx AutoID Sample4 bmp 4 When Learn is successful the decoded data will be displayed on the right hand side of the status bar of the program as shown in Figure 4 45 4 100 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 45 Example When Learn is Successful DMx AutolD C Program Files DMx AutolID Sample4 bmp x File Setup SetROl Leam View Help of afm E gt gt I ES E 20 2 9 3 gt 5 x AF x 184 31 t 198 AeBbCcDdEeFiGgHhl 5 Now the DMx AutoID program is ready to decode the same type of Data Matrix as indicated in Setup Parameters General a
180. irm that you really want to download The slave board is now configured with a Station Address of 5 and an input module to the master of 64 bytes and an output module from the master of 64 bytes Note Once the configuration is downloaded to the board it will remain unchanged until it is modified downloaded again with the SyCon program The input module of 64 bytes is used for transferring the decode data 4 86 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface from DMx AutoID to the Profibus master The output module of 64 bytes is used for getting a command or an acknowledgement from the Profibus master Two bytes out of the 64 bytes are used as the protocol header so a maximum of 62 bytes of decode data can be transfer in a single packet When the decode data is greater than 62 bytes multiple packets will be sent to the master The master must acknowledge the receipt of every packet sent by DMx AutoID with a two byte acknowledgement packet For more details see Profibus Data Exchange Protocol on page 4 88 Configure the Profibus master network with DMx AutoID CIF50 DPS functioning as a slave on the network Follow the steps below a Obtain the GSD for the CIF50 DPS board 0490251 from the Hilscher CD and install in the appropriate directory of the Profibus configuration tool For example when SyCon is installed and used the GSD file is already installed in the
181. iting for Hardware Trigger Waiting fora Trigger The Run Once mode can be cancelled by clicking the Run Once button before the trigger occurs If the Hardware Trigger option is not checked in Setup System Configuration box then Run Once will acquire one image immediately and perform Data Matrix Barcode OCR reading If you use File Open List to store a list of images for DMx AutoID program to perform the reading then Run Once will take the next image in the list if the Grab New box in checked in Setup System Configuration If the box is unchecked then Run Once will read the currently displayed image from the file list Run gt Run All Once When more than one camera is enabled and configured with the Learn the Run All Once menu is enabled to run all cameras once If the Hardware Trigger option is not checked then Run All Once will acquire one image from each configured camera immediately and perform Data Matrix Barcode OCR reading When 4 126 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface hardware trigger is used Run All Once is completed when each of all configured cameras has been triggered at least once The Run All Once option is now allowed for image files It is disabled once an image file is loaded Run gt Run Continuously Run gt Stop Run gt Com 1 or Com 2 If the DMx AutoID program is configured to receive hardware triggers then after Run
182. ive illumination types This section summarizes some of these lighting considerations including basic vs advanced diffused and point source lighting option polarizers and light source placement We highly recommend that you contact an illumination authority for complex lighting applications e Basic Illumination Fluorescent Incandescent Laser LED Light Emitting Diode v2 1 0 Feb 2009 DMx AutoID User Manual B 5 Appendix Creating A Good Image Strobe Accessories Fiber Optics Diffusers Beam Splitters e Advanced Illumination DOAL CDIIM SCDIIM MVIIM Fluorescent Versus Incandescent Lighting Preference for using fluorescent lighting as presented in Table B 1 or incandescent lighting as presented in Table B 2 depends on several factors However the general rule should be to use fluorescent lighting whenever possible TABLE B 1 Fluorescent Lighting Positive Features Negative Features Diffuse Flickering light Usually easy to mount Lack of intensity Long life Light output decays with age Inexpensive Creates little heat Note Fluorescent lighting tends to be diffuse and not concentrated on a part If the part is being magnified by a lens or if the lens aperture is small stopped down you may find the light level insufficient B 6 DMx AutoID User Manual v2 1 0 Feb 2009 Illuminating the Part TABLE B 2 I
183. ix Optional Hardware Installation Installing the Combination I O Board amp Ribbon Cable The Combination I O board can be installed or placed anywhere within reach of its ribbon cable and your opto connections To install 1 Place the Combination I O board on any flat surface As an alternative you can permanently mount the board to any flat surface Secure with four customer supplied 4 x 1 screws 2 Connect one end of the ribbon cable into J1 of the Combination I O Board and the other end into the I O Port Interface Connector at the rear of your PC Note Be careful not to bend the connector pins Strobe Sensors There are four Sensor Strobe connectors one for each camera JSS1 thru JSS4 Each connector is supplied with a 6 position mating screw terminal plug and provides a strobe output labeled STROBE a sensor input labeled SENSOR and 12V for sensor power labeled POWER There is a voltage reference connector JVREF This connector is supplied with a 4 position mating screw terminal plug and provides a reference voltage input labeled VREF which is used to properly bias the sensor inputs and an input for sensor power labeled POWER For 12V sensors supply power to your sensor using the sensor power pin POWER on the sensor strobe connectors JSS1 thru JSS4 You must connect the 12V to the reference voltage pin VREF on connector JVREF In order to connect 12V to VREF you must do either of the following e Set jumpe
184. ize of Rows The number of rows of non rotated Data Matrix When checked the algorithm uses the value specified without having to re compute it from image to image of Cols The number of columns of non rotated Data Matrix When checked the algorithm uses the value specified without having to re compute it from image to image Both Rows and Cols should be checked or unchecked at the same time e Polarity The number of columns of non rotated Data Matrix When checked the algorithm attempts to locate a Data Matrix with the specified polarity Light on Dark or Dark on Light When unchecked the algorithm locates either polarity I Format ID The informational value displayed when a Non ECC200 Data Matrix is learned It cannot be set or changed and does not apply to ECC 200 Data Matrix e ECC Level The Error Correction Level ECC 200 employs Reed Solomon error correction and is recommended for new applications Other ECC levels 000 050 080 100 140 use the convolutional error encoding ECC250 is customer specific coding The default value SPEC allows the algorithm to decode ECC000 050 080 100 140 and 200 that are included in the AIM ISO Data Matrix Specification If left unchecked the older nonstandard Data Matrix such as ECC120 can also be decoded E 20 28 3 gt 5 2 AF e Orientation The angle formed by the bottom of the solid border L and the horizon
185. k state 0 3 7 OPTO IOMASK value board 5 8 OUTPUT point 11 0 board 5 8 POL DL LD AUTO 8 READ number ALL OFF 9 RETRY NONE 9 RETRY SUPERMARKET time limit 5 9 RETRY TIME time limit 9 ROI 1D 2D OCR FIND CLEAR left top width height 5 10 ROWS value AUTO 5 10 SAVE jobfile 5 10 SAVEIMAGE filepath 5 10 SHUTDOWN 5 10 STATS RESET 5 11 TCPIP host ID port number in prefix in suffix out prefix out suffix 5 11 TEMPLATE filepath 1 UNDO 1 VER 5 11 VERIFY ENABLEMASK mask 1 VERIFY MODE NONE CUSTOM AIM IAQG 115015415 2 WIDTH value AUTO 5 12 DMx AutoID Visual Basic Support 6 1 TCP IP Support 6 2 TCP IP Support with OLE 3 ActiveX Control Support 6 4 DMx AutoID Custom Control 6 5 DMx AutoID Custom Control Properties 6 5 ApplicationPath Property 6 6 AssistedLearnEnable Property 6 7 BarcodeCount Property 6 8 BarcodeEnableMask Property 6 9 BCVerify Property 6 10 Camera Property 6 11 CameraCount Property 6 12 CameraEnableMask Property 6 13 CameraResol Property 6 14 DMx AutoID User Manual v2 1 0 Feb 2009 Contents CameraType Property 6 15 CellSize Property 6 16 Cols Property 6 17 FormatLabel Property 6 18 FormatOCR Property 6 19 FormatPrefix Property 6 20 FormatStatus Property 6 21 FormatSuffix Property 6 22 FormatSymbol Property 6 23 GrabEnableMask Property 6 24 Height Property 6 25 ImageControl Property 6 26
186. k on it Now both the input and output modules are configured for data exchange as follows 3 ES E 28 3 gt 5 AF v2 1 0 Feb 2009 DMx AutoID User Manual 4 85 Chapter DMx AutoID Reference Guide FIGURE 4 38 Slave Configuration Dialog Box Slave Configuration General Device CIF50 DPS Station address Description DMxAutolD Activate device in actual configuration Enable watchdog control 5 OK Cancel Parameter Data GSD file HIL_O49F GSD Max length of in output data 368 Byte Length of in output data 128 Byte DP 1 Settings Max length of input data 244 Byte Lenath of input data 64 Byte _ Assigned master Max length of output data 244 Byte Length of output data 64 Byte Station address 0 Max number of modules 24 Number of modules e Master 0 m o crsoPBb l2 byte output con xAB l6 byte output con OxAF r Actual slave 20 byte output con 0x80 0x93 Station address 5 3 0x80 DMxAutolD 2 DEI 5 CIFSO DPS 2 1 word output con OxEO Eres pesas felt aaar tem Eure see fiu gt 64 byte Modulel IB 64 byte 2 64 Remove Module Insert Module Predefined Modules l Symbolic Names Click OK to exit the dialog With DMxAutoID slave highlighted by a rectangle select Online gt Download to download the new slave configuration to the CIF 50 DPS board Answer Yes to conf
187. l v2 1 0 Feb 2009 DMx AutoID User Manual 4 117 Chapter DMx AutoID Reference Guide 3 Since the hyphen sign is not recognizable in OCR A Learn will not succeed unless the Fielding is set for it To do so click the Fielding button to display the Custom Fielding dialog box as shown in Figure 4 62 FIGURE 4 62 Custom Fielding Dialog Box Advanced OCR Parameter Tuning Custom Fielding Hague OK Cancel Click on the sign below the sign see Figure 4 62 to display the Fielding Options dialog box as shown in Figure 4 63 In the Fielding Options area select the other radio button and enter the sign in the edit box 4 FIGURE 4 63 Fielding Options Dialog Box Advanced OCR Parameter Tuning Fielding Options C alphanumeric C alpha C numeric amp other F m Custom Fielding SC SCORE ee re 4 118 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface 5 Click OK to go back to the Parameter Setup box and then OK to complete the Learn process FIGURE 4 64 Dex AutolD E ocr_a with separator tif x File Setup SetROl Leam PreProcess View Help aae Te gt FTT 3073 ms x 317 1 167 88C5200 LFE 81 23 38 13 6 6 Run Once FIGURE 4 65 DMx AutolD E ocr_a with separator tif File Setup SetRO
188. l Leam PreProcess View Help af ej nf Te ej gt 0 6 1213 86 88652004 v2 1 0 Feb 2009 DMx AutoID User Manual 4 119 I D E 2g gt 5 zr Chapter DMx AutoID Reference Guide Learn gt Fiducial 1 Open image file Sample17 bmp From the Learn menu select Fiducial The status bar will display the instruction Draw the Region of Interest Use the mouse to select the ROI as shown in Figure 4 66 FIGURE 4 66 Drawing ROI 171 151 s Help sme fof E ej 304 477 t14 Draw the Target Box INSIDE the ROI After the ROI is drawn the status bar issues the instruction to Draw the Target Box INSIDE the ROI This target will be the template used in the correlation search Be careful to draw the target precisely the way it will appear in other images Note You can adjust the drawing by dragging the borders with the mouse or you can place the mouse cursor on top of the border you want to adjust and then press the arrow keys on the keyboard 4 120 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 67 Drawing the Target Box File Setup SetROI a e ss fun Help 4 Fe e 4 I ES E 20 29 3 gt 5 AF x384 197 E97 W
189. l size The value ranges from 2 to 20 pixels Use CELL SIZE without a parameter to get the value CHECK STRING 1D 2D OCR ON OFF str CHECK STRING 1D 2D OCR READ The first required parameter selects the symbology type barcode Data Matrix OCR The second optional parameter enables disables match string mode or sets up changes the match string using str For example to set up match string 1234567890 for Data Matrix first enter the match string by typing CHECK STRING 2D 1234567890 lt Enter gt Then enable the check string mode by typing CHECK STRING 2D ON lt Enter gt To disable check string type CHECK STRING 2D OFF lt Enter gt To get the check string type CHECK STRING 2D lt Enter gt 2 eps EE 3 lt O The required parameter selects the symbology type The command sets the match string automatically on the next successful read For example to allow the barcode match string to be learned on the next successful read type CHECK STRING 1D READ lt Enter gt Then type READ to read a barcode successfully The decoded data will be used as the match string data v2 1 0 Feb 2009 DMx AutoID User Manual 5 3 Chapter DMx AutoID Command Set COLS value AUTO Use this command to set get the number of matrix columns The value ranges from 8 to 144 The AUTO should be used if the
190. lating pad or mount the camera to a non metallic mount and then install the camera mount assembly as a unit 2 6 DMx AutoID User Manual v2 1 0 Feb 2009 Hardware Installation Position the camera to get the best Field of View FOV e g optimum viewing of the part and features Please refer to Appendix B Creating A Good Image for more information N e Ifthe camera needs to be adjusted in the X Y or Z axis the mount must be able to adjust in those directions e Provide a way to clamp the lens to minimize image movement e Provide strain relief for the camera cable e Build a shroud to prevent accidental damage to the camera and to prevent dirt or dust from getting on the lens m c Qs PE HE m e Ensure that the camera mount is strong enough to prevent bending if accidentally hit Ensure that you minimize or eliminate vibrations Ensuring Optimum Field Of View It is best to mount the camera assembly so that its centerline is as perpendicular as possible to the desired Field Of View as shown in Figure 2 4 FIGURE 2 4 Camera Centerline The camera centerline is perpendicular to the object This reduces the chance of errors due to e Poor Depth of Field The range of distance with acceptably sharp focus at the front and back of the subject is improper for the application v2 1 0 Feb 2009 DMx AutoID User Manual 2 7 Chapter DMx
191. lave device 5 Use the SyCon program to configure the DMx AutoID slave device Configure the station address for the DMx AutoID and the input and output modules for date exchange Create a dummy master and slave network as follows a Use File gt New to select PROFIBUS as the fieldbus b Select Insert gt Master then left click in the client area of the SyCon program to display the Insert Master dialog box as shown in Figure 4 35 Double click on CIF50 PB in Available masters so that CIF50 PB is displayed in Selected masters Click OK to exit the dialog v2 1 0 Feb 2009 DMx AutoID User Manual 4 83 Chapter DMx AutoID Reference Guide FIGURE 4 35 Insert Master Dialog Box Insert Master E Available masters Selected masters OK CIF100 PB CIF50 PB CIF104 DP AB Cancel CIF104 FMS CIF30 DPM CIF104 DPM R Add All CIF30 FMS ee CIF50 PB Remove All CIF60 PB CIFPS1 DPM lt lt Remove CIFPS1 FMS n DkA HOA Die Vendorname Hilscher GmbH Station address o Ident number 0 1645 Description GSD filename 1645 650 Select Insert gt Slave then left click the client area of the SyCon program to display the Insert Slave dialog box as shown in Figure 4 36 Double click on CIF50 DPS in Available slaves to show CIF50 DPS in Selected slaves Suppose we choose 5 as the Station address The default value is 1 and the
192. le element in the PLC registers from which the commands to the DMx AutoID will be sent Read Length is the maximum amount of words that the PLC will be sending to the DMx AutoID DMx AutoID to PLC Transfers For the PLC software to receive the decode data from the DMx AutoID both Write Data and Write Length are required Write Data is the starting data table element in the PLC registers where the decode data will be sent Write Length is the maximum amount of words that the PLC can receive from the DMx AutoID If the decode data is less than the Write Length then spaces will be added at the end 4 80 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Transfer Format Supported for DDE protocol Each PLC word or register has two bytes You have the option to use one character per word or two characters per word For each word the data can be stored with or without the byte swap The command packet format from the PLC to DMx AutoID is length 1 word transaction 1 word command multiple words The decode data packet format from DMx AutoID to the PLC is length 1 word echoing transaction 1 word decode data multiple words The first word register value is the number of applicable words registers that are updated by the read write which is the total number of words in the packet format We use the DMx AutoID command READ as an example to desc
193. leave Height and Width de selected unchecked Always de select uncheck Orientation if 360 reading is required Click the Advanced button on the Data Matrix dialog box to display the Advanced Parameters Tuning dialog box as shown in Figure 4 13 This allows you to enter more information for parameter fine tuning 4 22 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 13 Advanced Parameter Tuning Dialog Box Advanced Parameter Tuning 1 Average Element Size b Border Integrity 2 H Minimum Edge Strength b Angle Variation 23 5 Samples per Cell Bo Size Variation 2 fio 4 r Fine Tune Method Width Height Ratio zi Position Enhance Intensity Enhance O No Quiet Zone Clutter C No Top Timing Border 4 m Search Speed r Search Direction Normal Horizontal r Warp Method r Threshold g Vertical Global 2 Overdrive C Hori gt Vert 25 ao Local C Vert gt Hori Fast 5 C Turbo Adaptive lt Criss cross gt e J OK e Average Element Size Normally the Field of View for the Data Matrix should be set such that after a successful Learn the cell size is reported at a value between 5 and 10 The element size reported reflects the actual cell size of the Data Matrix and is most suitable
194. lect the expected option by pressing down its corresponding radio button When the Other option is selected the possible character s that can appear in that position can be entered in the box following the Other option For example 123A can be entered if certain character position can be either 1 or 2 or 3 or A If certain character position corresponds to a character that will never change in Run mode you can enter that character in the Other fielding option for that position This is typically done for separators such as space character for Semi font When only one character is entered in the Other fielding option for certain position the reading result will always output that character in that position with confidence value of 100 In particular if a certain character position always corresponds to the space character then enter space in the Other fielding option for that position and disable Detect Space in Finetune method Detect Space is necessary when a certain character position can be both the space character and other characters I E 20 28 3 gt 5 2 AF Setup gt Parameters gt Formatting This menu item displays the Parameter Setup dialog box Formatting tab as shown in Figure 4 19 It defines the data output format and reported debug information v2 1 0 Feb 2009 DMx AutoID User Manual 4 37 Chapter DMx AutoID Reference Guide FIGURE
195. lity inkjet or dot peen marks or when the Data Matrix is imaged at an angle Allow Steep Angle In some Data Matrix reading applications it is not possible to set up the camera such that the focal plane is in parallel with the surface of the Data Matrix label When the focal plane and the label surface form a steep angle the Data Matrix in the image will have severe geometrical distortion The following steps can be used in order to read severely distorted Data Matrix in any orientation 1 Select File Jobs Load Default to clear Data Matrix configuration parameters 2 Select Setup Parameters General v2 1 0 Feb 2009 DMx AutoID User Manual 4 25 Chapter DMx AutoID Reference Guide 3 Set Number of Data Matrices to Decode to be at least 1 4 Select Setup Parameters Data Matrix and finally Advanced to get to the Advanced Parameter Tuning box 5 In Fine Tune Method enable check Allow Steep Angle 6 Select OK to exit Advanced Parameter Tuning 7 Select OK to exit Parameter Setup Now the system is ready to read distorted Data Matrix in Run mode Allow Severe Damage Enabling this option will increase the robustness of the software in reading Data Matrix with severe border damages To use it first perform a successful Learn on a less damaged label Then enable check the option to read labels with more damages in Run mode Ensure ROI Enabling this option ensures that no D
196. mber of columns Y Nominal Cell Size is the Data Matrix height in pixels divided by the number of rows Click the Verifier tab and select the DPM mode to display the in line verification dialog box as shown in Figure 4 21 4 44 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 21 In line Verification Dialog Box Camera 1 Parameter Setup DM Verifier General Data Matrix Barcode OCR Fixed Font Formatting Verifier Fiducial BC Verification Mode DPM Status Configuration PE Cell Size Grade AJ 8 c of ef DPM Center Offset Grade Al B D Iv Size Offset Grade Al B D F 1406 odulat Grade Al F I Border Match Grade Al ej c D F Status Color Key Contrast Grade Al E D F esi eae Axial Uniformity Grade Al B pi F 0 Print Growth Grade Al B Ei oor Error Correction Grade Al B tet D Fl Show Status Only Distortion Angle Grade Al B I3 D F Validate Inspection Advanced The options are None DPM AIM IAQG ISO 15415 The default option is None indicating no verification is performed after reading the Data Matrix When AIM is selected the verifier will perform mark quality measurements based on the AIM specifications on Data Matrix In addition to displaying the reading results specified in the formatting tab the measurement results and AIM
197. min e sc symbol contrast e sg scan grade Hex Result String Check this to report decode data containing non printable ASCII characters Each character of the decode data will be displayed as its ASCII value in hexadecimal representation A space is inserted between two adjacent hex values for better readability Partial Result String You can report a portion of the decode data by specifying the Data Length and Data Start For example to send out 10 bytes v2 1 0 Feb 2009 DMx AutoID User Manual 4 43 Chapter DMx AutoID Reference Guide of the decode string starting at position 4 set Data Length to 10 and Data Start to 4 Setup gt Parameters gt Verifier You can use the verifier to measure the Data Matrix mark quality as it is decoded The inline verifier is a useful tool for grading and monitoring the Data Matrix marking process such that poorly marked or marginally decodable Data Matrix marks can be identified If the Data Matrix code is not decodable no mark quality measurement results can be obtained To achieve accurate and repeatable verification results the nominal cell size reported from each verification method except for AIM should be at least 5 pixels It is recommended that 10 pixels be achieved whenever possible Nominal cell size is the average value of the two values X Nominal Cell Size and Y Nominal Cell Size X Nominal Cell Size is the Data Matrix width in pixels divided by the nu
198. mum setting for the FOV If not change the FOV and repeat Step through Step 5 in order to achieve a value as close as possible to 5 d Ensure that the following settings have also been made in the Advanced Parameter Tuning box These help to optimize the fastest yet somewhat less robust reading performance Samples per Cell 7 when Data Matrix cells are solid 3 12 DMx AutoID User Manual v2 1 0 Feb 2009 Tutorial 3 Reading Actual Data Matrix via Live Camera Fine Tune Method No Quiet Zone Clutter when Data Matrix background is clean Search Speed Turbo Warp Method Fast The display of images and Status Bar uses up significant PC resources You have the option to disable them in order to achieve maximum throughput To do so select View Images While Running and Status Bar While Running respectively These menu items are detailed in View Menu on page 4 129 Notice that when you make these selections the check marks are toggled off as shown in Figure 3 11 FIGURE 3 11 View Menu with Display Items Disabled fe View Help Camera gt ris 8 zontrast Enhancement gt 8 E a Additional Menus Watch Window Reading Statistics Camera Status Pre Processing Job Selected again Images while Running 1 to disable viewing no check marks v Graphics while Running 4 v Status Bar while Running 16
199. n Refer to Search Direction in Setup gt Parameters gt Data Matrix tab and Inspection Time out Value in Setup gt Parameters gt General tab The setting for Search Direction determines how Inspection Time out Value must be set e When Search Direction is set to the default Criss cross or Horizontal only or Vertical Only set Inspection Time out Value based on the following v2 1 0 Feb 2009 DMx AutoID User Manual 4 125 Chapter DMx AutoID Reference Guide scenario If the Data Matrix and Barcode reading takes x amount of milliseconds to complete set Inspection Time out Value to at least 1 times the amount of time in milliseconds e When Search Direction is set to Hori Vert or Vert gt Hori you must set Inspection Time out value based on the following scenario If the Data Matrix and Barcode reading takes x amount of milliseconds to complete set Inspection Time out Value to at least 2 times the amount of time in milliseconds Run gt Run Once If the DMx AutoID program is configured to receive hardware trigger then after Run Once is selected the program will acquire an image when the next trigger occurs and perform Data Matrix Barcode OCR reading if they are enabled in Setup gt Parameters gt General tab under Multi Code Setup group All other subsequent triggers will be ignored Figure 4 72 displays the status bar which indicates that the program is waiting for a hardware trigger FIGURE 4 72 Status Bar Wa
200. n Form Load 1 Use GetObject to get a reference to the DMx AutoID application object and set it to the object variable m DmxID Set m DMXxID GetObject DMxAutoID Application 2 Setthe TextOut property to a Text Box txtMessage so that the command response data from DMx AutoID will generate the txtMessage Change event Set m DmxID TextOut txtMessage 3 Use the CommandLine Property to send the OLE command TCPIP to configure the TCP IP settings of the DMx AutoID The response data of the TCPIP command is received by the VB application through the txtMessage_Change event Make sure you get the correct response TCPIP SUCCESS before setting the TextOut property to Nothing You can now use the SendCommand function to communicate with DMx AutoID in TCP IP for efficiency and robustness To terminate DMx AutoID program from your VB application use m_DmxID Quit and release the reference by setting it to Nothing in Form_Unload v2 1 0 Feb 2009 DMx AutoID User Manual 6 3 o 5 2 gt gt 8 a d gt o o tn Chapter DMx AutoID Visual Basic Support The function SendCommand should always be used for sending a command If a command is sent successfully and its response is received in time the function returns True and the response data can be further processed in your VB application If for whatever reason no
201. n get the image width and height of the current opened or grabbed image Syntax Object GetImageSize width height Description width Long Image width Declared as ByRef so that the width value will be obtained height Long Image height Declared as ByRef so that the height value will be obtained o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 39 Chapter DMx AutoID Visual Basic Support Grab Method The Grab method can be used for acquiring an image opening an existing image file as a BMP TIF or RAW image files of certain sizes 640x480 320x240 or uploading an image from the handheld MXi The method is camera independent when str is specified Syntax Object Grab path Description str String If no str is provided an image is acquired from the current camera The optional string is needed for opening an image or uploading an MXi image from one of MXi s four buffers via serial port To open an image file set str to the file path including the file name To upload an MXi image set str to MXi port baud compress mode in which port is 1 default or 2 baud is the baud rate up to 115200 default compress is the approximate compression ratio of 0 no compression 4 8 default 16 and 32 mode indicates the image buffer to be uploaded 0 captured default 1 decoded 2 frozen 3 downloaded Return Valu
202. n24 n3 n4 Where e nl is the greater of 10 Inspection Time out Value and image acquisition time e n2is 20 ms when View gt Images while Running is set to 1 e n3is 10 ms when View gt Status Bar while Running is checked e 4 18 the time needed for Ethernet TCP IP and or serial transmission The image acquisition time is e 33 50 ms for high resolution RS170 camera e 17 33 ms for low resolution RS170 camera 40 60 ms for high resolution CCIR camera e 20 40 ms for low resolution CCIR camera The low values for the image acquisition time can be used when hardware trigger and strobe are used Assume that you can optimize the decode such that the Inspection Time out Value of 7 ms is sufficient Also assume that you are using only an opto I O board for communicating read results without displaying images status or using serial Ethernet Then you can achieve the 17 ms cycle time which gives you 60 read per second or 3 600 reads per minute Note The extra 10 ms per cycle added on top of the Inspection Time out Value is needed for Windows Operating System 4 12 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Setup gt Com Port This menu item displays the Serial Communications Setup dialog box as shown in Figure 4 9 FIGURE 4 9 Serial Communications Setup Dialog Box Serial Communications Setup Com 1 Data Bits Baud Rate 9600
203. ncandescent Lighting B Positive Features Negative Features High intensity Shorter life than fluorescent 3 Inexpensive if you use home light Expensive if fiber optic lights are used 8 bulbs 49 No flicker Source of infrared light Sm Light output constant over life of Creates excessive of heat bulb 8 A a It is usually necessary to place an infrared filter in front of the camera lens when using an incandescent light source The camera has a high sensitivity to infrared light which reduces the contrast and resolution found in an image b If you use fiber optics the part being illuminated is not heated If you use conventional bulbs the part being inspected may get hot Lasers A laser is an excellent source of light when you need to e Illuminate a small area e Create a structured lighting effect e Create a three dimensional simulation for example measure depth Strobe Lights Use a strobe light when you need to freeze the image of a moving part Strobes provide a very short duration high intensity light In most cases you should use fiber optics to project the light to the required area Diffuse Versus Point Source Lighting Diffuse light as shown in Figure B 4 casts no shadows minimizes glare and appears to originate from no particular direction Most inspection applications work best with diffuse light v2 1 0 Feb 2009 DMx AutoID User Manual B 7 Appendix C
204. nd Data Matrix tab Sometimes when the Data Matrix image quality is too poor the learn process fails The DMx AutoID goes into the Assisted Learn mode The following two examples demonstrate how this is done Data Matrix Assisted Learn Example If Learn is not successful due to the poor quality of the Data Matrix image such as in Figure 4 46 then instead of displaying the decoded data the program displays the message Learn Failed Draw The Four Corners v2 1 0 Feb 2009 DMx AutoID User Manual 4 101 Chapter DMx AutoID Reference Guide FIGURE 4 46 Example of Poor Quality Data Matrix Image Dx AutoID o x Eile jet View Help S ajaj E Saj sje Te 308 ms 264 83 11 Learn Failed Draw The Four Corners ROI Use the mouse to draw a box specifying the four corners of the Data Matrix Adjust the corner positions to indicate the precise locations of the corner points as shown in Figure 4 47 When you are satisfied with the drawing left click the panel with the mouse in the status bar displaying Whenever Ready Click this Panel 4 102 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 47 Example Specifying Four Corners of the Data Matrix View ee I D E 23 3 gt 5 2 AF 308 ms x 405 371 0 Whenever Ready Click this Panel The Data Matrix Paramet
205. necessary you will get this message Calibration OK No need to re calibrate Otherwise you may be getting one of the following messages if incorrect target was used or the light intensity or FOV has changed e Please use original calibration target 4 96 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface e mage too dark Please re calibrate Image too bright Please re calibrate e Cell Size too small Please re calibrate e Cell Size too large Please re calibrate e Failed to decode Please adjust image Target ROI FIGURE 4 41 Target ROI Dialog Box I The Setup in Target ROI allows you to set up a target ROI window i e view finder to be displayed with live images Typically a Data Matrix mark placed in the image center area can be illuminated more uniformly The use of the target ROI helps guide the user to place the Data Matrix marks of the same size in the center area so that more accurate and repeatable measurement results can be obtained The following are the steps for setting up the target ROI 1 Select Target ROI Setup to display the target ROI view finder box E 28 3 gt 5 x 2 AF 2 Left click and drag the small red squares to resize the target ROI to the desired size The target ROI menu is enabled and the target ROI will be displayed in the live image To display the target ROI view finder select Target ROI gt Enabled to c
206. nly property that can only be set at runtime This is camera independent Syntax Object AssistedLearnEnable state Description State True The interactive learn mode used in Data Matrix assisted learn and learn Fixed Font OCR and Learn Fiducial is allowed False The interactive learn mode is not allowed This is the default o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 7 Chapter DMx AutoID Visual Basic Support BarcodeCount Property This property is the Number of Barcodes to Read in the Setup Parameter General tab This is a read write property that can be retrieved and set in runtime Syntax Object BarcodeCount number Description number e 0Q No barcode is allowed to decode e 1 5 Up to five barcodes can be decoded in the same field of view Return Value A long value ranging from 0 to 5 6 8 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support BarcodeEnableMask Property This property is the bit mask of the barcodes enabled in the Setup Parameter General tab This is a read write property that can be retrieved and set in runtime Syntax Object BarcodeEnableMask str Description str To enable certain barcodes set the bits for the corresponding checkbox positions in the General tab accordingly For example to enable Code 128 Code 39 and PDF41
207. number of columns varies in READ To get the number of columns of Data Matrix type COLS lt Enter gt DEL jobfile DIR Use this command to delete a saved job No path is required if the job is in the default job folder Otherwise the complete path is required This is camera independent Use this command to return all job file s saved in the default job directory Return Invalid Command if there is no job This is camera independent FORMAT PREFIX SUFFIX STATUS LABEL str Use this command to set change the prefix suffix status separator label separator symbology enablemask or OCR enablemask to str when str is entered Only a single character is allowed as the str for FORMAT STATUS LABEL The symbology enablemask is a bitwise mask of the options in Symbol Debug Report The first item Status Code corresponds to the LSB of the mask The OCR enablemask is a bit wise mask of the options in OCR Debug Report with Status Code being the LSB When str is not entered the current prefix suffix status separator label separator symbology enablemask or OCR enablemask is returned 5 4 DMx AutoID User Manual v2 1 0 Feb 2009 GRAB filepath Use this command to acquire an image from the 0300 board For example if you want to grab an image from camera 2 type CAMERA 2 lt Enter gt Then type GRAB lt Enter gt Load an image file when filepath is specified The image is displayed and treated
208. o you This warranty gives you specific legal rights and you may also have other rights which may vary from state to state Tel 425 226 5700 Fax 425 226 8250 helpdesk microscan com PREFACE CHAPTER 1 CHAPTER 2 Contents Welcome xv Purpose of This Manual xv Manual Conventions xv DMx AutoID 1 1 Overview 1 1 System Components 2 Standard 1 2 Optional 1 2 Configuration 1 3 Minimum Host PC Requirements 3 DMx AutolID Specifications 4 Physical 4 Symbologies 1 4 Operational 1 5 Environmental 5 DMx AutoID Installation 1 Software Installation 2 1 Hardware Installation 2 2 Basic Setup Procedures 2 2 General Location Considerations 2 v2 1 0 Feb 2009 DMx AutoID User Manual Contents CHAPTER 3 CHAPTER 4 Environmental Requirements 2 Recommended Tools 3 Installing the 0300 Board 2 3 Installing the Internal Camera Power Cable 2 4 Connecting the Camera Cable 2 5 Camera Mount 2 6 Checklist 2 6 Ensuring Optimum Field Of View 2 7 Adjusting the Camera Position 2 8 Clamping the Lens 2 8 Optional Hardware Assembly 2 9 Starting DMx AutoID 2 10 DMx AutoID Tutorials 3 1 Tutorial 1 Reading Sample Data Matrix from File 2 Tutorial 2 Reading Sample Data Matrices from File List 3 10 Tutorial 3 Reading Actual Data Matrix via Live Camera 3 12 DMx AutoID Reference Guide 1 Launching the DMx AutoID 4 1 DMx AutolID Graphic User Interface 3 File Menu 3 Fil
209. oaded into the custom VB program If the Grab New is checked then the Read method acquires an image If the Grab New is unchecked then the Read method reads the image acquired by the Grab method The Grab New is checked by default The Grab New has no effect in Run Continuously mode T 5 Qe gt ae z g 5 x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 49 Chapter DMx AutoID Visual Basic Support ROI Method Use ROI method to set or retrieve the region of the interest for Data Matrix barcode OCR or Fiducial finder Syntax Object ROI field field2 Description field1 Set field to 1D 2D OCR and FIND for barcode ROI Data Matrix ROI OCR ROI and Fiducial finder ROI respectively field2 The field2 is optional It can be set to CLEAR to configure the ROI to be the full image size or a string formed by values left top width height The values left and top are the x and y coordinates of the upper left corner respectively The values width and height specify the width and height of the ROI Return Value When field2 is omitted ROI field returns the ROI string corresponding to the ROI specified by field 6 50 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Save Method The Save method saves the configuration setting to a job file This is camera independent Syntax Object Save jobPath Description jobPat
210. odules not including quiet zones These symbols can be recognized by the upper right corner module being dark For an image of reversed polarity it would be light Complete attributes for ECC 000 140 symbols are provided in the AIM International Technical Specification International Symbology Specification Data Matrix 1996 gt E o ge aw ECC 200 symbols consist of an even number of rows and columns Some symbols may be square with sizes from 10x10 to 144x144 not including the quiet zone Other symbols may be rectangular with sizes from 8x8 to 16x48 not including quiet zone All ECC 200 symbols can be recognized by the upper right corner being light dark For an image of reversed polarity it will be dark Complete attributes of ECC 200 symbols are provided in the AJM International Technical Specification International Symbology Specification Data Matrix 1996 v2 1 0 Feb 2009 DMx AutoID User Manual C 13 Appendix Data Matrix Symbology C 14 DMx AutoID User Manual v2 1 0 Feb 2009 appenpxo Sample Data Matrix Symbols This appendix includes a number of sample Data Matrix symbols to ensure that your system is functioning properly m FIGURE D 1 Data Matrix Sample 1 5 0 Data 12345678901234567 co 0 0 tID 1 orma 50 E o FIGURE D 2 Data Matrix Sample 2 Data ABCDEFGHIJKLMNOPQ ECC 50 Format ID 2
211. olve the most demanding shop floor automatic identification and data collection problems The DMx AutoID supports up to four 0300 boards Each board supports up to four cameras which can be triggered individually or synchronously via the optional Mini Opto I O board or Combination I O board The versatile system auto discriminates between major 2D and 1D Barcodes and can read multiple barcodes Data Matrix and OCR in the same Field of View FOV The DMx AutoID performs up to 1800 reads minute in high resolution mode and achieves 3600 reads minute in low resolution modes The DMx AutoID provides on screen images and data display for each camera input in its easy to use Windows based GUI Supporting a variety of marking techniques the system decodes damaged and low contrast codes v2 1 0 Feb 2009 DMx AutoID User Manual 1 1 g E a Chapter DMx AutoID robustly and verifies barcode Data Matrix quality at high speed with accurate and repeatable results The decode and verification results can be sent to other devices or applications via RS 232 TCP IP or as input to Windows applications via keyboard emulation wedge or logged to files for further data processing Utilizing the ActiveX controls provided by DMx AutoID the user can quickly introduce barcode reading and verification capabilities into custom Windows programs written in Microsoft Visual Basic System Components
212. ommand 5 9 time command 5 9 Retry Modes Setup Dialog Box 4 76 ROI B 5 method 6 50 ROI Command 5 10 v2 1 0 Feb 2009 DMx AutoID User Manual Index 7 Index ROWS Command 5 10 Rows Property 6 32 RS170 4 10 Run continuous mode password protecting 4 5 continuously 3 8 menu 4 125 5 Samples Per Cell 4 24 Save failed images 4 70 images before decoding 4 71 method 6 51 SAVE Command 5 10 SAVEIMAGE Command 5 10 SaveImage Method 6 52 Scan Mode 4 68 SCDI B 15 Score 4 62 Search direction 4 26 4 28 speed 4 26 SEMI 4 33 C 1 BC412 4 30 font contents 4 32 M checksum 4 36 Semiconductor Equipment amp Materials International C 1 Serial Number 4 141 Set ROI Menu 4 98 SetImageSize Method 6 69 SetROI Method 6 53 Setup basic procedures 2 2 menu 4 8 Show status only 4 46 4 67 verifier tags 4 42 ShowOption Method 6 54 SHUTDOWN Command 5 10 Side Lighting B 9 Silhouettes B 10 Single Capture Settings 4 10 Size B 5 offset 4 51 variation 96 4 24 Software Version 4 141 Solid Border C 4 Speed Enhance 4 36 Square Continuous Diffuse Illumination B 15 Standard ilo 4 15 settings 4 16 method 4 34 Start Stop Enabled 4 30 STATS Command 5 11 Stats Method 6 55 Status bar 4 143 fields 3 5 separator 4 39 StatusBarVisible Property 6 67 Stop Bits 4 13 Strain Relief 2 7 String checking mode 4 72 confidence 4 42 Strobe Light B 7 disabling 4 9 enabling 4 9 Structured Append C 12 Suffix 4 38 Supermarket Retry 4 76
213. on Bits per Data Scheme Format Outputs and Description Character Format 1 500 numeric characters 0 9 with spaces 3 5 Format 2 500 uppercase alphabetic characters with spaces and 4 8 punctuation Format 3 500 uppercase alphanumeric characters with spaces 5 25 commas periods slashes and minuses Format 4 500 uppercase alphanumeric characters with spaces 5 5 Format 5 500 characters with full 7 bit ASCII keyboard Format 6 500 characters with full 8 bit ISO for international languages v2 1 0 Feb 2009 DMx AutoID User Manual C 7 Appendix Data Matrix Symbology ECC 200 The data may be encoded using any combination of six encodation schemes listed in Table 3 TABLE C 3 Encodation Schemes File Formats Encodation Bits per Data Scheme Characters Character ASCII Double digit numeric ASCII values 0 127 4 Extended ASCII values 128 255 8 16 C40 Primary upper case alphanumeric 5 33 Text Primary lower case alphanumeric 5 33 X12 ANSI X12 EDI data set 5 33 EDIFACT ASCII values 32 94 6 Base 256 All byte values 0 255 8 Table C 4 lists ECC symbol attributes TABLE C 4 ECC 200 Symbol Attributes Symbol Data Size Region inter Data Capacity Error Max leaved Byt Correction Correctable N Block Num Alphanu e Overhead Percentage Row Col Size 8 Cap m Cap Cap 10 10 8x8
214. operty 6 20 FormatStatus Property 6 21 FormatSuffix Property 6 22 FormatSymbol Property 6 23 FOV 2 7 3 12 general rule B 2 Front Lighting B 9 F stop 2 8 B 16 G General Dialog Box 3 6 Geometry B 5 GetImageRECTAOI Method 6 68 GetImageSize Method 6 39 Grab method 6 40 new 4 10 GRAB Command 5 5 GrabEnableMask Property 6 24 GrabIndexChange Event 6 60 Grading Criteria 4 64 Grid Nonuniformity 4 50 Ground Loop 2 6 GUI 3 1 Guidelines throughput estimation 4 12 H Hardware Trigger 4 10 Height 4 20 4 22 4 25 property 6 25 HEIGHT Command 5 5 HELP Command 5 5 Help Menu 4 141 Hex Result String 4 43 High Resolution Mode number of reads minute 1 1 Horizontal Field of View B 3 1 I O Settings standard 4 16 IAQG parameters 4 48 Illumination B 4 cloudy day B 14 Image capture grab sequence 4 10 capturing 4 4 displaying 4 4 factors contributing to obtaining good B 1 opening 4 4 opening list of 4 4 saving 4 5 saving dialog box 4 70 Index 4 DMx AutoID User Manual v2 1 0 Feb 2009 style 4 21 4 22 ImageControl Property 6 26 ImageSizeChange Event 6 57 Implementation 4 15 Incandescent Lighting B 6 Initialize Property 6 27 Inline Verification license key required 1 3 Input prefix 4 14 4 77 suffix 4 14 4 77 Inspection of Silhouettes B 10 Intensity Enhance 4 25 Internal cabling 2 4 syne 4 10 INVERT Command 5 5 Iris Connector 2 5 ISO 15415 parameters 4 49 ISO 8859 1 C 11 K Keyboard Em
215. ormatting tab Symbology Verification Timing if Timing is checked in Formatting tab Final Symbol Grade v2 1 0 Feb 2009 DMx AutoID User Manual 4 67 I ES E 20 28 3 gt 5 2 AF Chapter DMx AutoID Reference Guide Final Symbol Grade score Range 0 0 to 4 0 scan 0 overall grade scan overall grade scan 2 overall grade scan 3 overall grade scan 4 overall grade scan 5 overall grade scan 6 overall grade scan 7 overall grade scan 8 overall grade scan 9 overall grade 1X dimension Note Average width of the narrow bar widths in pixels ratio Note Average wide bar width to 1X dimension ratio 2 Note Next widest bar to 1X dimension applicable to multi width barcode only ratio 3 Note Widest bar to dimension applicable to multi width barcode only Scan Mode You need to specify a scan number from 0 to 9 Decode Data decode string and debug output when specified Symbology Verification Status Code if Status Code is checked in Formatting tab Symbology Verification Timing if Timing is checked in Formatting tab overall scan grade edge determination grade min reflectance grade 4 68 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface max reflectance Note Percentage value of reflectance of lightest space min reflectance Note Percentage value of reflectance of darkest bar ref d
216. ou to calibrate the camera system using the Microscan Calibration Test Card Once the system is calibrated you should not change the camera s FOV focus aperture or lighting The Check menu allows you to determine if the current calibrated setup needs to be re calibrated The menu Enabled should be displayed for reporting the calibrated values however you have the option to report the non calibrated values as well by clicking Enabled to change it to Disabled If the calibration is disabled the contrast value reported depends on and varies with the lighting and the cell size is reported in pixels rounded to one decimal place If the calibration is enabled the contrast value reported is based on NIST traceable density scale and will not vary with lighting and the nominal cell size is reported in mil 1000th of an inch rounded to the nearest integer Before performing calibration you should have already determined the correct Field of View FOV of your camera setup and lighting based on the size and the surface marking reflectivity of the Data Matrix in your application Then you select File gt Live to display live images of one of the Data Matrix targets on the Microscan Calibration Test Card Choose the target that is about 1 3 to 1 2 of v2 1 0 Feb 2009 DMx AutoID User Manual 4 95 Chapter DMx AutoID Reference Guide FOV size It is important that the same target be used in both Setup and Check processes Calibration S
217. output data and select debug reporting information Setup gt Parameters gt General on page 4 18 ES E 20 2 8 3 gt 5 2 AF Setup gt Parameters gt Data Matrix on page 4 20 Setup gt Parameters gt Barcode on page 4 27 Setup gt Parameters gt OCR Fixed Font on page 4 31 Setup gt Parameters gt Formatting on page 4 37 Setup gt Parameters gt Verifier on page 4 44 Setup gt Parameters gt Fiducial on page 4 60 Setup gt Parameters gt Barcode Verification on page 4 62 v2 1 0 Feb 2009 DMx AutoID User Manual 4 17 Chapter DMx AutoID Reference Guide Setup gt Parameters gt General This menu item displays the Parameter Setup dialog box General tab as shown in Figure 4 11 FIGURE 4 11 Parameter Setup General Tab Dialog Box Camera 1 Parameter Setup E x Verifier Fiducial BC Verification General DataMatix Barcode OCR FikedFont Formatting Barcode Multi Code Setup Code 128 BC412 Number of Code 39 Postnet Barcodes 0 to Decode Code 93 Ph d Number of Data Matrices 0 M 1205 M 955 14 to Decode Number of 0 Codabar RSS Limited ca a UPC EAN ASS Expanded UPC E RSS Stacked Data Matrix BarcodeT ime out UPC S i up Composite eee 0 Time out Value EY PDF417 Code OK Use this dialog box to set up symbology or OCR algorithms to search
218. ove event This is write only property that can be set in runtime This is camera independent Syntax Object MouseEnable state Description state Boolean True Enable MouseMove event False Disable MouseMove event 6 66 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support StatusBarVisible Property The StatusBarVisible property determines if the status bar in the DMx ImageView Control is shown or not This is a write only property that can be set in runtime This is camera independent Syntax Object StatusBar Visible state Description state Boolean True Status bar is shown False Status bar is not shown This is the default o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 67 Chapter DMx AutoID Visual Basic Support DMx ImageView Control Methods The methods exposed by the DMx ImageView Control are described in the following pages GetlmageRECTAO Method Use the GetImageRECTAOI method to retrieve the Region of Interest ROI set by the user and store it into a RECTAOI type Syntax Object GetimageRECTAOI addr item Description addr Long The address of the first element of the RECTAOI type item Long An item of 0 indicates the ROI for 1D 2D OCR or FIND 6 68 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support SetlmageSize M
219. own in Figure 4 12 FIGURE 4 12 Parameter Setup Data Matrix Tab Dialog Box Camera 1 Parameter Setup Data Matrix E Verifier Fiducial BC Verification General Data Matrix Barcode OCRFixedFont Formatting m Matrix Dimensions 4 Height pixels Polarity Width pixels p Format ID No of Rows ECC Level SPEC No of Cols Orientation Image Style z Note The parameter values shown in this dialog are generated by running a Learn Use caution when changing these values manually Advanced To modify advanced parameters Click Here OK Height The height of non rotated Data Matrix in pixels When the Height value is specified and checked the algorithm will attempt to locate a Data Matrix of the specified height plus minus the percentage value in Size Variation in Advanced Parameter Tuning below If unchecked the algorithm attempts to find a Data Matrix of arbitrary size Width The width of non rotated Data Matrix in pixels When Width value is specified and checked the algorithm will attempt to locate a Data Matrix of the specified width plus minus the percentage value in Size Variation in 4 20 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Advanced Parameter Tuning below If unchecked the algorithm attempts to find a Data Matrix of arbitrary s
220. quired if the output data needs to be processed by a Windows program for example a custom VB program Note To establish a TCP IP connection you need to check Run gt Ethernet TCP IP Before a connection is established if DMx AutoID is configured as a client the icon is displayed in the status bar if DMx AutoID is configured as a server the icon U is displayed Both icons change when a connection is established The Ethernet TCP IP setup parameters cannot be changed when it has been selected from the Run menu To change you must de select Run gt Ethernet v2 1 0 Feb 2009 DMx AutoID User Manual 4 77 Chapter 22 DMx AutoID Reference Guide TCP IP configure the TCP IP settings and then select Run Ethernet TCP IP again Refer to Run Menu for more information Setup gt Lighting Control The Lighting Control dialog box Figure 4 31 allows you to control a multi axis imager from NER For each axis currently limited to five you can set the light intensity from 0 darkest to 100 brightest Out of the 16 I O points available from the 0300 board the last point 1 6 IO 16 is used as the Sense i e intensity Up Down control IO 15 is used for the first axis IO 14 for the second axis IO 13 for the third axis IO 12 for the fourth axis IO 11 for the fifth axis To change the intensity of a certain axis from 1 to 5 select the axis number and then check the intensity check box and adjust
221. r W2 to positions 1 and 2 factory set e Wire VREF to POWER on connector JVREF For 24V sensors you must provide an external 24V power supply in one of two ways e Connect external 24V to sensor power pin POWER on connector JVREF and supply power to your sensor using the sensor power pin POWER on the sensor strobe connectors JSS1 thru JSS4 You must connect 24V to the A 8 DMx AutoID User Manual v2 1 0 Feb 2009 gt Combination I O Board reference voltage pin VREF on connector JVREF In order to connect 24V to VREF you must do either of the following Set jumper W2 to positions 1 and 2 factory set Wire VREF to POWER on connector JVREF pus 5 a8 co oc SE 5 e Wire external 24 to your sensors You must connect 24V to the reference voltage pin VREF on connector JVREF In order to connect 24V to VREF you must wire external 24V to VREF on connector JVREF For TTL sensors set jumper 2 to positions 2 and 3 VREF will default to TTL levels and remove jumper the Camera I O Card Note Whenever the External Reference Voltage or the Sensor Power pins on JVREF are less than 12V jumper on the Camera I O Card MUST be removed Removing this jumper will disable the analog outputs Caution If you connect an external power supply that is less than 12V to the sensor power pin or VREF pins on the JVREF connector you must remove jumper JMP1 on
222. rameters File Save As File Live File Grab File gt Open List File gt Open 4 142 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Status Bar Figure 4 87 shows what s displayed when DMx AutoID stops FIGURE 4 87 What s Displayed When DMx AutoID Stops gms 376 9 x 323 y 132 Ml xdsfeghxd During Running the pixel coordinates and gray value will not be displayed The rest will be updated and displayed at the end of each inspection cycle if View gt Status Bar while Running is checked If View gt Status Bar while Running is not checked then only total number of inspections and failures will 9 ms Duration of last decode not including image capture 376 Total number of inspections 9 Total number of inspection failures If system overrun occurs the number of overruns will be displayed within parentheses after the total failure The total number of inspection failures includes system overrun I x 323 The x coordinate of mouse location in the image y 132 The y coordinate of mouse location in the image I 141 The gray scale value of the pixel at x y xdsfcgbxdz The decoded data ES E 20 28 3 gt 5 2 AF be displayed to minimize the CPU load v2 1 0 Feb 2009 DMx AutoID User Manual 4 143 Chapter DMx AutoID Reference Guide 4
223. reating A Good Image FIGURE B 4 Diffuse Light Fluorescent Bulb Light Diffuser N px 2 A Good sources of diffuse light include e Fluorescent ring lights e Long fluorescent bulbs with or without diffusers Point source lighting as shown in Figure B 5 casts very strong shadows This is desired when the presence or absence of a shadow can reveal information about the presence of depth Points sources are effective for revealing surface defects FIGURE B 5 Point Source Light Good point source lights include e Incandescent spot lights Fiber optic sources DMx AutoID User Manual v2 1 0 Feb 2009 Illuminating the Part e Unfrosted incandescent light bulbs e Strobe lights UJ Placement of Light Sources There are three basic light source positions front side and back Front Lighting Front lighting is good for the inspection of flat two dimensional surface features such as a label as shown in Figure B 6 8 5 Fr 4 pus FIGURE B 6 Front Lighting Exp 1FEB95 65590AF21 Lot 02 7250 8 R12 Store below 77 F 25 C Side Lighting Dark Field Side lighting helps to highlight three dimensional features and surface imperfections and reveals subtle details as shown in Figure B 7
224. red to as extended ASCII 2 Representation of data A dark module is a binary 1 and a light module is a binary 0 In a reversed image reverse polarity a light module is a binary 1 and a dark module is a binary 0 3 Symbol size in modules not including the quiet zone ECC 000 140 9 by 9 to 49 by 49 Odd only ECC 200 10 by 10 to 144 by 144 Even only Note Refer to Table C 4 ECC 200 Symbol Attributes on page C 8 for more information 4 Data characters per symbol refers to maximum symbol size in ECC 200 v2 1 0 Feb 2009 DMx AutoID User Manual C 11 O gt E o ge aw Appendix Ke Data Matrix Symbology Alphanumeric data up to 2335 characters 8 bit byte data 1556 characters Numeric data 3116 digits Selectable error correction ECC 000 140 Four levels of convolutional error correction plus the option to apply only error detection ECC 200 Reed Solomon error correction Code type Matrix Orientation independence Yes Summary of Additional Features The following summarizes additional Data Matrix features including whether inherent to the Data Matrix or optional Reflectance reversal Inherent Symbols are intended to be read when marked such that the image is either dark on light or light on dark Extended Channel Interpretations ECC 200 only optional This mechanism enables characters from other character sets e g Arabic Cyrillic
225. requires approximately 300K of disk space in 640x480 resolution this parameter limits the number of camera images that are saved when enabled Range 1 to 999 4 70 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Delete Old Images at Startup Enable this item to delete all the failed images stored in the Directory for failed images at system startup e Overwrite Old Images Enable this item to overwrite images when the image name already exists When the DMx AutoID program is not configured to overwrite old images it will stop saving failed images once the maximum count is reached e Save Image Before Decoding Enable to save each image before the symbology or OCR decoding algorithms are performed Each camera saves its image to a single file BEFORE_x BMP where x is the zero based index of the camera These files are always overwritten Do not use this option unless you suspect a serious decoding software problem and attempt to debug it e Directory for Saved Images The failed images are normally saved in the folder Save under the application directory DMx AutoID You can change the directory by selecting the Browse button to display a dialog box and entering the new directory in the dialog box If the directory does not already exist it will be created I ES E 20 2 8 3 gt 5 2 AF v2 1 0 Feb 2009 DMx AutoID User Manual 4 71 Chapter
226. response data is received by the TCP IP connection within the pre specific timer timeout value the function will return False and appropriate actions should be taken in your VB application To write a VB application that communicates with DMx AutoID on a remote PC you need to remove all above OLE references and ensure that DMx AutoID can automatically start up with the correct TCP IP configurations ActiveX Control Support The DMx AutoID software provides support that allows ActiveX container applications to access most of the DMx AutoID functionality including the interfaces The ActiveX Control support consists of a DMx AutoID configuration and runtime DMx AutoID Custom control and image acquisition and display DMx ImageView control In the VB Support ActiveX folder of the DMx AutoI D installation CD the custom1 vbp sample project shows how to access all of the DMx AutoJD functionality supported by the two ActiveX controls If you write your application based on the custom1 model your application will have full access of all configuration parameters The custom2 vbp is a simpler example showing how to use load a configuration job to configure the system and use a few buttons to modify some of the parameters It also shows how to grab an image or open an image file learn Data Matrix run once and program I O points You can use DMx AutoID software to configure the system and generate a job configuration
227. ribe the packet format I lchar no byte swapping 06 01 82 69 65 68 e 0615 the total number of words e 01 is the transaction e 82 69 65 68 are ASCII representations of characters R E D respectively ES E 20 28 3 gt 5 2 AF 2char no byte swapping 04 01 21061 16708 0415 the total number of words e 01 is the transaction e 21061 82 256 9 e 16708 65 68 lchar byte swapped 1536 256 20992 17664 16640 8 e 1536 6 256 6 is the total number of words e 256 1 256 is the transaction e 20992 82 x 6 6 69 17664 v2 1 0 Feb 2009 DMx AutoID User Manual 4 81 Chapter DMx AutoID Reference Guide e 16640 65 256 e 17408 68 6 2char byte swapped 1024 256 17746 3 e 1024 4 256 4 is the total number of words e 256 1 256 1 is the transaction e 17746 69 256 2 e 17473 68 65 DDE Topic This is displayed when you select DDE in Transfer Protocol Set the topic to match the DDE element defined at the PLC software Profibus Protocol FIGURE 4 34 PLC Communications Dialog Box Profibus PLC Communication x Transfer Protocol DMx AutolD to PLC Transfers DDE Board Number 0 is Board Address T Log File PLC Service Profibus Cancel DMx AutoID functions as a slave device on a Profibus DP network through a slave interface car
228. rix The Data Matrix will be learned immediately with results displayed in the Status Bar as shown in Figure 3 4 This menu item is detailed in Learn gt Data Matrix on page 4 99 FIGURE 3 4 Shows Learned Data Matrix D Dmx AutoID help SAMPLEO1 BMP E File Setup SetROI Learn Run View Help 28 a Bl fe 8 3 s 6 ms 3 324 I 89 Data Matrix Sample 1 3 4 DMx AutoID User Manual v2 1 0 Feb 2009 Tutorial 1 Reading Sample Data Matrix from File 4 Notice the Status Bar panel The first field displays the time taken to learn the Data Matrix which in this example is 6 milliseconds The next three fields display the current coordinate values of the mouse pointer In this example the panel shows pixel coordinates of x 73 324 with a grayscale value of l 89 The last field displays the decoded result of the Data Matrix which in this example is Data Matrix Sample 1 5 The DMx AutoID is configured to read one Data Matrix of similar size and orientation in the entire Field Of View FOV To view these settings open the Setup menu and select Parameters This displays the Parameter Setup General dialog box as shown in Figure 3 5 This menu item is detailed in Setup Parameters General on page 4 18 a os 56 lt 5 xr v2 1 0 Feb 2009 DMx AutoID User Manual 3 5 Chapter DMx AutoID T
229. rom the binarized image of the Data Matrix from the cells within the alternating patterns only Grid Nonuniformity is graded as A if GN lt 0 38 B if GN lt 0 50 C if GN lt 0 63 Dif GN lt 0 75 Fif GN 0 75 Unused Error Correction Same as AIM Verification Fixed Pattern Damage Measured based on modules in each of the four fixed patterns two solid borders and two alternating patterns or timing borders and its corresponding quiet zone and when present modules in or around the internal alignment patterns Up to five segments are individually graded and then the average grade is determined Finally the grade for Fixed Pattern Damage is chosen to be the lowest of the segment grades and the distributed damage grade There is no final value for Fixed Pattern Damage that corresponds to the grade for reporting Modulation Measure the uniformity of reflectance of the dark and light modules respectively First Modulation for each codeword is computed and graded based on the reflectance value of each module in the codeword Then the modulation grade is determined using codeword based modulation grades by applying an overlay procedure Only the modulation grade is reported There is no final value for Modulation to report Print Growth Measured the same way as in the AIM Verification but is not graded It is reported as an informative measure for the purposes of process control Overall Grade Lowest grade of all
230. s randomly placed encoded inside the data storage area to increase the symbol s ability to recover from damage gt E o ge aw In Reed Solomon code the OVHD varies and is based on the size of matrix Refer to Table C 4 ECC 200 Symbol Attributes on page C 8 for more information The examples in Figure C 5 illustrate Data Matrices with different ECC levels and how ECC affects symbol density FIGURE C 5 Data Matrix Examples with Different ECC Levels wy ta ee 50 ECC80 ECC100 ECC140 ECC200 Data 123456789 Format 1 v2 1 0 Feb 2009 DMx AutoID User Manual C 5 Appendix Data Matrix Symbology Refer to Table C 1 for a correlation between ECC levels and required overhead TABLE C 1 ECC Levels vs Required Overhead Selected ECC Levels Required Overhead 00 0 50 25 80 33 100 50 140 75 200 Various Bit Versus Code Word The ECC200 Data Matrix uses a byte oriented one Code Word error detection and correction algorithm The non ECC200 uses a bit oriented algorithm Each ECC200 Data Matrix consists of multiple code words Each code word contains 8 bits also called elements or cells as shown in Figure C 6 FIGURE C 6 Shows 8 Bits as 1 Code Word 1 3 6 p 8 bits 1 code word NJAN 8 The AIM Specification is designed for ECC200 which is code word based If any cell within the code wor
231. s the distance from the lens to the part and causes a smaller Field of View Illuminating the Part Proper illumination of the part is a critical factor influencing the effectiveness of the inspection operation There is no absolute procedure to follow However the following basic lighting concepts combined with some experimentation will help you create good lighting Note Never rely solely on ambient lighting Always use task lighting designed for your application B 4 DMx AutoID User Manual v2 1 0 Feb 2009 Illuminating the Part Lighting Considerations The following features should be considered when selecting a lighting scheme to illuminate a part for vision analysis UJ e Surface Characteristics Surface characteristics as they relate to light is a critical element when selecting the correct lighting type The type of surfaces 3 listed below and their color must be considered before purchasing your 8 illumination style illumination style Textured Reflective 9 Diffuse Absorptive Color e Geometry The geometry may determine the direction of the illumination Will the complete item require illumination e Size The size of the part will determine the size of the light e Region of Interest ROI How will the ROI compare to the rest of the part Types of Lighting The advent of advanced lighting has provided a wider assortment of effect
232. settings as a job This is camera independent SAVEIMAGE filepath Use this command to save the image acquired with GRAB or READ command to an image file specified by filepath SHUTDOWN Use this command to exit the DMx AutoID program This is camera independent 5 10 DMx AutoID User Manual v2 1 0 Feb 2009 STATS RESET Use this command STATS RESET to reset the statistics Use this command STATS to get the reading statistics TCPIP host ID port number in prefix in suffix out prefix out suffix Use this command to set the parameters for TCP IP protocol The first required parameter is the IP address or the friendly name of the computer to connect The second required parameter is the port number You have the option to set change input prefix input suffix output prefix and output suffix This command can be used as a serial or Profibus command It is not available as a TCP IP command This is camera independent TEMPLATE filepath UNDO VER Use this command to load a specified template image file for the fiducial finder In DMx AutoID when the fiducial finder is configured using Learn Fiducial the configuration can be saved to a job file that contains the reference to the template image file After the job has been loaded the template can then be changed using the command TEMPLATE when needed Use this command to undo Invert or Morph preprocessing Z 2 eps 35
233. situation the Minimum Quiet Zone can be increased The value can be set between 5 and 100 I Note Do not adjust Minimum Edge Strength or Minimum Quiet Zone unless you understand how the change will affect the system performance Since Learn Barcode uses the parameter values specified in the above dialog box setting these values inappropriately may render the Learn Barcode to fail If this happens select File Job Load Default to reset the parameters to factory settings before attempting to perform Learn Barcode E 20 28 3 gt 5 2 AF e Confidence Threshold For barcodes that do not use checksum such as Code 39 I 2 of 5 Codabar and BC412 the threshold value can help reduce potential mis decode When the value is raised a certain number of decodes must agree before the decode is declared successful On the other hand if the value is set too high then a normally decodable but imperfect barcode may not be decoded Default 0 Any possible decode is accepted Range 0 to 100 Setup Parameters OCR Fixed Font This menu item displays the Parameter Setup dialog box OCR Fixed Font tab as shown in Figure 4 17 v2 1 0 Feb 2009 DMx AutoID User Manual 4 31 Chapter DMx AutoID Reference Guide FIGURE 4 17 Parameter Setup OCR Fixed Font Tab Dialog Box Camera 1 Parameter Setup OCR Fixed Font Verifier Fiducial BC Verification General Data Matrix
234. spection will fail even if the barcode was decoded In this case the Read I O will not be raised signaling the Read failure When verification fails and Validate Inspection is unchecked the inspection will not fail both the Read I O and Overrun I O will be raised Verification Status Can be configured to indicate Verification Pass Fail or Verification Good Fair Poor It is configured based the Final Grade The verification status is such that the grade A is always Good and grade F is always Poor and that grade B C or D can be configured to be any of the Good Fair and Poor status as long as no lower grade is assigned a better status If the Fair status is not used then the verification status has two outcomes only Good or Pass and Poor or Fail Verification Results Display The results are sent to serial ports via TCPIP or logged to a log file the same way as they appear in the status bar of DMx AutoID In the following description we use Decode Data to refer to the decoded string and the debug items checked in Symbology Debug Report of the formatting tab When the barcode is not decoded the decoded string will be substituted with the default LOCATE FAILURE or DECODE FAILURE message When the barcode is decoded the verification results are displayed in the following ways e Overall Mode Decode Data decode string and debug output when specified Symbology Verification Status Code if Status Code is checked in F
235. st the rotation of the polarizing material to maximize the image contrast of the features you wish to inspect v2 1 0 Feb 2009 DMx AutoID User Manual B 11 Appendix Creating A Good Image Advanced Lighting NER is a recognized leading provider of lighting systems designed specifically for machine vision applications as shown in Figure B 10 These products allow machine vision systems to perform reliably in difficult imaging applications involving highly reflective or uneven surfaces FIGURE B 10 Lighting Solutions for Image Absorptive Features DIFFUSE 4 SURFACE SPECULARITY MIRROR LIKE PLANAR GR PAPER SEMICONDUCTOR WAFER DIE GEOMETRY INDEPENDENT LIGHTING Pn aN WHITEBOARD CURVED uw SURFACE GEOMETRY UNDULATING BEVERAGE CONTAINER General Solution WRINKLED SURGICAL PAPER INSTRUMENTS SHRINK WRAPPED DIMPLED FOIL FACETED PLASTIG To address your lighting application issues contact NER at Microscan Inc 486 Amherst St Nashua NH 03063 Tel 603 598 8400 Fax 603 577 5976 B 12 DMx AutoID User Manual v2 1 0 Feb 2009 DOAL Ideal for flat specular surfaces Diffused On Axis Lighting DOAL as shown in Figure B 11 provides more than 300 greater angular coverage of the lighting envelope than a similarly sized fluorescent ring light DOAL can be used at a distance to provide uniform wide angle colluminated illumination for imaging highly specular flat surfa
236. stalling the Camera Power cable Mounting the cameras Connecting all cables and power Installing the Software Protection Key also called Dongle to your PC s parallel or USB port Optionally installing the Mini Opto I O or Combination I O Board and associated hardware see Appendix A Optional Hardware Installation for more information General Location Considerations You can situate the 0300 board in most environments without any concern for special enclosures or cabinets Consider the following when determining site selection Ensure that the camera cable is long enough to reach your PC Avoid severe vibrations Locate the components to avoid accidental bumping Protect your PC and components against dust humidity extreme temperatures and extremely harsh environments Environmental Requirements The environment of your PC is important for maintaining a reliable system You should consider the humidity temperature foot traffic and fresh air flow before permanently mounting your system 2 2 DMx AutoID User Manual v2 1 0 Feb 2009 Hardware Installation Fan Performance 38 CFM minimum e Typical Temperature Rise 6 00C on every component on the 0300 board N Recommended Tools You will need the tools listed below for the basic installation However you may need additional tools for custom installations e Small straight edge screwdriver e Small Phillips screwdriver 2
237. str ranges from amp H0 to amp HIFF Return Value The mask of the symbol formatting as a string o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 23 Chapter DMx AutoID Visual Basic Support GrabEnableMask Property This property is the binary bit mask in hex format of up to four 0300 boards installed This is a read write property that can be retrieved and set in runtime Camera independent Syntax Object GrabEnableMask str Description str The frame grabber 1 is the LSB and the frame grabber 4 is the MSB The str ranges from amp H1 to amp HF Return Value The mask of the enabled 0300 boards as a string Remark By default the AutoID Custom Control tries to get the control on all 0300 boards available in the system If you have a good reason to override the default set the GrabEnableMask to the proper value before the Initialize property is set 6 24 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support Height Property This property corresponds to the Height in the Setup Parameters Data Matrix tab This is a read write property that can be retrieved and set in runtime Syntax Object Height str Description str String The str is either AUTO or ranges from 20 to 1024 Return Value A string value of AUTO or that is between 20 to 1024 o T 5 Qe lt
238. t Memig _ Byte 1 Packet or Transaction number 0 255 Byte 2 Length of valid data in the packet starting from byte 3 in bytes Byte 3 64 Data section starting from byte 3 whose length is specified in byte 2 4 88 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface The second byte in the data packet can be between 0 and 62 so that the receiver can extract the valid data portion correctly A data packet sent from the master to DMx AutoID can be either a one byte acknowledgement packet or a command packet An acknowledgement packet from the master to DMx AutoID is a one byte data packet consisting of the same packet number as the data packet it is acknowledging Only in the acknowledgement packet may the same packet number be used A command packet contains a single command that is up to 62 byte long For example if the command READ 2 triggers a read on camera 2 with packet number 5 the command packet should be 05 06 82 69 65 68 32 50 In a packet sent from DMx AutoID the valid data can be as long as 62 bytes When DMx AutoID is ready to send the data to the master if the data is no more than 62 bytes then byte 2 of the packet will contain the data length up to 62 If the data to be sent exceeds 62 bytes then byte 2 of the packet will contain 63 instead of 62 to indicate to the master that a new data packet will be sent for the remaining d
239. ta Valid Good Read No Match if enabled ON ON off off Data Valid Good Read Good Match if enabled ON ON ON off Data Valid Process Overrun ON off off ON Data Valid Trigger Overrun ON off ON ON Data Valid Good Read Verifier Failure if enabled ON ON off ON F 4 DMx AutoID User Manual v2 1 0 Feb 2009 Index Symbols String Length Variation 4 35 Numerics 0300 Board 1 3 internal cabling 2 4 number of cameras supported by each 1 1 supported by dmx autoid 1 1 8 bit Binary Code C 4 A Adjusting Camera Position 2 8 Advanced button 4 22 parameter tuning dialog box 3 8 AIAG C 1 AIM C 1 international technical specification excerpts C 11 parameters 4 46 specification C 6 Air Transport Association C 1 Allow severe damage 4 26 steep angle 4 25 Angle 4 62 checking mode 4 73 of distortion 4 48 4 53 variation 4 24 ANSI C 8 X3 4 1 Aperture B 16 ApplicationPath Property 6 6 ASCII C 8 AssistedLearnEnable Property 6 7 Asynchronous Synchronous Mode 4 10 ATA C 1 Auto Start Mode 4 6 Automatic Identification Manufacturers International C 1 Automotive Industry Action Group C 1 AutoResize Property 6 63 Average Element Size 3 8 4 23 Axial Nonuniformity 4 46 4 49 4 52 B Back Lighting B 10 Barcode properties 4 28 reading ensuring completed 4 19 sample symbols E 1 specific properties group 4 29 symbol 5 digit postnet E 3 codabar E 2 code 128 E 1 code 39 E 2 code 93 E 1
240. tal axis Setting this to a fixed angle helps the algorithm locate the Data Matrix quicker but cannot be used to consistently reject a Data Matrix having a different orientation angle If unchecked the algorithm can find a Data Matrix of any orientation e Image Style The Normal image or Mirror image of the Data Matrix Normally the parameters in the Data Matrix dialog box are automatically set by the DMx AutoID system when a successful Learn is performed These parameters generally will provide satisfactory Data Matrix reading performance in Run mode In certain situations some of the parameters can be adjusted or fine tuned to improve the performance v2 1 0 Feb 2009 DMx AutoID User Manual 4 21 Chapter DMx AutoID Reference Guide Fine tuning serves two main purposes Parameter fine tuning after a successful Learn can accelerate the normal Run process and or make the Run process more robust In the case when the Learn is not successful for a certain symbol parameter fine tuning may provide the DMx AutoID program more information about the symbol thus improving symbol decoding in the Run mode In Run mode if any of the Data Matrix properties no longer applies to the Data Matrix to be read such as Height Width No of Rows No of Cols ECC Level Polarity and Image Style then the property should be disabled unchecked For example if matrix height width may change significantly during the inspection
241. te every 10 inspections Clicking Reset All will clear the statistics results I View gt PLC Status This is available when View gt Additional Menus gt PLC Interface is checked When PLC Status is checked the PLC Communication status is displayed as shown in Figure 4 78 ES E 28 3 gt 5 x 2 AF FIGURE 4 78 PLC Status Window PLC Communication Status Transaction amp 0 Sequence 0 Data from PLC lt no data gt Data from DMx AutolD lt no data gt DDE Send Status no data When PROFIBUS is chosen as the transfer protocol the Data from PLC displays the command or the acknowledgement packet it has received from the v2 1 0 Feb 2009 DMx AutoID User Manual 4 131 Chapter DMx AutoID Reference Guide master The Data from DMx AutoID displays the data that is being sent in the current packet The Profibus Send Status typically shows lt send complete gt when there is no more data left to send or lt more data to send gt when there is more data in the buffer to be sent In Run Once mode when an unexpected command is received the information packet containing no data is sent and no data is shown in Data from DMx AutoID and the Profibus Send Status shows lt Unexpected Command gt When an invalid command is received the Data from DMx AutoID shows lt Invalid Command gt and a 17 byte data packet consisting of the same message is sent to the mas
242. ter In Run Continuously mode since DMx AutoID is triggered by the hardware not the software command it is less important to filter out incorrect command Therefore any message other than the command READ OFF received by the DMx AutoID from the Master is treated as an acknowledgement There is no concept of unexpected or invalid command View gt Camera Status This menu item displays the cameras that are connected and working properly as shown in Figure 4 79 FIGURE 4 79 Camera Status Window Current Selected Connected Strobed Triggered Synchron X X X Camera X X 4 132 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface View gt Pre Processing Job If a certain preprocessing step is applied during a successful Learn gt Data Matrix Learn gt Barcode or Learn gt Fixed Font OCR process it is used in the Run mode You can use View gt Pre Processing Job to display which preprocessing step is used internally in Run mode Figure 4 80 displays a single camera job configuration that has Zoom In preprocessing enabled for Data Matrix and Barcode reading and Dilate preprocessing enabled for OCR respectively FIGURE 4 80 Processing Job Status Processing Job Status Camera Data Matrix Barcode OCR Fixed Font 1 I Zoom In x 1 5 Zoom In x 1 5 Dilate size 1 View gt Images While Running Open the View menu and select Images whil
243. than the nominal cell size you can perform a dilation or erosion to make the cells larger to improve the reading performance If reading a light on dark barcode is needed you can use Invert to change the barcode polarity to dark on light for decoding The Zoom x 1 5 pre processing step can actually resample the image to be 150 larger in case the Data Matrix barcode or OCR characters are too small to read in the image We use Data Matrix as an example in the following instructions The same instructions can be applied to both barcode and OCR reading To use the Pre Process for reading Data Matrix you need to follow these steps in order to embed the pre processing v2 1 0 Feb 2009 DMx AutoID User Manual 4 135 Chapter DMx AutoID Reference Guide Acquire a Data Matrix image via File gt Grab File gt Open List or File gt Open This image is called the original image Set the Data Matrix ROI inside the image The preprocessing step and Data Matrix reading step use this ROI The smaller the ROI the faster the preprocessing Select an appropriate option from the Pre Process menu The original image now changes to the processed image Perform Learn gt Data Matrix Make sure the Learn is successful and fast If not select Pre Process gt Undo to go back to the original image and then perform steps 2 through 4 with a different ROI and or a different preprocessing option You can now test with Run Once Continuously mode In
244. the camera I O card Failure to remove the jumper may cause damage to the combination I O board and the camera I O card Digital I O Sixteen 16 positions are available for industry standard G4 type optically isolated input or output modules The field wiring to these modules is terminated on the barrier strip TB1 Ports 1 through 16 may be configured as either inputs or outputs The Combination I O Board accepts only 5 volt logic solid state relays G4 Opto modules The I O connector supplies the necessary 5 volts DC to operate the I O board through the I O cable There is no external power supply connector Note Do not attempt to connect an external 5 volts DC power supply to the Combination I O Board There is no connector provided for this function This board receives its power through the I O cable Connecting an external power supply will cause serious problems the two power supplies will conflict with each other to produce unpredictable results and the external power supply s v2 1 0 Feb 2009 DMx AutoID User Manual A 9 Appendix Optional Hardware Installation ground may cause ground loops to occur Contact Customer Service at 603 598 8400 for assistance In designing your reading application you must decide which mix of input and output modules and which voltage and current levels you require Each opto module has two associated screw terminals Wire them according to the manufacturer s recommen
245. the first 0300 board Return Value A long value of 0 for state Low or 1 for state high Attempting to read a write point will result in an error value of 1 o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 45 Chapter DMx AutoID Visual Basic Support OptolOEvent Method Use OptoIOEvent method to configure the input GPIO points so that an event is generated when the state of a configured input point changes Once the method is invoked it will not return until some input point changes state Syntax Object OptoIOEvent mask polarity index Description mask String Specify the input GPIO points that will generate an input event This ranges from amp HO to amp H3FF Note Only the first 10 bits can be configured as input points that can generate an event polarity Long Transition polarity e 0 Low to high e 1 High to low e 2 Either direction generates an event This is the default index Long The 0300 board index from 0 to 3 The default is 0 the first 0300 board Return Value A long value of the index of the input point whose state has changed The value ranges from 1 to 16 6 46 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support OptolOMask Method Use the OptoIOMask method to configure the GPIO points to be input or output This method must be invoked first befor
246. the intensity value FIGURE 4 31 Retry Modes Setup Dialog Box Camera 1 Lighting Control Setup Sctup Axis Intensity o 4 1 FirstAxis IO amp 15 B5 ssume l0 15 Sense Up Down ssumelOM First Light Axis Clocking Device M 15 1 ssume IO h n 1 Cock ng Device for Axis n 1 5 OK Note By default the First Axis IO is set to 15 This cannot be changed unless a custom cable is made To change it always set the Axis to 1 to enabled the edit box 4 78 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Setup gt PLC Communication This menu item is visible only when the PLC Interface is checked in View gt Additional Menus Selecting it displays the PLC Communication dialog box Figure 4 32 that can be used for configuring the DMx AutoID to communicate with PLC software via DDE or Profibus protocol FIGURE 4 32 PLC Communication Dialog Box PLC Communication Transfer Protocol Transfer Format 6 DDE 2characters word PROFIBUS ei 8 UPC Byte swapped 4 r PLC to DMx AutolD Transfers r DMx AutolD to PLC Transfers gt 5 Read Data 0 0 Write Data Net 0 2 E ng Read Length 20 Write Lenath yo 0 50 1 lt 5 x Log File PLC Service DDE Topic OK Cancel Transfer Protocol You can select either DDE or Profibus PLC
247. the master from the DMx AutoID The command READ OFF disables the Run Continuously mode If DMx AutoID receives the v2 1 0 Feb 2009 DMx AutoID User Manual 4 89 Chapter DMx AutoID Reference Guide command READ OFF when it has no more data to send it stops the Run Continuously mode and replies to the master with the command response READ OFF SUCCESS If it receives the command READ OFF when it still has more data to send it stops the Run Continuously mode and continues to send out the remaining data without sending the command response READ OFF SUCCESS Profibus Communication Examples Example 1 A two camera DMx AutoID is triggered by the PLC via command READ Camera decodes Data Matrix 1 and returns 35 bytes of data including prefix and suffix Camera 2 decodes Data Matrix 2 and returns 80 bytes of data including prefix and suffix 1 PLC sends command READ 1 to trigger a read from camera 1 00 06 82 69 65 68 32 49 2 AutoID receives the command successfully reads the Data Matrix 1 and replies with 01 35 xx xx 3 PLC extracts 35 bytes of data and acknowledges with 01 The PLC is now ready to send the next command 4 AutoID receives the acknowledgement and does nothing since there is no more data to send 5 PLC sends command READ 2 to trigger a read from camera 2 02 06 82 69 65 68 32 50 6 DMx AutoID receives the command successfully read Dat
248. tions with hardware trigger enabled anytime you want to display live images without having to send hardware triggers you need to temporarily select the Hardware Trigger in Setup gt System Configuration to uncheck it Remember to re enable the hardware trigger after you exit the live image display 4 4 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface File gt Save As This menu item saves the image captured from the 0300 board as a BMP image file File gt Password The Run Continuous mode can be protected by password so that barcode or OCR reading will not be interrupted To use this capability select File gt Password to display two drop down menu items as shown in Figure 4 4 FIGURE 4 4 Password Menu Eneble Password Protection Set Password Auto Start I When there is no password stored in the system Enable Password Protection is grayed out unless Set Password is selected for entering a new password as shown in Figure 4 5 FIGURE 4 5 Password Setting Dialog Box Password Setting Password Protection D E 29 3 gt 5 AF Enter New Password OK Cancel To enter a new password you need to enter the password select OK and then reenter the same password then select OK again When the password is accepted by the system you can select Password gt Enable Password Protection to v2 1 0 Feb
249. trast Axial Nonuniformity Grade Axial Nonuniformity Print Growth Grade I X Print Growth Y Print Growth UEC Grade Unused Error Correction ES E 20 2 8 3 gt 5 2 AF Decode Data decode string and debug output when specified Symbology Verification Status Code if Status Code is checked in Formatting tab Symbology Verification Timing if Timing is checked in Formatting tab Overall Grade Dot Size Grade Dot Size Countl Dot Size Count2 Dot Center Offset Grade Dot Center Offset Countl v2 1 0 Feb 2009 DMx AutoID User Manual 4 57 Chapter DMx AutoID Reference Guide e Dot Center Offset Count2 e Angle of Distortion Grade e Angle of Distortion e Nominal Module Size Module Fill Rate X e Module Fill Rate Y Ovality Grade Ovality Value e Symbol Contrast ISO 15415 Mode e Decode Data decode string and debug output when specified e Symbology Verification Status Code if Status Code is checked in Formatting tab e Symbology Verification Timing if Timing is checked in Formatting tab e Overall Grade e Reference Decode Grade e Symbol Contrast Grade e Symbol Contrast Value e Axial Nonuniformity Grade e Axial Nonuniformity Value e Grid Nonuniformity Grade e Grid Nonuniformity Value e UEC Grade e UEC Value 4 58 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Fixed Pattern Damage Grade e Modulation
250. tring Return Value The prefix as a string 6 20 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support FormatStatus Property This property describes the Status separator in the Setup Parameters Formatting tab This is a read write property that can be retrieved and set in runtime Syntax Object FormatStatus str Description 66 99 str The Status separator is a one character string The default value is Return Value The status separator as a single character string o T 5 Qe lt z g 35 EE x 0 e v2 1 0 Feb 2009 DMx AutoID User Manual 6 21 Chapter DMx AutoID Visual Basic Support FormatSuffix Property This property is the Suffix in the Setup Parameters Formatting tab This is a read write property that can be retrieved and set in runtime Syntax Object FormatSuffix str Description str String Suffix string Return Value The suffix as a string 6 22 DMx AutoID User Manual v2 1 0 Feb 2009 ActiveX Control Support FormatSymbol Property This property is the hex format of the bit mask corresponding to the check boxes in the Symbol Debug Report in the Setup Parameters Formatting tab This is a read write property that can be retrieved and set in runtime Syntax Object FormatSymbol str Description str You can have up to nine bits enabled with Timing being the MSB The
251. ulation 1 2 KeyCode Property 6 28 KeyDown Event 6 70 L Label Separator 4 38 Laser Lighting B 7 Latin Alphabet No 1 C 11 Launching DMx AutoID 4 1 Learn barcode auto discrimination 4 108 barcode process 4 108 menu 4 99 method 6 41 LEARN Command 5 5 Lens 35 mm B 2 adapter needed to mount B 2 aperture B 16 chart B 2 clamping 2 7 2 8 distance B 4 Index extension ring B 4 focal length B 2 focus 2 8 f stop B 16 selecting B 2 selection chart B 3 Light method 6 42 on dark 4 30 polarized B 11 LIGHT Command 5 6 Lighting back B 10 CDI B 14 cloudy day illumination B 14 continuous diffuse illumination B 14 diffuse B 7 flat specular surfaces B 13 fluorescent B 6 front B 9 geometry B 5 incandescent B 6 integrated system for enhanced ease of use B 16 laser B 7 placement B 9 point source B 7 polarized B 11 region of interest B 5 B 15 side B 9 size B 5 strobe B 7 surface characteristics B 5 tips B 17 uneven specular surfaces B 15 very uneven specular surfaces B 14 List Mode 4 10 Live camera mode 4 10 method 6 43 LOAD Command 5 6 Load Method 6 44 Local port 4 77 v2 1 0 Feb 2009 DMx AutoID User Manual Index 5 Index Locate Decode Time 4 23 Location Considerations 2 2 LOCK Command 5 6 M Main menu screen 3 1 trigger configuration 4 75 MATRIX COUNT Command 5 6 MatrixCount Property 6 29 Max Min bar width 4 28 code height 4 29 code length 4 29 no of bars 4 29 Maximum Count 4 70
252. um Edge Strength 8 Minimum Quiet Zone 2 Confidence Threshold 0 OK Cancel The three parameters listed above are applicable to all barcode types enabled in the General tab 4 30 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface e Minimum Edge Strength When the contrast of the barcodes is low especially for low contrast BC412 images the edge strength value can be set between 5 and 18 gray scale values The edge strength can be raised to a higher value when the barcode has very high contrast With higher edge strength the DMx AutoID program will ignore most of low contrast objects and get to the barcode area quicker If the barcode s contrast is unlikely to change e g when a stable lighting source is employed the level can be raised to 36 to produce the optimum run performance The value can be set between 5 and 100 e Minimum Quiet Zone The default minimum barcode quiet zone length is 12 pixels If for any reason the quiet zone is less in the image due to camera setup restrictions the Minimum Quiet Zone parameter can be lowered in order for the algorithm to accept shorter space as quiet zone On the other hand if the barcode is big in the FOV such that some space between two adjacent bars exceeds the value specified in the Minimum Quiet Zone then there is a possibility that this space will be detected as possible quiet zone To avoid this
253. un Once Continuously to test the reading that has the preprocessing done internally Pre Process gt Rotate This is mainly useful for OCR applications To use this option you are required to draw the corresponding ROI first When the ROI is drawn the Rotate option is enabled in the Pre Process drop down menu Once you select the Rotate option the message Use Arrow to Rotate the Image is displayed in the status bar Use the Up or Down arrow to rotate the image counterclockwise or clockwise 5 every time the key is pressed Alternatively use the Left or Right arrow for finer adjustment Once the OCR string is leveled perform the Learn gt OCR and ensure the Learn is successful Use Run Once Continuously to test the reading that has the preprocessing done internally Pre Process gt Erode This menu item increases the dark cell size of dark on light Data Matrix Pre Process gt Dilate This menu item increases the light cell size of light on dark Data Matrix Pre Process gt Open This menu item removes minor light defects of dark cells Pre Process gt Close This menu item removes minor dark defects of light cells Pre Process gt Top Hat This menu item removes uneven background 4 138 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Pre Process gt Well This menu item removes uneven background Pre Process gt Max Min This menu item removes high frequency noise and defocus
254. un mode after a successful Learn Some of the options are set automatically by the Learn process You set the rest based on the OCR application Detect Space Allows a space character to be found This option is automatically set by the Learn process if there is at least one space character in the Train String Number of Characters Vary Allows the number of characters to vary in Run after Learn This option is supported by Standard and Dot Matrix OCR methods Disable Prefilter Disables certain filtering steps to prevent the prefilter from removing too much image detail in certain applications Character Size Space Vary Allows the character size and spacing between characters to vary from the image used in Learn It also enables the software to handle character size and or spacing nonuniformity Speed Enhance Uses a fast but less robust version of the OCR algorithm Remove Noise Uses a fast but less robust version of the OCR algorithm This option is automatically enabled by Learn process in degraded method If the image is clean and no noise is present then you can remove the option to reduce the read time SEMI M Checksum Tells the program to verify if the read text string passed the SEMI Checksum test Character Dimensions When Learn is successful the learned parameters such as Character Width Character Height Character Spacing and Stroke Width thickness in pixels are
255. unications option configures the DMx AutoID ports The communication setup cannot be changed when it has been selected from the Run menu To change it you must de select the communication port configure the port and then select the port again Refer to the Run Menu for more information The above setup box varies with the number of COM ports in your PC If the reading application does not require full duplex serial communication e g only Input or Output is required then disabling the unused mode will improve system performance If Output is unchecked DMx AutoID will not output decode data If Output is unchecked and Input checked the command Read to DMx AutoID will not receive a response from the serial port However all other configuration commands will receive a command response over the serial port 4 14 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Setup gt Digital I O This menu item displays the Digital I O Settings dialog box as shown in Figure 4 10 This dialog box configures the Digital I O for the DMx AutoID FIGURE 4 10 Digital I O Settings Dialog Box Digital I O Settings m Implementation Standard I O Data Valid pulse width ms 20 C Mini Opto 1 0 C Custom I m Standard 1 0 Settings Camera Data Valid Read Match System Overrun 1 5 6 1 7 Process Overrun System Overrun AND Mismatch NO Match Trigger
256. ut ISO Fails RDA Step F2 4716 Read Success but ISO Fails RDA Step F3 4717 Read Success but ISO Fails RDA Step AE 6001 OCR Conformance Failure 6002 OCR General Error 9999 Dongle Missing Note 4700 is reported when at least one of the Data Matrix borders is less than one cell size 1X from the image border or the damage to the border is too severe 4702 is reported when a barcode is read but the verification is not supported or Data Matrix DPM or IAQG verification is attempted on a Non ECC200 Data Matrix that is greater than 26x26 4702 is reported when the Data Matrix is read but the verification cannot be completed before the Inspection Timeout Value is reached Status Code for QR Code TABLE 4 2 Status Code for QR Code Numeric Code Description 6001 QR IP General Error 6002 QR IP Ratio Error 6003 QR IP Finder Error 6004 QR IP Line Fit Error 6005 QR IP Line Geometry Error 6006 QR IP Line Corner Error 4 40 DMx AutoID User Manual v2 1 0 Feb 2009 TABLE 4 2 Status Code for QR Code continued DMx AutoID Graphic User Interface Numeric Code Description 6020 QR DEC General Error 6021 QR Invalid RS Level 6022 QR Format Info Failed 6023 QR Version Info Failed 6024 QR Invalid Rows or Columns 6025 QR Invalid Data Codeword 6026 QR Invalid Total Codeword 6027 QR Invalid Mode Indicator 6028 QR Mode Unimplemented 6029 QR RS De
257. utoID Then invoke the Connect method Note DMx AutoID as a TCP IP server does not support more than one client connection at the present time Once a connection has been made either computer can send and receive data To send data invoke the SendData method Whenever data is received the DataArrival event occurs Invoke the GetData method within the DataA rival event to retrieve the data 6 2 DMx AutoID User Manual v2 1 0 Feb 2009 TCP IP Support with OLE TCP IP Support with OLE It is not possible to start up the DMx AutoID program from the custom VB application itself using TCP IP commands alone DMx AutoID must be already running before the custom VB application can connect to it or vice versa via TCP IP commands You can ensure the DMx AutoID always starts up automatically by installing it in the Windows Startup folder or you can start up the DMx AutoID program from the custom VB application using the OLE mechanism when both the DMx AutoID and your VB application are to run in the same PC The sample projects on the CD in the DMx AutoID Visual Basic Support OLE TCPIP folder use the OLE mechanism to start up and terminate the DMx AutoID application The rest of communication between the VB application and the DMx AutoID are based on the TCP IP command for maximum robustness and efficiency Use the OLE mechanism to start up the DMx AutoID from your VB application I
258. utorials FIGURE 3 5 Parameter Setup General Dialog Box Camera 1 Parameter Setup E _ Verifier Fiducial BC Verification Data Matrix Barcode OCR Fixed Font Formatting Barcode Multi Code Setup Code 128 12 Number of Code 39 Postnet Barcodes o to Decode Code 93 Ph d Number of carers Data Matrices E 1205 M 895 14 to Decode 0 Codabar RSS Limited a UPC EAN RSS Expanded UPC E 55 Stacked Data Matrix BarcodeT ime out UPC Sup Composite 000 a Time out Value 24 PDF417 Code 6 Notice that the setting for Number of Data Matrices to Decode in the Multi Code Setup box has been configured to read 7 Data Matrix To display the Learned Data Matrix settings click the Data Matrix tab This displays the Parameter Setup Data Matrix dialog box as shown in Figure 3 6 DMx AutoID User Manual v2 1 0 Feb 2009 Tutorial 1 Reading Sample Data Matrix from File FIGURE 3 6 Parameter Setup Data Matrix Dialog Box Camera 1 Parameter Setup General Data Matrix Barcode OCR Fixed Font Formatting Matrix Dimensions 7 Height pixels zl v Polarity Dark on Light 7 Width pixels 23 z Format ID 1 No of Rows fis 4 ECC Level Ecc200 No of Cols fis Iv Orientation 0 degree Iv Image Style Normal fe 8
259. value must be between 1 and 125 We can also change the Description to be something more meaningful such as DMxAutoID Click OK to exit the dialog FIGURE 4 36 Insert Slave Dialog Box Slave Filter Vendor All X Master 0 CIF50 PB Slave type 7 Cancel Available slaves Selected slaves CB_AB32 DPS Add gt gt CIF5O DPS CIF104 DP AB CIF30 DPS CIFTO4 DPS R Adi Remove All PKV4D DPS Bemowe ill gt CIF60 DPS Vendor name Hilscher GmbH Station address 5 Ident number Ox049F Description DMsAutolD GSD filename HIL 049F GSD GSD Revision Version 1 001 d The SyCon program now displays the network shown in Figure 4 37 4 84 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface FIGURE 4 37 Sycon Window a SyCon Unnamedi E O x File Edit Yiew Insert Online Settings Tools Window Help l xl Dag a POD MasterO Station address 0 FMS DP Master CIF50 PB DMxAutoID Station address 5 DP Siave CIF50 DPS I For Help press F1 PROFIBUS ConfigMode e Right click on the DMxAutoID text inside SyCon to display drop down menu and select Slave Configuration to display the Slave Configuration dialog box as shown in Figure 4 38 Scroll down to find 64 byte input con module and double click on it Scroll down further to find 64 byte output con and double clic
260. vior depends on the number of cameras used If only one camera is used it controls all four output points When more than one camera is used the camera numbers must be contiguous starting from camera 1 Each of the first two cameras controls two output points 4 16 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface Setup gt Parameters The camera configuration parameters can be set independently of one another among all enabled cameras When the caption of a dialog box contains a camera number it means the parameters shown in the dialog box are applicable to that camera only When there is more than one camera enabled the parameters displayed in the dialog box correspond to current camera The current camera is shown as checked in the View gt Camera menu It is also shown as the one that appears to be pushed down on the tool bar To display the parameters belonging to a certain camera you need to set that camera to be the current camera from the tool bar or from the View Camera menu This selection allows you to set up the following functions The remainder of the Setup Parameters section discusses Configure the DMx AutoID to perform the image processing and data reduction tasks such as reading different types of symbologies performing OCR Data Matrix verification and locating fiducial I Setup the Run parameters for each task in order to run faster or more robustly Format the
261. x Barcode OCR Fixed Font Formatting Verifier Fiducial BC Verification Template C None C Fast Standard m Report I Upper left corner C Center Score gt 70 Angle 0 GOLDENO bmp Browse Validate Inspection Report Target Intensity E 28 3 gt 5 x 2 AF Cancel Allows you to select one of the following Select None if you want to keep the learned target but do not want to enable the fiducial finder in Run mode yet Select Fast if you want to enable the fiducial finder to run a fast but somewhat less robust algorithm Select Standard to select the more robust algorithm Sometimes the Standard mode may take less time to find the target than the Fast mode This happens when the less robust Fast mode fails to find the target quickly and extra algorithm steps are performed Therefore you need to experiment with the template you choose to determine whether the Fast mode is consistently faster than the Standard mode v2 1 0 Feb 2009 DMx AutoID User Manual 4 61 Chapter DMx AutoID Reference Guide Report Enabled for editing only when the fiducial finder is enabled Report the Finder result as Xout b x score intensity where b is 1 found or 0 not found x y are the coordinates of the found target that are specified by Upper left corner or Cent
262. x AutoID Reference Guide Working with Multiple Input Modules The previous sections have shown how to choose 64 byte input con and 64 byte output con in configuring the data exchange modules It has been stated previously that 64 byte output con is sufficient to handle all command or acknowledgement packet You can also choose smaller input and or output modules if your application requires sending much less than 64 bytes of data and or receiving short commands such as READ n For example you can choose 32 byte input con and 8 byte output con if the master needs to receive a 32 byte packet and send a 8 byte command packet Note You should do the same in SyCon for both the master and the slave On the other hand when your application requires reading high density Data Matrices and or performing print quality verification then you will need to transfer far more than 64 bytes for each read Multiple data packets of 64 byte long will have to be sent to the master and to be acknowledged To improve the efficiency and reduce the number of acknowledgement packets you can also configure multiple input modules to arrive at a larger packet number between 64 and 244 bytes The Profibus protocol allows up to 244 bytes of data to be transferred as input or output the sum of input and output modules should not exceed 368 bytes For example you can configure multiple input modules of 64 64 64 32 and 20 bytes in the exact same order in St
263. y all types of barcodes listed above by following these steps 1 UseFile Jobs Load Default to clear the existing barcode configuration 2 In Setup gt Parameters gt General check Code 128 Code 39 Code 93 12 of 5 UPC EAN UPC E and all types of RSS Set the Number of Barcodes to Read to be 1 or up to the number of the barcodes in the same FOV 3 Select BC Verification tab and check Overall in Mode Click OK to exit the dialog 4 Click Run Once to view the verification results Reporting Verification Results By setting the Mode to Overall or Scan full ANSI barcode verification is performed once the barcode in the image is decoded The verification results are reported differently depending on the mode chosen Typically you only need to use Overall to report the final grade and the overall grade for each scan profile Alternatively you can select Scan to examine a certain scan line in order to get detailed results on all measured parameters Numeric Grading Checking this will report the grade 4 3 4 66 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface 2 D 1 0 Show Status Only Checking this will only display the verifier status See Verification Results Display below for the verifier status Validate Inspection Defines how the verification failure affects the inspection result When verification fails and Validate Inspection is checked the in
264. y live images This selection is detailed in File gt Live on page 4 4 2 Place an actual Data Matrix label in the Field of View FOV Center it properly in the FOV Focus accordingly Refer to Appendix B Creating A Good Image for additional guidance 3 Open the File menu and select Live again to stop the Live Mode Notice that the Data Matrix image has been captured and displayed in the DMx AutoID GUI 4 Open the Learn menu and select Data Matrix This allows you to learn the Data Matrix This menu item is detailed in Learn gt Data Matrix on page 4 99 5 perform a Data Matrix reading on your live sample open the Run menu and select Run Continuously This menu item is detailed in Run gt Run Continuously on page 4 127 6 To achieve the fastest reading speed you should stop the run first by clicking along the Toolbar Then perform these steps a Open the Setup menu and select Parameters Click the Data Matrix tab to display the Parameter Setup Data Matrix dialog box as shown in Figure 3 6 on page 3 7 This menu item is detailed in Setup gt Parameters gt Data Matrix on page 4 20 b Click the Advanced button to display the Advanced Parameter Tuning box as shown in Figure 3 7 on page 3 8 This menu item is detailed in Figure 4 13 Advanced Parameter Tuning Dialog Box on page 4 23 c Ensure that Average Element Size is set to a value of 5 if possible as this is an opti
265. you can resume the password protected mode File gt Start Options e Auto Start When this mode is enabled checked the system will automatically enter Run Continuous mode as soon as the DMx AutoID program is launched When Auto Start is disabled or unchecked you can 4 6 DMx AutoID User Manual v2 1 0 Feb 2009 DMx AutoID Graphic User Interface enable it by selecting it When Auto Start is enabled or checked you can disable it by selecting it e Minimized When this mode is enabled DMx AutoID will run with the GUI minimized File gt Jobs e Load gt Default Reset all configuration parameters except password number of cameras enabled and Com port settings baud rate data bits stop bits parity and flow control to default factory settings e Load Job Load a previously saved job that contains all configuration parameters This is useful for restoring previously configured parameters To view the loaded job name select File Jobs if the system is not in Run Continuously mode In Run Continuously mode the job name is automatically displayed in the title bar of the program I e Save Save the current configuration parameters to a job file in the disk Delete Delete a job file from the disk Boot Specify a saved job to be used by the DMx AutoID program when it is launched After the job is selected it can be viewed by displaying the Jobs menu item To remove the

Download Pdf Manuals

image

Related Search

Related Contents

GUIA DEL USUARIO: SERVICIOS OFICIALES  Accutome UBM Plus    Lightolier MP User's Manual  Philips AVENT Electric Steam Sterilizer SCF274/51  DMV-160H 16 チャンネル マルチビューワ 仕様書 1.機能・定格 2.画面表  

Copyright © All rights reserved.
Failed to retrieve file