Banner iVu Plus TG User Manual

Ivu plus series
Hide thumbs Also See for iVu Plus TG:
Table of Contents

Advertisement

iVu Plus User's Manual
Online Only - rev. B 1/25/2012

Advertisement

Table of Contents
loading

Summary of Contents for Banner iVu Plus TG

  • Page 1 iVu Plus User's Manual Online Only - rev. B 1/25/2012...
  • Page 2: Table Of Contents

    Contents Contents 1 Product Support and Maintenance .......................4 1.1 Product Support ................................4 1.2 Maintenance ..................................5 2 Overview of the Sensor .........................6 2.1 Typical iVu Applications ..............................6 2.1.1 Label Inspection ..............................6 2.1.2 Blister Pack Inspection ............................7 2.1.3 Vial Stopper Inspection .............................7 2.2 Installing the Sensor ..............................8 2.2.1 Installing and Connecting the Sensor...
  • Page 3 Contents 6.3.3 Verifying Basic Receive Functionality ......................81 7 Command Channel Primer ........................84 7.1 Command Channel Commands ..........................84 7.1.1 Command Flow ...............................84 7.1.2 String Delimiters and Escaping ........................85 7.1.3 Command Channel Command Synopsis ......................85 7.2 Conventions Used for Examples ..........................86 7.3 Examples ..................................86 7.3.1 Example 1: How to Trigger the Sensor and Retrieve Inspection Data using the Command Channel .....86...
  • Page 4: Product Support And Maintenance

    Plus User's Manual 1 Product Support and Maintenance This section provides general Banner resources and specific documentation for installers and operators of this iVu Plus TG Vision Sen- sor. WARNING: Not To Be Used for Personnel Protection Never use this product as a sensing device for personnel protection. Doing so could lead to seri- ous injury or death.
  • Page 5: Maintenance

    Avoid getting dirt on the imager (the area behind the lens). If the imager is dirty, use anti-static compressed air to blow off the dust. Updating the iVu Firmware The current version of iVu firmware is available for download from the Banner website. See the Banner Website for the firmware down- load link. Online Only - rev. B...
  • Page 6: Overview Of The Sensor

    iVu Plus User's Manual 2 Overview of the Sensor The iVu TG Image Sensor is used to monitor parts for type, size, orientation, shape, and location. No external PC is required to configure the sensor. Instead, the sensor has a color touch screen display (either integrated with the sensor or available as a remote display) that you can use to set up and monitor inspections.
  • Page 7: Blister Pack Inspection

    iVu Plus User's Manual To verify each product, an iVu Series sensor is configured for a Match inspection. An image of a good product package is captured. When the inspection is running, if the sensor detects a package with a different or missing label, the sensor sends a fail output to the line, and the product is rejected.
  • Page 8: Installing The Sensor

    2.2 Installing the Sensor 2.2.1 Installing and Connecting the Sensor The iVu Plus TG sensor requires a bracket for mounting. Three brackets are available from Banner. The brackets allow the sensor to be mounted either perpendicular to the part or at an adjustable angle.
  • Page 9 iVu Plus User's Manual Installing Filters on the iVu Series Sensor NOTE: Failure to follow these instructions can cause damage to your iVu Series sensor. To install a filter on the iVu Series sensor with Micro Lens, use the illustration as a guide and follow the steps listed below. Lens Focusing Window Locking Clip...
  • Page 10: Ivu Plus With Integrated Display

    iVu Plus User's Manual 5. Press the Focusing Window onto the housing to make sure that it seats correctly (that is, there is no gap between the window and housing. Rotate the window counter-clockwise at least two turns. 6. Replace the locking tab screw but do not tighten until you have set up and focused the sensor again. To install a filter on the iVu Series sensor with C-Mount Lens, use the illustration as a guide and follow the steps listed below.
  • Page 11: Ivu Plus With Remote Display

    iVu Plus User's Manual USB Connector Ethernet Connector Power I/O Connector NOTE: Microlens model shown, C-Mount model connections are identical. 2.2.3 iVu Plus with Remote Display The cable connections on the iVu Plus with remote display are shown below, and power I/O connections (B) are defined in the Power I/O Connections table below.
  • Page 12: Ivu Trigger, Remote Teach, And I/O Waveforms

    iVu Plus User's Manual Power I/O Connections Pin # Wire Color Description Direction Brown 10-30V dc Input Blue Common (Signal Ground) Input Pink External Trigger Input Gray Remote Teach Input White Output 1 Output Ready Output Yellow Strobe Out (5V dc only) Output Green Output 2...
  • Page 13 The sensor triggers from high to low, and Remote Teach behaves electrically like trigger. NOTE: If the device used to trigger or remote teach the iVu Plus TG is a sinking device (that is, NPN), then there are two options regarding the use of a pull-up resistor: Option 1: Put a pull-up resistor, rated approximately 1k ohm, between the sensor's positive (+) voltage and the sensor's input as shown below.
  • Page 14: Major Features

    2.3.1 Demo Mode The first time you power up the iVu Plus TG sensor, it starts in Demo Mode. Demo Mode uses stored images and inspection parameters that demonstrate how the sensor is set up without having to worry about focus, lighting, or triggers. In this mode, you can learn how to make adjustments working with the four sensor types while observing how the adjustments affect the sensor results.
  • Page 15 iVu Plus User's Manual features on a part, the number expected can be set as well. During the inspection, the sensor will verify that each part or package in- cludes the specified number of features. Some example applications include: • Inspections that check for drilled holes on a part •...
  • Page 16 iVu Plus User's Manual 2. Select either Area , Blemish, Match, or Sort. 3. Click the Home Screen icon in the upper-left corner of the screen to return to the Home screen. www.bannerengineering.com - tel: 763-544-3164 Online Only - rev. B...
  • Page 17: Multiple Inspections

    iVu Plus User's Manual 2.3.3 Multiple Inspections The iVu Plus supports multiple inspections that facilitate storing and controlling up to 30 inspections of different Sensor Types. Adding a New Inspection To Add a new stored inspection: 1. Go Main Menu > Inspection > Stored Inspections and click Add New. 2.
  • Page 18 iVu Plus User's Manual Changing Running Inspections To change the running inspection: 1. From the Home screen, click the Yellow button in the top center of the screen that displays the currently running inspection to display all the stored inspections. 2.
  • Page 19: Ivu Plus Communications

    Plus to match the settings of the external device. Communication Channels The iVu Plus TG supports up to four communications channels . To access the channels, go to . • Command Channel — a bi-directional communication protocol that currently supports ASCII and enables other devices to remotely control the iVu Plus sensor and access sensor results •...
  • Page 20: Main Menu Reference

    iVu Plus User's Manual 3 Main Menu Reference 3.1 Main Menu The Main Menu has four sections. Select: Inspection to modify inspection settings Imager to run the Auto Exposure routine and to make adjustments to functions like exposure, gain, and strobe. System to select the Sensor Type and to manage the device. Logs to configure and view System and Inspection Logs.
  • Page 21: Inspection Menu

    iVu Plus User's Manual Live Mode System Sensor Mode ROI Type Inspection Area Demo Mode Intensity Range Area Range Sensor Type selection determines first menu item under inspection Pass Count Sensor Configuration Save to USB Load from USB Reset to Defaults Blemish ROI Type Intensity Range...
  • Page 22 iVu Plus User's Manual Properties Menu Main Menu > Inspection > Properties The Properties menu is used to select a Sensor Type and specify an Inspection Name. Additionally, if the Sensor Type is Match or Sort, an option to define a timeout for the inspection. Sensor Type Screen Main Menu >...
  • Page 23 iVu Plus User's Manual Area Menu Main Menu > Inspection > Area When configured as an Area sensor, the sensor is used to ensure that one or more features of interest are present on a part. To configure as an Area sensor, set four parameters: ROI Type (Rectangle, Elliptical, or Circle) and size Intensity Range (range of gray scale values) of a feature of interest Area Range, or size, of a feature of interest Pass Count To see a working example of the sensor configured as an Area sensor, see Demo Mode.
  • Page 24 iVu Plus User's Manual Match Menu Main Menu > Inspection > Match When the sensor is configured as a Match sensor, set the ROI Type and size, as well as the Percent Match, Rotation Range, and Pass Count for the inspection. To see a working example of the sensor configured as a Match sensor, see Demo Mode.
  • Page 25 iVu Plus User's Manual Timeout Main Menu > Inspection > Properties > Timeout When the sensor type is set as Match or Sort, this screen provides for adjusting the maximum time the inspection is allowed to execute. A timeout error is reported in the case inspection runs out of time. If this value is set too high, the sensor can miss triggers while trying to detect a bad pattern.
  • Page 26 iVu Plus User's Manual Add New Inspection Screen Main Menu > Inspection > Stored Inspections > Add New This screen is used to add a new inspection. The sensor can store up to 30 inspections. When you add a new one, it will begin running.
  • Page 27 iVu Plus User's Manual Select Startup Inspection Screen Main Menu > Inspection > Stored Inspections > Startup This screen is used to select the inspection to use as the startup inspection; that is, the inspection the sensor will auto- matically start after power up. Click one the name of the inspection to select as the Startup inspection then click on the Set as Startup button that displays.
  • Page 28 iVu Plus User's Manual Motion Rotation Screen Main Menu > Inspection > Motion > Rotation Rotation can be Enabled or Disabled. Select Enabled if the part can be expected to rotate during the inspection. Motion Sensitivity Screen Main Menu > Inspection > Motion > Sensitivity Sensitivity is used to fine-tune how sensitive the sensor is to finding a reference edge.
  • Page 29 iVu Plus User's Manual Number Of Edges Screen Main Menu > Inspection > Motion > Number of Edges Use the radio buttons to select One Edge or Two Edges. If One Edge is selected, motion is tracked in one direction; if Two Edges is selected, motion can be tracked horizontally and vertically.
  • Page 30: Imager Menu

    iVu Plus User's Manual 3.3 Imager Menu Imager Menu Main Menu > Imager The Imager menu is used to access the Auto Exposure routine, manually adjust Exposure and Gain, set Trigger and Strobe options as well as the size of the field of view (FOV). Auto Exposure Screen Main Menu >...
  • Page 31 iVu Plus User's Manual Main Menu > Imager > Exposure Exposure is the amount of time the sensor allows light to energize the imager. Increasing the exposure time by moving the slider to the right allows more light to energize the imager, which brightens the image. External Strobe Screen Main Menu >...
  • Page 32 iVu Plus User's Manual The Focus Number displayed at the bottom of this screen is used to fine-tune image focus. Loosen the lock on the lens cover, turn the focus ring on the sensor until the Focus Number peaks (or the image appears sharp), then lock the focus ring.
  • Page 33 iVu Plus User's Manual The field of view (FOV) is the area that the sensor can see at the working distance. The working distance is the dis- tance from the sensor's lens cover to the part being inspected. By default, the field of view (FOV) is the entire sensor display.
  • Page 34 iVu Plus User's Manual The Internal Strobe setting configures the operation of the integrated ring light. Setting options are Always ON, Always OFF, or Exposure Based. If Exposure Based is selected, then the ring light is on during the time the sensor is capturing an image.
  • Page 35: System Menu

    iVu Plus User's Manual the inspection time, then missed triggers will occur. If External Trigger is selected, inspections are triggered in response to an electrical signal on the Trigger input line. If Free Run is selected, the sensor automatically runs continuous inspec- tions.
  • Page 36 iVu Plus User's Manual Advanced Display Setting Screen Main Menu > System > Display Settings > Advanced Enabling Optimize Display Response helps to make the display more responsive when the sensor is busy (either in- spection times are long and/or no idle time exists between inspections). Disable this feature if Missed Triggers occur due to touchscreen presses.
  • Page 37 iVu Plus User's Manual Data Export Channel Menu Main Menu > System > Communications > Data Export When the Data Export Channel is enabled, the sensor will transmit selected inspection data when triggered. Data Export To Export Screen Main Menu > System > Communications > Data Export > Data To Export The Data To Export screen is used to determine the information included in a data export.
  • Page 38 iVu Plus User's Manual Demo Mode Screen Main Menu > System > Sensor Mode > Sensor Mode The iVu Series sensor is operating in Demo Mode. In this mode, inspections are run on stored images and inspection parameters. This mode demonstrates how the sensor is set up without having to worry about focus, lighting, or triggers. In this mode, you can learn how to make adjustments working with the four sensor types while observing how the ad- justments affect the inspections.
  • Page 39 iVu Plus User's Manual Sensor Information Screen Main Menu > System > Stored Information The Sensor Information screen displays information like the sensor Serial Number, Firmware Version and Model Num- ber. Note that there is a field for the Sensor Name of the sensor. You may set the sensor name in English on the device.
  • Page 40 iVu Plus User's Manual Ethernet I/O Status Main Menu > System > Communications > Ethernet I/O > Status The Ethernet I/O Status screen can be used to verify that the Ethernet wiring has been correctly set up. In addition to determining if link has been established, incoming and outgoing traffic can be monitored.
  • Page 41 The Firmware Update screen is used to load the latest sensor firmware. The Firmware Update screen lists the firmware versions it finds in the BANNER\FIRMWARE folder on the USB drive. When you receive a firmware update from Ban- ner Engineering, be sure to put it in the BANNER\FIRMWARE folder on the USB drive.
  • Page 42 iVu Plus User's Manual Input Polarity Main Menu > System > Discrete I/O > Input Polarity The iVu has two input signals - —Trigger and Remote Teach. Both these signals are edge sensitive. The operation of these signals is dependent on the Input Polarity setting. •...
  • Page 43 iVu Plus User's Manual Main Menu > System > Discrete I/O > Output Type Select NPN to configure the sensor's outputs to sink current. Select PNP to configure the sensor's output for source current. LCD Timeout Screen Main Menu > System > Display Settings > LCD Timeout The LCD screen dims after a user-selectable period when it is not being used.
  • Page 44 iVu Plus User's Manual Output-2 can be configured for Pass, Fail, or Sort Pattern #2 The default setting is Pass and Latched for this output. For Latched, the signal is active until the results of an inspection cause a change in the signal output. If Pulse is selected, the default Pulse width is 50 ms.
  • Page 45 iVu Plus User's Manual Port Status Main Menu > System > Communications > Serial I/O > Status The Port Status screen can be used to ensure data is entering and exiting the sensor. This can be useful for debugging issues such as improper wiring, mismatched baud rates, or other serial I/O issues. Sensor Mode Screen Main Menu >...
  • Page 46: Logs Menu

    iVu Plus User's Manual Touchscreen Calibration Screen Main Menu > System > Display Settings > Touch Calibration Touchscreen Calibration may be necessary if the software does not correctly respond when an icon on the screen is pressed. The calibration routine aligns the touch screen's coordinates to the display behind it. Be sure to follow the prompts on the screen when executing the Touchscreen Calibration function.
  • Page 47 iVu Plus User's Manual Communication Logs Menu Main Menu > Logs > Communication Logs There are logs for each of the communications channels: -Industrial Ethernet -Command Channel -Data Export -Image Export Industrial Ethernet Log Main Menu > Logs > Communication Logs > Industrial Ethernet Log The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet/IP, Modbus/TCP or PCCC protocols.
  • Page 48 iVu Plus User's Manual The Communication Log will log the most recent Command communication activity. Each entry in the log includes a status indicator for the operation. A green indicator displays when the channel is enabled or disabled -- light-green when the channel is enabled, dark-green when the port is disabled.
  • Page 49 iVu Plus User's Manual Inspection Logs Menu Main Menu > Logs > Inspection Logs This menu provides for configuring and viewing Inspection Logs. Inspection Logs are stored inspection records that include a captured image, the parameters used to inspect it, and the results of that inspection. Up to ten Inspection Logs can be held in memory on the sensor.
  • Page 50 iVu Plus User's Manual Frame Inspection Log Main Menu > Logs > Inspection Logs > View Logs (click on a frame to view) The View Inspection Log screen is used to debug an inspection, and shows one inspection in read-only mode. Click the upper-left icon to cycle through views.
  • Page 51: Setting Up For An Inspection

    4 Setting up for an Inspection In order to set up for an inspection, you need to: 1. Select a Sensor Type. 2. Acquire a good image. 3. Set parameters depending on the Sensor Type. 4.1 Selecting a Sensor Type When you exit Demo Mode, the sensor reboots with a single inspection with a Match sensor type by default.
  • Page 52: Acquiring A Good Image

    • Capture the shape and form of the target object with lighting that optimizes its contrast and separates it from the background. Depending on the target, this may mean the integral ring light is not the best choice and other Banner lights should be consid- ered.
  • Page 53 iVu Plus User's Manual For Micro-lens Models Only: 1. Use the supplied 1/16" hex key to loosen the Focusing Window locking screw (D), then adjust focus on the iVu Series sensor using the clear Focusing Window (B). 2. Adjust focus while monitoring the focus number. To ensure the best image, adjust the focus until the Focus Number peaks.
  • Page 54: Configuring An Area Sensor

    iVu Plus User's Manual 4.3 Configuring an Area Sensor This section describes how to configure an Area sensor using the Demo application as a reference NOTE: By default, the Trigger is set to Internal, and will continously trigger based on a time interval setting. This may make it more difficult to make adjustments while setting up the sensor.
  • Page 55 3. Resize and move the ROI so that the feature of interest. Resize the ROI so that it surrounds just the feature of interest. In the Demo example, the feature of interest is the Banner logo as shown below. NOTE: When running an Area inspection, the sensor will only find objects within the ROI.
  • Page 56: Configuring A Blemish Sensor

    iVu Plus User's Manual 2. Move the slider at the bottom of the screen to the to the desired area range. In the Demo example, the Area Range is adjusted so that each letter is identified as a found object (indicated by the green hightlights and the blue +). •...
  • Page 57 Resize the ROI so that the feature of interest. Resize the ROI so that it surrounds just the feature of interest. In the Blemish Demo example, the feature of interest includes the two irregular shapes below the Banner logo. 2. Click anywhere outside the ROI to deselect it.
  • Page 58: Configuring A Match Sensor

    iVu Plus User's Manual 2. Move the slider at the bottom of the screen to the to the desired Edge Length Range. You can zoom in to refine the range. • Set the Pass Count parameter. The sensor aggregates all the edge pixels that fall within the Edge Length Range and indicates the value with a small colored bar at the bottom of the page.
  • Page 59 Resize and move the ROI so that the feature of interest. Resize the ROI so that it surrounds just the feature of interest. In the Demo example, the feature of interest is the Banner logo as shown below. Online Only - rev. B...
  • Page 60 iVu Plus User's Manual NOTE: When running a Match inspection, the sensor will look for any possible patterns to match anywhere within the Field of View. d. Click the Teach icon to teach the sensor this good reference part. With Annotations Enabled, the screen will highlight in green the pattern found.
  • Page 61 iVu Plus User's Manual • Adjust the Rotation Range. Note that the smaller the rotation range, the faster the inspection will run. To set the Rotation Range: 1. Go to Main Menu > Inspection , and click the Rotation Range option. 2.
  • Page 62: Remote Teach

    iVu Plus User's Manual 2. Set the Minimum Pass Count and Maximum Pass Count as appropriate. In the Demo, both are set to 1. 3. Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad. 4.
  • Page 63 iVu Plus User's Manual For the first part, select the ROI by clicking inside it. Move it, resize it, and rotate it by dragging the ROI or its corners. Once the feature of interest is within the ROI, click the Teach button. The feature will be highlighted in green. Tip: Use the short-cut menu in the upper-right of the screen to select an ROI-type.
  • Page 64: Ivu Plus Communications

    5.1.4 Command Channel The iVu Plus TG command channel is a bi-directional communication protocol that currently supports ASCII via either Ethernet or the RS-232 serial interface, and enables other devices to remotely control the iVu sensor and access sensor results.
  • Page 65 5.1.4 Command Channel Sample Application The iVu Plus TG installation CD has a Command Channel sample application that provides an easy interface to execute commands. In a production environment, you will need to create your own application for bi-directional communication with the sensor.
  • Page 66: Data Export

    iVu Plus User's Manual 5.1.5 Data Export The iVu Plus sensor provides for exporting user-selected inspection data via either Ethernet or the RS-232 serial interface. Inspection data that can be exported includes: • Pass/Fail Output • Inspection Name • Inspection Results •...
  • Page 67 5.1.5 Sample Application The iVu Plus TG installation CD has a Data Export sample application that provides for viewing exported data while setting up the sensor, etc. In a production environment, you will need to create your own application to process data exported from the sensor.
  • Page 68: Image Export

    5.1.6 Image Export Sample Application The iVu Plus TG installation CD has a Image Export sample application that provides a way to save exported images. In a production environment, you will need to write your own application to process exported images, for example to display them on an HMI or to save them to disk.
  • Page 69: Enabling Communications

    iVu Plus User's Manual 5.2 Enabling Communications 5.2.1 Setting Up Ethernet Communications The following is the general flow for setting up for Ethernet communications between the iVu Plus sensor and a remote device: On the Windows PC, configure the IP address as follows: Windows XP Windows 7 1.
  • Page 70 iVu Plus User's Manual Windows XP Windows 7 4. In the Internet Protocol (TCP/IP) Properties dialog, select Use the following IP address and make sure that the IP address is 192.168.0.2, and the subnet mask is 255.255.255.0. 4. In the Internet Protocol (TCP/IPv4) Properties dialog, se- lect Use the following IP address and make sure that the IP address is 192.168.0.2, and the subnet mask is 255.255.255.0.
  • Page 71 iVu Plus User's Manual 2. To enable the command channel over Ethernet: a. Go to Main Menu > System > Communications > Command Channel > Connection , and select Ethernet [IP Port # 32000]. b. Configure the field and end-of-frame delimiters. Go to Main Menu > System > Communications > Command Channel > Delimiters .
  • Page 72 iVu Plus User's Manual Valid end-of-frame delimiters are: <comma>, <colon>, <semicolon>, <CR>, <CR><LF>, <LF><CR>, or <ETX>. c. Verify that the iVu receives and transmits data correctly. 3. To enable Data Export over Ethernet: a. Go to Main Menu > System > Communications > Data Export > Connection and select Serial I/O from the drop-down. b.
  • Page 73 iVu Plus User's Manual c. Go to Main Menu > System > Communications > Data Export > Output Format and select the Start String, Delimiter, and End String. d. Go to Main Menu > System > Communications > Data Export > Advanced . Online Only - rev.
  • Page 74: Setting Up Serial Communications

    iVu Plus User's Manual During the Data and Image export operation the sensor's output channels might become full. This can occur if the sensor is producing export data (frames) faster than the data can be exported from the device (due to bandwidth limitations) or faster than the client is reading the channel export data.
  • Page 75 iVu Plus User's Manual 3. To enable the command channel over the serial connection: a. Go to Main Menu > System > Communications > Command Channel > Connection and select Serial I/O. b. Configure the field and end-of-frame delimiters. Go to Main Menu > System > Communications > Command Channel > Delimiters .
  • Page 76 iVu Plus User's Manual d. Verify that the iVu receives and transmits data correctly. 4. To enable Data Export over the serial connection: a. Go to Main Menu > System > Communications > Data Export > Connection and select Serial I/O from the drop-down. b.
  • Page 77 iVu Plus User's Manual c. Go to Main Menu > System > Communications > Data Export > Output Format and select the Start String, Delimiter, and End String. d. Go to Main Menu > System > Communications > Data Export > Advanced . Online Only - rev.
  • Page 78 iVu Plus User's Manual During the Data and Image export operation the sensor's output channels might become full. This can occur if the sensor is producing export data (frames) faster than the data can be exported from the device (due to bandwidth limitations) or faster than the client is reading the channel export data.
  • Page 79: Testing And Troubleshooting Ivu Plus Communications

    6 Testing and Troubleshooting iVu Plus Communications 6.1 Understanding the Communication Log The iVu Plus sensor includes the following Communication Logs: • Command Channel Log that can be used to ensure that commands are properly formed (syntax is correct), and provides a history of commands issued along with responses to these commands.
  • Page 80: Ethernet I/O

    iVu Plus User's Manual Icon Description If the command takes a long time to process, the last long entry will change to an hourglass (for example, during trigger of long inspections). For Ethernet channels: • The channel's log will show an Enabled entry that indicates which port is being listened to. •...
  • Page 81: Using The Ivu Command Channel Sample Application Or A Terminal Program For Testing

    iVu Plus User's Manual Port Errors The Port Errors screen can help to debug communications channel issues: Parity, Break, and Framing indicate mismatched port settings or, in the case of Break, incorrect cabling. 6.3.2 Using the iVu Command Channel Sample Application or a Terminal Program for Test- The easiest way to test that the iVu command channel is correctly receiving and transmitting data is to use either the iVu Command Channel Sample App (available on the installation CD) or to use a terminal program running on a PC: If using a terminal program, in the terminal program's configuration:...
  • Page 82 iVu Plus User's Manual 2. On the requesting device, transmit one or more bytes to the iVu sensor. • If the data byte values appear correct and the number sent by the requesting device matches the number received by the iVu sensor, then the transmit/receive functionality is working properly.
  • Page 83 iVu Plus User's Manual 3. If the byte count does not match, re-verify that the settings on both devices match exactly. If no bytes are received, re-check the wiring. If the correct response frame is received, then basic electrical and port settings are correct. Online Only - rev.
  • Page 84: Command Channel Primer

    iVu Plus User's Manual 7 Command Channel Primer 7.1 Command Channel Commands All iVu command channel request command frames use the following syntax: >> command group item value<EOF> Notes <EOF> is the end-of-frame delimiter. See below for a description. All commands are in ASCII and are case-insensitive command An action to be performed on a particular iVu group;...
  • Page 85: String Delimiters And Escaping

    iVu Plus User's Manual For example, the following is a series of command requests and responses. The first request sets the trigger mode to command and, once the sensor responds with an "OK," the next command request is issued to do (or execute) the trigger. >>...
  • Page 86: Conventions Used For Examples

    << OK\x0D\x0A << "Banner Engineering Corp."\x0D\x0A 7.3 Examples 7.3.1 Example 1: How to Trigger the Sensor and Retrieve Inspection Data using the Com- mand Channel This example is based on a sort inspection. To trigger the sensor and retrieve inspection data, do the following 1.
  • Page 87: Ivu Plus Command Channel Reference

    iVu Plus User's Manual 1. Make sure that the Command Channel is enabled using either Ethernet or Serial I/O ( Main Menu > System > Communications > Command Channel > Connection 2. Set Trigger to Command. Go to the Main Menu > Imager > Trigger screen, and from the drop-down select Command 3.
  • Page 88 Item Description Info RemoteSerialNumber The serial number of the remote display as a string. Examples >> get info companyname\x0D\x0A << OK\x0D\x0A << "Banner Engineering Corp."\x0D\x0A >> get info bootnumber\x0D\x0A << OK\x0D\x0A << 42\x0D\x0A >> get info uptimer\x0D\x0A << OK\x0D\x0A <<...
  • Page 89 iVu Plus User's Manual Command Group Item Description from the command channel to make the new address effective. Examples >> do system save\x0D\x0A << OK\x0D\x0A 7.4 Status Command Group Command Group Item Description Status Ready Flag indicating whether the sys- tem is ready to trigger (true) or busy (false) Status...
  • Page 90 iVu Plus User's Manual Command Group Item Description sponse until the sensor has completed the action. Examples >> set trigger mode command\x0D\x0A << OK\x0D\x0A >> get trigger mode\x0D\x0A << OK\x0D\x0A << Command\x0D\x0A >> do trigger\x0D\x0A << OK\x0D\x0A 7.4 Imager Command Group Command Group Item...
  • Page 91 iVu Plus User's Manual Command Group Item Description touchscreen. This remotely modified value is not persisted to the sensors permanent mem- ory. The 'Save' operation is re- quired to persist this value. Examples >> get imager exposure\x0D\x0A << OK\x0D\x0A << Command\x0D\x0A >>...
  • Page 92 iVu Plus User's Manual >> do productchange "inspection2"\x0D\x0A << OK\x0D\x0A 7.4 History Command Group Command Group Item Description History Passed The number of passed inspec- tions. History Failed The number of failed inspec- tions. History MissedTriggers The number of missed triggers. History TotalFrames The total number of inspections...
  • Page 93 iVu Plus User's Manual Command Group Item Description Inspection ExecutionTime The most recent inspection exe- cution time in msec. Examples >> get inspection status\x0D\x0A << OK\x0D\x0A << Fail\x0D\x0A >> get inspection executiontime\x0D\x0A << OK\x0D\x0A << 37.739\x0D\x0A 7.4 AREA_RESULT Command Group Command Group Item...
  • Page 94 iVu Plus User's Manual Command Group Item Description AREA_HISTORY MinArea The minimum detected area val- ue, since history was last cleared. AREA_HISTORY MaxArea The maximum detected area value, since history was last cleared. Examples >> get area_history mincount\x0D\x0A << OK\x0D\x0A <<...
  • Page 95 iVu Plus User's Manual Command Group Item Description BLEMISH_HISTORY MinEdgeLength The minimum detected blemish edge length, since history was last cleared. BLEMISH_HISTORY MaxEdgeLength The maximum detected blemish edge length, since history was last cleared. Examples >> get blemish_history count\x0D\x0A << OK\x0D\x0A <<...
  • Page 96 iVu Plus User's Manual Command Group Item Description MATCH_HISTORY MinPercent The minimum detected match percentage, since history was last cleared. MATCH_HISTORY MaxPercent The maximum detected match percentage, since history was last cleared. Examples >> get match_history count\x0D\x0A << OK\x0D\x0A << 1\x0D\x0A >>...
  • Page 97: Command Channel Error Codes

    iVu Plus User's Manual Command Group Item Description SORT_HISTORY MaxCount The maximum number of detec- ted sort patterns, since history was last cleared. SORT_HISTORY MinPercent The minimum detected sort pat- tern match percentage, since history was last cleared. SORT_HISTORY MaxPercent The maximum detected sort pattern match percentage, since history was last cleared.
  • Page 98 iVu Plus User's Manual Numeric ID Text ID Description 10300 INVALID_ARGUMENT_TYPE Item ID specified must be a item (not a group or method) 10301 DATA_VALUE_MISSING Command missing item's data value 10350 ARGUMENTS_DETECTED Get command received with unneeded ar- guments 10351 INVALID_ARGUMENT_TYPE Item ID specified must be a item (not a group or method)
  • Page 99 iVu Plus User's Manual Numeric ID Text ID Description 80351 MULTIPLE_INSPECTIONS_EMPTY No inspections are available in multiple in- spection mode. 80400 PROD- Sensor must be in the READY state to per- UCT_CHANGE_WHEN_NOT_READY form a product change. 80401 PRODUCT_CHANGE_INVALID_INSPEC- Attempt to product change to a unknown or TION invalid inspection.
  • Page 100: Industrial Ethernet Overview

    iVu Plus User's Manual 8 Industrial Ethernet Overview 8.1 Device Setup 8.1.1 Set IP Address When shipped, the device is assigned a default IP address - 192.168.0.1, a default Subnet Mask - 255.255.255.0, and a default gateway - 0.0.0.0. To change these defaults, click on Main Menu > System > Communications > Ethernet I/O. 8.1.2 Set Industrial Ethernet Protocol (EIP/Modbus/TCP/PCCC) The Industrial Ethernet communication channel is disabled by default.
  • Page 101: Supported Functions

    iVu Plus User's Manual 8.2 Supported Functions The iVu Plus Series sensor is controlled over Ethernet/IP and Modbus/TCP using the input and output data it makes available as a slave device for those protocols. Here are some of the Sensor operations that can be performed using input and output values: •...
  • Page 102 iVu Plus User's Manual Input Commands The following commands need to be executed using Command ID and the Command Bit stated above. Command Command ID Description Data Type Trigger Trigger Mode 10001 The sensor's triggering mode. This value must match the Int16 modes supported by the sensor Product Change...
  • Page 103: Ivu Output Values

    iVu Plus User's Manual Command Command ID Description Data Type BCR inputs Compare String 11001 The Barcode inspection compare data string. This string must Byte Array start and end with the double quote character Compare Mask 11002 The Barcode inspection compare string mask in binary format; Byte Array that is, masked characters are indicated by a "1"...
  • Page 104: Ethernet/Ip

    To create an implicit Class 1 configuration to the iVu Plus using EIP when using a ControlLogix family PLC, configure the iVu Plus as a “Generic Ethernet Module” under the ENET_MODULE. The following is a sample setup of Banner sensor: 1.
  • Page 105 iVu Plus User's Manual Online Only - rev. B www.bannerengineering.com - tel: 763-544-3164...
  • Page 106 iVu Plus User's Manual 2. Select Module. • • www.bannerengineering.com - tel: 763-544-3164 Online Only - rev. B...
  • Page 107 iVu Plus User's Manual 3. Configure Module Properties. Assembly Objects on page 113 for more information on each specific assembly instance. Input Assembly (100) Input Assembly (101) Online Only - rev. B www.bannerengineering.com - tel: 763-544-3164...
  • Page 108 iVu Plus User's Manual Input Assembly (102) Select or deselect Unicast Connection as desired. NOTE: The data type in the Comm Format must be changed to an INT. NOTE: The minimum allowed RPI is 50 ms. www.bannerengineering.com - tel: 763-544-3164 Online Only - rev.
  • Page 109 iVu Plus User's Manual 4. If the module configuration was successful, the following information should be displayed: If the module configuration was not successful, the RSLogix 5000 software will indicate errors similar to the ones displayed below: ERROR: Assembly Instance number and/or size incorrect. ERROR: iVu Plus not powered up or ethernet cable not attached.
  • Page 110 Plus User's Manual 5. Locate the memory map setup from Banner module to PLC memory map. C = Configuration (not used) I = Inputs to PLC (outputs from iVu Plus) O = Outputs from PLC (inputs to iVu Plus) www.bannerengineering.com - tel: 763-544-3164...
  • Page 111 iVu Plus User's Manual The iVu Plus memory map expanded. I = Inputs to PLC (outputs from iVu Plus). Online Only - rev. B www.bannerengineering.com - tel: 763-544-3164...
  • Page 112 iVu Plus User's Manual Sample map demonstrating string values: Memory Map: Default NOTE: ControlLogix string format. "iVu Plus Image Sensor" Memory Map: "Style" changed to ASCII All data is initially transferred as "INT" data type. An ASCII string looks like gibberish in this format. Changing the "style" to ASCII instead of "Decimal"...
  • Page 113: Assembly Objects

    iVu Plus User's Manual 8.4.2 Assembly Objects Outputs from PLC iVu_OUTPUT1 Instance 0x70 (112) - 6 Registers WORD # WORD NAME DATA TYPE Input Bits Register 16-bit integer Product Change Number 32-bit integer reserved iVu_OUTPUT2 0x71 (113) - 240 Registers WORD # WORD NAME DATA TYPE...
  • Page 114 Missed Triggers 32-bit integer 14-15 Current Inspection Time Float 16-29 reserved iVu_Input2 0x65 (101) - 240 Registers Sensor Type - Area (iVu Plus TG) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Input Bits ACK Register...
  • Page 115 Plus User's Manual Sensor Type - Blemish (iVu Plus TG) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Input Bits ACK Register 16-bit integer Sensor Type ID 16-bit integer Output Bits Register 16-bit integer 56-57...
  • Page 116 Plus User's Manual Sensor Type - Sort (iVu Plus TG) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Input Bits ACK Register 16-bit integer Sort Pattern 5 Count 16-bit integer Output Bits Register 16-bit integer...
  • Page 117 iVu Plus User's Manual Sensor Type - Barcode (iVu Plus BCR) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Input Bits ACK Register 16-bit integer Barcode-1 Type 16-bit integer Output Bits Register 16-bit integer Barcode-1 Actual Decoded 16-bit integer Data Length Error Code...
  • Page 118 iVu Plus User's Manual iVu_Input 3 0x66 (102) Sensor Type (iVu Plus BCR) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Input Bits ACK Register 16-bit integer Barcode-5 Type 16-bit integer Output Bits Register 16-bit integer Barcode-5 Length 16-bit integer Error Code...
  • Page 119 iVu Plus User's Manual Flags Output Bit Flags Bit Position Gated Teach Product Command Set BCR Set BCR Trigger Trigger Latch Change Mask ACK String ACK Input ACK Bits Bit Position Set BCR Set BCR Gated Teach Product Command Trigger Mask String Trigger...
  • Page 120: Configuration Assembly Object

    iVu Plus User's Manual 8.4.3 Configuration Assembly Object The iVuPlus EIP implementation does not support an assembly object configuration instance. However, one is required for creation of implicit Class 1 connections on a ControlLogix family PLC. Therefore, a configuration instance is defined as instance number 0x80 (128 decimal).
  • Page 121: Sample Timing Diagram

    iVu Plus User's Manual 8.4.6 Sample Timing Diagram X, Y, Z: Represent snapshot in time Product Change X+Y+Z Product Change Ready Product Change ProductChange ProductChange ProductChange Verify : Verify : ACK = ‘1 ’ Ready = 1 Ready = 1 New inspection ProductChange ProductChange...
  • Page 122 iVu Plus User's Manual Teach Latch X + Y X + Y + Z Teach Latch Ready Teach Latch ACK TeachLatch TeachLatch TeachLatch ACK Verify : Verify : = ‘1 ’ Ready = 1 Ready = 1 Teach will TeachLatch ACK TeachLatchACK execute on next trigger...
  • Page 123 iVu Plus User's Manual Trigger X + Y X + Y + Z Trigger Ready TriggerACK Trigger = 1 Trigger = 0 Verify : Verify : TriggerACK = ‘1 ’ Ready = 1 Ready = 1 Read Results TriggerACK TriggerACK Online Only - rev.
  • Page 124 iVu Plus User's Manual Gated Trigger X + Y X + Y + Z M Gated Trigger Ready Gated Trigger ACK GatedTrigger GatedTrigger GatedTrigger GatedTrigger = 0 (Abort ) Inspection could not be completed GatedTriggerACK Verify : Verify : = ‘1 ’ Ready = 1 Ready = 1 Read Results...
  • Page 125: Modbus/Tcp

    iVu Plus User's Manual 8.5 Modbus/TCP The Modbus/TCP protocol provides device control using register and coil banks defined by the slave device. This section defines the iVu Plus Modbus/TCP register and coil banks. From the point of view of the slave device (PLC), there is one output coil registers and two Input Coil registers.
  • Page 126: Holding Registers

    iVu Plus User's Manual 8.5.1 Holding Registers The Holding registers are used by the PLC to push values to the iVu Plus sensor. These values are accessed in the register address range of 40001 - 40240. To write, use Function Codes 6/16 (Preset Single/Multiple Registers). Also available in this range of registers are the registers containing output data.
  • Page 127: Output Registers

    PLCs) cannot access data using the 30000 range of register addresses. For these devices, the output values are also available using the 40000 range of addresses (at offset 41000). To access the Modbus/TCP Output Registers use Function Code 04 (Read Input Registers). Output Registers Map Sensor Type - Area (iVu Plus TG) REGISTER WORD NAME...
  • Page 128 Plus User's Manual Sensor Type - Blemish (iVu Plus TG) REGISTER WORD NAME DATA TYPE REGISTER WORD NAME DATA TYPE 30001 Coil ACK Bits 16-bit integer 30056 Sensor Type ID 16-bit integer 30002 Status Coil Bits 16-bit integer 30057-58...
  • Page 129 Plus User's Manual Sensor Type - Match (iVu Plus TG) REGISTER WORD NAME DATA TYPE REGISTER WORD NAME DATA TYPE 30001 Coil ACK Bits 16-bit integer 30056 Sensor Type ID 16-bit integer 30002 Status Coil Bits 16-bit integer 30057-58...
  • Page 130 Plus User's Manual Sensor Type - Sort (iVu Plus TG) REGISTER WORD NAME DATA TYPE REGISTER WORD NAME DATA TYPE 30001 Coil ACK Bits 16-bit integer 30061 Sort Pattern 3 Count 16-bit integer 30002 Status Coil Bits 16-bit integer...
  • Page 131 iVu Plus User's Manual Sensor Type - Barcode-1 (iVu Plus BCR) REGIS- WORD NAME DATA TYPE REGIS- WORD NAME DATA TYPE 30001 Coil ACK Bits 16-bit integer 30262 Barcode-2 Type 16-bit integer 30002 Status Coil Bits 16-bit integer 30263 Barcode-2 Length 16-bit integer 3003-4 Error Code...
  • Page 132: Input And Output Coils

    iVu Plus User's Manual 8.5.3 Input and Output Coils The Modbus TG / BCR Output Coils are used to push single bit commands from the PLC/HMI to the iVu Plus sensor. To access the Modbus/TCP Output and Input Coils use Function Code 02 (Read Input Status). Output Coils Bit Position Set BCR...
  • Page 133: Plc5 And Slc 5 (Pccc)

    iVu Plus User's Manual 8.6 PLC5 and SLC 5 (PCCC) Allen-Bradley’s PLC5 and SLC 500 family of devices use PCCC communications over Ethernet/IP. iVu Plus supports these PLCs using input and output register arrays. The Output Flags, ACK Flags and Input Flags bit definitions are the same as defined in the EIP Assem- bly Objects section.
  • Page 134 iVu Plus User's Manual 2. Read. IP Address of the iVu Plus is entered here. 3. Write. Message command_writing to N14 table on iVu Plus www.bannerengineering.com - tel: 763-544-3164 Online Only - rev. B...
  • Page 135: Output Registers

    iVu Plus User's Manual 4. Write. IP Address of the iVu Plus is entered here. 8.6.2 Output Registers The Input registers are used by the PLC to push values to the iVu Plus sensor. MSG (message) commands used to Read (N7) and Write (N14) to the sensor.
  • Page 136: Input Registers

    The Output registers are used to push output values from the iVu Plus to the PLC. MSG (message) commands used to Read (N7) and Write (N14) to the sensor. Input Registers Map (N7) Sensor Type - Area (iVu Plus TG) WORD # WORD NAME...
  • Page 137 Plus User's Manual Sensor Type - Blemish (iVu Plus TG) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Coil ACK Bits 16-bit integer Sensor Type ID 16-bit integer Output Coil Bits 16-bit integer 56-57 Blemish Count...
  • Page 138 Plus User's Manual Sensor Type - Sort (iVu Plus TG) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Coil ACK Bits 16-bit integer Sort Pattern 3 Count 16-bit integer Output Coil Bits 16-bit integer Sort Pattern 4 Count...
  • Page 139 iVu Plus User's Manual Sensor Type - Barcode-1 (iVu Plus BCR) WORD # WORD NAME DATA TYPE WORD # WORD NAME DATA TYPE Coil ACK Bits 16-bit integer Barcode-2 Type 16-bit integer Output Coil Bits 16-bit integer Barcode-2 Length 16-bit integer Error Code 32-bit integer 263-280...
  • Page 140: Input And Output Flags

    iVu Plus User's Manual 8.6.4 Input and Output Flags The Input Flags are used to command execution of basic functions. The Output Coils are used to push single bit outputs from the iVu Sensor to the PLC. The 32 bits of Output Coils can also be accessed using the bits of the first two Output Registers ( ACK Flags and Output Flags).
  • Page 141: Error Codes

    iVu Plus User's Manual 8.7 Error Codes The iVuPlus sensor provides error codes in cases when commands failed to execute successfully. If such an error occurs, the Execution Error flag is set in the Output Bit/Coil Register. When this bit is set, read the Error Code register to know the reason of failure. Below is the list of error codes: Numeric ID Text ID...
  • Page 142: Ethernet Diagnostics

    iVu Plus User's Manual iVuPlus sensor provides several tools to help diagnose communication issues when using Industrial Ethernet channel. 8.8.1 Ethernet Diagnostics To verify Ethernet connectivity, please follow these steps: • Verify that all the cables are connected and properly seated. •...
  • Page 143: Networking And Tcp/Ip Diagnostics

    iVu Plus User's Manual • If the Link Status indicates that there is no link, please inspect the wiring, and verify that your Ethernet switch is powered up. • If the link parameters are not as expected (wrong baud rate or duplex) try the following: •...
  • Page 144 iVu Plus User's Manual • Type in a ping command, specifying the sensor IP address as an argument. You should see a series of responses from the camera: • You should also see the Packets Received and Packets Sent count on the Ethernet I/O Status page in the camera increment by at least 4.
  • Page 145: Industrial Protocols Troubleshooting

    iVu Plus User's Manual 8.8.3 Industrial Protocols Troubleshooting MODBUS Protocol MODBUS protocol relies on the fundamental TCP/IP connectivity to establish connections and transport data. Once you have verified Networking and TCP/IP connectivity, you should have little or no problems establishing a MODBUS connection. iVu supports one MODBUS connection from a single client, and will reject additional connection requests.
  • Page 146 iVu Plus User's Manual Ethernet/IP and PCCC Protocols Ethernet/IP and PCCC protocols rely on CIP protocol to establish communications and exchange data. CIP protocol, in turn, utilizes TCP/ In addition, Ethernet/IP implements I/O messaging. I/O messaging allows two devices, iVu sensor and the PLC, to continuously syn- chronize data sets between each other.
  • Page 147 iVu Plus User's Manual Once the CIP and I/O connections are established, the Industrial Protocols Status page will show the details of the connection: Most of the errors in establishing the CIP and I/O connections have to do with specifying the proper Input and Output assembly IDs and sizes.
  • Page 148: Debugging Inspections

    4. Copy the Sensor Configuration from the USB Thumb Drive to the folder where the Emulator is installed on the PC. For example, if the sensor name is myName and the iVu Emulator is installed in the default location on the PC, copy the file <USB>:\BANNER \myName\CONFIG.CFG to C:\Program Files\Banner Engineering\iVu Series.
  • Page 149: How To Debug Using The Emulator From The Usb Flash Drive

    When prompted, select Yes to save sensor configuration along with the Inspection Logs. The location of these files on the USB Thumb Drive will be displayed after the operation is completed—the Inspection Logs are saved in <USB>:\BANNER \<SENSOR_NAME>\InspLog and the sensor configuration is saved in <USB>:\BANNER\<SENSOR_NAME>. For example, if the sensor name is myName: •...
  • Page 150: Ivu Series: Updating The Sensor

    Banner Engineering may release new versions of the sensor firmware in the future. New firmware releases can be downloaded from Banner's website or can be obtained by ordering the latest Product CD. The following steps will guide you through the process of updat- ing the iVu firmware.
  • Page 151: How To Reset The Sensor Password

    9. Close the Emulator program and the Sensor Name will be saved to the CONFIG.CFG file. 10. If running the Emulator on the PC, copy the CONFIG.CFG file back to the original folder on the USB drive—<USB>:\BANNER \<SENSOR_NAME> (for example <USB>:\BANNER\myName).
  • Page 152: How To Use Bitmap Image Files With The Ivu Emulator

    The iVu Emulator will be running using the .bmp files from Step 1. NOTE: Banner does not recommend setting up inspections using these 8-bit grayscale images because you will always end up modifying the configuration after loading it on the sensor on the line. A better choice would be to set up the inspection on the emulator using Inspection Logs from the sensor.
  • Page 153: Led Indicator Troubleshooting

    Clear System Error button at the bottom of the screen (a sensor reboot is not required). 3. If the error occurs again, you can try rebooting the sensor to see if that fix- es the problem. If the problem persists, contact Banner customer support. 11.2 Warnings Online Only - rev. B...
  • Page 154 iVu Plus User's Manual Warnings are atypical conditions that the sensor detects and fixes. Warning are highlighted in yellow in the System Log, and can typically be ignored. www.bannerengineering.com - tel: 763-544-3164 Online Only - rev. B...
  • Page 155 Index area_history command group 93 area_result command group 93 history command group 92 blemish_history command group 94 image export 19, 64, 68 blemish_result command group 94 image export sample application 68 Industrial Ethernet 19, 64 info command group 87 inspection command group 92 command channel iVu emulator 148 image export 68...

Table of Contents