Hide thumbs Also See for Vision HAWK Smart:
Table of Contents

Advertisement

Quick Links

Vision HAWK Smart Camera Guide
84-016800-02 Rev A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Vision HAWK Smart and is the answer not in the manual?

Questions and answers

Summary of Contents for Microscan Vision HAWK Smart

  • Page 1 Vision HAWK Smart Camera Guide 84-016800-02 Rev A...
  • Page 2: Technical Support

    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.
  • Page 3 The information provided in this certification notice is correct to the best of Microscan’s knowledge at the date of publication. This notice is not to be considered a warranty or quality specification. Users are responsible for determining the applicability of any RoHS legislation or regulations based on their individual use of the product.
  • Page 4: Table Of Contents

    Part Number Structure 1-5 CHAPTER 2 System Components 2-1 Hardware Components 2-1 Important Label Information 2-8 Mounting and Wiring the Vision HAWK Smart Camera 2-9 Input/Output Wiring 2-16 Ground and Shield Considerations 2-17 Power Requirements 2-19 Status Indicators 2-20 AutoVISION Button 2-21...
  • Page 5 Data Type Descriptions and Equivalents in PLC and EDS/CIP Environments 4-18 PLC Tags and Serial Command Names 4-19 APPENDIX A Connector Pinouts A-1 Vision HAWK Smart Camera Connectors A-2 APPENDIX B Cable Specifications B-1 61-000160-01 Cable, Host, Ethernet, M12 8-pin Plug to RJ45, 1 m B-2 61-000162-01 Cable, Common, M12 12-pin Plug to M12 12-pin Socket, 1 m B-3 97-000003-01 Power Supply, M12 12-pin Socket, 1.3 m B-4...
  • Page 6 Demo PLC Code G-1 Glossary of Terms G-2 Demo Setup G-3 Description of PLC Tags G-5 Run the Camera: Runtime Operation of EtherNet/IP Demo G-15 APPENDIX H Serial Commands H-1 APPENDIX I Vision HAWK Boot Modes I-1 Vision HAWK Smart Camera Guide...
  • Page 7: Preface

    Preface Welcome! PREFACE Purpose of This Manual This manual contains detailed information about the Vision HAWK Smart Camera. Manual Conventions The following typographical conventions are used throughout this manual. • Items emphasizing important information are bolded. • Menu selections, menu items and entries in screen images are indicated as: Run (triggered), Modify..., etc.
  • Page 8 Preface Vision HAWK Smart Camera Guide...
  • Page 9: Introduction

    Introduction CHAPTER 1 Vision HAWK Smart Camera, C-Mount and Standard Models FIGURE 1–1. Vision HAWK Smart Camera Guide...
  • Page 10: Product Summary

    Chapter Introduction Product Summary The Vision HAWK Smart Camera is a compact industrial smart camera that provides powerful machine vision capabilities with a small form factor and intuitive software interface. The Vision HAWK is designed for industrial environments where IP65/67 enclosure and rugged M12 connectivity are required.
  • Page 11: Applications

    Smart Camera, please take a moment to confirm that the following items are available: • Vision HAWK Smart Camera — Your package contains one of the available models listed in Table 1–1 • Microscan Tools Drive — USB flash drive containing AutoVISION software •...
  • Page 12: Vision Hawk Smart Camera Models

    Chapter Introduction Vision HAWK Smart Camera Models Table 1–1 lists and describes the Vision HAWK Smart Camera models. Vision HAWK Smart Camera Models TABLE 1–1. Part Number Vision HAWK Smart Camera Model GMV-6800-1000G Vision HAWK, 1.3MP SXGA, AutoVISION, C-Mount GMV-6800-1002G Vision HAWK, 1.3MP SXGA, AutoVISION+Visionscape, C-Mount GMV-6800-1004G Vision HAWK, 1.3MP SXGA, AutoVISION+Verification/OCV, C-Mount...
  • Page 13: Part Number Structure

    Part Number Structure Vision HAWK Smart Camera Models TABLE 1–1. Part Number Vision HAWK Smart Camera Model GMV-6800-1310G Vision HAWK, WVGA, Built-In Lighting, AutoVISION, 45° Lens GMV-6800-1312G Vision HAWK, WVGA, Built-In Lighting, AutoVISION+Visionscape, 45° Lens GMV-6800-1314G Vision HAWK, WVGA, Built-In Lighting, AutoVISION+Verification/OCV, 45° Lens GMV-6800-1316G Vision HAWK, WVGA, Built-In Lighting, AutoVISION+Visionscape+Verification/OCV, 45°...
  • Page 14 Chapter Introduction Vision HAWK Smart Camera Guide...
  • Page 15: System Components

    System Components CHAPTER 2 This section contains information about system components as well as information to help you connect the Vision HAWK Smart Camera. Specific information describes connectors, adapters, cables, pinouts, and signals. Note: There are no user-serviceable parts inside.
  • Page 16 Chapter System Components Vision HAWK Smart Camera Hardware Components (Continued) TABLE 2–1. Part Number Description 61-000153-02 Cordset, Host, Serial M12 12 pin Socket (Screw-on) to DB9 Socket, 1M 61-000164-01 Cordset, Host, Serial, M12 12 pin Socket (Ultralock) to DB9 Socket, 3M...
  • Page 17 Photo Sensor, M12 4-pin Plug, NPN, Dark On, 2 m Documentation 37-000010-01 Microscan Tools Drive (Software, User’s Manuals, Quick Start Guides, Configuration Guides, links to other documents on Microscan website) Note: Additional hardware components are available in the Microscan Product Pricing Catalog.
  • Page 18 Chapter System Components Standard Vision HAWK Front Figure 2-1 shows the front of the Vision HAWK Smart Camera. Front FIGURE 2–1. Standard Vision HAWK Base Figure 2–2 shows the base of the Vision HAWK Smart Camera. Base FIGURE 2–2. Vision HAWK Smart Camera Guide...
  • Page 19 Hardware Components Standard Vision HAWK Side Figure 2-3 shows the side of the Vision HAWK Smart Camera. Side FIGURE 2–3. Standard Vision HAWK Back Figure 2-4 shows the back of the Vision HAWK Smart Camera. Back FIGURE 2–4. Vision HAWK Smart Camera Guide...
  • Page 20 Vision HAWK C-Mount Front Figure 2-5 shows the front of the Vision HAWK C-Mount Smart Camera. Front FIGURE 2–5. Vision HAWK C-Mount Base Figure 2–6 shows the top of the Vision HAWK C-Mount Smart Camera. FIGURE 2–6. Vision HAWK Smart Camera Guide...
  • Page 21 Vision HAWK C-Mount Side Figure 2-7 shows the side of the Vision HAWK C-Mount Smart Camera. Side FIGURE 2–7. Vision HAWK C-Mount Back Figure 2-8 shows the back of the Vision HAWK C-Mount Smart Camera. Back FIGURE 2–8. Vision HAWK Smart Camera Guide...
  • Page 22: Important Label Information

    Chapter System Components Important Label Information Each Vision HAWK Smart Camera has its own label, which contains important information about that camera. • P/N – The Microscan part number of your Vision HAWK Smart Camera. • S/N — The serial number of your Vision HAWK Smart Camera.
  • Page 23: Mounting And Wiring The Vision Hawk Smart Camera

    Mounting and Wiring the Vision HAWK Smart Camera Mounting and Wiring the Vision HAWK Smart Camera • Mount the camera (1) securely as required by the application. Mounting holes • Connect the Ethernet cable (2) from “B” on the camera (1) to the network.
  • Page 24 Outputs can be configured as either NPN or PNP, but NPN and PNP cannot be mixed in a system, because the output common is shared by all outputs. NPN Output for Host Input 2-10 Vision HAWK Smart Camera Guide...
  • Page 25 Mounting and Wiring the Vision HAWK Smart Camera NPN Output for External Load Vision HAWK Smart Camera Guide 2-11...
  • Page 26 Chapter System Components PNP Output for Host Input 2-12 Vision HAWK Smart Camera Guide...
  • Page 27 Mounting and Wiring the Vision HAWK Smart Camera PNP Output for External Load Vision HAWK Smart Camera Guide 2-13...
  • Page 28 Optoisolated Inputs All discrete inputs are optoisolated. Inputs can be configured as either NPN or PNP, but NPN and PNP cannot be mixed in a system, because the input common is shared by all inputs. 2-14 Vision HAWK Smart Camera Guide...
  • Page 29 Mounting and Wiring the Vision HAWK Smart Camera Vision HAWK Smart Camera Guide 2-15...
  • Page 30: Input/Output Wiring

    Chapter System Components Input/Output Wiring 2-16 Vision HAWK Smart Camera Guide...
  • Page 31: Ground And Shield Considerations

    Ground loops (signal degradation due to different ground potentials in communicating devices) can be eliminated or minimized by ensuring that both the host, imager, and their power supplies are connected to a common earth ground. Vision HAWK Smart Camera Guide 2-17...
  • Page 32 “2-Terminal Power Supply” must still provide an “Earth” connection to the imager. • “Signal Ground” can be used for communications and/or discrete signal ground reference. It must not be used as Power Ground or Earth Ground. 2-18 Vision HAWK Smart Camera Guide...
  • Page 33: Power Requirements

    Refer to Table 2-3 when determining the power supply requirements for your camera. Camera Power Requirements TABLE 2–3. Component Vision HAWK Smart Camera, CCD, 5-28VDC, 200mV p-p max ripple, SXGA 170mA at 24VDC (typ.) 15.5 watts (max.) Vision HAWK Smart Camera, CMOS,...
  • Page 34: Status Indicators

    Chapter System Components Status Indicators The top of the Vision HAWK Smart Camera has multiple LEDs that indicate different trigger, inspection, camera, communication, and power states. TRIG = Trigger Status PASS/FAIL = Inspection Status Outputs 1, 2, 3 MODE = Camera Status...
  • Page 35: Autovision Button

    The selected values are then saved for power-on. 3rd Position: Teach The third AutoVISION Button position sets the Match String to the next OCR string or symbol data that is decoded. Vision HAWK Smart Camera Guide 2-21...
  • Page 36: Setting Up A Job In Autovision

    Power Supply, M12 12-pin Socket, 1.3 m 97-000003-01 Cordset, Host, Ethernet, M12 8-pin Plug to RJ45, 1 m 61-000160-01 Trigger, M12 4-pin Plug, NPN, Dark On, 2 m 99-000020-02 Note: Additional cables available in the Microscan Product Pricing Catalog. 2-22 Vision HAWK Smart Camera Guide...
  • Page 37 AutoVISION's Connect view allows you to select your device and configure its settings, and to create a new job. The Select Device dropdown menu provides a list of available devices. Hover the mouse over a device to see its details. Vision HAWK Smart Camera Guide 2-23...
  • Page 38 Create, Load, or Upload a job using the buttons in the center of the Connect view. Important: When modifying camera settings, you will need to enter a username and password for the camera if a password has been defined. 2-24 Vision HAWK Smart Camera Guide...
  • Page 39 Lighting. Inspection Outputs options allow you to connect your job to the outside world. This is also the view where you can add multiple tools to the job. The tool icons are located above the main view area. Vision HAWK Smart Camera Guide 2-25...
  • Page 40 Going to the Run view will automatically download your job to the camera and start it running. Save the Job. Click the Save to Camera icon on the File menu bar to save the job to the Vision HAWK. 2-26 Vision HAWK Smart Camera Guide...
  • Page 41: Trigger Debounce

    Exp Dflt Exp Min Exp Max 100000 // 1/10 to 1/40,000 Focus Dflt Focus Min Focus Max 4000 // 1 to 40 inches // Lens Configuration C-Mount // 0 = false, 1 = true Vision HAWK Smart Camera Guide 2-27...
  • Page 42 Chapter System Components 2-28 Vision HAWK Smart Camera Guide...
  • Page 43: Optics And Lighting

    Optics and Lighting CHAPTER 3 This section describes the optical and illumination characteristics of the Vision HAWK Smart Camera. Vision HAWK Smart Camera Guide...
  • Page 44: Optics

    Chapter Optics and Lighting Optics The Vision HAWK Smart Camera is available with a built-in CMOS sensor or CCD sensor. Optics Specifications Part Number GMV-6800- GMV-6800- GMV-6800- GMV-6800- GMV-6800- GMV-6800- 1100G 1200G 1300G 1110G 1210G 1310G Sensor 1/3”, SXGA (1280 x 960) CCD, up to 20 fps 1/3”, WVGA (752 x 480) CMOS, up to 60 fps...
  • Page 45: Lens Substitution

    After the lens has been changed via the parameters below, the new values will take effect the next time that the lens focus is modified. Boot the Vision HAWK Smart Camera. Connect to the Vision HAWK via Telnet using the IP address of the camera.
  • Page 46 SetCurrentLense(3)(to change to 45 degree lens) The response should be: "Now Set to 3 = 45deg" "value = 0 = 0x0" Send the following command: startAll The response should be "value = 1 = 0x1" Vision HAWK Smart Camera Guide...
  • Page 47: Illumination

    Illumination Illumination The standard version of the Vision HAWK Smart Camera has built-in lighting (red LEDs for SXGA models and white LEDs for QXGA models). The LEDs can be configured to operate in multiple modes – Continuous, Strobe, and Off.
  • Page 48 Proper lighting is critical to the success of a machine vision application. Depending on the requirements of your application, you may also need to add external lighting from Microscan’s NERLITE family of machine vision lighting products. Consider the following when setting up your application: –...
  • Page 49 External Illumination Control The Vision HAWK C-Mount Smart Camera supports external lighting with Microscan’s NERLITE Smart Series lights. The diagram below demonstrates how the camera and light can be configured with two QX-1 interface devices. The light is controlled using the Lighting control in the Camera configuration settings of AutoVISION software.
  • Page 50 Chapter Optics and Lighting Vision HAWK Smart Camera Guide...
  • Page 51: Using Ethernet/Ip

    Using EtherNet/IP CHAPTER 4 This section provides information necessary for using the Vision HAWK in an EtherNet/IP environment. Vision HAWK Smart Camera Guide...
  • Page 52: Vision Hawk Ethernet/Ip

    Vision HAWK may be abbreviated “VH”. The EIP interface version described here is 1.1. This version number is associated with the EIP interface for Microscan’s Device Type of 100, Machine Vision Smart Cameras. It is not the software version of AutoVISION, Visionscape, or Vision HAWK firmware.
  • Page 53 EIP Identity Device Type Device type is 100, Vendor Specific, Machine Vision Smart Camera. Vendor ID Microscan’s ODVA Vendor ID is 1095. Product Code The Product Code is 6899. Interface Revision Major.Minor = 1.1...
  • Page 54: Assembly Layout

    Chapter Using EtherNet/IP Assembly Layout Input Assembly The input assembly layout is described below and shown in the following diagram. Vision HAWK Smart Camera Guide...
  • Page 55 Assembly Layout The input assembly layout is shown here: Vision HAWK Smart Camera Guide...
  • Page 56 Chapter Using EtherNet/IP Status: Camera Status Register (16 bit) Each bit of this register represents a different state of the camera’s operation. A high value of 1 indicates that state is active (true). Vision HAWK Smart Camera Guide...
  • Page 57 The value of CmdRet is only valid when ExeCmdAck is active (1), in response to ExeCmd being active, and CmdCodeRslt is 0 (Success). The following chart shows which CmdCodes return data in the CmdRet register. Vision HAWK Smart Camera Guide...
  • Page 58 Chapter Using EtherNet/IP State (16 bit) State reflects the following operational condition of the camera: *Booting (3) State: This will rarely be seen by the plc. Vision HAWK Smart Camera Guide...
  • Page 59 Assembly Layout The value of State determines which Control and Status signals are available: Where: Y = Signal is valid for this State Empty cell = Signal is not valid for this State Vision HAWK Smart Camera Guide...
  • Page 60 Chapter Using EtherNet/IP VIO Register Bits Output Assembly The output assembly layout is described below and shown in the following diagram. 4-10 Vision HAWK Smart Camera Guide...
  • Page 61 Assembly Layout The output assembly layout is shown here: Vision HAWK Smart Camera Guide 4-11...
  • Page 62 0 after it has acknowledged the camera has processed the control. Unused bits should remain 0. CmdCode and CmdArg (32 bit) Specifies the process invoked in the camera when Control.ExeCmd goes active. List of available CmdCodes, and associated CmdArg 4-12 Vision HAWK Smart Camera Guide...
  • Page 63 Assembly Layout CmdCode and ExeCmd Operation VIO Register Bits Vision HAWK Smart Camera Guide 4-13...
  • Page 64: Connection Properties: Class 3 Explicit Messaging

    = 107 (0x6B) • string = 108 (0x6C) • control/status (mixed data types) = 109 (0x6D) Instance: 1 Attribute: • 1 to 100 = In to PLC/Client • 101 to 200 = Out to VH 4-14 Vision HAWK Smart Camera Guide...
  • Page 65 28 bytes in the input assembly. If the actual string is longer than 28 bytes, it will be truncated when reading via the assembly, but not truncated when reading the same string via an attribute explicitly. Vision HAWK Smart Camera Guide 4-15...
  • Page 66 Chapter Using EtherNet/IP Assembly Class 109 can be used to read and write special EIP specific registers. 4-16 Vision HAWK Smart Camera Guide...
  • Page 67: Eip Control/Status Signal Operation

    EIP Control/Status Signal Operation EIP Control/Status Signal Operation Vision HAWK Smart Camera Guide 4-17...
  • Page 68: Data Type Descriptions And Equivalents In Plc And Eds/Cip Environments

    Chapter Using EtherNet/IP Data Type Descriptions and Equivalents in PLC and EDS/CIP Environments 4-18 Vision HAWK Smart Camera Guide...
  • Page 69: Plc Tags And Serial Command Names

    PLC tags are separated into IN and OUT for data direction. Within the IN and OUT groups, the tags are sub-divided into fixed “Status” and “Control” fields, plus user-defined linked data fields. This table shows how PLC tag names correspond to serial commands. Vision HAWK Smart Camera Guide 4-19...
  • Page 70 Chapter Using EtherNet/IP 4-20 Vision HAWK Smart Camera Guide...
  • Page 71: Connector Pinouts

    Connector Pinouts APPENDIX A This section contains information about Vision HAWK Smart Camera connectors: • M12 12-Pin Plug on page A-2 • M12 8-Pin Socket on page A-3 Vision HAWK Smart Camera Guide...
  • Page 72: Vision Hawk Smart Camera Connectors

    Appendix Connector Pinouts Vision HAWK Smart Camera Connectors Connector A – M12 12-Pin Plug – Power, I/O, and Serial Figure A–1 shows the M12 12-pin plug at connector A. Connector A – M12 12-Pin Plug FIGURE A–1. Table A–1 describes the M12 12-pin plug signals.
  • Page 73 Vision HAWK Smart Camera Connectors Connector B – M12 8-Pin Socket – Ethernet Figure A-2 shows the M12 8-pin socket at connector B. Connector B – M12 8-Pin Socket FIGURE A–2. Table A-2 describes the M12 8-pin socket signals. Connector B – M12 8-Pin Socket TABLE A–2.
  • Page 74 Appendix Connector Pinouts Vision HAWK Smart Camera Guide...
  • Page 75: Cable Specifications

    Cable Specifications APPENDIX B This section contains information about Vision HAWK Smart Camera cables. Note: Cable specifications are published for information only. Microscan does not guarantee the performance or quality of cables provided by other suppliers. Cable Part Numbers and Descriptions TABLE B–1.
  • Page 76: 61-000160-01 Cable, Host, Ethernet, M12 8-Pin Plug To Rj45, 1 M

    Important: Be sure that the retaining clip on the RJ45 connector has locked into place in the Ethernet receptacle on the PC and is not being impeded by the rubber housing. Note: A screw-down version of this cable is also available (61-000160-02). Vision HAWK Smart Camera Guide...
  • Page 77: Cable, Common, M12 12-Pin Plug To M12 12-Pin Socket, 1 M

    Figure B-2 shows the 61-000162-01 Cable, Common, M12 12-pin Plug to M12 12-pin Socket, 1 m. Cable, Common, M12 12-pin Plug to M12 12-pin Socket, 1 m FIGURE B–2. Note: A screw-down version of this cable is also available (61-000162-02). Vision HAWK Smart Camera Guide...
  • Page 78: 97-000003-01 Power Supply, M12 12-Pin Socket, 1.3 M

    The 97-000003-01 Power Supply, M12 12-pin Socket, 1.3 m is a 90-254 VAC, +24VDC power supply. Figure B-3 shows the 97-000003-01 Power Supply, M12 12-pin Socket, 1.3 m. Power Supply, M12 12-pin Socket, 1.3 m FIGURE B–3. M12 12-Pin Socket Vision HAWK Smart Camera Guide...
  • Page 79: 99-000020-02 Trigger, M12 4-Pin Plug, Npn, Dark On, 2 M

    The 99-000020-02 Trigger, M12 4-pin Plug, NPN, Dark On, 2 m is a photo sensor with a 4-pin M12 connector. Figure B-4 shows the 99-000020-02 Trigger, M12 4-pin Plug, NPN, Dark On, 2 m. Trigger, M12 4-pin Plug, NPN, Dark On, 2 m FIGURE B–4. 99-000020-02 Schematic Vision HAWK Smart Camera Guide...
  • Page 80 Appendix Cable Specifications Vision HAWK Smart Camera Guide...
  • Page 81: General Specifications

    General Specifications APPENDIX C This section contains specifications and dimensions for the Vision HAWK Smart Camera and Vision HAWK C-Mount Smart Camera. Vision HAWK Smart Camera Guide...
  • Page 82 –29° to 70° C (–20° to 158° F) Temperature Humidity Up to 90% (non-condensing) Compliance CDRH, FCC, UL/cUL, CE (General Immunity for Light Industry: EN 55024:1998 ITE Immunity Standard; Radiated and Conducted Emissions of ITE Equipment: EN 55022:98 ITE Disturbances), CB, BSMI Vision HAWK Smart Camera Guide...
  • Page 83 –29° to 70° C (–20° to 158° F) Temperature Humidity Up to 90% (non-condensing) Compliance CDRH, FCC, UL/cUL, CE (General Immunity for Light Industry: EN 55024:1998 ITE Immunity Standard; Radiated and Conducted Emissions of ITE Equipment: EN 55022:98 ITE Disturbances), CB, BSMI Vision HAWK Smart Camera Guide...
  • Page 84 –29° to 70° C (–20° to 158° F) Temperature Humidity Up to 90% (non-condensing) Compliance CDRH, FCC, UL/cUL, CE (General Immunity for Light Industry: EN 55024:1998 ITE Immunity Standard; Radiated and Conducted Emissions of ITE Equipment: EN 55022:98 ITE Disturbances), CB, BSMI Vision HAWK Smart Camera Guide...
  • Page 85 –29° to 70° C (–20° to 158° F) Temperature Humidity Up to 90% (non-condensing) Compliance CDRH, FCC, UL/cUL, CE (General Immunity for Light Industry: EN 55024:1998 ITE Immunity Standard; Radiated and Conducted Emissions of ITE Equipment: EN 55022:98 ITE Disturbances), CB, BSMI Vision HAWK Smart Camera Guide...
  • Page 86 –29° to 70° C (–20° to 158° F) Temperature Humidity Up to 90% (non-condensing) Compliance CDRH, FCC, UL/cUL, CE (General Immunity for Light Industry: EN 55024:1998 ITE Immunity Standard; Radiated and Conducted Emissions of ITE Equipment: EN 55022:98 ITE Disturbances), CB, BSMI Vision HAWK Smart Camera Guide...
  • Page 87 –29° to 70° C (–20° to 158° F) Temperature Humidity Up to 90% (non-condensing) Compliance CDRH, FCC, UL/cUL, CE (General Immunity for Light Industry: EN 55024:1998 ITE Immunity Standard; Radiated and Conducted Emissions of ITE Equipment: EN 55022:98 ITE Disturbances), CB, BSMI Vision HAWK Smart Camera Guide...
  • Page 88: Dimensions

    Appendix General Specifications Dimensions Vision HAWK Smart Camera Dimensions FIGURE C–1.  Note: Nominal dimensions shown. Typical tolerances apply. Vision HAWK Smart Camera Guide...
  • Page 89 Dimensions Vision HAWK C-Mount Smart Camera Dimensions FIGURE C–2. Note: Nominal dimensions shown. Typical tolerances apply. Vision HAWK Smart Camera Guide...
  • Page 90: Field Of View And Working Distance

    Appendix General Specifications Field of View and Working Distance C-10 Vision HAWK Smart Camera Guide...
  • Page 91: Web Hmi

    Visualization HMIs.The Vision HAWK features a built in runtime monitoring web page that can be viewed from any supported browser on the same network. Supported browsers include: • Internet Explorer 5.0 or later • Firefox 3.0 or later Vision HAWK Smart Camera Guide...
  • Page 92 161.218.121.58 (example only, actual IP address of the Vision HAWK should be used) If no previous settings have been set by the user, the display will be similar to the following: Vision HAWK Smart Camera Guide...
  • Page 93 If the button is not selected, both the image and counters are frozen. • Refresh Push Button – pushing this button manually updates the image and counters • Status – the run status of the inspection – RUNNING or STOPPED Vision HAWK Smart Camera Guide...
  • Page 94: Adding Options To The Base Url

    This is a setting that can have the value “on” or “off”. As an example, to turn the display of graphics off, the web page can be launched with the following URL: http:// 161.218.121.58/?graphics=off Vision HAWK Smart Camera Guide...
  • Page 95: Layout Options

    AutoVISION. They are displayed for applications created in Visionscape FrontRunner. Layout Options The overall layout of the Runtime Page can be configured. To change the layout, use the Settings screens as described in the next section. The following shows a default configuration: Vision HAWK Smart Camera Guide...
  • Page 96 The following illustrates that the layout has been changed to position the counters at the top, shown without titles to save room. Additionally, an Options button now appears in the right side area. Another example with buttons and counters at the top: Vision HAWK Smart Camera Guide...
  • Page 97: Settings Pages

    The tabs at the top of the screen can be used to navigate between the several setup pages. To close the setup screens and return to the main display, use the close button (“X”) at the upper right corner. Vision HAWK Smart Camera Guide...
  • Page 98 The Layout page controls many layout features, which are organized into groups. Selecting the Modes group results in the following options being displayed: Refer to the table below for a description of the various settings. The other groups of settings appear as follows: Image Display: Vision HAWK Smart Camera Guide...
  • Page 99 Buttons: Counters and Status: Extra Settings: Vision HAWK Smart Camera Guide...
  • Page 100 Appendix Web HMI As each option is checked or unchecked, the effect can be seen immediately by observing the layout of the Runtime Page shown behind the Options Setup Page. D-10 Vision HAWK Smart Camera Guide...
  • Page 101 Pressing the Defaults button will reset the stored settings to the original defaults the next time the page is launched. The Close button (“X” in upper right corner) will return to the main Runtime Page. Vision HAWK Smart Camera Guide D-11...
  • Page 102 If the report is shown in list form, each slot corresponds to one of 10 rows. Selecting a slot to configure results in the following display: D-12 Vision HAWK Smart Camera Guide...
  • Page 103 If no format string is specified, an appropriate default format is used. For example, for a LineDm, by default the datum value will be displayed as: A = value, B = value, C = value Vision HAWK Smart Camera Guide D-13...
  • Page 104: Style

    To set some of the more common styles, the combo boxes for Style, Size, Color, and Opacity can be used. The styles field will automatically be updated. D-14 Vision HAWK Smart Camera Guide...
  • Page 105: Additional Notes

    CSS. • A new Frontrunner feature allows copying a path of a datum to the clipboard. Right-click the Datum name in the DatumGrid display, and select the “Copy path to clipboard” option. Vision HAWK Smart Camera Guide D-15...
  • Page 106: Allen-Bradley Plc Setup Via Eds

    Allen-Bradley PLC Setup APPENDIX E via EDS This section describes how to set up an Allen-Bradley PLC via EDS file for use with the Vision HAWK. Vision HAWK Smart Camera Guide...
  • Page 107: Ab Rockwell Rslogix 5000 V20 Plc Integration With Eds

    This section was created and run on the following Allen Bradley/Rockwell components: • RSLogix 5000 Version 20.00.00 (CPR 9 SR 5) • 756-L61 ControlLogix5561 Controller, firmware rev 20.11 • 1756-ENBT/A EtherNet/IP interface card, firmware rev 4.1 Run the Rockwell “EDS Hardware Installation Tool”. Vision HAWK Smart Camera Guide...
  • Page 108 AB Rockwell RSLogix 5000 v20 PLC Integration with EDS Select Add: Select Browse: Vision HAWK Smart Camera Guide...
  • Page 109 Appendix Allen-Bradley PLC Setup via EDS Navigate to the VisionHAWK EDS file, then Open it. The default install location is C:\Microscan\Vscape\Firmware\EDS\Vision Hawk. Keep clicking Next > until the Finish button is displayed: Vision HAWK Smart Camera Guide...
  • Page 110 AB Rockwell RSLogix 5000 v20 PLC Integration with EDS Click Finish: Open RSLogix 5000 v20 and create the I/O Configuration for the base system, including the system’s Ethernet interface: Vision HAWK Smart Camera Guide...
  • Page 111 Appendix Allen-Bradley PLC Setup via EDS Right click on Ethernet and select New Module: The Select Module Type dialog is displayed: Vision HAWK Smart Camera Guide...
  • Page 112 AB Rockwell RSLogix 5000 v20 PLC Integration with EDS Clear the Module Type Vendor Filters: Scroll down the Module Type Vendor Filters until Microscan comes into view, then select Microscan: Vision HAWK Smart Camera Guide...
  • Page 113 Appendix Allen-Bradley PLC Setup via EDS Click the required camera and select Create: The New Module dialog is displayed. Type a unique name for this camera and its IP address: Vision HAWK Smart Camera Guide...
  • Page 114 AB Rockwell RSLogix 5000 v20 PLC Integration with EDS Go to the Connection tab and set the Requested Packet Interval required for the application: Vision HAWK Smart Camera Guide...
  • Page 115 Allen-Bradley PLC Setup via EDS Click OK, verify the camera was added to the Ethernet network, then open the Controller Tags to verify that :I and :O tag set were created: Open the Main Routine: E-10 Vision HAWK Smart Camera Guide...
  • Page 116 AB Rockwell RSLogix 5000 v20 PLC Integration with EDS Right click on rung 0, and select Import Rungs: Navigate to the VisionHAWK 32-000003-lx.L5X file and select Import. The default install directory is C:\Microscan\Vscape\Tutorials and Samples\Vision Hawk\EIP demo. Vision HAWK Smart Camera Guide E-11...
  • Page 117 Appendix Allen-Bradley PLC Setup via EDS The Import Configuration dialog is displayed: Select Tags: E-12 Vision HAWK Smart Camera Guide...
  • Page 118 In the Final Name column, click on VisionHAWK:I, then click on the down arrow that shows up on the right: Double-click on the Mscan MV:I (or whatever name that was assigned to the device) tag: Vision HAWK Smart Camera Guide E-13...
  • Page 119 In the “Final Name” column, click on Mscan_MV:O, then click on the down arrow that shows up on the right: Double click on the Mscan_MV:O (or whatever name that was assigned to the device) tag: Click OK and the Main Routine and User Defined tags will be populated: E-14 Vision HAWK Smart Camera Guide...
  • Page 120 AB Rockwell RSLogix 5000 v20 PLC Integration with EDS Delete any empty rungs (check rung 0): Download the project to the PLC: Put the PLC into Run Mode: Vision HAWK Smart Camera Guide E-15...
  • Page 121 Appendix Allen-Bradley PLC Setup via EDS Open the Program Tag window and select “Monitor Tags”: E-16 Vision HAWK Smart Camera Guide...
  • Page 122 AB Rockwell RSLogix 5000 v20 PLC Integration with EDS Expand Mscan_MV_IO_user so that the Echo in the .IN.Status and .OUT.Control structures are visible: Vision HAWK Smart Camera Guide E-17...
  • Page 123 For a more detailed overview of the demo code and vision job, please see the associated appendix Demo PLC Code. To send a trigger to the camera, scroll to Mscan_MV_IO_user.Control.Trigger: E-18 Vision HAWK Smart Camera Guide...
  • Page 124 The user of the demo code can know that the camera was triggered when the Trigger control changes to 0. All processing is done when the counter Mscan_MV_dv_fall_count increments, along with the pass/fail counters in the Mscan_MV_demo_xxxx tags. For example: Vision HAWK Smart Camera Guide E-19...
  • Page 125 Appendix Allen-Bradley PLC Setup via EDS E-20 Vision HAWK Smart Camera Guide...
  • Page 126: Allen-Bradley Plc Setup Via Generic Ethernet Module

    Allen-Bradley PLC Setup APPENDIX F via Generic Ethernet Module This section describes how to set up an Allen-Bradley PLC via Generic Ethernet Module for use with the Vision HAWK. Vision HAWK Smart Camera Guide...
  • Page 127: Prepare The Plc: Integrate The Camera Into A Plc Environment

    RSLogix v19 and v20 may look slightly different than the screen shots shown, but the integration process is still valid. Create the I/O Configuration for the base system, including the system’s Ethernet interface: Add the camera by right-clicking on the Ethernet interface, and select “New Module”: Vision HAWK Smart Camera Guide...
  • Page 128 “Comm Format” = “Data – DINT” “Input” “Assembly Instance” = 102 “Input” “Size” = 80 “Output” “Assembly Instance” = 114 “Output” “Size” = 80 “Configuration” “Assembly Instance” = 1 “Configuration” “Size” = 0 (none) Click OK when done. Vision HAWK Smart Camera Guide...
  • Page 129 Appendix Allen-Bradley PLC Setup via Generic Ethernet Module Example: Configure the “Required Packet Interval (RPI)” and click OK. Vision HAWK Smart Camera Guide...
  • Page 130 10 ms is the minimum allowed by the camera, 20 ms or higher is recommend, as required by the application: Double-click on the “Controller Tags” item, and verify VH’s :I and :O tags appear in the Controller Tags window: Vision HAWK Smart Camera Guide...
  • Page 131 Appendix Allen-Bradley PLC Setup via Generic Ethernet Module Open the “Main Routine”: Right-click on the top rung and select “Import Rung”: Vision HAWK Smart Camera Guide...
  • Page 132 Navigate to the “32-000003-lx.L5X” file and click “Import”: At the “Import Configuration” window, find the Module Name that was assigned to the Generic Module. Here the module name is “Mscan_MV”: Vision HAWK Smart Camera Guide...
  • Page 133 Note the “*” that appears on the far left of the dialog box for the Mscan_MV:I line: Click on Mscan_MV:O, then click on the down-arrow, then double click on the “Mscan_MV:O” that appears below it: Vision HAWK Smart Camera Guide...
  • Page 134 Note the “*” that appears on the far left of the dialog box for the Mscan_MV:O line: Click OK. Delete any empty rungs (rung 0 may be empty): The tags and main program are now configured sufficiently to test communication with the camera. Vision HAWK Smart Camera Guide...
  • Page 135 Appendix Allen-Bradley PLC Setup via Generic Ethernet Module Select the control button next to “Offline”, and select “Download”: F-10 Vision HAWK Smart Camera Guide...
  • Page 136 Once the program has downloaded, make sure the PLC is in Run Mode: To open the Program Tags, double-click on “Program Tags”, then select the “Monitor Tags” tab at the bottom of the tag window: Vision HAWK Smart Camera Guide F-11...
  • Page 137 Appendix Allen-Bradley PLC Setup via Generic Ethernet Module Expand Mscan_MV_IO_user so that the .IN.Status and .OUT.Control structures are visible, then scroll the window so Mscan_MV_IO_user.OUT.Control.Echo is visible: F-12 Vision HAWK Smart Camera Guide...
  • Page 138 Change .OUT.Control.Echo to non-zero: Scroll the window so Mscan_MV_IO_user.IO.IN.Status.Echo is visible, and verify it is the same value as the .OUT.Control.Echo: Vision HAWK Smart Camera Guide F-13...
  • Page 139 Mscan_MV_demo_xxxx tags, and clear the DataValid status signal. The user can know that the camera was triggered when the Trigger control changes to 0. The user can know that all processing is done when the F-14 Vision HAWK Smart Camera Guide...
  • Page 140 Mscan_MV_dv_fall_count increments, along with the pass/fail counters in the Mscan_MV_demo_xxxx tags. For example: Vision HAWK Smart Camera Guide F-15...
  • Page 141 (long101 and long102) tools in the same way they were configured in AutoVISION during Try Out. Note the Description column. It offers a hint for what each linked tag does for the vision job. F-16 Vision HAWK Smart Camera Guide...
  • Page 142 “Passed” and “Failed” results. The camera’s illumination lights will not flash when triggered. The Inspection results can be seen in the PLCs’s IN tags, and well as in AutoVISION. Open the RSLogix tag window so Mscan_MV_IO_user.IN.Status and bool are visible. Vision HAWK Smart Camera Guide F-17...
  • Page 143 Appendix Allen-Bradley PLC Setup via Generic Ethernet Module This example shows a “Passed” inspection, where the following tags are all 1: IN.Status.InspStat IN.bool.bool1 (Measure status) IN.bool.bool2 (decode+matchcode status) IN.bool.bool3 (count blob status) F-18 Vision HAWK Smart Camera Guide...
  • Page 144 If you scroll down to the IN.long, float and string values, you will see the literal results of the vision tools: Vision HAWK Smart Camera Guide F-19...
  • Page 145 Appendix Allen-Bradley PLC Setup via Generic Ethernet Module This is equivalent to the AutoVISION inspection result: This example shows a “Failed” inspection, where every tool reports a fail: F-20 Vision HAWK Smart Camera Guide...
  • Page 146 This is the Failed inspection’s literal data: Vision HAWK Smart Camera Guide F-21...
  • Page 147 Appendix Allen-Bradley PLC Setup via Generic Ethernet Module This is equivalent to the AutoVISION inspection report: F-22 Vision HAWK Smart Camera Guide...
  • Page 148 The Decode tool can be parameterized so it always fails, either due to no decode, or a matchcode mismatch. Scroll the tag window so OUT.long, float and string are visible, then change them as shown here: Vision HAWK Smart Camera Guide F-23...
  • Page 149 (Measure status) and bool3 (count blob status) = 1 Why: The inspected values are now in tolerance. InspStat = 0 Why: The Decode tool fails, so the overall Inspection result is a Fail. PLC tags: This concludes the EtherNet/IP demo. F-24 Vision HAWK Smart Camera Guide...
  • Page 150: Demo Plc Code

    Demo PLC Code APPENDIX G This section describes how to use Microscan demo PLC code with a vision job and camera target. The EIP demo files can be found where AutoVISION is installed, in the folder C:\Microscan\Vscape\Tutorials and Samples\Vision Hawk\EIP demo.
  • Page 151: Glossary Of Terms

    The PLC logic code written by the end user or system integrator. Demo Code The PLC logic code distributed by Microscan that can be imported into the PLC’s ladder logic area. It encapsulates most of the device Control and Status management.
  • Page 152: Demo Setup

    Demo Setup Vision Job Setup The EIP demo files can be found where AutoVISION is installed, where the default folder is C:\Microscan\Vscape\Tutorials and Samples\Vision Hawk\EIP demo. Open EIP_demo.avp with AutoVISION. To use pre-defined images, select the camera icon on the Camera tool.
  • Page 153 Tool parameters must be specified. After job download, the tool parameters will be supplied by the PLC. Measure Tolerance: Decode Matchstring: Count Tolerance: With these tool parameter configured as shown, Try Out will show the following Pass/Fail results. Vision HAWK Smart Camera Guide...
  • Page 154: Description Of Plc Tags

    Allen-Bradley PLC Setup via EDS. refer to Description of PLC Tags Mscan_MV_demo_mode Purpose This is intended for demonstration purposes only, to modify the operation of the demo code. It allows the first-time user to control the device directly Vision HAWK Smart Camera Guide...
  • Page 155 Mscan_MV_trigger_delay_timer. Demo Code Usage Depending on the mode, the demo code will run the appropriate level of code. • In mode 0, only the IO exchange rungs are executed. All others are bypassed (ladder jmp). Vision HAWK Smart Camera Guide...
  • Page 156 Specific Control Guidelines GoOnline and GoOffline In order to take the camera Online and Offline, only one of these Controls can go active (change from 0 to 1), and be active, at any given time. Vision HAWK Smart Camera Guide...
  • Page 157 These Controls can be used to perform a job change, and query the active job slot. Refer to the CmdCode section of the EIP chapter for available command codes, command result codes, and a diagram of Vision HAWK Smart Camera Guide...
  • Page 158 To verify the camera is still “alive” during command execution, the Control.Echo can be incremented, and the Status.Echo will update accordingly. When the demo code automates the command process, the PLC integrator is responsible for the following steps: Vision HAWK Smart Camera Guide...
  • Page 159 Mscan_MV_CmdRest_last contains the returned data from the command (if any) Status.State has changed to 0 (Offline) or 1 (Online) ExeCmdAck is inactive (0) Status.Error is inactive (0) Put the camera online (if necessary), and continue with normal runtime operation. G-10 Vision HAWK Smart Camera Guide...
  • Page 160 Incremented by the demo code when a new trigger is issued to the camera over the EtherNet/IP interface (Trigger Control activated). Mscan_MV_trigger_err_count Incremented by the demo code if the user app attempts to trigger the camera when TriggerReady is not active. Vision HAWK Smart Camera Guide G-11...
  • Page 161 Bool2 = Decode+Matchcode status (pass/fail) Bool3 = Blob count status (pass fail) Long1 = Blob count Float1 = Measure value String1 = Decode text Long101 = Blob count minimum count tolerance Long102 = Blob count maximum count tolerance G-12 Vision HAWK Smart Camera Guide...
  • Page 162 Float101 = Measure lower tolerance Float102 = Measure upper tolerance String101 = Matchcode Each tag set records the following data for each vision job tool result received in the Inspection report: Vision HAWK Smart Camera Guide G-13...
  • Page 163 In this case, the demo targets should be printed approximately 2.5 inches (63 mm) wide by 1.6 inches (40 mm) tall, centered on white paper larger than the camera’s field of view, and presented to the camera with the Data Matrix symbol on the right: “Pass” Image G-14 Vision HAWK Smart Camera Guide...
  • Page 164: Run The Camera: Runtime Operation Of Ethernet/Ip Demo

    At this point in the evaluation, it is assumed that you have downloaded the demo vision job to the camera, your PLC is running the EIP demo code and is exchanging data with the camera. The PLC can now parameterize, trigger and monitor the camera over EtherNet/IP. Vision HAWK Smart Camera Guide G-15...
  • Page 165 Appendix Demo PLC Code G-16 Vision HAWK Smart Camera Guide...
  • Page 166: Serial Commands

    Serial Commands APPENDIX H This section provides descriptions of the serial commands that can be sent to the camera via TCP (Telnet) port, AutoVISION Terminal, or HyperTerminal. Vision HAWK Smart Camera Guide...
  • Page 167 Fail Return: On failure will return !ERROR followed by the reason for the failure. For example: !ERROR Tag matchstring66 not found GET {tagname} Gets value of a global tag. The tagname must correspond to one of the supported tags within the device. Vision HAWK Smart Camera Guide...
  • Page 168 Gets information about a tag or service. INFO with no arguments gets a list of services. INFO {service} gets a list of tags in that service. INFO {service.tagname} gets attributes of the tag as well as a list of subtags. Vision HAWK Smart Camera Guide...
  • Page 169 If omitted, the full image buffer is returned. ONLINE Starts all inspections. Vision HAWK Smart Camera Guide...
  • Page 170 Fail Return: Return !ERROR followed by the reason for the failure. For example: !ERROR No such trigger JOBSAVE [-slot=]n Save job to slot n. JOBLOAD [-slot=n][-r] Load job from slot n. -r = Start inspections. Vision HAWK Smart Camera Guide...
  • Page 171 ASSIGN [-automap] [-u] [-name=avp] [-range=n] [-count=n] {tagname} Assign marks a tag or range of tags as in use by an application. Once marked as in use, the application will avoid those tags when attempting to auto-assign another tag range. Vision HAWK Smart Camera Guide...
  • Page 172 For example, ASSIGN -automap -name=avp -range=10 -count=2 int101 will find the first set of 2 unassigned integers starting from int101 up to int110 and mark them as assigned by 'avp'. The index value is returned. Vision HAWK Smart Camera Guide...
  • Page 173 Appendix Serial Commands Vision HAWK Smart Camera Guide...
  • Page 174: Vision Hawk Boot Modes

    Vision HAWK Boot Modes APPENDIX I This section describes the Vision HAWK’s Diagnostic Boot Mode and Boot Error Mode. Vision HAWK Smart Camera Guide...
  • Page 175 AutoVISION or FrontRunner. At boot time, the system configures itself using a set of information known as boot parameters. To obtain a list of the current configuration’s boot parameters, issue the following command: [SAFE-KERNEL] BP_Dump() Vision HAWK Smart Camera Guide...
  • Page 176 OUTPUT 1, OUTPUT 2, and OUTPUT 3 LEDs on the front of the unit. Additionally, this mode is represented as a “BOOT_ERR” in the Network Overview tool. If you encounter this error condition, you will need to reload the firmware using the Smart Camera Firmware Update Tool. Vision HAWK Smart Camera Guide...
  • Page 177 Appendix Vision HAWK Boot Modes Vision HAWK Smart Camera Guide...

Table of Contents