Summary of Contents for Microscan Visionscape HE1600T
Page 1
® Visionscape Smart Camera HE1600T Guide Rev. 1H, Mar 2009 EM-40247-1H...
Page 2
What Is Covered? 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...
Page 3
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.
Contents PREFACE Welcome! Purpose of This Manual xi Manual Conventions xi Introduction CHAPTER 1 Product Summary 1-2 Features and Benefits 1-3 Applications 1-4 Package Contents 1-4 Visionscape® Smart Camera HE1600T Models 1-5 Effective Frame Per Second & Pipeline Operation Formulas 1-6 Triggering Rules for Single Channel Devices 1-7 Additional Flash &...
Page 6
Contents Visionscape® Smart Camera HE1600T 2-2 TCP/IP Port Connectivity 2-2 Serial Port Connectivity 2-4 Front Panel 2-5 Rear Panel 2-5 Mode/Status LEDs 2-6 Important Label Information 2-7 Power-on Sequence 2-8 Error Codes 2-8 Beeper 2-9 Mounting & Wiring the Visionscape® Smart Camera HE1600T 2-9 Mounting Using Front Block 2-9 Mounting Using Standard Mounting Block 2-10 Mounting Using Accessory Mounting Block 2-11...
Page 7
Contents Visualization HMIs CHAPTER 4 Settings Pages 4-4 Layout Options 4-5 Modes 4-7 Image Display 4-8 Buttons 4-9 Counters & Status 4-10 Extras 4-11 Report Tab & Setup Screen 4-13 Style 4-16 URL Tab 4-17 Miscellaneous Points 4-17 Displaying the Output of a Datum 4-18 Copying a Symbolic Name to the Clipboard 4-18 Pasting a Symbolic Name into the Report 4-19 Adding Options to the Base URL 4-21...
Page 8
Contents Specifications APPENDIX C Dimensions C-3 Setting Up Network Communications APPENDIX D Visionscape® Smart Camera HE1600T Connection Matrix D-3 Visionscape® Smart Camera HE1600T Boot Parameters D-4 Changing Network Parameters D-4 Updating Firmware on 1600T Cameras APPENDIX E Updating the Firmware with Smart Camera Update E-1 Updating the Firmware with the Bootloader E-3 Main Menu Items E-7 Modify User Parameters E-7...
Page 9
Contents Setting Up the PLC Program F-18 Configuring the Hardware F-18 Defining Data Types F-23 Add Controller Tags F-26 Add Program Tags F-28 Ladder Logic F-28 Run the Program F-30 Assembly Data F-31 Introduction to an “Assembly” F-31 Assembly Instance 100 (Input) F-31 DINT 0: 32 Bits of Camera VIO F-32 DINT 1: User Defined Tag Value F-32 DINT 2: Camera Status Register F-32...
Page 10
Contents Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Preface Welcome! PREFACE Purpose of This Manual ® This manual contains detailed information about the Visionscape Smart Camera HE1600T family. 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 12
Preface Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Chapter Introduction Product Summary ® The HE1600T, one of our Visionscape family of networked Smart Cameras, combines a rugged IP67 smart camera form-factor with the broad applicability, ® flexibility, and proven vision toolkit of Visionscape , and our line of high performance vision boards.
Features and Benefits • 1024x768 (XGA) images at a maximum rate of 30 frames/sec • 648x494 (VGA) images at a maximum rate of 60 frames/sec It also supports 8 opto idolated digital IO lines in addition to a dedicated light ®...
Chapter Introduction ® • Scaleability and full compatibility with Visionscape board line allows leveraging user training and application development investment Applications • Part presence/absence • Assembly verification • Inspection • Gauging • Part location/orientation detection • Alignment/guidance • Automatic ID (Data Matrix, bar code, OCR) Package Contents ®...
Visionscape® Smart Camera HE1600T Models ® Visionscape Smart Camera HE1600T Models ® Table 1–1 lists and describes the Visionscape Smart Camera HE1600T models, including acquisition modes and resolutions. ® Visionscape Smart Camera HE1600T Models & Resolutions TABLE 1–1. Number Model Resolution GMV-0HT16-0CM0G HE 1610TS...
Chapter Introduction Effective Frame Per Second & Pipeline Operation Formulas Use the following formula to calculate effective FrameRatePerSecond in a ® Visionscape Job: 1000.0 EFPS = ---------------------------------------------------------------------------------------------------- (IT IntegrationTime + VFT VendorFrameTime + VSO VS Overhead) in msec Where VS Overhead is typically: Interrupt Latency + Framework Overhead = 0.5 msec max 1000.0 EFPS =...
Chapter Introduction Triggering Rules TABLE 1–3. Job Structure Snapshot Triggers Behavior and Comments 1 Inspection/ 1st triggered only or Function without overruns, no Multiple Snapshots No triggers further action from external controlling device. 1 Inspection/ All triggered 1st triggered externally, remaining Multiple Snapshots self triggered from PicDone signal of previous Acquire.
Additional Flash & System Memory (HE1600T) Identifying Which Smart Camera You Have ® The label on the bottom of the Enhanced Visionscape Smart Camera HE1610 has a part number that indicates which Smart Camera you have, and what memory is in the Smart Camera: How to Identify Which Smart Camera You Have TABLE 1–4.
Chapter Introduction Jobs & Storage in Non-Volatile Memory The maximum Non-Volatile Memory area for Jobs is 16MB for the Enhanced ® Visionscape Smart Camera HE1600Te (32/128), and 4.8MB for the Standard ® Visionscape Smart Camera HE1600T (16/64). This includes the Job plus any support files if used in the AVP: •...
System Components CHAPTER 2 This chapter contains information about system components, and information to ® help you connect the Visionscape Smart Camera HE1600T. Specific information describes connectors, adapters, cables, pinouts, and signals. Note: There are no user serviceable parts inside. Basic Components ®...
Page 24
Chapter System Components ® Visionscape Smart Camera HE1600T Hardware Components TABLE 2–1. (Continued) Number Component Description 98-HT00-0CE0 HETENET-100 Cable, Ethernet M12-4 to RJ45 Ethernet Cable Length = 10m 98-HT00-0CE2 HETENET-020 Cable, Ethernet M12-4 to RJ45 Ethernet Cable Length = 2m 98-HT00-0CP0 HETPC-100 Cable, Power and Primary I/O M12-8 to pigtail...
Visionscape® Smart Camera HE1600T can connect to the camera, each one with their private peer-to-peer connection and each one monitored by a special *heartbeat* connection on port 49079 (see Table 2–2). ® Visionscape Smart Camera HE1600T TCP/IP Connectivity TABLE 2–2. Port Name Protocol Number...
Chapter System Components ® Visionscape Smart Camera HE1600T TCP/IP Connectivity TABLE 2–2. (Continued) Port Name Protocol Number Note Reports & 49202 Allow control over a Report Connection, in particular Statistics Control update rate and allows records to be added/removed Port from the connection.
Visionscape® Smart Camera HE1600T Special Characters (Continued) TABLE 2–3. Sequence Output Character \" Double quotation mark Backslash \ooo ASCII character in octal notation \xhhh ASCII character in hexadecimal notation Front Panel ® Figure 2–1 shows the front C-Mount Lens threads for the Visionscape Smart Camera HE1600T.
Visionscape® Smart Camera HE1600T Mode/Status LEDs FIGURE 2–3. Table 2–4 describes the mode and status LEDs. Mode/Status LEDs TABLE 2–4. Name Description LED Color TRIG Trigger LED Yellow PASS Pass LED Green FAIL Fail LED MODE Mode LED Yellow Power on LED Green LINK Ethernet Link...
Chapter System Components “HawkEyeXXXXXX,” where XXXXXX is the last six alphanumeric ® characters in its MAC address. So, for the Visionscape Smart Camera HE1600T with MAC address 00:60:33:E1:FF:FA, the default network name is “HawkEyeE1FFFA”. • Optional IntelliFind License Key (applies to HE1610TIS & HE1610TIH only) Power-on Sequence Each stage of the power-on sequence drives the LEDs in a binary up-count...
Visionscape® Smart Camera HE1600T Mode/Status LED Power-On Sequence & Error Codes TABLE 2–5. Mode Fail Pass Trig Test Performed • FPGA Video Buffer Test • • FPGA DMA Transfer Test • • FPGA Expose Done Interrupt Test • • • FPGA Read Done Interrupt Test Beeper ®...
Chapter System Components Locations for Mounting Using Front Block FIGURE 2–4. M4 x .7 x 10 Caution: Using screws that are too long for the threaded holes may damage ® the Visionscape Smart Camera HE1600T. The accessory mounting blocks use 10mm machine screws. Mounting Using Standard Mounting Block ®...
Visionscape® Smart Camera HE1600T Mounting Using Accessory Mounting Block ® You can mount the Visionscape Smart Camera HE1600T using the accessory mounting block (see Figure 2–6). The backward compatible mounting block ® positions a Visionscape Smart Camera HE1600T in the same position as a ®...
Chapter System Components ® Caution: Using longer screws may damage the Visionscape Smart Camera HE1600T. Field I/O Wiring Examples Input Opto Wiring Figure 2–8 shows the input opto wiring for isolated NPN and PNP sources. Trigger Input Opto Wiring (NPN and PNP) FIGURE 2–8.
Field I/O Wiring Examples Output Opto Wiring Figure 2–10 shows the output opto wiring for isolated input. GPIO Output Opto Wiring (NPN and PNP) FIGURE 2–10. Camera NPN Sink Camera PNP Source See Note 2 GPIO OUT COM 15-30V GPIO IN COM 15-30V GPIO x Signal...
Page 36
Chapter System Components GPIO Output Opto Wiring (Relay and PLC Inputs) FIGURE 2–12. GPIO OUT COM GPIO OUT COM 15-30V 15-30V GPIO x GPIO x Input See Note See Note GPIO IN COM GPIO IN COM GPIO IN COM typically connected to ground. Caution: The maximum current that can pass through the optoisolators is ®...
Page 37
Field I/O Wiring Examples ® Visionscape Smart Camera I/O Simplified Circuit Diagram FIGURE 2–13. opto input IN A Rin=18 Kohm±5% IN B opto output OUT 1 Ron=24 ohm typ. 35 ohm max. OUT 2 OUT 3 OUT COM GPIO OUT COM opto output GPIO 1 GPIO 2...
Chapter System Components External Strobe & Sensor For continuous motion or high-speed indexing applications, an external strobe and sensor may be required to freeze each part before the image can be acquired. 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.
Ethernet/IP Communications CHAPTER 3 ® This chapter contains information about Visionscape Smart Camera HE1600T support for Ethernet/IP (EIP) communications. Ethernet/IP is an industrial protocol that provides out of the box connectivity to Allen-Bradley PLCs for the HE1610T Smart Camera. Ethernet/IP provides two mechanisms for exchanging data between a PLC and a device: •...
Chapter Ethernet/IP Communications A/B Logix PLCs That Support Ethernet/IP I/O Messaging With this release only Allen-Bradley PLCs that are Ethernet/IP ready (i.e., Logix series PLCs) are supported using implicit messaging. Table 3–1 details the Controllers with required Interface modules that support Ethernet/IP Implicit (i.e., I/O) messaging.
Ethernet/IP IO Points Note: The PLC programmer needs to select the appropriate assembly/assemblies to manipulate the block of data within the PLC program. In this release, the block of data is made up of a fixed section containing 32 bit of IO points and a user- defined section.
Page 42
Chapter Ethernet/IP Communications at the time of the trigger for triggered inspections or the start of an inspection cycle for non-triggered inspections. The Inspection’s instance of the Input Assembly is written back to the system’s Input Assembly at the end of an inspection cycle. This is at the time when Data Valid is asserted at the end of the vision cycle.
Page 43
Binary Data Block INPUT Assembly (Instance 100) (80 bytes) OUTPUT Assembly (Instance 112) (80 bytes) DINT Meaning DINT Meaning User-defined tag value User-defined tag value Camera Status Register Camera Control Register Last Error Reserved 4...19 64 bytes of user data 4...19 64 bytes of user data INPUT Assembly (Instance 101) (416 bytes)
Page 44
Chapter Ethernet/IP Communications results in the Input Assembly to the Output Assembly that was latched at the start of the same inspection cycle. DINT 2: Camera Control Register Control Register Bit Definitions TABLE 3–2. Meaning Stop, transition 0->1 to stop inspections Start, transition 0->1 to start inspections Clear error, transition 0->1 to clear Last Error Clear command status, transition 0->1 to clear command stat...
Page 45
Binary Data Block DINT 3: Last Error Last Error returns the last error code sent to the Ethernet/IP subsystem. It will return all zeros if no error occurred. The last error code can be reset to zero by transitioning the Clear Last Error bit of the control register from zero to one. Error bits are allocated below: Mnemonic Mask...
Chapter Ethernet/IP Communications All data in the user-defined binary block is aligned on 4-byte boundary to match the tanglement rules expected by the PLC. Padding bytes are added (for STRING) as necessary so the next type following a STRING is 4 bytes aligned. User Data Block Accessor Perl Tools Two Perl scripts (BinaryBlockRead &...
Page 47
Binary Data Block byte boundary by the tool with respect to the beginning of the user-defined binary block. • Add Datum Type — List of Datum types for mapping bytes in the binary block to Datums and vice-versa as shown below: Rev.
Page 48
Chapter Ethernet/IP Communications – Perl Tool - BinaryBlockRead - Add Datum Type: • BOOL (4 bytes) — Can be connected to a StatusDm (Checkbox). Note: The boolean value should be read from bit 0 of the DWORD on the PLC. The state of the remaining bits 1 through 31 is not guaranteed. •...
Page 49
Binary Data Block – Perl Tool - BinaryBlockWrite - Add Datum Type: • BOOL (4 bytes) — Can be connected to a StatusDm (Pass/Fail). • INTEGER (4 bytes) — Can be connected to an IntDm (Counters, etc…). • FLOAT (4 bytes) — Can be connected to a DoubleDm (Score, etc…).
Page 50
Chapter Ethernet/IP Communications The Example String of length 12 shown below actually uses 16 bytes in the block: • Add Datum Reference At End — Adds a Datum Reference of type “Add Datum Type” at the end of the datum list. The reference can then be connected to point to a particular Datum in the .
Page 51
Binary Data Block • Datum Reference to Edit/Remove — Specify the Datum reference by index that is selected for Editing or Removal (as described in the previous two bullets). • Delete Data Reflist — Deletes the entire block datum reference list, i.e. deletes the mapping from Binary Block to Datums (BinaryBLockRead) or the mapping from Datums to Binary Block (BinaryBlockWrite), hence allowing the mapping to be reconstructed.
Chapter Ethernet/IP Communications Example Ethernet/IP Read/Write Test This reads the match string from the Network through Ethernet/IP at the beginning of each cycle and sets it in a Data Matrix tool. The decode string, position and status of the Data Matrix tool are sent at the end of each cycle to the Network through Ethernet/IP as results.
Visualization HMIs CHAPTER 4 ® This chapter contains information about Visionscape Smart Camera HE1600T support for Visualization HMIs. The HE1600T features a built in runtime monitoring web page that can be viewed from any supported browser on the same network. Supported browsers include: •...
Page 54
Chapter Visualization HMIs The default behavior is: • Images and counters are for the first inspection in the job • All images (pass & fail) are shown • The display is refreshed automatically at regular intervals (auto=on) • Graphics are overlaid on the image Note: For performance reasons, not all graphics are available when viewing images on the web page.
Page 55
Main HMI Window FIGURE 4–1. The web page includes the following elements: • Title Bar — Displays the name and IP address of the camera, and the name of the job (AVP). Note that the file extension (.avp) is removed from the displayed file name.
Page 56
Chapter Visualization HMIs • Status — The run status of the inspection (RUNNING or STOPPED). • Counters — Displays the Total, Pass, Fail and Alarm counters for the selected inspection. Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Settings Pages Settings Pages You can configure all the options and settings using the settings pages. By default, the Settings button is not displayed; to display the Settings button, see Figure 4–8, “Buttons,” on page 4-9. To display the settings pages, specify the URL with the “setopt=1” parameter: http://ip_address/?setopt=1 This will display the Runtime Page overlayed with the Options Setup page: Options Setup Page...
Chapter Visualization HMIs Layout Options You can configure the overall layout of the Runtime Page via the Settings pages. Figure 4–3 shows a default configuration: Default Configuration FIGURE 4–3. Buttons, status, and counters appear to the right of the image area. The buttons are sized for use via a touch screen.
Page 59
Settings Pages Buttons at Right & Counters & Status Above Image FIGURE 4–4. Another example with buttons and counters at the top: Status, Counters, & Buttons Displayed Above Image FIGURE 4–5. It is also possible to hide all elements except the image. Rev.
Chapter Visualization HMIs Modes Selecting the Modes group results in the following options being displayed: Modes FIGURE 4–6. • Launch in Auto Mode — Determines whether or not the Runtime Page defaults to be in auto-refresh mode when launched. The default is On. •...
Settings Pages Image Display Image Display FIGURE 4–7. • Fit Image Height/Fit Image Width — These two settings determine how the image is scaled to fit the display area. If both are off, then no scaling is performed and the image is displayed 1:1. If both are on, then auto scaling is performed, fitting the width or height depending on which fits the display area better.
Chapter Visualization HMIs Buttons Buttons FIGURE 4–8. • Show Auto Button — If on (default), the Auto button is shown. • Show Buttons in Minibar — If on, the buttons are shown in the Minibar area, which appears under the titlebar. If off (default), the buttons will be shown to the right of the image area.
Settings Pages Counters & Status Counters & Status FIGURE 4–9. • Show Alarms Counter — If on (default), the alarms counter is shown. • Show Counters in Minibar — If on, the counters are shown in the Minibar area, which appears under the titlebar. If off (default), the counters will be shown to the right of the image area.
Chapter Visualization HMIs Extras Extras FIGURE 4–10. • Delay 500ms Between Images — If on, delays 500ms between image captures. • Show Debug Log Tab — If on, the Log tab is displayed to the right of URL. Click on the Log tab to display information that will be helpful for debugging purposes: 4-12 Visionscape®...
Page 65
Settings Pages • Show Report in List Format — If on, the report is shown in tabular form below the image. If off (default), the report is overlayed on top of the image. • Show Titlebar — If on (default), the titlebar is shown. 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.
Chapter Visualization HMIs Report Tab & Setup Screen NOTE: Changing the report configuration requires reloading the web page in order to take effect. The Report Tab displays the Report Setup screen: Report Setup Screen FIGURE 4–11. Data Values from datums in the selected inspection can be formatted and overlaid on the displayed image or shown in a table below the image (see “Displaying the Output of a Datum”...
Page 67
Settings Pages Slot 1 Selected FIGURE 4–12. At a minimum, you must specify the path to a datum. The inspection is implied, so it is not in the path. In the example above, the path Snapshot1.Blob1.BlbFlt1.CentPt is specified in the first slot. Note: For more information, see “Copying a Symbolic Name to the Clipboard”...
Page 68
Chapter Visualization HMIs For array values, each element of the array will be passed in turn to the format string. For example, if a PointDm is being used, there are four expected array values corresponding to X, Y, angle, scale. (The order is the same as for variant access via VB).
Settings Pages Style The default display of a report value is left justified, and uses a default font and color. If so desired, all visual aspects of the displayed report value can be modified. If the Style field is used, it has the format: style:value,style:value,…...
Chapter Visualization HMIs URL Tab Selecting the URL tab brings up the following display: URL Display FIGURE 4–13. The displayed URL can be copied and then used in a browser window to completely replicate the current setup. Miscellaneous Points • You can insert line breaks into format strings by using embedded HTML codes.
Displaying the Output of a Datum Displaying the Output of a Datum Copying a Symbolic Name to the Clipboard Use the following procedure to copy a symbolic name to the Clipboard: In FrontRunner, stop your Job if it’s still running. Click Editor.
Chapter Visualization HMIs Pasting a Symbolic Name into the Report Use the following procedure to paste a symbolic name into the report: Go to your web browser. Click Settings. If the Settings button is hidden: Type the following: http://ip_address/?setopt=1 Go to Layout > Buttons and click (to select) Show Settings Button. Click Report.
Page 73
Displaying the Output of a Datum Click Close (“X”) at the upper right corner. You will see a screen similar to the following: HMI Screen w/Datum Output Displayed Over Passed Image FIGURE 4–16. If you’ve selected Show Report in List Format (under image), you will see a screen similar to the following: HMI Screen w/Datum Output Displayed Below Failed Image FIGURE 4–17.
Chapter Visualization HMIs Adding Options to the Base URL Specify an option by adding it to the end of the URL: http://ip_address/?option=value Note: Don’t forget the “?” separating the URL from the optional parameter(s). Specify additional options by separating them with the “&” character: http://ip_address/?option1=value1&option2=value2&option3=value3 Basic Options Note: Some basic options can be changed by specifying optional values at the...
Optics & Lighting CHAPTER 5 This chapter contains information specific to the Optics and Lighting options for ® the Visionscape Smart Camera HE1600T. ® Visionscape Smart Camera HE1610T Smart Camera FIGURE 5–1. Rev. 1H, Mar 2009 Visionscape® Smart Camera HE1600T Guide...
Chapter Optics & Lighting Optics (1610T Only) ® The Visionscape Smart Camera HE1610T uses C-Mount lenses. Table 5–1 contains lens sizes and Microscan part numbers. Lens Sizes and Microscan Part Numbers TABLE 5–1. Part Number Size 98-92800571 Lens: 8.5mm 98-92800572...
Lighting Connector Lighting Connector For complete information about the Light Port Connector, see “Light Port Connector” on page A-5. Rev. 1H, Mar 2009 Visionscape® Smart Camera HE1600T Guide...
Page 78
Chapter Optics & Lighting Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Connector Pinouts APPENDIX A ® This appendix contains information about the Visionscape Smart Camera HE1600T connectors: • “Power & Primary I/O Connector” on page A-1 • “Serial & Secondary I/O Connector” on page A-3 • “Ethernet Connector” on page A-4 •...
Power & Primary I/O Connector Mating Cable TABLE A–1. Supplier Part Number Description Microscan 98-HT00-0CP0 Connector Type M12 8 Pin A Coded, Female Cable 10M Table A–2 describes the Power and Primary I/O connector signals. Power & Primary I/O Connector Signals TABLE A–2.
Table A–3 lists the supplier for the Serial and Secondary I/O connector mating connector and cable. Serial & Secondary I/O Connector Mating Cable TABLE A–3. Supplier Part Number Description Microscan 98-HT00-0CS0 Connector Type M12 8 Pin A Coded, Male Cable 10M Rev. 1H, Mar 2009 Visionscape® Smart Camera HE1600T Guide...
Table A–5 lists the supplier for the Ethernet connector mating connector and cable. Ethernet Connector Mating Cable TABLE A–5. Supplier Part Number Description Microscan 98-HT00-0CE0 Connector Type M12 4 Pin D-Coded, Male Cable 10M (Unshielded) 98-HT00-0CE2 Connector Type M12 4 Pin D-Coded, Male Cable 2M (Unshielded) Table A–6 describes the Ethernet connector signals.
Page 84
Table A–7 lists the supplier for the Light Port connector and cable. Light Port Connector Mating Cable TABLE A–7. Supplier Part Number Description Microscan 98-HT00-0CL5 Connector Type M5 4 Pin, Male Cable 5M Table A–8 describes the Light Port connector signals. Light Port Connector Signals TABLE A–8.
Visionscape® Smart Camera HE1600T Connectors ® QuickSet Switch Note: On earlier production units only. The QuicSet function is not used on the ® Visionscape Smart Camera HE1600T. Figure A–5 shows the location of the QuicSet switch and access screw. ® QuicSet Switch &...
Page 86
Appendix Connector Pinouts Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Cable Specifications APPENDIX B ® This appendix contains information about the Visionscape Smart Camera HE1600T cables. Note: Cable specifications are published for information only. We do not guarantee the performance or quality of cables provided by other suppliers. Cable Part Numbers & Descriptions TABLE B–1.
Appendix Cable Specifications Power & Primary I/O Cable FIGURE B–1. W h i t e O p t o 1 O u t B r o w n O p t o 2 O u t C o n n e c t o r : G r e e n O p t o 3 O u t M 1 2 x 8 P i n A C o d e d ( F )
Page 89
HETAC-100 - Serial & Secondary I/O Cable Table B–3 describes the signals for the HETAC-100 Serial and Secondary I/O cable. HETAC-100 Serial & Secondary I/O Cable Signals TABLE B–3. M12 Pin Signal Name Wire Color Description GPIO 3 White General Purpose I/O 3 GPIO 4 Brown General Purpose I/O 4...
Appendix Cable Specifications HETENET-XXX - Ethernet Cable The Ethernet cable has an M12 x 4 Pin D Coded male connector on one end, and a male RJ-45 connector on the other end. Figure B–4 shows the HETENET-XXX Ethernet cable. HETENET-XXX Ethernet Cable FIGURE B–4.
Page 91
HETLC-050 - Lighting Control Cable HETLC-050 Lighting Control Cable FIGURE B–5. C o n n e c t o r : B r o w n L i g h t O u t M 5 x 4 P i n C o d e d ( M ) W h i t e L i g h t R t n...
Page 92
Appendix Cable Specifications Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Specifications APPENDIX C ® This appendix contains specifications and dimensions for the Visionscape Smart Camera HE1600T camera and its mounting blocks. Specifications TABLE C–1. HE1600TS HE1610TH HE1610TIS HE1610TIH Height 45.50mm (1.791") Width 65.00mm (2.559") Depth 128.40mm (5.055") Weight 0.82kg (1.85 lbs) Power 20.4 to 28.8 volts 24 volts @ 250ma Nominal (not including external lighting)
Page 94
Appendix Specifications Specifications (Continued) TABLE C–1. HE1600TS HE1610TH HE1610TIS HE1610TIH Sensor 1/3 Inch CCD Cell Size 7.4µm (H) x 7.4µm (V) 4.65µm (H) x 4.65µm (V) Image Resolution 648 x 494 pixels, 256 grey levels (8 1024 x 768 pixels, 256 grey levels (8 bits per pixel) bits per pixel) Electronic Shutter...
Setting Up Network APPENDIX D Communications ® By default, the Visionscape Smart Camera HE1600T utilizes Dynamic Host Configuration Protocol (RFC2131) for dynamic IP addressing. You can also configure the camera to use a “static” IP address. Please contact your MIS department to determine if your network uses DHCP addressing.
Page 102
Appendix Setting Up Network Communications Select DHCP (“Obtain an IP address automatically”) or Static IP (“Use the following address”) and fill in a logical address and network mask, as shown in Figure D–1. Also, see Table D–1. Network Overview & Network Settings FIGURE D–1.
Visionscape® Smart Camera HE1600T Connection Matrix When you are done, click OK. The camera will be rebooted automatically for the changes to take effect. Note: All the Network parameters of the camera are stored in Non-Volatile memory and can also be modified from the Bootloader (a low-level diagnostics program) that can be invoked using HyperTerminal and a Serial connection.
Appendix Setting Up Network Communications To check a camera IP address, simply select the camera in FrontRunner Network Overview. To check a host PC IP address1: At the DOS prompt, type: ipconfig ® Visionscape Smart Camera HE1600T Boot Parameters ® The Visionscape Smart Camera HE1600T stores network and other parameters in Non-Volatile memory.
Page 105
Visionscape® Smart Camera HE1600T Boot Parameters For each parameter that is displayed, simply type in new information (to change the parameter), or press the Return key to display the next parameter. Eventually, you’ll see the message “Save parameters to flash? [y/n] - Type y and press the Return key.
Updating Firmware on 1600T APPENDIX E Cameras This appendix contains two procedures for updating your Smart Camera: • “Updating the Firmware with Smart Camera Update” on page E-1 • “Updating the Firmware with the Bootloader” on page E-3 Updating the Firmware with Smart Camera Update Note: Do not cycle power on the Smart Camera during this procedure.
Page 108
Appendix Updating Firmware on 1600T Cameras Smart Camera Update Main Screen FIGURE E–1. Select Camera Select Firmware Version In the top pull-down menu, select the Smart Camera you want to update. In the bottom pull-down menu, select the desired firmware version. Enter the user name (default is hawkeye) and password (default is vision) for the Smart Camera Click Update Firmware.
Updating the Firmware with the Bootloader Updating the Firmware with the Bootloader If power is lost while the Smart Camera Update is in progress, the Smart Camera will not boot when power is restored. When this occurs, you will need to use the Bootloader application in Non-Volatile memory (which is not erased by the Smart Camera Update utility) to update the firmware.
Page 110
Appendix Updating Firmware on 1600T Cameras Network Mask: 255.255.255.0 Gateway: 0.0.0.0 DHCP: 0 MAC Address: 00:60:33:e1:12:34 1. Modify User Parameters 2. Reset User Account 3. Exit to Application >> Type adv and press the Enter key. The advanced menu is displayed: Advanced Options Menu Diag Monitor V 1.01.00 ------------------------------...
Page 111
Updating the Firmware with the Bootloader Send File Dialog Box FIGURE E–3. Click Browse, and navigate to C:\Vscape\373_xx\AcuitySmartCam. Highlight filename.SEC. Click Open. In the Protocol: drop-down menu, select Xmodem. After you click Open, your screen should look similar to one in Figure E–4: Send File Dialog Box After Filename &...
Page 112
Appendix Updating Firmware on 1600T Cameras Xmodem File Send in Progress FIGURE E–5. When the file transfer terminates, you will see a screen similar to the one displayed in Figure E–6. Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Main Menu Items Xmodem File Send in Progress FIGURE E–6. Type q and press the Enter key to exit the advanced menu and return to the main menu. Type 3 and press the Enter key to exit the main menu. You’re finished.
Appendix Updating Firmware on 1600T Cameras Use DHCP: 0 - 1 Save parameters to flash? [y/n] - y Saving boot parameters to flash……done. Network Name — This is limited to 19 characters. Any input string longer • than 19 characters is truncated automatically to the first 19 characters. The string is erased by entering the '.' (period) character.
Error Codes Error Codes When the Smart Camera fails to boot (i.e., self tests fail), the beeper beeps continuously and the LEDs on the front of the unit flash the error code in binary form. Table E–1 describes the Mode/Status LED power-on sequence and error codes.
Ethernet/IP Communication APPENDIX F with ControlLogix PLCs This appendix describes how to connect an Allen-Bradley ControlLogix PLC to ® the Visionscape Smart Camera HE1600T. You should have a working knowledge of TCP/IP, the CIP protocol (Ethernet/IP), and Rockwell RSLogix 5000 software. For more information on the CIP protocol, visit www.odva.org. For more information on installing, configuring, and using RSLogix as well as identifying Rockwell-specific hardware, visit www.rockwell.com.
Appendix Ethernet/IP Communication with ControlLogix PLCs Overview of the System ® In this example, the Visionscape Smart Camera HE1600T will be decoding a Data Matrix. The image acquisition will be triggered by an Ethernet/IP IO point. The match string for the Data Matrix code will be sent from the PLC to the ®...
Overview of the System For this example application, the user data portion will contain a string of length 28 characters. Bytes 0-3 (or DINT 4) of the user data block contain the string length and bytes 4-31 (or DINTs 5-11) contain the string contents. The complete assembly is: DINT Contents...
Page 120
Appendix Ethernet/IP Communication with ControlLogix PLCs In this example, we will be storing Data Matrix results into the user data block of the assembly. We will be returning the center point of the Data Matrix code that is composed of three floating point numbers (X, Y, and angle). This data will be followed by the decoded string of the Data Matrix up to a length of 28 characters.
Programming the Visionscape® Smart Camera HE1600T ® Programming the Visionscape Smart Camera HE1600T ® Setting Up The Visionscape Smart Camera HE1600T To communicate via Ethernet/IP, it must be activated on the camera. Activate it using the Configure Device dialog box. The camera must be restarted before Ethernet/IP activation changes will take effect.
Appendix Ethernet/IP Communication with ControlLogix PLCs ® Setting Up the Visionscape Smart Camera HE1600T Job Acquisition ® Starting with a new job on the Visionscape Smart Camera HE1600T, first set up the image acquisition. As we defined in our IO Mapping definition previously, the trigger should be set to Virtual Point 129.
Programming the Visionscape® Smart Camera HE1600T ® Connecting the PLC Output Assembly Data to Visionscape Smart Camera HE1600T Datums Now we will insert a tool to read the match string data from the Ethernet/IP output assembly and connect it to the DMR tool. Clicking on the Data Matrix Tool in the Step Tree View, insert a Custom Step above the Data Matrix Tool.
Page 124
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–7. Several new properties will appear on the page (Figure F–8). FIGURE F–8. As previously defined, in this example there is a single string datum from bytes 0-31 of the user data portion of the output assembly. Since the string starts at byte 0, leave ‘First Datum Block Offset’...
Page 125
Programming the Visionscape® Smart Camera HE1600T FIGURE F–9. The 0 at the beginning of the name indicates a string starting at assembly byte location 0 of the user data block. The value 12 in the datum at the bottom of the property page indicates the default string length of 12 bytes.
Page 126
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–10. The property page should now show a single string datum starting at byte 0, of length 28 bytes that will be placed into the Data Matrix Tool Match String (Figure F–11). FIGURE F–11. F-10 Visionscape®...
Programming the Visionscape® Smart Camera HE1600T At this point, every time this inspection runs, the match string of the Data Matrix tool will be updated to reflect the string value in the Ethernet/IP output assembly at the time the inspection was triggered. ®...
Page 128
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–14. New properties will appear (Figure F–15): FIGURE F–15. Since we want to echo the user tag back inside of the user data block in this example, select the box labeled Include User Tag First (Figure F–15). As defined earlier, the Ethernet/IP input assembly user data block will contain the Data Matrix center point, decoded DMR string and the DMR pass/fail status.
Page 129
Programming the Visionscape® Smart Camera HE1600T FIGURE F–16. Then, choose Add Datum Type of String and click Add Datum Reference. Since we have allocated space for 28 characters in the data block, change the resource datum labeled Datum 2 (STRING) to 28 (Figure F–17). F-13 Rev.
Page 130
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–17. Finally, add a Boolean reference by selecting Add Datum Type BOOL and clicking Add Datum Reference. The resulting property page should look like the one in Figure F–18. Showing a Point data type taking bytes 4-15, a String data type from bytes 16-47, followed by a Boolean data type in bytes 48-51.
Page 131
Programming the Visionscape® Smart Camera HE1600T FIGURE F–18. Next, connect each of the datums to the source of the result. In the case of the Point, connect it to the Data Matrix Tool Center Point (Figure F–19). F-15 Rev. 1H, Mar 2009 Visionscape®...
Page 132
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–19. Similarly, connect the String to the Data Matrix Tool Text output and the Boolean to the Data Matrix Tool Status output. The resulting property page should look like the one in Figure F–20: F-16 Visionscape®...
Page 133
Programming the Visionscape® Smart Camera HE1600T FIGURE F–20. This step will now fill in the Ethernet/IP input assembly with the corresponding data at the end of each inspection cycle. ® The Visionscape job is now completed and ready to be downloaded to the camera.
Appendix Ethernet/IP Communication with ControlLogix PLCs Setting Up the PLC Program The RSLogix 5000 environment uses “tags” to represent all data in the PLC program, including communications. Setting up the PLC entails the following: Creating a project appropriate to the hardware configuration. ®...
Page 135
Setting Up the PLC Program FIGURE F–21. Once RSLogix 5000 creates the program, the Tree View displays different nodes for Tags, Tasks, etc. The last node in the tree is the “I/O Configuration”. Right- click on this and select “New Module...” to add the Ethernet Bridge to the configuration.
Page 136
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–22. This is specific to your hardware setup; you need to know what bridge module is being used in your system. After clicking OK, you need to set up the IP configuration of the module. Set a useful name for the Ethernet Bridge in the “Name:”...
Page 137
Setting Up the PLC Program FIGURE F–23. ® Now, you can add a module for the Visionscape Smart Camera HE1600T. Go back to the Tree and select the “Ethernet_Bridge” under the I/O Configuration, right-click it and select “New Module...” again. Then, you can select a “Generic Ethernet Module”.
Page 138
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–24. Click OK. The configuration dialog box for the generic module is displayed (Figure F–25). F-22 Visionscape® Smart Camera HE1600T Guide Rev. 1H, Mar 2009...
Setting Up the PLC Program FIGURE F–25. Enter “HE1600T” for the name. Enter the IP address of the camera. In this example, the static IP address of the camera is 10.2.1.20. For the I/O assemblies, the input assembly is instance 100, and it is 20 DINTs of data. The Output assembly is instance 112, and is also 20 DINTs of data.
Page 140
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–26. Name the string and set the Maximum Characters to 28. Including the 4 bytes of string length data, this will result in a total data size of 32 bytes. FIGURE F–27. Next, we will create a data structure to represent the results we will be receiving ®...
Page 141
Setting Up the PLC Program FIGURE F–28. Next, create the structure representing the input assembly contents. Again, right click on Data Types -> User Defined and select New Data Type. Add the data types in the same order as we previously defined the assemblies to be. •...
Appendix Ethernet/IP Communication with ControlLogix PLCs FIGURE F–29. Add Controller Tags Now that we have defined the data types we will need, we can add Controller Tags that will be placeholders to contain the data. Right click on Controller Tags in the tree and select Edit Tags.
Page 143
Setting Up the PLC Program FIGURE F–30. In this example, we have a single constant match string, so we will pre-define the match string contents in the controller tag. Right click on Controller Tags and select Monitor Tags and fill in the Value of the Match_String tag. In this example the string should read ‘Hello World on 9/9/08’.
Appendix Ethernet/IP Communication with ControlLogix PLCs Add Program Tags In this example, we will be creating a timed trigger, so we will need a TIMER and a place to store the current trigger state. From the program tree, double click on Tasks ->...
Page 145
Setting Up the PLC Program Next, we’ll copy the results in the input assembly to our controller tag Results. Again, we use the COP function to copy the 52 byte Input_Assembly structure from the user data portion of the input assembly to the Results tag. Finally, we’ll create a trigger event using a timer.
Appendix Ethernet/IP Communication with ControlLogix PLCs Run the Program Now, the program can be downloaded to the controller and put into run mode. If ® the camera is also running, the results from the Visionscape Smart Camera HE1600T can be viewed by clicking on the Controller Tags and selecting the Monitor tab.
Assembly Data Assembly Data Introduction to an “Assembly” Data on Ethernet/IP devices is represented in an object called an Assembly. Data is sent to or retrieved from the assemblies by using either explicit messages or implicit (Producer/Consumer) messages. • Explicit messages are messages you set up in your program to retrieve data at specific points in time.
Appendix Ethernet/IP Communication with ControlLogix PLCs DINT 0: 32 Bits of Camera VIO This 32 bit value maps to a subset of Virtual IO points on the camera (VIO 129 through VIO 161). The value of this register will always reflect the state of the corresponding IO points from the camera.
Assembly Data DINT 3: Last Error Last Error returns the last error code sent to the Ethernet/IP subsystem. It will return all zeros if no error occurred. The last error code can be reset to zero by transitioning the Clear Last Error bit of the control register from zero to one. DINT 4…19: User Data This contains 64 bytes of user defined data.
Appendix Ethernet/IP Communication with ControlLogix PLCs DINT 2: Camera Control Register Meaning Stop, transition 0->1 to stop inspections Start, transition 0->1 to start inspections Clear error, transition 0->1 to clear Last Error Clear command status, transition 0->1 to clear command stat 4…31 Reserved DINT 3: Reserved...
Page 151
Index alarm 4-10 failures 4-10 in minibar 4-10 memavail and memfrags 4-10 passed 4-10 titles 4-10 total 4-10 Delay 500ms Between Images 4-11 Adding Options to the Base URL Displaying 4-21 Additional settings pages flash system memory Explicit Messaging Assemblies Auto button Failures...
Page 152
Index counters 4-10 Options displaying output of a datum 4-18 basic hmi 4-21 extras 4-11 Output Opto Wiring 2-13 image display layout options main window Pass/Fail Border miscellaneous 4-17 Power Supply modes wiring 2-16 report tab 4-13 settings pages setup screen 4-13 QuicSet status...
Page 153
Index total counter 4-10 Smart Camera which do I have? Specifications cable Status LEDs show device 4-10 System Memory additional Tabs show debug log 4-11 4-17 Titlebar show 4-12 Tool Graphics show Updating Firmware E-1, F-1 Warp Image to Fit Display Wiring input opto 2-12...
Need help?
Do you have a question about the Visionscape HE1600T and is the answer not in the manual?
Questions and answers