iVu Plus TG Gen2 Series Sensor sensor is used to monitor parts for type, size, orientation, shape, and location. No PC
The
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. The following features are available:
• Intuitive interface and sophisticated features make powerful inspection capabilities simple
• Multiple sensor configuration
• GUI available in multiple languages (English, French, German, Italian, Spanish, Japanese, Simplified Chinese,
Portuguese, and Turkish)
• 68.5 mm (2.7 in) touch-screen LCD display or separate touch screen display that mounts remotely from the sensor
to allow easy access to the user interface and to view inspection images
• Four sensor types in one package—a match sensor that determines whether a pattern on a label or part matches a
reference pattern; a sort sensor that can recognize and sort up to ten different patterns within the same
inspection; an area sensor that detects whether or not a particular feature (or features) is present; and a blemish
sensor that detects flaws on parts
• Robust IP67 housing with integrated lighting (red, blue, green, or infrared)
• M12 connector with 10 to 30 V dc for power supply and PNP or NPN output
• External trigger input, remote TEACH input, and external strobe output available
• USB port for uploading and downloading of inspections and log files for easy updating and diagnostics
• Software emulator for PC available to evaluate inspections offline based on bitmap images or inspection logs
www.bannerengineering.com - Tel: 763.544.31645
Page 6
C
AB
iVu Plus TG Gen2 Image Sensor
2 Installation
2.1 Components
2.1.1 iVu with Integrated Display
The iVu Series sensor comes fully assembled with the lens and an integrated ring light if so ordered. The integrated
touchscreen display has a plastic cover to protect the display. Remove this cover when setting up the sensor. When the
display is not in use be sure to keep the display covered to protect it.
If an integrated ring light is not used, another light source is needed. Various lights are available from Banner. Operating
in external trigger mode requires a triggering source (for example, the Banner WORLD-BEAM® QS18VN6D sensor).
A8-pin Euro-style (M12) female USB Cable Connector
BI/O Cable Connector
C12-pin Euro-style (M12) male Power and I/O Cable Connector
Mounting Bracket Mounting Holes (uses supplied three M4 x 4 mm screws)
2.1.2 iVu with Remote Display
The iVu sensor for use with a Remote Display comes fully assembled with the lens and an integrated ring light if so
ordered. Although the Remote Display is not required for normal sensor operation, it is needed to set up the sensor and to
monitor inspections.
If an integrated ring light is not used, another light source is needed. Various lights are available from Banner. Operating
in external trigger mode requires a triggering source (for example, the Banner WORLD-BEAM® QS18VN6D sensor).
Mounting Bracket Mounting Holes (uses supplied three M4 x 4 mm screws)
2.2 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.
Thread three M4 x 4mm screws through the bracket into the mounting holes in the bottom of the sensor. Tighten all three
screws.
Table 1: iVu Brackets
SMBIVURALSMBIVURARSMBIVUU
www.bannerengineering.com - Tel: 763.544.31647
Page 8
C
AB
A
B
CD
iVu Plus TG Gen2 Image Sensor
2.2.1 Cable Connections for Integrated Display
The cable connections on the iVu Plus with integrated display are shown below, and power I/O connections (C) are defined
in the Power I/O Connections
Pin #Wire ColorDescriptionDirection
1WhiteOutput 1Output
2Brown10-30V dcInput
3GreenOutput 2Output
4YellowStrobe Out (5V dc only)Output
5GrayRemote TeachInput
6PinkExternal TriggerInput
7BlueCommon (Signal Ground)Input
8RedReadyOutput
9OrangeOutput 3Output
10Light BlueRS-232 TXOutput
11BlackRS-232 Signal GroundOutput
12VioletRS-232 RxInput
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.
9OrangeOutput 3Output
10Light BlueRS-232 TXOutput
11BlackRS-232 Signal GroundOutput
12VioletRS-232 RxInput
2.2.3 Installing a Filter on iVu Series Sensors
Installing a Filter on the Micro Video Lens Model
To install a filter on the iVu Series sensor with Micro Video Lens, use the illustration as a guide and follow the steps listed
below.
CAUTION: Failure to follow these instructions may cause damage to your iVu Series sensor.
Micro Video Lens Models
ALens
B Focusing Window
C Locking Clip
D Locking Screw
EFilter Cap
FFilter
1. Remove the Focusing Window locking screw (D) using the 1/16 in. hex key.
NOTE: The Locking Clip (C) inserts in a groove near the top of the Focusing Window (B). When
removing the window, the Locking Clip will be loose. Be careful not to lose the clip while
removing the window.
2. Unscrew the Focusing Window by turning it clockwise approximately 5 complete turns or until the Focusing Window
disengages from the light/lens assembly.
NOTE: The light/lens assembly may include an integrated ring light or a blank disk if an
integrated ring light is not used. Be careful that the light/lens assembly does not pull out when
removing the Focusing Window. Give a slight tug on the Focusing Window when you think
you've unscrewed it far enough. If the lens assembly moves with the window, continue to rotate
the window clockwise until the lens assembly does not move.
3. Set the Focusing Window aside. Be careful not to get any debris on the window's O-ring.
If present, remove the protective covering on the filter.
4.
5. Place the filter into the Filter Cap and press the cap onto the lens.
www.bannerengineering.com - Tel: 763.544.31649
Page 10
C
B
Groove
D
C
A
B
E
C
iVu Plus TG Gen2 Image Sensor
6. After the filter is installed, place the Focusing Window back into the housing while inserting the Locking Clip into
the groove as shown.
7.
Press the Focusing Window onto the housing to make sure that it seats correctly (no gap between the window and
housing). Rotate the window counter-clockwise at least two turns.
8. Replace the locking tab screw but do not tighten until you have set up and focused the sensor again.
Installing a Filter on the C-Mount Lens Model
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.
CAUTION: Failure to follow these instructions may cause damage to your iVu Series sensor.
C-Mount Lens Models
AC-Mount Lens
B Lens Enclosure
C Retainer Ring (optional)
D Filter (optional)
EFilter Retainer Ring Tool
NOTE: Filter Kits are available separately.
1. Remove the Lens Enclosure and Lens.
2.
Install filter behind the retainer ring. Make sure it is fully seated.
3. Using the provided retainer ring tool, thread the retainer ring into the sensor until it firmly seats the filter.
4. Replace the Lens and Lens Enclosure on the camera.
CAUTION: Electrostatic Discharge
Avoid the damage that electrostatic discharge (ESD) can cause to the Sensor.
Always use a proven method for preventing electrostatic discharge when installing a lens or attaching a
cable.
2.3 iVu Trigger, Remote Teach, and I/O Waveforms
The iVu has two input signals—Trigger and Remote Teach. The default setting is to detect the low to high transition. This
setting can be changed in the Main Menu > System > Discrete I/O > Input Polarity screen on the sensor.
10www.bannerengineering.com - Tel: 763.544.3164
Page 11
iVu Plus TG Gen2 Image Sensor
2.3.1 PNP (Low-to-High) Trigger and Remote Teach Input Waveforms
Power up
Wire Color
Pink
Gray
Function
Trigger
Remote
T
each
The sensor triggers from low to high, and Remote Teach behaves electrically like trigger.
NOTE:
Table 2: Required iVu Input Signal Voltage
ONOFF
PNP+10 to 30 V dc< 2 V dc
2.3.2 NPN (High-to-Low) Trigger and Remote Teach Input Waveforms
Power up
Wire Color
Pink
Gray
Function
Trigger
Remote
each
T
The sensor triggers from high to low, and Remote Teach behaves electrically like trigger.
NOTE:
Table 3: Required iVu Input Signal Voltage
ONOFF
NPN< 2 V dc+10 to 30 V dc
www.bannerengineering.com - Tel: 763.544.316411
Page 12
iVu Plus TG Gen2 Image Sensor
NOTE: If the device used to trigger or remote teach the
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.
Option 2: Enable the Input Pullup in the iVu Plus TG software (Main Menu > System > Discrete I/O
> Input Pullup).
2.3.3 iVu Output Waveforms
Sinking
Pullup Resistor
NPN
VCC
1k ohm
iVu Plus TG is a sinking device, these are the
iVu
Trigger Input
Remote Teach Input
Function
Ready
Outputs 1,2, and 3
(Set as Active Pass)
Outputs 1, 2, and 3
(Set as Active Fail)
Strobe Out
(Configure as External
& Expose Based)
Function
Ready
Outputs 1, 2, and 3
(Set as Active Pass)
Outputs 1, 2, and 3
(Set as Active Fail)
(Pass)(Fail)(Pass)
(Pass)
(Fail)
(Pass)
Figure 1. PNP Outputs
(Pass)(Fail)(Pass)
(Pass)
(Fail)
(Pass)
Strobe Out
(Configure as External
& Expose Based)
12www.bannerengineering.com - Tel: 763.544.3164
Figure 2. NPN Outputs
Page 13
iVu Plus TG Gen2 Image Sensor
NOTE:
Table 4: Expected iVu Output Signal Voltage
ONOFF
PNP+ V0 V
NPN+1 V+V
www.bannerengineering.com - Tel: 763.544.316413
Page 14
iVu Plus TG Gen2 Image Sensor
3 Major Features
3.1 Demo Mode
The first time you power up the iVu Plus TG sensor, it starts in Demo Mode and allows you to choose whether to stay in
Demo Mode or exit to Live Mode
sensor is set up without having to worry about focus, lighting, or triggers. In this mode, you can learn how to make
adjustments while working with the different sensor types and observing how the adjustments affect the sensor results.
When you exit Demo Mode, the sensor reboots into its normal operating mode with default settings.
NOTE: Switch between Live Mode and Demo Mode any time by going to Main Menu > System >
Mode.
. Demo Mode uses stored images and inspection parameters that demonstrate how the
3.2 Sensor Types
The iVu Plus TG sensor includes four Sensor Types:
Area Sensor
•
• Blemish Sensor
• Match Sensor
• Sort Sensor
3.2.1 Area Sensor
An Area type sensor is used to ensure that a feature, or multiple features, are present on a part. When setting up the
sensor for an Area inspection, a feature, such as a drilled hole, is identified as well as the size (area) expected. If there is
more than one of the identified features on a part, the number expected can be set as well. During the inspection, the
sensor verifies that each part or package includes the specified number of features. Some example applications include:
• Inspections that check for drilled holes on a part
• Inspections that check for correctly stamped parts
• Inspections that ensure proper packaging (for example, check that a packing slip exists in or on a box; test
whether a vial is properly capped)
• Inspections of blister packs
14www.bannerengineering.com - Tel: 763.544.3164
Page 15
iVu Plus TG Gen2 Image Sensor
3.2.2 Blemish Sensor
A Blemish type sensor can be used to find flaws on a part (for example, scratches on a disc), or it can be used to make
sure a feature exists on a part. Although verifying a feature is present on a part is more commonly an Area sensor
application, a Blemish sensor may be a better option when dealing with variable materials or uneven lighting. Some
example applications include:
•
Inspections that check for scratches on a part, and reject parts where the scratches are too numerous or larger
than acceptable
• Inspections that check for the presence of some label or marking on a part that may vary in color
3.2.3 Match Sensor
A Match type sensor is used to verify that a pattern, shape, or part in any orientation matches a reference pattern. The
reference pattern is taught during setup. A reference pattern might include alphanumeric characters, logos, or any other
shapes. During an inspection, the sensor checks that each part or package being inspected matches the reference pattern.
Additionally, if there is more than one of the identified pattern, the number expected can be set.
Some example applications include:
• Date/Lot code inspections
• Label inspections
• Part etching inspections
• Part orientation inspections
• Part shape inspections
3.2.4 Sort Sensor
A Sort sensor type that can recognize and sort up to ten different patterns within the same inspection. Each reference
pattern is taught during setup and stored in one of ten pattern memory locations. A reference pattern might include
alphanumeric characters, logos, or any other shapes, and the pass criteria can be set for any or all of the patterns.
Some example application include:
• Identify and sort parts on a production line
• Ensure that several different parts are present in a package
3.3 Multiple Sensors
Firmware versions 1.2.0 and newer include multiple sensor functionality. Each part inspected can now use multiple sensors
to inspect more than one feature. Up to 30 such inspections can be created and stored on the device.
3.4 Multiple Inspections
The iVu Plus supports multiple inspections that facilitate storing and controlling up to 30 inspections of different Sensor
Types.
3.4.1 Adding a New Inspection
To Add a new stored inspection:
1.
Go to Main Menu > Inspection > Stored Inspections and click Add New.
2.
Select the Sensor Type for the new inspection, and click Next.
www.bannerengineering.com - Tel: 763.544.316415
Page 16
iVu Plus TG Gen2 Image Sensor
3.
Click Done. The newly created inspection will now be the current inspection.
3.4.2 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.
Select the inspection to start and click the Start Running button that appears below it.
3.5 Imager Resolution
The iVu Plus TG Gen2 Series Sensor includes an adjustable resolution up to 752×480 pixels.
3.6 iVu Plus Communication Summary of Ethernet and Serial
The iVu Plus communicates with other devices via Ethernet or a UART serial communications port (RS-232). In order to
establish an Ethernet connection to the sensor, the external device must be configured with the correct IP address and TCP
port to communicate. To use the serial communications connection, port settings for baud rate, data bits, parity, and stop
bits must be configured on the iVu Plus to match the settings of the external device.
16www.bannerengineering.com - Tel: 763.544.3164
Page 17
iVu Plus TG Gen2 Image Sensor
3.6.1 Communication Channels
The iVu Plus TG
supports up to four communications channels. To access the channels, go to Main Menu > System >
Communications.
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
• Industrial Ethernet—a bi-directional communication channel that allows the user to control the sensor and access
sensor results using Ethernet/IP, Modbus/TCP, or PCCC protocol
• Data Export—used to export selected inspection data to a remote device
• Image Export—used to export inspection images to a remote device
Data export and command channel can be configured for either Ethernet or Serial I/O (but not both); image export is only
available over Ethernet. The table below briefly summarizes valid communication channel configuration options.
Command Channels
Command ChannelYesNoNoYesYesNo
Industrial EthernetYesNoYesNoYesNo
Data ExportYesNoYesNoNoYes
Image ExportYesNoYesNoYesNo
The iVu Plus TG has five trigger modes that determine how the sensor captures and processes images:
•
External
• Internal
• Free Run
• Industrial Ethernet Only
• Command
Select one of the trigger modes by accessing Main Menu > Imager > Trigger on the iVu touch screen display. Trigger
on page 33 describes these trigger modes in more detail.
www.bannerengineering.com - Tel: 763.544.316417
Page 18
iVu Plus TG Gen2 Image Sensor
3.8 Mask
Use this feature to place mask ROI(s) to exclude portions of an image from the running sensor. It is available on Area and
Blemish sensors.
See Configuring a Mask on page
75 for more information.
18www.bannerengineering.com - Tel: 763.544.3164
Page 19
iVu Plus TG Gen2 Image Sensor
4 Home Screen
The Home screen
the part being inspected is centered on the screen with the feature of interest bounded by the Region of Interest (ROI), a
rectangle as shown below. The ROI can be rotated and resized, and is highlighted when selected for adjustment.
In the following graphic, there are 2 ROI because it is a multi sensor inspection. The green annotations indicate the object
passes, and the red annotations indicate a failure. This sample inspection failed as shown by the red X next to the Display
mode button.
on the iVu Series sensor display is used to monitor inspections and to configure the sensor. Normally,
4.1 Display Mode
Main Menu > Home
Use the display mode button on the upper left corner of the screen to cycle through all three display modes. The 3 display
modes include: Image with Annotations, Image without Annotations, and Inspection Statistics.
4.1.1 Image with Annotations
Click the display mode icon
pass or fail in the ROI.
> Display Mode (icon)
to show the image with the annotations on. The green or red areas indicate sensors that
www.bannerengineering.com - Tel: 763.544.316419
Page 20
iVu Plus TG Gen2 Image Sensor
4.1.2 Image without Annotations
Click the display mode icon to see the image without the annotations from the sensors.
4.1.3 Inspection Statistics
To access the Inspection Statistics, click the Display mode icon
The Inspection Statistic mode has three pages:
•
History
• Inspection Result
• Inspection Inputs
Click the arrows to access the other pages.
.
Inspection Results
The Inspection Result screen shows data about the current inspection being viewed.
The table contains result of each sensor in the inspection. To view details of each sensor, click on the + icon. If a sensor
fails, its box will be drawn in RED. An icon besides the sensor name indicates the reason of its failure.
History
The History screen shows inspection history from sensor reboot, or the last time the statistics were reset, including:
Total Frames—Total number of objects counted
•
• Passed—running total of parts that passed inspection
• Failed—running total of parts that failed inspection
• Missed triggers—running total of missed triggers
• Time Range—minimum and maximum inspection times observed
Click the Reset button to reset statistics.
The table contains history of each sensor in the inspection. Data of each sensor can be expanded or collapsed as required
using the +/–. The green area indicates the sensor passed, red indicates fail. If a sensor fails, an icon besides the sensor
name will indicate the reason of failure.
20www.bannerengineering.com - Tel: 763.544.3164
Page 21
iVu Plus TG Gen2 Image Sensor
Inspection Inputs
The Inspection Input page has the sensor settings. Use this page to verify what inspection input settings were used on the
latest inspection. Click + to expand the inspection information, or – to collapse the inspection information. Use the right
arrows as a shortcut go to a sensor setting screen.
www.bannerengineering.com - Tel: 763.544.316421
Page 22
Imager
Strobe
Auto Exposure
Exposure
Gain
Trigger
Focus
External
Internal
FOV
Resolution
* Visible when Motion = Enabled
Add New
Startup
Delete
Stored Inspections
Sensors
Properties
Inspection ID
Motion **
Motion *
Number of Edges
Sensitivity
Rotation
Area
ROI and Mask
Intensity Range
Area Range
Pass Count
BlemishROI and Mask
Sensitivity
Edge Length Range
Pass Count
MatchROI Type
Percent Match
Rotation Range
Pass Count
Sort
Saved Patterns
Percent Match
Rotation Range
Pass Criteria
Sensor Type selection determines
first menu item under inspection
Inspection Name
Set Name / ID
Locked
Inspection Logs
System Logs
Communication Logs
Unlock Sensor
Logs
Inspection Logs
System Logs
Communication Logs
Command Channel
Data Export
Image Export
Locked Sensor Menus
Industrial Ethernet
Setup
View Logs
Setup
View Logs
Live
Demo
Information
Mode
Save to USB
Load from USB
Reset to Defaults
Configuration
Lock Device
Serial I/O
Data Export
Image Export
Communications
Connection
Data to Export
Output Format
Input Polarity
Input Pullup
Output Type
Output 1
Discrete I/O
Command Channel
Connection
Connection
Delimiters
Fail Hold Time
LCD Timeout
Touch Calibration
Advanced
Display Settings
Output 2
Output 3
Reboot Sensor
Firmware Update
Language
Ethernet I/O
Advanced
Image Type
Advanced
Industrial Ethernet
Connection
Status
View Logs
** Visible when Inspection
contains Area or Blemish
Inspection
Timeout
Map
Select
System
Timeout
iVu Plus TG Gen2 Image Sensor
5 Main Menu Reference
5.1 Main Menu
The Main Menu has four sections:
• 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
22www.bannerengineering.com - Tel: 763.544.3164
Page 23
iVu Plus TG Gen2 Image Sensor
5.1.1 Icon Reference
Action Icons
IconDescription
The Main Menu icon is displayed on the bottom-left corner of the sensor display on the Home screen. It
provides access to sub-menus that are used to set up the sensor.
The Inspection menu icon is located on the the Main Menu, and provides access to parameters that need
to be set for the current and all stored inspections.
The Imager menu icon is on the Main Menu, and lists parameters that affect the characteristics of the
captured image.
The System menu icon is on the Main Menu, and is used to manage the sensor.
The Logs menu icon is on the Main Menu, and is used to set up, view, and save Inspection,
Communications, and System Logs.
The Home Screen icon is displayed in the upper-left corner of the sensor display when viewing menus and
parameter screens in the Main Menu. It is used to quickly return to the Home Screen.
The Display Annotations icon is one of three icons displayed in the upper-left corner of the sensor while
monitoring inspections on the Home Screen. Click this icon to highlight features that the sensor finds.
The Hide Annotations icon is one of three icons displayed in the upper-left corner of the sensor while
monitoring inspections on the Home Screen. Click this icon to disable highlighting.
The Show Statistics icon is one of three icons displayed in the upper-left corner of the sensor while
monitoring inspections. Click this icon to show inspection results and input parameters.
The Hide Log Timestamps icon is one of the icons displayed in the upper-left corner of the Logs screen.
Click this icon to hide the time stamp for the Logs.
The Show Log Timestamps icon is one of the icons displayed in the upper-left corner of the Logs screen.
Click this icon to show the time stamp for the Logs.
The Go Back icon is located on the lower-left of the screen while working in the Main Menu. The Go Back
icon is used to return to the previous screen or menu.
The Help button is located in the upper-right of the screen and provides context-sensitive help for each
screen.
The Manual Trigger icon is located on the lower-right of the sensor display on the Home screen and is
used to manually capture a new image.
The Save icon is used to save data to USB drive, and is available at the bottom of screens such as the
Logs screens.
The Touch Calibration screen displays the Touch Calibration point at various locations on the screen.
Every time the icon displays, the user taps the center of the icon to calibrate the screen.
The Zoom Out icon is located on the right of the screen and is used to reduce magnification of the image
being displayed.
The Zoom In icon is located on the right of the screen and is used to magnify the image being displayed.
The Intensity Selector is located on the left of the of the Intensity Range screen and is used to select the
shade of one of the objects of interest.
The Decrement icon decreases the currently displayed parameter value by one interval. To quickly
decrement the value, press and hold the icon.
The Increment icon increases the currently displayed parameter value by one interval. To quickly
increment the value, press and hold the icon. In the Sort tool, this icon is used to indicate one of the ten
storage locations for patterns.
www.bannerengineering.com - Tel: 763.544.316423
Page 24
iVu Plus TG Gen2 Image Sensor
IconDescription
The Add Mask icon displays on the left side of the screen when masking is enabled. Press to add a mask
to the currently selected sensor.
The Delete Mask icon displays on the left side of the screen when a mask is selected. Press to delete a
mask from the currently selected sensor.
The Circular Mask icon displays on the left side of the screen when a mask is selected. Press to cycle
through and select a Circular, Elliptical, or Rectangular-shaped mask.
The Elliptical Mask icon displays on the left side of the screen when a mask is selected. Press to cycle
through and select a Circular, Elliptical, or Rectangular-shaped mask.
The Rectangular Mask icon displays on the left side of the screen when a mask is selected. Press to cycle
through and select a Circular, Elliptical, or Rectangular-shaped mask.
Display Icons
IconDescription
The Inspection Passed icon is located in the upper-left of the screen, and indicates that the last inspection
passed its test conditions.
One of the possible Inspection Failed icons located in the upper-left of the screen, it indicates that the last
inspection failed.
One of the possible Sensor Failed icons located in the Inspection Statistic table, it indicates that the
sensor failed because the number of objects exceeded the test count.
One of the possible Sensor Failed icons located in the Inspection Statistic table, it indicates that the
sensor failed because there were fewer objects than specified by the test count.
One of the possible Sensor Failed icons located in the Inspection Statistic table, it indicates that the
sensor failed because the inspection timed out.
One of the possible Inspection Failed icons located in the upper-left of the screen, it indicates that the
sensor is in fail hold mode.
The Sensor Locked icon is located in the upper-left of the screen, and indicates that the sensor is in a
locked state. If no icon is displayed, the sensor is unlocked.
Communications Log Icons
IconDescription
Port opened.
Port closed.
Indicates that the command has been processed without errors.
Indicates that the incoming entry is stalled (no new bytes), or end-of-frame delimiter was not received, or
client is not reading data on ethernet
If the response frame contains an error or is dropped, the log entry icons for the request and the
response frames will be colored red, and the displayed error count will increment by one.
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).
.
5.2 Inspection Menu
Main Menu > Inspection
The Inspection menu
sensor has specific settings that are available. It is also where stored inspections can be managed.
24www.bannerengineering.com - Tel: 763.544.3164
icon is located on the Main Menu and is where settings for inspection can be adjusted. Each type of
Page 25
iVu Plus TG Gen2 Image Sensor
5.2.1 Sensors Menu
Main Menu
This menu shows the list of sensor(s) that are included in the current inspection. Use the Add Sensor button add a new
sensor into the current inspection.
> Inspection > Sensors
Area Menu
Main Menu > Inspection > Sensors > 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 and Mask (Rectangle, Elliptical, or Circle) and enabling the mask function
• Intensity Range (range of gray scale values) of a feature of interest
• Area Range, or size range of a feature of interest
• Pass Count
To see a working example of the sensor configured as an Area sensor, see Demo Mode.
www.bannerengineering.com - Tel: 763.544.316425
Page 26
iVu Plus TG Gen2 Image Sensor
ROI and Mask
Main Menu > Inspection > Sensors
The Region of Interest (ROI) is the user-defined area on the screen that the sensor will analyze. The ROI type can be
rectangular, elliptical, or circular. From the menu , select the ROI type to use for the inspection. Adjust the ROI as
appropriate for your inspection. An ROI can be as large as the entire Field of View (FOV).
Select the Enable Mask checkbox to allow mask ROIs to be used with the inspection ROI.
> Area > ROI and Mask
Intensity Range
Main Menu > Inspection > Sensors > Area > Intensity Range
Intensity Range is the range of gray scale values the sensor should look for. To set the Intensity Range, use the eye
dropper on the left of the screen to select the target feature, then use the slider bar at the bottom of the display to fine
tune the selection. As the slider bar is moved, green highlighted areas indicate objects the sensor finds.
NOTE: Objects that are colored yellow are found, but filtered out. This is because the objects fall
outside of the Area Range. See Area Range to adjust this setting.
Area Range
Main Menu
The Area Range is used to set the size limits of a feature of interest. Use the slider bar at the bottom of the display to
select the range. Areas are measured by counting pixels. For example, a rectangular feature that is 100 pixels wide by 200
pixels tall will have an area of roughly 20,000 pixels.
> Inspection > Sensors > Area > Area Range
Pass Count
Main Menu > Inspection > Sensors > Area > Pass Count
The Minimum Pass Count is the minimum number of parts, labels, or features expected to fall within the specified criteria;
the Maximum Pass Count is the maximum number expected to fall within the specified criteria. These settings are used to
determine the pass or fail result of the inspection.
Blemish Menu
Main Menu > Inspection > Sensor > Blemish
When configured as a Blemish sensor, it can be used to find flaws on a part (for example, scratches on a disc). It can be
used to make sure the a feature exists on a part. Although this is more commonly an application for a sensor configured as
an Area sensor, a Blemish sensor may be a better option to find a feature when dealing with variable materials or uneven
lighting. Some sample applications include:
• Inspections that check for scratches on a part, and reject parts where the scratches are too numerous or larger
than acceptable
• Inspections that check for the presence of some label or marking on a part that may vary in color
To configure as a Blemish sensor, select the ROI type, and set the Sensitivity, Size Filter, and Pass Count.
26www.bannerengineering.com - Tel: 763.544.3164
Page 27
iVu Plus TG Gen2 Image Sensor
ROI and Mask
Main Menu > Inspection > Sensors
The Region of Interest (ROI) is the user-defined area on the screen that the sensor will analyze. The ROI type can be
rectangular, elliptical, or circular. From the menu, select the ROI type to use for the inspection. Adjust the ROI as
appropriate for your inspection. An ROI can be as large as the entire Field of View (FOV).
Select the Enable Mask checkbox to allow mask ROIs to be used with the inspection ROI.
> Blemish > ROI and Mask
Sensitivity
Main Menu > Inspection > Sensors > Blemish > Sensitivity
Sensitivity is used to fine-tune how sensitive the sensor is to finding blemish or other edges within the ROI. The Sensitivity
value helps account for light variations that might affect how well the sensor detects edges on inspected parts. The
Sensitivity scale is from 0 to 100 where 0 means least sensitive and 100 means most sensitive. If set near 0, the sensor
will only find very sharp edges with strong contrast. If set near 100, the sensor will find very dim or blurry edges, and may
be unstable.
Edge Length Range
Main Menu > Inspection > Sensors > Blemish > Edge Length Range
The sensor counts all the edge pixels it detects in the ROI. The bar at the bottom of the Edge Length Range screen shows
all the different contiguous edge segments found. Edge segments within the two brackets [ ] are highlighted in green and
those outside the brackets are ignored and colored yellow. Use the slider bar to specify the edge length range in pixels.
Edges found within this range will be considered to calculate the Pass Count.
Pass Count (Pixels)
Main Menu > Inspection > Sensors > Blemish > Pass Count
The Minimum Pass Count is the minimum number of pixels expected to fall within the specified criteria; the Maximum Pass
Count is the maximum number of pixels expected to fall within the specified criteria. These settings are used to determine
the pass or fail result of the inspection.
Match Menu
Main Menu > Inspection > Sensors > Match
When the sensor is configured as a Match sensor, set the ROI Type, Percent Match, Rotation Range, Pass Count, and
Timeout for the inspection. To see a working example of the sensor configured as a Match sensor, see Demo Mode.
ROI Type
Main Menu > Inspection > Sensors
> Match > ROI Type
The Region of Interest (ROI) is the user-defined area on the screen that the sensor will analyze. The ROI Type can be
rectangular, elliptical, or circular. From the menu at the bottom of the ROI Type screen, select the ROI Type to use for the
inspection. Adjust the ROI as appropriate for your inspection. An ROI can be as large as the entire Field of View (FOV).
www.bannerengineering.com - Tel: 763.544.316427
Page 28
iVu Plus TG Gen2 Image Sensor
Percent Match
Main Menu > Inspection > Sensors
The Percent Match setting adjusts for how closely the inspected part or label matches the reference part or label. The
Percent Match scale is from 0 to 100 where 0 is the most tolerant and 100 is the least tolerant. Move the slider to the left
or to the right.
> Match > Percent Match
Rotation Range
Main Menu > Inspection > Sensors > Match > Rotation Range
The Rotation Range sets the expected rotation of parts or labels during an inspection. For example, a value of 45 means
that the part may rotate 45 degrees in either direction from the reference part and still pass. Move the slider from 0 to 180
degrees.
NOTE: The smaller the rotation range, the faster the inspection will run.
Pass Count
Main Menu > Inspection > Sensors
The Minimum Pass Count is the minimum number of parts, labels, or features expected to fall within the specified criteria;
the Maximum Pass Count is the maximum number expected to fall within the specified criteria. These settings are used to
determine the pass or fail result of the inspection.
> Match > Pass Count
Timeout
Main Menu > Inspection >Sensors > Match > 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.
Sort Menu
The Sort sensor is used to identify and sort up to 10 stored patterns. The menu items in the Sort sensor provide for
managing stored patterns and configuring Sort sensor inspection parameters.
The Sort sensor cannot be added if any other sensors are selected. The Sort menu can only be reached when adding a
sensor.
Saved Patterns
Main Menu > Inspection > Sensors > Sort > Saved Patterns
When configuring a Sort
to save a taught pattern to an empty pattern storage location or to overwrite an existing pattern. This screen is also where
patterns can be deleted from a storage location, named, or renamed.
sensor type, there are 10 pattern storage locations available. The Saved Patterns screen is used
Percent Match
Main Menu > Inspection > Sensors > Sort > Percent Match
28www.bannerengineering.com - Tel: 763.544.3164
Page 29
iVu Plus TG Gen2 Image Sensor
The Percent Match setting adjusts for how closely the inspected part or label matches the reference part or label. The
Percent Match scale is from 0 to 100 where 0 is the most tolerant and 100 is the least tolerant. Move the slider to the left
or to the right.
Rotation Range
Main Menu > Inspection > Sensors > Sort > Rotation Range
The Rotation Range
that the part may rotate 45 degrees in either direction from the reference part and still pass. Move the slider from 0 to 180
degrees.
sets the expected rotation of parts or labels during an inspection. For example, a value of 45 means
NOTE: The smaller the rotation range, the faster the inspection will run.
Pass Criteria
Main Menu > Inspection >Sensors > Sort > Pass Criteria
There are four options to select from to define pass criteria for a Sort sensor inspection, which are described below using
an example where there are two saved patterns.
Any Saved Pattern—Pass condition if the sensor matches either Pattern_1, Pattern_2, or both
•
• All Saved Patterns—Pass condition if the sensor matches both Pattern_1 AND Pattern_2
• Single Saved Pattern—Pass condition if the sensor matches either Pattern_1 OR Pattern_2, but NOT both
• Specific Saved Pattern (requires selecting a saved pattern to match; for example, Pattern_2) - Pass condition when
the sensor matches only Pattern_2
Timeout
Main Menu > Inspection > Sensors > Sort > 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.
5.2.2 Motion Menu
Main Menu > Inspection > Motion
Enable Motion when the part is expected to move or rotate. Motion settings also involve selecting the number of edges to
locate, adjusting sensitivity, and selecting whether or not rotation is enabled. These settings appear on the Inspection
Menu after Motion is set to 'Enabled'. Motion is enabled when Area and/or Blemish sensor are included in the inspection.
Number of Edges
Main Menu > Inspection > Motion > Number of Edges
On the Number of Edges
tracked in one direction (by default, horizontally); if Two Edges is selected, motion can be tracked horizontally and
vertically.
screen, use the radio buttons to select One Edge or Two Edges. If One Edge is selected, motion is
www.bannerengineering.com - Tel: 763.544.316429
Page 30
iVu Plus TG Gen2 Image Sensor
Sensitivity
Main Menu
Sensitivity is used to fine-tune how sensitive the sensor is to finding a reference edge. The Sensitivity value helps account
for light variations that might affect how well the sensor detects edges on inspected parts. The Sensitivity scale is from 0
to 100 where 0 means least sensitive and 100 means most sensitive. If set near 0, the sensor will only find very sharp
edges with strong contrast. If set near 100, the sensor will find very dim or blurry edges, and may be unstable due to
noise within the image.
> Inspection > Motion > Sensitivity
Rotation
Main Menu > Inspection > Motion > Rotation
Rotation can be Enabled or Disabled. Select Enabled if the part can be expected to rotate during the inspection.
5.2.3 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.
Inspection Name
Main Menu > Inspection > Properties > Inspection Name
The Inspection Name
screen displays the name of the current inspection. You can edit the name of the inspection here.
Inspection ID
Main Menu > Inspection > Properties > Inspection ID
Click on the dropdown arrow to view a list of IDs assigned to all inspections on this device. Choose any unused ID to
change the ID of this inspection. The original ID will be marked as 'Unused'.
You may also swap the ID of this inspection with another inspection by selecting that inspection on the list.
5.2.4 Stored Inspections
Main Menu > Inspection > Stored Inspections
Stored Inspections is used to manage stored inspections. Management of stored inspections includes adding, deleting, and
specifying which inspection should be defined as the Startup inspection.
30www.bannerengineering.com - Tel: 763.544.3164
Page 31
iVu Plus TG Gen2 Image Sensor
From the Stored Inspections menu click Select, Add New, Startup, Delete, or Set Name/ID
Select
Main Menu
This screen is used to select a new running inspection. Select the name of the inspection to start, and click the Start
Running button that displays.
> Inspection > Stored Inspections > Select
Add New
Main Menu > Inspection > Stored Inspections > Add New
The Add New button is to add a new inspection. The sensor can store up to 30 inspections. When you add a new
inspection, it will begin running. When adding a new inspection, the Sensor Type and inspection name will be set.
Startup
Main Menu
www.bannerengineering.com - Tel: 763.544.316431
> Inspection > Stored Inspections > Startup
Page 32
iVu Plus TG Gen2 Image Sensor
The Startup button allows you to select the inspection to use as the startup inspection. The selected inspection will
automatically start after power up.
Delete Inspections
Main Menu
The Delete button is used to delete stored inspections. Note that any running inspection, or the inspection marked as the
Startup inspection, cannot be deleted.
> Inspection > Stored Inspections > Delete
Set Name/ID
Main Menu > Inspection > Stored Inspections > Set Name/ID
The Set Name/ID button is used to change the name or ID of an inspection. You can sort the inspections in numeric or
alphabetical order by clicking on the icon beside the Help icon. Click on Name to edit the name of the inspection. Click on
ID to change the ID of the inspection.
5.3 Imager Menu
Main Menu > Imager
The Imager menu
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).
icon is on the Main Menu, and lists parameters that affect the characteristics of the captured image. The
5.3.1 Auto Exposure
Main Menu > Imager
Auto Exposure optimizes the exposure time and gain for the current lighting conditions. Multiple triggers are required to
complete this function.
NOTE: The Auto Exposure option is not available on the Emulator.
> Auto Exposure
5.3.2 Exposure
Main Menu > Imager
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.
> Exposure
32www.bannerengineering.com - Tel: 763.544.3164
Page 33
iVu Plus TG Gen2 Image Sensor
NOTE: This feature is not effective on the emulator.
5.3.3 Gain
Main Menu
Gain is an electronic boost to the image signal. Increasing Gain by using the '-' and '+' keys or moving the slider to the
right increases image brightness without increasing exposure time. Note that Gain brightens both the light pixels and dark
pixels and may reduce the image quality.
> Imager > Gain
NOTE: This feature is not effective on the emulator.
5.3.4 Trigger
Main Menu > Imager > Trigger
A Trigger
Trigger, Internal Trigger (default), Free Run, Industrial Ethernet Only, or Command.
is a signal that makes the sensor capture an image and inspect it. Use the dropdown list to selectExternal
• If Internal Trigger is selected, triggers are based on timed intervals, and you need to select a trigger interval
between 10 and 10000 milliseconds.
NOTE: If the interval is less than 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 inspections.
• If Command is selected, the command channel is used to trigger the sensor from a remote device.
• If Industrial Ethernet Only is selected, trigger commands from the Industrial Ethernet communications channel
only are accepted.
www.bannerengineering.com - Tel: 763.544.316433
Page 34
iVu Plus TG Gen2 Image Sensor
5.3.5 Focus
Main Menu > Imager > Focus
The Focus Number
cover, turn the focus ring on the sensor until the Focus Number peaks (or the image appears sharp), then lock the focus
ring.
displayed at the bottom of this screen is used to fine-tune image focus. Loosen the lock on the lens
NOTE: For the Focus Number to work, the sensor must be triggering and the images must be similar
over time.
5.3.6 Strobe
Main Menu > Imager
The Internal Strobe configures the operation of the integrated ring light. The External Strobe configures the operation of
an external light.
> Strobe
34www.bannerengineering.com - Tel: 763.544.3164
Page 35
iVu Plus TG Gen2 Image Sensor
External
Main Menu
The External Strobe is a 5V output that can be used for an external light. Setting options are Always ON, Always OFF, or
Exposure Based. If Exposure Based is selected, then the external light is on during the time the sensor is capturing an
image.
> Imager > Strobe > External
Internal
Main Menu > Imager
The Internal Strobe setting configures the operation of the integrated ring light. Strobe 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. For UV models, the Always ON option is not available.
> Strobe > Internal
5.3.7 FOV (Field of View)
Main Menu > Imager > FOV
The field of view
distance from the sensor's lens cover to the part being inspected. The effective FOV can be reduced in order to speed up
the processing time of an inspection or to decrease background noise.
Adjust the Field of View
Select the resize icons to adjust the FOV. After pressing the back button, the Imager menu FOV button updates to say
"Custom" to indicate that a custom FOV is in use.
(FOV) is the area that the sensor can see at a given working distance. The working distance is the
www.bannerengineering.com - Tel: 763.544.316435
Page 36
iVu Plus TG Gen2 Image Sensor
If the FOV has been modified and you want to quickly return to the default, click Set Default to restore the FOV to the
default. The green box representing the FOV moves and the button changes to Set Max. The default for Fine resolution is
640×480 pixels and the default for Coarse resolution is 320×240 pixels.
The maximum FOV is 752×480 for Fine resolution and 376×240 for Coarse resolution. To quickly set the FOV to the
maximum, click Set Max. The green box representing the FOV expands to fill the screen
Default.
and the button changes to Set
5.3.8 Resolution
System > Imager
Two resolution options are available on the iVu Plus TG: Fine and Coarse.
> Resolution
36www.bannerengineering.com - Tel: 763.544.3164
Page 37
iVu Plus TG Gen2 Image Sensor
Coarse resolution has a maximum FOV of 376×240 pixels, and Fine resolution has a maximum FOV of 752×480 pixels.
Fine resolution has 4 times more pixels than Coarse resolution. Inspection performance may be affected when using Fine
resolution, depending on the application.
mode.
When a new resolution is selected, Match and Sort patterns must be taught again. A trigger is required before any onscreen data is updated.
Any sensor within the inspection will use the selected resolution. Only one resolution is used per inspection.
By default, the FOV is set to the default FOV size (320×240) in Coarse resolution
5.4 System Menu
Main Menu > System
The System menu
Sensor Mode, updating sensor firmware, backing up and restoring sensor Configuration, and other general system-level
operations.
icon is on the Main Menu, and is used to manage the sensor. The System menu provides for selecting
5.4.1 Mode
Main Menu > System > Mode
The sensor has two operating modes:
•
Live Mode, which is the normal operating mode where the sensor captures live images, scans, and verifies
barcodes
• Demo Mode, where inspections are run on stored images and inspection parameters.
The first time the device is powered up it starts in Demo Mode and allows you to choose whether to stay in Demo
Mode or exit to Live 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, practice making
adjustments while observing how the adjustments affect the results. To exit Demo Mode go to Main Menu >
System > Mode and select Exit Demo Mode. Upon exit, the sensor reboots into its normal operating mode with
default settings.
NOTE: Switch between Live Mode and Demo Mode any time by going to Main Menu > System >
Mode.
www.bannerengineering.com - Tel: 763.544.316437
Page 38
iVu Plus TG Gen2 Image Sensor
5.4.2 System Configuration
Main Menu > System > Configuration
The Configuration menu
• Save sensor Configuration to the USB flash drive
• Load sensor Configuration from the USB flash drive
• Reset the sensor Configuration to defaults
options are:
Save to USB
Main Menu
The Save to USB screen allows the sensor Configuration to be saved to a USB flash drive. The saved configuration
information can be used as a backup or as a way to clone configuration information for other sensors.
> System > Configuration > Save to USB
NOTE: On the Emulator, this option is Save Configuration.
Load from USB
Main Menu
The Load from USB screen allows the sensor Configuration to be restored from a USB flash drive. This operation removes
all existing inspections and replaces them with inspections contained in the configuration file on the USB flash drive.
> System > Configuration > Load from USB
NOTE: On the Emulator, this option is Load Configuration.
Reset to Defaults
Main Menu > System
Resets all sensor configurations to the factory defaults. This operation will remove all existing inspections and replace them
with factory default settings.
> Configuration > Reset to Defaults
38www.bannerengineering.com - Tel: 763.544.3164
Page 39
iVu Plus TG Gen2 Image Sensor
5.4.3 System Information
Main Menu
The Information screen displays the following sensor information:
• Serial Number
• Firmware Version
• Boot Number
• Up Timer—the time elapsed since last boot of the sensor
• Hour Count—the total hours of operation in the sensor's lifetime
• Model Number
• Device Name
Click the right-arrow next to the Sensor Name field to display a software keyboard that allows you to change the Sensor
Name. You may set the sensor name in English on the device. To set the sensor in any other language, please use the
Emulator software.
> System > Information
5.4.4 Lock Device
Main Menu > System > Lock Device
This option provides for locking the sensor to prevent accidental modification of settings. When locked, the sensor only
provides access to pass/fail statistics, as well as the ability to view logs and to save them to a USB device. A lock icon in
the upper left corner of the sensor display indicates that the sensor is locked. Note that the sensor can be locked with or
without a password. If a password is not used, unlock the sensor by clicking on the Unlock Device menu. When a password
is used, it must be 4 digits entered using the software keypad. If the password is lost, use the Password Reset Utility
software provided on the CD to obtain a Reset Key.
NOTE: This menu option is not available in the Emulator.
5.4.5 Communications
Main Menu > System > Communications
The Communications menu is used to configure the serial I/O channel. There are
• Ethernet I/O for configuring the Ethernet port
• Serial I/O for configuring the Serial port
• Industrial Ethernet settings
• Command Channel for sending commands to get specific data through Serial or Ethernet channels.
• Data Export Channel for enabling or disabling the channel for data export only
• Image Export Channel for enabling or disabling the channel for image export only
NOTE: Serial I/O can be configured either for Data Export or Command Channel. Image Export is only
available on Ethernet.
six menu options:
Ethernet I/O
Main Menu
www.bannerengineering.com - Tel: 763.544.316439
> System > Communications > Ethernet I/O
Page 40
iVu Plus TG Gen2 Image Sensor
The sensor's Ethernet communications can be used to send data out the Ethernet port as part of an inspection, and remote
devices can communicate with the sensor. The Ethernet I/O screen is where IP Address, Subnet Mask, and Gateway
settings are configured. Use the expand arrow next to each field to display a software keypad to enter values for each
field. Click Status at the bottom of the screen to verify communications as you connect to remote devices.
Ethernet I/O Status
Main Menu > System
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 the link has been established, incoming and outgoing traffic can be monitored.
> Communications > Ethernet I/O > Status
Serial I/O
Main Menu
Set Serial I/O settings for Baud Rate, Data Bits, Parity Control and Stop Bits on this screen. Clicking Status displays
recent bytes transmitted through this channel.
> System > Communications > Serial I/O
Port Status
Main Menu > System
40www.bannerengineering.com - Tel: 763.544.3164
> Communications > Serial I/O > Status
Page 41
iVu Plus TG Gen2 Image Sensor
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.
Industrial Ethernet
Main Menu > System
> Communications > Industrial Ethernet
The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet/IP, Modbus/TCP or PCCC
protocols. This document will help you to set up the iVu Plus in the desired configuration and provide you with information
you will need to connect to the master device (PLC, HMI, etc.).
Connection
Main Menu > System > Communications > Industrial Ethernet > Connection
The Connection screen is used to enable either Modbus or EIP/PCCC protocols on Industrial Ethernet channel. Select
'Disable' to completely disable Industrial Ethernet channel.
Map
Main Menu > System > Communications > Industrial Ethernet > Map
The Map setting (Default/Custom) affects only on EIP assembly 0×65 or MODBUS/PCCC registers 30001 to 30240 at offset
55-166.
Default Map
Main Menu > System > Communications > Industrial EtherNet > Map > Default
The default map automatically maps sensor data for each inspection and is recommended when the execution order of
sensor types is the same across inspections. When an inspection has multiple sensors, the first five sensor results are
shown starting at offset 55. Each sensor result occupies 20 words.
55Sensor Type ID (Sensor 1)16-bit integer
56-74Sensor 1 Specific Data16-bit integer
75Sensor Type ID (Sensor 2)16-bit integer
76-94Sensor 2 Specific Data16-bit integer
95Sensor Type ID (Sensor 3)16-bit integer
96-114Sensor 3 Specific Data16-bit integer
115Sensor Type ID (Sensor 4)16-bit integer
116-134Sensor 4 Specific Data16-bit integer
135Sensor Type ID (Sensor 5)16-bit integer
136-154Sensor 5 Specific Data16-bit integer
The custom map allows for customization of sensor data on the map. The user selects data items of interest for each
sensor type. This is recommended when the execution order of sensor types varies across inspections or when using more
than five sensors.
A system level custom map is supported for additional flexibility. When custom map is selected, a customizable space is
used in the offset range (55 to 166) on EIP Assembly 101 (0x65) registers.
Main Menu > System > Communications > Industrial Ethernet > Status
The status screen displays information about the current connection. This information is protocol specific.
View Logs
Main Menu > System > Communications
This screen displays the list of recent events on Industrial Ethernet channel. Detailed logging can be selected under Setup
when troubleshooting.
> Industrial Ethernet > View Logs
Command Channel
Main Menu > System > Communications > Command Channel
The iVu command channel is a bi-directional communication protocol that currently supports ASCII via the RS-232 serial
interface or ethernet interface, and enables other devices to remotely control the iVu sensor and to access sensor results.
Connection
Main Menu > System > Communications > Command Channel > Connection
The Connection screen is used to enable or disable the Command Channel.
Delimiters
Main Menu > System > Communications
44www.bannerengineering.com - Tel: 763.544.3164
> Command Channel > Delimiters
Page 45
iVu Plus TG Gen2 Image Sensor
In the Delimiters screen, there are three delimiter options that you can set:
•
Field Delimiter, which determines what is used to separate data that the sensor is sending out to a remote device.
• End of Frame, which determines the delimiter used to indicate the end of a frame.
• String Delimiter, which determines what is used to enclose a string field during both input and output operations.
Use the drop-down lists to select the appropriate delimiter. The example at the lower part of the screen displays how the
data will look in the output or input streams.
Data Export
Main Menu
When the Data Export is enabled, the sensor will transmit selected inspection data when triggered.
> System > Communications > Data Export
Connection
Main Menu
The Connection screen is used to enable or disable the Data Export.
> System > Communications > Data Export > Connection
Data To Export
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. Data will output in the order
displayed on the screen.
NOTE: Grab the edge of the Data to Export menu and pull down to allow all information to show.
www.bannerengineering.com - Tel: 763.544.316445
Page 46
iVu Plus TG Gen2 Image Sensor
Output Format
Main Menu > System > Communications
In the Output Format screen, use the drop-down lists to select Start and End Strings as well a Delimiter. In the field at the
bottom of the screen is an example of how the data will look when it is output.
> Data Export > Output Format
Data Export Advanced
Main Menu
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 or faster than the client is reading
the channel export data (due to bandwidth limitations).
> System > Communications > Data Export > Advanced
This setting affects how the sensor will behave in this situation.
Select 'Hold READY' to ensure that all frames are transmitted. In this case, the READY signal will remain inactive (sensor is
busy) until the new frame has been added to the channel for transmission. Triggers might be missed during this time.
Select 'Do not hold READY' to cause the sensor to discard the new frame if the channel is full and thus activate the READY
signal immediately after the current inspection is complete. In this case, the discarded frames will not be transmitted.
46www.bannerengineering.com - Tel: 763.544.3164
Page 47
iVu Plus TG Gen2 Image Sensor
NOTE: This setting affects both the Data Export Channel and Image Export Channel.
Image Export
Main Menu > System > Communications
When the Image Export Channel is enabled, the sensor will transmit the acquired image on every trigger. The image is
transmitted as a bitmap (BMP) file. This operation is only available over Ethernet I/O.
> Image Export
Connection
Main Menu > Communications > Image Export > Connection
The Connection screen is used to enable or disable the Image Export.
Image Type
Main Menu > System > Image Export > Image Type
Choose between JPEG or BMP format for the exporting image file.
Image Export Advanced
Main Menu > System > Communications > Image Export > Advanced
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 or faster than the client is reading
the channel export data (due to bandwidth limitations).
This setting affects how the sensor will behave in this situation.
Select 'Hold READY' to ensure that all frames are transmitted. In this case, the READY signal will remain inactive (sensor is
busy) until the new frame has been added to the channel for transmission. Triggers might be missed during this time.
Select 'Do not hold READY' to cause the sensor to discard the new frame if the channel is full and thus activate the READY
signal immediately after the current inspection is complete. In this case, the discarded frames will not be transmitted.
www.bannerengineering.com - Tel: 763.544.316447
Page 48
iVu Plus TG Gen2 Image Sensor
NOTE: This setting affects both the Data Export Channel and Image Export Channel.
5.4.6 Discrete I/O
Main Menu
The Discrete I/O options are used to adjust iVu input and output settings.
> System > Discrete I/O
Input Polarity
Main Menu
The iVu has two input signals—Trigger and Remote Teach. Both of these signals are edge sensitive. The operation of these
signals is dependent on the Input Polarity setting.
• Low To High - The Trigger and Remote Teach are detected on a low to high transition of the signal.
• High To Low - The Trigger and Remote Teach are detected on a high to low transition of the signal.
The default setting for a PNP sensor is Low To High, and for an NPN sensor it is High To Low. The user can change the
setting on the Input Polarity screen.
> System > Discrete I/O > Input Polarity
Input Pullup
Main Menu
By default, the Input Pullup is disabled. If the device used to trigger and remote teach the iVu sensor is a Sinking device
(NPN) then you will only need to enable Input Pullup here if that device does not have its own pullup resistor. Otherwise,
this should be disabled.
> System > Discrete I/O > Input Pullup
Output Type
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.
48www.bannerengineering.com - Tel: 763.544.3164
Page 49
iVu Plus TG Gen2 Image Sensor
Output 1, 2, and 3
Main Menu
Output 1, 2, and 3 are setup separately to improve flexibility and simplicity.
Output can be configured for Inspection Pass, Inspection Fail, Sensor Pass, Sensor Fail, Sort Pattern #1, Missed Trigger or
System Error.
•
• A System Error condition occurs when a fatal error is detected on the sensor. This output signal will be set to active
The default setting is Pass and Latched for Output 1. If Pulsed is selected, the default Pulse width is 50 ms.
> System > Discrete I/O > Output (#)
A Missed Trigger condition occurs when a trigger is received while sensor is busy inspecting the previous image.
This output signal will be set to active state. This signal will be reset up on resetting the 'History' on the statistics
page.
state. This signal can be reset upon resetting the History on the statistics page, or executing a 'ClearSystemError'
command through command channel.
NOTE: For Latched the signal is active until the results of an inspection cause a change in the signal
output.
When either Sensor Pass or Sensor Fail is selected, additional setting will become available as shown on the following
graphic.
www.bannerengineering.com - Tel: 763.544.316449
Page 50
iVu Plus TG Gen2 Image Sensor
Click on the yellow arrow button to access the Select Sensor screen.
On the Select Sensor screen, the left column check box allows adding sensor position to be part of the logic that activates
the output. One or more sensor positions can be added. The right column on the table shows the sensor name(s) and their
respective position from the current inspection for reference.
The bottom drop list has two settings:
• All Selected: All checked sensor positions must meet the setting criteria (Pass/Fail) to activate the output.
• Any Selected: Any checked sensor position that meets the setting criteria (Pass/Fail) will activate the output.
When a selected sensor position is missing on the current inspection, the missing sensor(s) will not be part of the logic to
activate the output. For example: when only 2 sensors are included on the current inspection and the Output > Select
Sensor(s) has Sensor #1, Sensor #2 and Sensor #3 checked; only Sensor #1 and Sensor #2 will be used to determine the
output state, as Sensor #3 is not defined by the current inspection.
5.4.7 Display Settings
Main Menu > System > Display Settings
The Display Settings menu is for setting the Fail Hold Time, LCD Timeout, and doing a Touch Screen Calibration. Display
optimization can be enabled in the Advanced menu.
Fail Hold Time
Main Menu > System > Display Settings > Fail Hold Time
The Fail Hold Time determines how long a failed image is displayed on the LCD so that you can see what failed. The sensor
will continue to process any triggers and the inspection will continue normally. This time delay is just for the screen. You
can set this parameter from 0 to 3600 seconds using the slider at the bottom of the screen.
50www.bannerengineering.com - Tel: 763.544.3164
Page 51
iVu Plus TG Gen2 Image Sensor
LCD Timeout
Main Menu > System > Display Settings
The LCD screen dims after a user-selectable period when the device is not being used. Use the arrow keys or slide the bar
at the bottom of the screen to set the LCD screen time out.
NOTE: This screen is not available in the Emulator.
> LCD Timeout
Touch Calibration
Main Menu > System > Display Settings
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.
NOTE: This screen is not available in the Emulator.
> Touch Calibration
Advanced
Main Menu > System > Display Settings
The Advanced Display screen allows you to enable the Optimize Display Response option. This feature helps to make the
display more responsive when the sensor is busy (either inspection times are long and/or no idle time exists between
inspections). Disable this feature if Missed Triggers occur due to touchscreen presses. With this setting disabled, the
display may become sluggish when the sensor is busy.
> Advanced
5.4.8 Reboot Sensor
Main Menu > System > Reboot Sensor
The Reboot Sensor screen allows you to force a reboot of the sensor.
NOTE: This option is not available on the Emulator.
5.4.9 Firmware Update
Main Menu > System > Firmware Update
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 flash drive. When you receive a firmware update from
Banner Engineering, be sure to put it in the BANNER\FIRMWARE folder on the USB flash drive.
NOTE: The Firmware Update
www.bannerengineering.com - Tel: 763.544.316451
menu is not available in the Emulator.
Page 52
iVu Plus TG Gen2 Image Sensor
5.5 Logs Menu
Main Menu
The Logs menu icon is on the Main Menu, and is used to set up, view, and save Inspection, Communication, and System
Logs.
> Logs
5.5.1 Inspection Logs
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. The next ten overwrite the previous. Inspection Logs can be saved to the USB flash drive so
that the logs can be imported to the emulator.
View Logs
Main Menu
Inspection Logs appear as a strip of film. You can select a frame to view a specific image. Use the icon in the lower right of
the screen to save the logs to the USB flash drive. Logs saved to the USB flash drive can be imported into the emulator.
Click the Clear button to clear Inspection Logs.
> Logs > Inspection Logs > View Logs
52www.bannerengineering.com - Tel: 763.544.3164
Page 53
iVu Plus TG Gen2 Image Sensor
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. When in Statistics view, the table title has arrows to switch between Inputs and
Results of the Inspection.
Use the left and right arrow keys at the bottom of the screen to navigate through the all stored Inspection Logs.
Setup
Main Menu > Logs > Inspection Logs > Setup
Use the radio buttons to Disable Logging, to log Passed Inspections, Failed Inspections, or All Inspections.
5.5.2 System Logs
Main Menu
The System Log contains configuration change information, other notifications, and any errors or warnings that may be
encountered. The list is sorted in descending order with respect to time. The 'Time' associated with each event consists of
the Hour Count (lifetime hours of operation) and the Up Timer (time elapsed since last boot).
• Click the icon in the upper left corner of the screen to show/hide the time column
• Click Clear Log button at the bottom of the screen to clear the System Log
> Logs > System Logs
www.bannerengineering.com - Tel: 763.544.316453
Page 54
iVu Plus TG Gen2 Image Sensor
• Click the icon at the lower-right of the screen to save the System Log to the USB flash drive
NOTE: System log will not log changes while in Demo mode. Additionally, the Emulator does not log
changes.
5.5.3 Communication Logs
Main Menu > Logs > Communication Logs
The Communication Log
Export, and Image Export. The features below are available for each of the logs:
• Click the icon in the upper left corner of the screen to show/hide the time column.
• Click Clear Log button at the bottom of the screen to clear the log.
• Click the icon at the lower-right of the screen to save the Log to the USB flash drive.
NOTE: Communication log will not log changes while in Demo mode. Additionally, the Emulator does
not log changes.
contains logs for the four communications channels; Industrial Ethernet, Command Channel, Data
Industrial Ethernet Log
Main Menu
> Logs > Communication Logs > Industrial Ethernet Log
The Industrial Ethernet Log logs the most recent Industrial Ethernet activity.
Command Channel Log
Main Menu > Logs > Communication Logs > Command Channel
The Communication Log logs 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 and dark green when the port is disabled.
An up-arrow displays for incoming requests from a remote device. A down-arrow displays for outgoing responses from the
iVu sensor. The up- and down-arrows are green when everything is OK and red if there is an error. The up-arrow will be
yellow if the command is incomplete (for example, waiting for an end-of-frame delimiter).
NOTE: An hourglass displays if an operation takes a particularly long time to complete; for example,
during a long trigger.
Each log entry includes a log detail button (arrow icon on right side of log entry) to display a detail view of the log entry.
Buttons at the bottom of the screen provide for refreshing the display and clearing the log. Additionally, the
communication log can be saved to the USB flash drive so that the communication log can be imported to the emulator.
54www.bannerengineering.com - Tel: 763.544.3164
Page 55
iVu Plus TG Gen2 Image Sensor
Image Export Log
Main Menu > Logs > Communication Logs > Image Export
The Image Export log is purely an output log so there is no receive (input) activity. Image Export is only available over
Ethernet. When a user enables Image Export, the log will show an Enabled entry that indicates the port is being listened
to. When a client application connects or disconnects, a log entry indicates that which IP address has connected or
disconnected. If data is dropped, the logs will indicate the number of frames that have been dropped.
www.bannerengineering.com - Tel: 763.544.316455
Page 56
iVu Plus TG Gen2 Image Sensor
6 Setting up an Inspection
The device holds up to 30 inspections. Inspections may hold multiple sensors.
To set up for an inspection:
Acquire a good image.
1.
2. Configure the sensor(s) in the inspection
3. Configure multiple sensors in the inspection
6.1 Acquiring a Good Image
The iVu Series sensor needs to capture a good image of each part to ensure that it correctly passes good parts and fails
bad parts.
1.
Go to Main Menu > Imager > Auto Exposure to run the Auto Exposure routine.
2. Check the lighting.
• Make sure that the lighting is constant and consistent (unchanging over time, no shadows or hot spots).
• 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 considered.
• Adjust the mounting angle to provide the clearest image of the part features you are monitoring. The
mounting bracket lets you easily position and adjust the sensor on your line.
3. If needed, go to Main Menu > Imager > Auto Exposure to run the Auto Exposure routine a second time or
adjust Gain and Exposure manually:
• Main Menu > Imager > Gain
• Main Menu > Imager
> Exposure
Go to Main Menu > Imager > Focus to adjust the focus while monitoring the Focus Number:
4.
56www.bannerengineering.com - Tel: 763.544.3164
Page 57
iVu Plus TG Gen2 Image Sensor
6.1.1 Adjust the Focus on a Micro Video Lens Model
Use the supplied 1/16 in. hex key to loosen the Focusing Window locking screw (D), then adjust focus on the iVu
1.
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.
NOTE: Turning the Focusing Window counter-clockwise focuses on
closer objects, while turning the Focusing Window clockwise
focuses on more distant objects.
3. After the best image has been acquired, lock the focusing window.
Micro Video Lens Models
A Lens
B Focusing Window
C Locking Clip
D Locking Screw
E Filter Cap (optional)
F Filter (optional)
NOTE: Filter Kits are available separately.
6.1.2 Adjust the Focus on a C-Mount Lens Model
Remove the Lens Enclosure.
1.
2. Adjust focus while monitoring the focus number. To ensure the best image, adjust the focus until the Focus
Number peaks.
3. Replace the Lens Enclosure on the camera.
www.bannerengineering.com - Tel: 763.544.316457
Page 58
D
C
A
B
E
C
iVu Plus TG Gen2 Image Sensor
C-Mount Models
A C-Mount Lens
B Lens Enclosure
C Retainer Ring (optional)
D Filter (optional)
E Filter Retainer Ring Tool
NOTE: Filter Kits are available separately.
6.2 Using iVu Gen1 and Gen2 Devices in the Same Application
Generation 1 and Generation 2 iVu devices can be used in the same application, however steps must be taken to ensure
compatibility. Gen2 output files, such as configuration and log files, are not compatible with Gen1 devices. In order to have
one configuration file that applies to both Gen1 and Gen2 devices, configure inspections using a Gen1 device or the Gen1
Emulator. Settings from Gen1 are automatically converted to Gen2 when they are loaded onto a Gen2 device. Confirm all
inspections after loading to ensure that they are correct.
NOTE: New features available on Gen2 devices will not be available when creating the inspection on
Gen1 software.
58www.bannerengineering.com - Tel: 763.544.3164
Page 59
iVu Plus TG Gen2 Image Sensor
7 Configuring Sensors
Each sensor type has a shortcut menu available from the inspection menu.
From the Home screen, click inside the Region of Interest (ROI). The ROI is the visual area indicated by a dotted line on
the inspection. In the Demo mode this will be the Banner logo. The dotted line will turn bold and have rotation and size
icons in the corners. At the top of the screen the Inspection Name will change to a black button called Sensor Name. Click
the black Sensor Name button and a drop down box will appear.
No matter what parameter you are setting, if you click inside the ROI it will highlight into a bold dotted line that can be
resized.
7.1 Sensor Configuration Shortcut Menu
Each sensor type has a shortcut menu available from the inspection menu.
From the Home screen, click inside the Region of Interest (ROI). The ROI is the visual area indicated by a dotted line on
the inspection. In the Demo mode this will be the Banner logo. The dotted line will turn bold and have rotation and size
icons in the corners. At the top of the screen the Inspection Name will change to a black button called Sensor Name. Click
the black Sensor Name button and a drop down box will appear.
No matter what parameter you are setting, if you click inside the ROI it will highlight into a bold dotted line that can be
resized.
Area SensorBlemish SensorMatch SensorSort Application
The ROI type is the shape of the area of inspection. The ROI can be a rectangle, circle, or ellipse
Intensity Range is the range
of gray scale values the sensor
should look for. To set the
Intensity Range, use the eye
dropper on the left of the
screen to select the target
feature, then use the slider bar
at the bottom of the display to
fine tune the selection. As the
slider bar is moved, green
highlighted areas indicate
objects the sensor finds.
----------
The Sensitivity slider is used to
fine-tune how much or how
little contrast the sensor will
recognize within the ROI. The
Sensitivity value helps account
for light variations that might
affect how well the sensor
detects edges. The Sensitivity
scale is from 0 to 100 where 0
means least sensitive and 100
means most sensitive. If set
near 0, the sensor will only find
very sharp edges with strong
contrast. If set near 100, the
sensor will find very dim or
blurry edges, and may be
unstable.
-----
The Percent Match slider adjusts for how closely the inspected
part or label matches the reference part or label. The Percent
Match scale is from 0 to 100 where 0 is the most tolerant and 100
is the least tolerant. Percent Match and Rotation Range work
together. For the best results, use a value from 50 to 90
Saved Patterns is where to
manage saved patterns
including rename, or delete.
www.bannerengineering.com - Tel: 763.544.316459
Page 60
iVu Plus TG Gen2 Image Sensor
Area SensorBlemish SensorMatch SensorSort Application
The Area Range is used to set
the size limits of a feature of
interest. Use the slider bar at
the bottom of the display to
select the range. Areas are
measured by counting pixels.
For example, a rectangular
feature that is 100 pixels wide
by 200 pixels tall will have an
area of roughly 20,000 pixels.
The Edge Length Range
adjusts the edge pixels in the
ROI. The slider of the Edge
Length Range screen shows all
the different contiguous edge
segments found. Edge
segments within the two
brackets [ ] are highlighted in
green and those outside the
brackets are ignored and
colored yellow. You can move
each bracket to add or remove
more of the edge segments
from consideration.
slider
The Rotation Range sets the expected rotation of parts or labels
during an inspection. For example, a value of 45 means that the
part may rotate 45 degrees in either direction from the reference
part and still pass. Move the slider from 0 to 180 degrees. Note
that the smaller the rotation range, the faster the inspection will
run.
The Pass Count
minimum number of parts, labels, or features expected to fall within the specified criteria; the
Maximum Pass Count is the maximum number expected to fall within the specified criteria. However
with Blemish Pass Count - the count is about pixels. The specified criteria is the pixel range that falls
in between the minimum and maximum pass counts.
establishes the pass/fail result of the inspection. The Minimum Pass Count is the
----------
Time Out is the amount of time the inspection will hit on an
image. If it times out before the inspection is complete, it will fail.
Pass Criteria
two stored patterns):
Any Saved Pattern—Pass
condition if the sensor matches
either Pattern_1, Pattern_2, or
both
All Saved Patterns—Pass
condition if the sensor matches
both Pattern_1 AND Pattern_2
Single Saved Pattern—Pass
condition if the sensor matches
either Pattern_1 OR Pattern_2,
but NOT both
Specific Save Pattern (Must also
select the saved pattern to
match, for example, select
Pattern_2)—Pass condition any
time the sensor matches
Pattern_2
(assuming only
60www.bannerengineering.com - Tel: 763.544.3164
Page 61
iVu Plus TG Gen2 Image Sensor
7.2 Configuring an Area Sensor
NOTE: By default, the Trigger
setting. This may make it more difficult to make adjustments while setting up the sensor. The best
practice is as follows:
• Go to the Main Menu > Imager > Trigger menu and select External.
Make sure there is no external trigger input.
•
• Use the Trigger icon in the lower-right of the screen to manually trigger the sensor to capture
an image as you set up and test.
• Capture images of a range of samples to set up from the "worst" good part to the "best" bad
part.
Start the setup with a good part. Normally, each part to be tested will be centered in the Field of View (FOV).
To adjust the Region of Interest (ROI), follow the steps listed here.
is set to Internal, and will continuously trigger based on a time interval
The ROI is the red box as shown.
Click anywhere within the ROI to select it. When selected, the ROI has resize and rotational icons in the corners. It
1.
also changes the top button to the sensor name of the selected ROI.
www.bannerengineering.com - Tel: 763.544.316461
Page 62
iVu Plus TG Gen2 Image Sensor
2. Resize and move the ROI to surround the feature of interest. In the Demo example, the feature of interest is the
Banner logo as shown here. It is still red because the parameters need to be set.
NOTE: When running an Area inspection, the sensor finds objects only within the ROI.
3. Click the sensor name button to go to open the Area sensor parameters menu.
Set sensor parameters.
4.
• Adjust the Intensity Range. This is the range of grayscale values the sensor should look for. Use the eye
dropper on the left of the screen to select the target feature, then use the slider bar at the bottom of the
screen to fine tune the selection to set the intensity range.
•
Adjust the Area Range. The Area Range is used to set the size limits of a feature of interest. Use the slider
bar at the bottom of the display to select the range. As the range narrows, the highlighted area turns
yellow. Areas are measured by counting pixels. For example, a rectangular feature that is 100 pixels wide
by 200 pixels tall has an area of roughly 20,000 pixels. The screenshot indicates that the areas that are
white are now within range of the inspection.
1. 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 red
highlight and the blue +).
62www.bannerengineering.com - Tel: 763.544.3164
Page 63
iVu Plus TG Gen2 Image Sensor
•
Set the Pass Count parameter. The Minimum Pass Count is the minimum number of parts, labels, or
features expected to fall within the specified criteria; the Maximum Pass Count is the maximum number
expected to fall within the specified criteria. These settings are used to determine the pass or fail result of
the inspection.
1. Set the Minimum Pass Count and Maximum Pass Count as appropriate. In the Demo, both are
set to 6, since the inspection should find six letters. The letters turn green to indicate that the
inspection passed.
5.
Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects
bad. The green check in the upper left corner indicates the inspection passed. The ROI turns green when the
sensor passed and turns red when the sensor fails.
6. To complete the Area application setup, set triggering as appropriate for the application.
NOTE: Remote Teach does not work with the Area Sensor type.
www.bannerengineering.com - Tel: 763.544.316463
Page 64
iVu Plus TG Gen2 Image Sensor
7.3 Configuring a Blemish Sensor
NOTE: By default, the Trigger
setting. This may make it more difficult to make adjustments while setting up the sensor. The best
practice is as follows:
• Go to the Main Menu > Imager > Trigger menu and select External.
Make sure there is no external trigger input.
•
• Use the Trigger icon in the lower-right of the screen to manually trigger the sensor to capture
an image as you set up and test.
• Capture images of a range of samples to set up from the "worst" good part to the "best" bad
part.
The Demo application shows how the sensor, when configured as a Blemish sensor, can accept or reject parts based on the
range of edge pixels the sensor detects in the ROI.
is set to Internal, and will continuously trigger based on a time interval
Start the setup with a good part. Normally, each part to be tested will be centered in the Field of View (FOV).
1.
Adjust the Region of Interest (ROI). 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.
Adjust the parameters of the sensor by clicking inside the ROI then click the sensor name button.
64www.bannerengineering.com - Tel: 763.544.3164
Page 65
iVu Plus TG Gen2 Image Sensor
• Adjust the Sensitivity parameter. Sensitivity is used to fine-tune how sensitive the sensor is to finding
blemish or other edges within the ROI. The Sensitivity value helps account for light variations that might
affect how well the sensor detects edges. The Sensitivity scale is from 0 to 100, where 0 means least
sensitive and 100 means most sensitive. If set near 0, the sensor will only find very sharp edges with
strong contrast. If set near 100, the sensor will find very dim or blurry edges, and may be unstable.
1.
Use the slider on the bottom of the screen to adjust the sensitivity watching as the sensor detects
more or fewer edges.
Adjust the Edge Length Range. The sensor counts all the edge pixels it detects in the ROI. The bar at the
•
bottom of the Edge Length Range screen shows all the different contiguous edge segments found. Edge
segments within the two brackets [ ] are highlighted in green and those outside the brackets are ignored
and colored yellow as in the example. You can move each bracket to add or remove more of the edge
segments from consideration.
1.
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.
•
Adjust 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. If within the
range brackets, the bar is green, otherwise it is yellow.
www.bannerengineering.com - Tel: 763.544.316465
Page 66
iVu Plus TG Gen2 Image Sensor
Use the brackets to set a tolerance for the pass/fail.
1.
Now the inspection for the blemish sensor is set up to be sensitive enough to find blemishes under the logo
and fail the inspection.
Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
3.
parts.
4. To complete the Blemish application setup, set triggering as appropriate for the application.
NOTE: Remote Teach does not work with the Blemish Sensor type.
66www.bannerengineering.com - Tel: 763.544.3164
Page 67
iVu Plus TG Gen2 Image Sensor
7.4 Configuring a Match Sensor
NOTE: By default, the Trigger is set to Internal, and will continuously trigger based on a time interval
setting. This may make it more difficult to make adjustments while setting up the sensor. The best
practice is as follows:
•
Go to the Main Menu > Imager > Trigger menu and select External.
Make sure there is no external trigger input.
•
• Use the Trigger icon in the lower-right of the screen to manually trigger the sensor to capture
an image as you set up and test.
• Capture images of a range of samples to set up from the "worst" good part to the "best" bad
part.
Start the setup with a good part. Normally, each part to be tested will be centered in the Field of View (FOV).
Teach the sensor a good reference part.
1.
Adjust the Region of Interest (ROI).The ROI is a dotted box as shown.
Click Anywhere within the ROI to select it. When selected, the ROI is bolded with resize and rotational icons in the
2.
corners.
3.
Resize the ROI so that it surrounds just the feature of interest. In the Demo example, the feature of interest is the
Banner logo.
www.bannerengineering.com - Tel: 763.544.316467
Page 68
iVu Plus TG Gen2 Image Sensor
4. Click the Teach icon to teach the sensor this good reference part.
5. Set sensor parameters.
•
Adjust the Percent Match parameter. The Percent Match setting adjusts for how closely the inspected part
or label matches the reference part or label. The Percent Match scale is from 0 to 100 where 0 is the most
tolerant and 100 is the least tolerant.
68www.bannerengineering.com - Tel: 763.544.3164
Page 69
iVu Plus TG Gen2 Image Sensor
NOTE: When running a Match inspection with annotations enabled, the sensor will
highlight in green any pattern matches that meet or exceed the value specified for
Percent Match. Patterns that are below the specified value for Percent Match (down
to approximately 20%), or out of the Rotation Range (see below), will be colored
yellow.
1. Using a "bad" part, click the Manual Trigger icon in the lower-right of the screen to capture an
image. For this example, one of the stored images is missing the letter "N," yet the sensor initially
sees this as a "good" label.
2.
On the adjustment at the bottom of the screen, adjust the slider and click the Manual Trigger
button. When adjusted correctly, the annotations should turn yellow, and the icon in the upper-right
of the screen should indicate fail.
•
Adjust the Rotation Range. The Rotation Range sets the expected rotation of parts or labels during an
inspection. For example, a value of 45 means that the part may rotate 45 degrees in either direction from
the reference part and still pass. Move the slider from 0 to 180 degrees. Note that the smaller the rotation
range, the faster the inspection will run.
NOTE: Rotations Range and Percent Match work together. The higher the Percent Match,
the lower the Rotation Range to pass. In the previous example a 99% match is too high
for any rotation. In the next graphic the Percent Match has been lowered to 92% which
will still fail a missing letter.
To set the Rotation Range:
Move the slider at the bottom of the screen to the desired rotation. If you are verifying that a label
1.
is correctly applied to a container; that is, on straight, you will want to set a small rotation. If you
want to make sure that the correct label is present no matter how the part is oriented in the Field of
View, then the rotation range will be set to its maximum (180°, which is the setting for the Demo).
www.bannerengineering.com - Tel: 763.544.316469
Page 70
iVu Plus TG Gen2 Image Sensor
•
Set the Pass Count parameter. The Minimum Pass Count is the minimum number of parts, labels, or
features expected to fall within the specified criteria; the Maximum Pass Count is the maximum number
expected to fall within the specified criteria. These settings are used to determine the pass or fail result of
the inspection.
1. Set the Minimum Pass Count and Maximum Pass Count as appropriate. In the Demo, both are
set to indicate the expected feature count is equal to 1. If the count is more than 1 or less than 1,
the sensor will fail.
Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects
6.
bad.
7. To complete the Match application setup, set triggering as appropriate for the application.
NOTE: When running a Match inspection, the sensor will look for any possible patterns to match
anywhere within the Field of View.
7.4.1 Remote Teach
The Remote Teach function is a method of remotely updating inspection parameters while the iVu sensor is running.
Remote Teach is only available when the iVu is configured as a Match sensor.
Remote Teach are:
1. With the sensor Ready (see Installation on page 6), pulse the Remote Teach line.
2. The sensor recognizes that the Remote Teach line has been pulsed and waits for the next valid trigger.
3. At the next valid trigger, Ready goes inactive (the Green Ready LED shuts OFF), and the sensor acquires a new
image.
4. The sensor learns the new pattern and performs the analysis.
The sequence of events for executing a
70www.bannerengineering.com - Tel: 763.544.3164
Page 71
iVu Plus TG Gen2 Image Sensor
7.5 Configuring a Sort Application
NOTE: By default, the Trigger is set to Internal, and will continuously trigger based on a time interval
setting. This may make it more difficult to make adjustments while setting up the sensor. The best
practice is as follows:
•
Go to the Main Menu > Imager > Trigger menu and select External.
Make sure there is no external trigger input.
•
• Use the Trigger icon in the lower-right of the screen to manually trigger the sensor to capture
an image as you set up and test.
• Capture images of a range of samples to set up from the "worst" good part to the "best" bad
part.
1. Make sure you use good parts for the inspection setup. Normally, each part will be centered in the field of view
with the feature of interest surrounded by the Region of Interest (ROI).
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.
2.
Click the Save button to save the pattern to the first empty pattern storage slot.
Set match criteria:
3.
www.bannerengineering.com - Tel: 763.544.316471
Page 72
iVu Plus TG Gen2 Image Sensor
Tip: Use the short-cut menu in the upper-right of the screen to select an ROI-type.
Tip: For better results, make sure that the ROI bounds the image of the pattern as tightly as
possible.
NOTE: When running a Sort inspection, the sensor will look for any possible patterns to match
anywhere within the field of view.
• The Percent Match
stored patterns. The Percent Match scale is from 0 to 100, where 0 is the most tolerant and 100 is the least
tolerant. Move the slider to the left or to the right to adjust the setting. For the best results, use a value
from 50 to 90.
NOTE: When running a Sort inspection, the sensor will highlight in green any pattern
matches that are within the specified Rotation Range and meet or exceed the value
specified for Percent Match. Patterns that are within the specified Rotation Range and
within approximately 20% below the specified value for Percent Match will be colored
yellow.
• The Rotation Range
value of 45 means that the part may rotate 45 degrees in either direction from the reference part and still
pass. Move the slider from 0 to 180 degrees. Note that the smaller the rotation range, the faster the
inspection will run.
4. Repeat these steps for subsequent patterns and store each pattern in an empty pattern storage slot.
5. Set the Pass Criteria (assuming only two stored patterns):
• Any Saved Pattern—Pass condition if the sensor matches either Pattern_1, Pattern_2, or both
• All Saved Patterns—Pass condition if the sensor matches both Pattern_1 AND Pattern_2
• Single Saved Pattern—Pass condition if the sensor matches either Pattern_1 OR Pattern_2, but NOT both
• Specific Save Pattern (Must also select the saved pattern to match, for example, select Pattern_2)—Pass
condition any time the sensor matches Pattern_2
6.
Use the Manual Trigger, located in the lower-right corner of the screen, to test good and bad parts. Adjust
settings as necessary and retest.
setting adjusts how closely the inspected part or label needs to match any of the ten
sets the expected rotation of parts or labels during an inspection. For example, a
7.6 Configuring Motion
Main Menu
This Motion menu shows up when Motion is Enabled under the Inspection Properties menu. Enable Motion when the part is
expected to move or rotate. Motion settings involve selecting the number of edges to locate, adjusting sensitivity, and
selecting whether or not rotation is enabled. These settings appear on the Inspection Menu after Motion is set to 'Enabled'.
Motion is enabled only when Area and/or Blemish sensors are included in the inspection.
72www.bannerengineering.com - Tel: 763.544.3164
> Inspection > Motion
Page 73
iVu Plus TG Gen2 Image Sensor
7.6.1 Number of Edges
Main Menu > Inspection > Motion
On the Number of Edges screen, use the radio buttons to select One Edge or Two Edges. If One Edge is selected, motion is
tracked in one direction (by default, horizontally); if Two Edges is selected, motion can be tracked horizontally and
vertically.
> Number of Edges
7.6.2 Sensitivity
Main Menu > Inspection > Motion > Sensitivity
Sensitivity is used to fine-tune how sensitive the sensor is to finding a reference edge. The Sensitivity value helps account
for light variations that might affect how well the sensor detects edges on inspected parts. The Sensitivity scale is from 0
to 100 where 0 means least sensitive and 100 means most sensitive. If set near 0, the sensor will only find very sharp
edges with strong contrast. If set near 100, the sensor will find very dim or blurry edges, and may be unstable due to
noise within the image.
7.6.3 Rotation
Main Menu > Inspection > Motion > Rotation
Rotation can be Enabled or Disabled. Select Enabled if the part can be expected to rotate during the inspection.
7.7 Configuring Multiple Sensors in the Inspection
Main
> Inspection > Sensors > Add Sensor
Some applications require more than one sensor. New sensors can be added after an inspection has been created. Input
parameters for each sensor can be configured individually.
1.
Click on Add Sensor to display the list of sensor types that can be added into the inspection.
www.bannerengineering.com - Tel: 763.544.316473
Page 74
iVu Plus TG Gen2 Image Sensor
Click Add to add the selected sensor.
2.
Click in the Sensor Setup area (Black button) to display the input parameter menu for that sensor.
3.
Click on the yellow down-arrow button to access sensor management functions.
4.
IconFunction
Move selected sensor up in the execution order
Move selected sensor down in the execution order
Edit name of selected sensor
Delete selected sensor
After all the sensors are configured as required for the application, the inspection Pass/Fail criteria is determined by
considering the results of the individual sensors. An inspection is considered as PASS if ALL sensors in the inspection pass.
If any sensor fails, the inspection is marked as FAIL.
74www.bannerengineering.com - Tel: 763.544.3164
Page 75
iVu Plus TG Gen2 Image Sensor
7.8 Configuring a Mask
A mask created for a sensor will not apply to any other sensors in the inspection. The mask ROI type can be rectangular,
elliptical, or circular. Use up to ten masks per sensor.
Select the desired ROI. When selected, the ROI has resize and rotational icons in the corners.
1.
2. Click the sensor name button to open the sensor parameters menu.
3.
Select ROI and Mask.
4. Select the Enable Mask checkbox.
Click
5.
Re-select the ROI from step 1.
6.
7. Press
8. To change the shape of the mask ROI, press , , and to cycle through the shape options.
9.
Adjust the mask ROI as appropriate for the application.
10.To delete a mask, select it and press
to return to the home screen.
to insert the mask. The mask displays in blue with a diagonal line pattern in the region.
.
www.bannerengineering.com - Tel: 763.544.316475
Page 76
iVu Plus TG Gen2 Image Sensor
8 Communications Guide
8.1 iVu Plus Communication Summary of Ethernet and Serial
The iVu Plus communicates with other devices via Ethernet or a UART serial communications port (RS-232). In order to
establish an Ethernet connection to the sensor, the external device must be configured with the correct IP address and TCP
port to communicate. To use the serial communications connection, port settings for baud rate, data bits, parity, and stop
bits must be configured on the iVu Plus to match the settings of the external device.
8.1.1 Communication Channels
iVu Plus TG supports up to four communications channels. To access the channels, go to Main Menu > System >
The
Communications.
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
• Industrial Ethernet—a bi-directional communication channel that allows the user to control the sensor and access
sensor results using Ethernet/IP, Modbus/TCP, or PCCC protocol
• Data Export—used to export selected inspection data to a remote device
• Image Export—used to export inspection images to a remote device
Data export and command channel can be configured for either Ethernet or Serial I/O (but not both); image export is only
available over Ethernet. The table below briefly summarizes valid communication channel configuration options.
Command Channels
Command ChannelYesNoNoYesYesNo
Industrial EthernetYesNoYesNoYesNo
Data ExportYesNoYesNoNoYes
Image ExportYesNoYesNoYesNo
The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet/IP, Modbus/TCP or PCCC
protocols. This document will help you to set up the iVu Plus in the desired configuration and provide you with information
you will need to connect to the master device (PLC, HMI, etc.).
> Communications > Industrial Ethernet
8.1.3 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.
76www.bannerengineering.com - Tel: 763.544.3164
Page 77
iVu Plus TG Gen2 Image Sensor
do trigger\x0D\x0A
A
B
OK\x0D\x0A
C
D
AControl Device, which can be a PLC, PC program, or a terminal CResponse Frame
BRequest FrameDiVu Plus TG Sensor
The following are some of the functionality available via the command channel:
Get sensor information (such as version and sensor name)
•
• Control "discrete" I/O (such as trigger and teach)
• Get sensor results (such as sensor status)
• Change the running inspection
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.
8.1.4 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
www.bannerengineering.com - Tel: 763.544.316477
Page 78
iVu Plus TG Gen2 Image Sensor
• Sensor Result
◦Name
◦Pass/Fail
◦Sensor Result (see Table 11 on page
78 for additional information)
• Inspection Time (ms)
Table 11: Sensor Results
Sensor TypeData to Export
AreaCount
Area Range
BlemishCount
Edge Length Range
MatchCount
Percent Match
SortCount
Percent Match
All Found Pattern Numbers
All Found Pattern Names
Data export settings apply to all inspections sensor-wide. If items are selected that are not part of the current inspection,
those items are ignored.
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.
8.1.5 Image Export
Image export
images in Windows BMP format that represent all the data in a full Field of View (FOV).
is only supported on Ethernet ports. Inspection images are a maximum 320×240 8-bits per pixel grayscale
Each exported image is comprised of a header (64 bytes) followed by the image data (approximately 78K). All 16- and 32bit numeric entries are little endian.
The header includes the following information:
Byte OffsetFieldSize in
0-15Header Prefix16char"IVU PLUS IMAGE"
16-19Header Version4UInt321
78www.bannerengineering.com - Tel: 763.544.3164
Bytes
Data TypeDescription
Page 79
iVu Plus TG Gen2 Image Sensor
Byte OffsetFieldSize in
20-23Image Size4UInt32Number of bytes (Windows BMP image)
24-27Image Frame Number4UInt32Most recently snapped image frame number
28-29Image Width2UInt16320 (max)
30-31Image Height2UInt16240 (max)
32-33Image Format2UInt160: Bitmap, 1: JPEG
34-63Reserved32byteReserved for future use
Bytes
Data TypeDescription
NOTE: If FOV's are adjusted so that they are smaller, the bitmaps will also be smaller.
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.
8.2 Enabling Communications
8.2.1 Setting Up Ethernet Communications
Configure both the PC and the sensor using the following instructions.
Windows XP
Open Network Properties on the PC (right-click on the Network Neighborhood icon).
1.
2. On the Local Area Connection, right-click on Properties.
3. In the dialog, click on Internet Protocol (TCP/IP) and click the Properties button.
www.bannerengineering.com - Tel: 763.544.316479
Page 80
iVu Plus TG Gen2 Image Sensor
In the Internet Protocol (TCP/IP) Properties dialog, select Use the following IP address and make sure
4.
that the IP address is 192.168.0.2, and the subnet mask is 255.255.255.0.
Windows 7
1.
Open Network Connections by clicking on the Start button, then selecting the Control Panel followed by Network
and Internet, and clicking Manage network connections.
2. Right-click the connection you want to change, then click Properties. If you are prompted for an administrator
password or confirmation, type the password or provide confirmation.
3. In the Networking dialog, click on Internet Protocol Version 4(TCP/IPv4) and click the Properties button.
80www.bannerengineering.com - Tel: 763.544.3164
Page 81
iVu Plus TG Gen2 Image Sensor
4. In the Internet Protocol (TCP/IPv4) Properties dialog, select Use the following IP address
that the IP address is 192.168.0.2, and the subnet mask is 255.255.255.0.
Sensor Setup for Ethernet Communications
1.
Go to Main Menu > System > Communications > Ethernet I/O and make sure that the sensor is configured
as shown below.
and make sure
To enable the command channel over Ethernet:
2.
a. Go to Main Menu > System > Communications > Command Channel > Connection, and select
Ethernet [IP Port # 32000].
Configure the field and end-of-frame delimiters. Go to Main Menu > System > Communications >
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.
Go to Main Menu > System > Communications > Data Export > Data To Export and select the
inspection data to export.
Go to Main Menu > System > Communications > Data Export > Output Format and select the Start
c.
String, Delimiter, and End String.
82www.bannerengineering.com - Tel: 763.544.3164
Page 83
iVu Plus TG Gen2 Image Sensor
d.
Go to Main Menu > System > Communications > Data Export > Advanced.
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.
This setting affects how the sensor will behave in this situation.
Select Hold READY to ensure that all frames are transmitted. In this case, the READY signal will
•
remain inactive (sensor is busy) until the new frame has been added to the channel for
transmission. Triggers might be missed during this time.
• Select Do not hold READY to cause the sensor to discard the new frame if the channel is full and
thus activate the READY signal immediately after the current inspection is complete. In this case,
the discarded frames will not be transmitted.
Communications Channel Ports
The following are the default Ethernet port settings for the communications channels:
• Command Channel — 32200
• Data Export — 32100
• Image Export — 32000
8.2.2 Setting Up Serial Communications
1. Electrically connect the control device and the iVu sensor. On the iVu, the pins/wire colors used for serial
communications via RS-232 are shown in the table below.
Table 12: iVu RS-232 Connections
Pin #Wire ColorDescription
10Light-BlueTX
11BlackSignal Ground
12VioletRX
2. Configure port settings (baud rate, data bits, parity, and stop bits) on the iVu to match the settings on the control
device. Go to Main Menu > System > Communications
www.bannerengineering.com - Tel: 763.544.316483
> Serial I/O.
Page 84
iVu Plus TG Gen2 Image Sensor
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 >
Optionally, if you want to trigger the iVu from the control device, set the trigger mode to Command (go to
c.
Main Menu > Imager > Trigger and select Command from the drop-down).
Verify that the iVu receives and transmits data correctly.
d.
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.
84www.bannerengineering.com - Tel: 763.544.3164
Page 85
iVu Plus TG Gen2 Image Sensor
Go to Main Menu > System > Communications > Data Export > Data To Export and select the
b.
inspection data to export.
c.
Go to Main Menu > System > Communications > Data Export > Output Format and select the Start
String, Delimiter, and End String.
Go to Main Menu > System > Communications > Data Export > Advanced.
d.
www.bannerengineering.com - Tel: 763.544.316485
Page 86
iVu Plus TG Gen2 Image Sensor
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.
This setting affects how the sensor will behave in this situation.
•
Select Hold READY to ensure that all frames are transmitted. In this case, the READY signal will
remain inactive (sensor is busy) until the new frame has been added to the channel for
transmission. Triggers might be missed during this time.
• Select Do not hold READY to cause the sensor to discard the new frame if the channel is full and
thus activate the READY signal immediately after the current inspection is complete. In this case,
the discarded frames will not be transmitted.
8.3 Testing and Troubleshooting iVu Plus Communications
8.3.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. To access the Command Channel
Log, go to Main Menu > Logs > Communication Logs > Command Channel
• Data Export and Image Output logs that are purely output logs (that is, there is no receive activity to log)
Some notes about the logs:
•
To see an expanded view of each entry, click on the small right-triangle control on each entry
• To save the log, click the save icon. The saved communication log can be loaded into the emulator for
troubleshooting offline
The table below describes the icons used in the Communication Log, the up-arrow indicates an incoming request to the iVu
from the control device; the down-arrow indicates an outgoing response from the iVu to the control device.
IconDescription
Port opened.
Port closed.
For Ethernet channels:
The channel's log will show an Enabled entry that indicates which port is being listened to
•
• When a client connects, a log entry is added that indicates which IP address connected
Indicates that the command has been processed without errors.
Indicates that the incoming entry is stalled (no new bytes), or end-of-frame delimiter was not received, or
client is not reading data on ethernet
If the response frame contains an error or is dropped, the log entry icons for the request and the
response frames will be colored red, and the displayed error count will increment by one.
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).
.
86www.bannerengineering.com - Tel: 763.544.3164
Page 87
iVu Plus TG Gen2 Image Sensor
• When a client closes the connection, a log entry indicates that the channel is no longer being listened to
8.3.2 Ethernet I/O
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 the link has been established, incoming and outgoing traffic can be monitored.
8.3.3 Serial I/O
Using the Port Status Screen for Testing RS-232 Communications
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. To access the Port Status screen, go to
Main Menu > System
• The upper field shows the bytes received (request frame) on the iVu from the control device.
• The lower field shows the bytes sent (response frame) from the iVu to the control device.
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.
> Communications > Serial I/O and click on the Status button.
Using the iVu Command Channel Sample Application or a Terminal Program for Testing
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:
Set new-line transmit to <CR><LF> (and set the end-of-frame delimiters on the iVu to match).
•
• Enable local echo.
• Set the Serial port set up so that the PC port number's baud rate, data, parity, and stop bits match those setup on
the iVu.
www.bannerengineering.com - Tel: 763.544.316487
Page 88
iVu Plus TG Gen2 Image Sensor
Verifying Basic Receive Functionality
To verify the iVu can receive request frames from the requesting device:
1.
On the iVu Sensor, go to the Main Menu > System > Communications > Serial I/O > Port Status screen.
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.
• If the connection is incorrect (electrically) or if the baud rate is mismatched, no bytes will appear in the
upper field on the Port Status screen.
• If the connection is correct (electrically), bytes will appear in the upper field of the Port Status screen in the
order they were received.
• If the Port Status: Errors at the bottom of the Port Status screen highlights red, then the connection is
correct electrically but there is likely a settings mismatch between the iVu sensor and the requesting
device. Verify the settings on both devices.
• If the bytes appear with no errors but appear incorrect or there are too many or too few, then the port
settings (for example, baud rate) are likely mismatched in a way that does not generate serial hardware
errors. Verify the settings on both devices match exactly.
Verifying Basic Transmit Functionality
The iVu command channel will only send response frames to the requesting device if it receives a valid end-of-frame
delimiter from the requesting device. To verify transmit functionality:
1. Transmit an end-of-frame delimiter sequence from the requesting device to the iVu sensor. For example, in a
terminal program, simply hit Enter.
If a valid end-of-frame delimiter is received, the iVu sensor will immediately transmit a short error message back
to the requesting device (for example, ERROR 10000_COMMAND_MISSING).
2. Verify that the number of bytes sent by the requesting device are the same as the number shown in the lower field
of the Port Status screen on the iVu sensor. Go to the Main Menu > System > Communications > Serial I/O >
Port Status screen.
If the byte count does not match, re-verify that the settings on both devices match exactly. If no bytes are
3.
received, re-check the wiring.
If the correct response frame is received, then basic electrical and port settings are correct.
88www.bannerengineering.com - Tel: 763.544.3164
Page 89
iVu Plus TG Gen2 Image Sensor
8.4 Command Channel Primer
8.4.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; for example, get, set, do, login, or logout.
group
Identifies the iVu group that the command should act upon; for example, info, system, trigger, or bcr_input.
item
Further qualifies the action by specifying an item within the identified group; for example, comparedata or status.
value
For set commands, this identifies the data that must be set for the specified group item.
Note: Item is not used with get commands.
<EOF>
Identifies the end-of-frame for the command so that the iVu knows to begin processing. The iVu will return a
response that includes the end-of-frame delimiter. The options for the <EOF> are set in the iVu Serial I/O menu,
and are as follows:
•
<comma>
• <colon>
• <semicolon>
• <CR>
• <CR><LF>
• <LF><CR>
• <ETX>
NOTE: When data is displayed on iVu screens such as the Port Status screen, printable
delimiters are displayed as expected. Non-printable characters, such as <CR> are
displayed in hex notation (\x0D).
Command Flow
The command flow should be such that a new command request should not be issued until the iVu command channel
acknowledges the previous command request.
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.
>> set trigger mode command\x0D\x0A
<< OK\x0D\x0A
>> do trigger\x0D\x0A
<< OK\x0D\x0A
String Delimiters and Escaping
By default setting, all strings used in commands are enclosed in quotation marks (""). All text in quotes is part of the
command. Quotes (") or back-slashes (\) that are part of the string must be escapted with a back-slash. For example:
"abc\"def\"ghi\\jkl"
Set the String Delimiter parameters to 'None' if strings should not be enclosed in quotation marks.
Command Channel Command Synopsis
There are a number of general types of commands to do, set, and get sensor data.
www.bannerengineering.com - Tel: 763.544.316489
Page 90
iVu Plus TG Gen2 Image Sensor
Command Channel Response Frames
The iVu responds to all request frames with one or two responses depending on the type of command.
Do commands
All do commands are followed by one response that identifies the command status. For example:
>> do trigger\x0D\x0A
<< OK\x0D\x0A
Get commands
All get commands are followed by two responses: the first identifies the status of the command, and the second
contains the retrieved information. For example:
>> get bcr_input comparedata\x0D\x0A
<< OK\x0D\x0A
<< "012345ABCDEF"\x0D\x0A
Set commands
All set commands are followed by one response that identifies the command status. For example:
>> set bcr_input comparedata "012345ABCDEF"\x0D\x0A
<< OK\x0D\x0A
Command Channel Command Status
The command status is either OK or ERROR. If OK, then the command has fully and successfully completed. If an error is
returned it is in the form ERROR nnnnn_ERROR_IDENTIFIER
Refer to Command Channel Error Codes on page 98 for a list of errors.
(for example ERROR 10001_COMMAND_NOT_RECOGNIZED).
8.4.2 Conventions Used for Examples
There are a number of command channel examples included here, and the following are the conventions used in the
examples:
• All examples use <CR><LF> for the end-of-frame delimiter, and this delimiter is always denoted in hex (\x0D\x0A)
since that is what is displayed in the iVu logs and, for example, the Port Status screen.
• All commands are in bold text.
• For each example, a command request to the iVu sensor is prefaced with a >>, and a command response frame
from the iVu sensor is prefaced by a << as shown below. These are only used to make the documentation clearer.
>> get info companyname\x0D\x0A
<< OK\x0D\x0A
<< "Banner Engineering Corp."\x0D\x0A
8.4.3 Examples
How to Trigger the Sensor and Retrieve Inspection Data using the Command Channel
This example is based on a sort inspection. To trigger the sensor and retrieve inspection data, do the following
Make sure that the Command Channel is enabled using either Ethernet or Serial I/O ( Main Menu > System >
2. Set Trigger to Command. Go to the Main Menu > Imager > Trigger screen, and from the drop-down select
Command.
3. Issue a trigger command as follows:
>> do trigger\x0D\x0A
<< OK\x0D\x0A
Check that the inspection passed.
4.
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
<< Pass\x0D\x0A
90www.bannerengineering.com - Tel: 763.544.3164
Page 91
iVu Plus TG Gen2 Image Sensor
5. Get the pattern names that are stored in the iVu sensor.
>> get sort_result patternnames\x0D\x0A
<< OK\x0D\x0A
<< "pattern_1","pattern_2"x0D\x0A
How to Execute a Product Change Using the Command Channel
1.
Make sure that the Command Channel is enabled using either Ethernet or Serial I/O ( Main Menu > System >
Communications > Command Channel > Connection ).
>> do productchange "inspection2"\x0D\x0A
<< OK\x0D\x0A
Check that the inspection passed.
4.
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
<< Pass\x0D\x0A
8.4.4 Command Channel Reference
Info Command Group
CommandGroupItemDescription
GetInfoCompanyNameThe company name as a string.
GetInfoModelNumberThe sensor model number as a string.
GetInfoFirmwareVersionThe sensor firmware version as a string.
GetInfoSerialNumberThe sensor serial number as a string.
GetInfoNameThe sensor name as a string.
GetInfoBootNumberThe number of sensor bootups.
GetInfoUpTimerThe elapsed time the sensor has been running in the format
GetInfoHourCountThe number of hours the sensor has been running.
GetInfoRemoteConnectedThe remote display connected status as a boolean value (true or false).
GetInfoRemoteModelNumberThe model number of the remote display as a string.
GetInfoRemoteSerialNumberThe serial number of the remote display as a string.
Examples
>> get info companyname\x0D\x0A
<< OK\x0D\x0A
<< "Banner Engineering Corp."\x0D\x0A
hh:mm:ss:msec.
>> get info bootnumber\x0D\x0A
<< OK\x0D\x0A
<< 42\x0D\x0A
>> get info uptimer\x0D\x0A
<< OK\x0D\x0A
<< 4:42:42:324\x0D\x0A
www.bannerengineering.com - Tel: 763.544.316491
Page 92
iVu Plus TG Gen2 Image Sensor
System Command Group
CommandGroupItemDescription
DoSystemRebootReboots the sensor. Pre-empts other commands except Save.
DoSystemSaveSaves inspection and configuration parameters. Blocks until finished.
GetEthernetIPAddressGet the current active IP address of the sensor as a string.
GetEthernetSubnetMaskGet the current active subnet mask of the sensor as a string.
GetEthernetGatewayGet the current active Gateway address of the sensor as a string.
SetEthernetIPAddressSet IP address of the sensor. A valid IP address must be supplied as a
SetEthernetSubnetMaskSet new subnet mask. A 'Reboot' command is required to be sent from
SetEthernetGatewaySet new Gateway IP address. A 'Reboot' command is required to be
Should be used sparingly.
string (for example: 192.168.0.1). A 'Reboot' command from the
command channel must follow in order to make the new IP address
effective. You may also set new Subnet Mask and Gateway address as
required before a 'Reboot' command is sent to the sensor.
the command channel in order to make the new mask effective.
sent from the command channel to make the new address effective.
Examples
>> do system save\x0D\x0A
<< OK\x0D\x0A
Status Command Group
CommandGroupItemDescription
GetStatusReadyFlag indicating whether the system is ready to trigger (true) or busy
GetStatusSystemErrorFlag indicating whether a system error is active (true) or cleared
DoStatusClearSystemErrorClears the system error LED and sets the internal flag to false.
(false).
(false).
Examples
>> get status ready\x0D\x0A
<< OK\x0D\x0A
<< True\x0D\x0A
>> get status systemerror\x0D\x0A
<< OK\x0D\x0A
<< False\x0D\x0A
>> do status clearsystemerror\x0D\x0A
<< OK\x0D\x0A
Trigger Command Group
CommandGroupItemDescription
GetTriggerModeSets trigger mode to one of the valid trigger modes for the sensor.
SetTriggerModeSets trigger mode to one of the valid trigger modes for the sensor.
DoTriggerInitiates a single trigger. The sensor does not transmit a response until
the sensor has completed the action.
92www.bannerengineering.com - Tel: 763.544.3164
Page 93
iVu Plus TG Gen2 Image Sensor
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
Imager Command Group
Command GroupItemDescription
GetImagerGainThe sensor's value used to electronically brighten all image
SetImagerGainThe sensor's value used to electronically brighten all image
GetImagerExposureThe sensor's value used to control the amount of time the
SetImagerExposureThe sensor's value used to control the amount of time the
pixels This value can be modified using the sensor's
touchscreen. This remotely modified value is not persisted to the
sensors permanent memory. The 'Save' operation is required to
persist this value.
pixels This value can be modified using the sensor's
touchscreen. This remotely modified value is not persisted to the
sensors permanent memory. The 'Save' operation is required to
persist this value.
imager is allowed to gather light for the image. This value can
be modified using the sensor's touchscreen. This remotely
modified value is not persisted to the sensors permanent
memory. The 'Save' operation is required to persist this value.
imager is allowed to gather light for the image. This value can
be modified using the sensor's touchscreen. This remotely
modified value is not persisted to the sensors permanent
memory. The 'Save' operation is required to persist this value.
Examples
>> get imager exposure\x0D\x0A
<< OK\x0D\x0A
<< Command\x0D\x0A
>> set imager exposure"11900"\x0D\x0A
<< OK\x0D\x0A
Teach Command Group
CommandGroupItemDescription
DoTeachNextTriggerThis commands forces the sensor to perform the Remote Teach
Examples
operation on the next trigger. This command can be performed using
the sensor's touchscreen.
>> do teach\x0D\x0A
<< OK\x0D\x0A
www.bannerengineering.com - Tel: 763.544.316493
Page 94
iVu Plus TG Gen2 Image Sensor
ProductChange Command Group
CommandGroupItemDescription
DoProductChange[Name]Forces the sensor to switch to the specified inspection. The sensor does
GetProductChangeInspectionNamesList of all inspections stored in the sensor.
Examples
not transmit a response until the sensor has completed the action.
Inspections results will be invalid until the next trigger.
>> get productchange inspectionnames\x0D\x0A
<< OK\x0D\x0A
>> do productchange "inspection2"\x0D\x0A
<< OK\x0D\x0A
History Command Group
CommandGroupItemDescription
GetHistoryPassedThe number of passed inspections.
GetHistoryFailedThe number of failed inspections.
GetHistoryMissedTriggersThe number of missed triggers.
GetHistoryTotalFramesThe total number of inspections since the history was last cleared.
GetHistoryMinInspectionTimeThe minimum elapsed time (msec) of the inspection.
GetHistoryMaxInspectionTimeThe maximum elapsed time (msec) of the inspection.
DoHistoryClearClears all history fields (for example pass, fail, sensor history, etc.).
Examples
>> get history passed\x0D\x0A
<< OK\x0D\x0A
<< 13\x0D\x0A
>> get history startframenumber\x0D\x0A
<< OK\x0D\x0A
<< 3\x0D\x0A
>> do history clear\x0D\x0A
<< OK\x0D\x0A
Inspection Command Group
CommandGroupItemDescription
GetInspectionStatusThis status of the most recent inspection either Pass, Fail, or Idle (no
GetInspectionNameThe name of the active inspection.
GetInspectionFrameNumberThe most recent inspection frame number.
GetInspectionExecutionTimeThe most recent inspection execution time in msec.
triggers).
94www.bannerengineering.com - Tel: 763.544.3164
Page 95
iVu Plus TG Gen2 Image Sensor
Examples
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
<< Fail\x0D\x0A
>> get inspection executiontime\x0D\x0A
<< OK\x0D\x0A
<< 37.739\x0D\x0A
AREA_RESULT Command Group
Command GroupItemDescription
GetAREA_RESULTCountThe number of detected areas.
GetAREA_RESULTMinAreaThe size of the smallest detected area.
GetAREA_RESULTMaxAreaThe size of the largest detected area.
Examples
>> get area_result count\x0D\x0A
<< OK\x0D\x0A
<< 2\x0D\x0A
>> get area_result minarea\x0D\x0A
<< OK\x0D\x0A
<< 7665\x0D\x0A
AREA_HISTORY Command Group
CommandGroupItemDescription
GetAREA_HISTORYMinCountThe minimum number of detected areas, since history was last cleared.
GetAREA_HISTORYMaxCountThe maximum number of detected areas, since history was last cleared.
GetAREA_HISTORYMinAreaThe minimum detected area value, since history was last cleared.
GetAREA_HISTORYMaxAreaThe maximum detected area value, since history was last cleared.
Examples
>> get area_history mincount\x0D\x0A
<< OK\x0D\x0A
<< 1\x0D\x0A
>> get area_history minarea\x0D\x0A
<< OK\x0D\x0A
<< 7665\x0D\x0A
BLEMISH_RESULT Command Group
CommandGroupItemDescription
GetBLEMISH_RESULTCountThe number of detected blemishes.
GetBLEMISH_RESULTMinEdgeLengthThe minimum detected blemish edge length.
GetBLEMISH_RESULTMaxEdgeLengthThe maximum detected blemish edge length.
www.bannerengineering.com - Tel: 763.544.316495
Page 96
iVu Plus TG Gen2 Image Sensor
Examples
>> get blemish_result count\x0D\x0A
<< OK\x0D\x0A
<< 4\x0D\x0A
>> get blemish_result minedgelength\x0D\x0A
<< OK\x0D\x0A
<< 22\x0D\x0A
BLEMISH_HISTORY Command Group
CommandGroupItemDescription
GetBLEMISH_HISTORY MinCountThe minimum number of detected blemishes, since history was last
GetBLEMISH_HISTORY MaxCountThe maximum number of detected blemishes, since history was last
GetBLEMISH_HISTORY MinEdgeLengthThe minimum detected blemish edge length, since history was last
GetBLEMISH_HISTORY MaxEdgeLengthThe maximum detected blemish edge length, since history was last
Examples
cleared.
cleared.
cleared.
cleared.
>> get blemish_history count\x0D\x0A
<< OK\x0D\x0A
<< 1\x0D\x0A
>> get blemish_history maxcount\x0D\x0A
<< OK\x0D\x0A
<< 6\x0D\x0A
MATCH_RESULT Command Group
CommandGroupItemDescription
GetMATCH_RESULTCountThe number of detected matches.
GetMATCH_RESULTMinPercentMatchThe minimum detected match percentage.
GetMATCH_RESULTMaxPercentMatchThe maximum detected match percentage.
Examples
>> get match_result count\x0D\x0A
<< OK\x0D\x0A
<< 1\x0D\x0A
>> get match_result maxpercentmatch\x0D\x0A
<< OK\x0D\x0A
<< 6\x0D\x0A
MATCH_HISTORY Command Group
CommandGroupItemDescription
GetMATCH_HISTORYMinCountThe minimum number of detected matches, since history was last
GetMATCH_HISTORYMaxCountThe maximum number of detected matches, since history was last
GetMATCH_HISTORYMinPercentThe minimum detected match percentage, since history was last
cleared.
cleared.
cleared.
96www.bannerengineering.com - Tel: 763.544.3164
Page 97
iVu Plus TG Gen2 Image Sensor
CommandGroupItemDescription
GetMATCH_HISTORYMaxPercentThe maximum detected match percentage, since history was last
Examples
cleared.
>> get match_history count\x0D\x0A
<< OK\x0D\x0A
<< 1\x0D\x0A
>> get match_history maxcount\x0D\x0A
<< OK\x0D\x0A
<< 6\x0D\x0A
SORT_RESULT Command Group
CommandGroupItemDescription
GetSORT_RESULTCountThe number of detected sort patterns.
GetSORT_RESULTMinPercentMatchThe minimum detected sort pattern match percentage.
GetSORT_RESULTMaxPercentMatchThe maximum detected sort pattern match percentage.
GetSORT_RESULTPatternNumbersListing of detected patterns by pattern number.
GetSORT_RESULTPatternNamesListing of detected patterns by pattern name.
SORT_HISTORY Command Group
CommandGroupItemDescription
GetSORT_HISTORYMinCountThe minimum number of detected sort patterns, since history was last
GetSORT_HISTORYMaxCountThe maximum number of detected sort patterns, since history was last
GetSORT_HISTORYMinPercentThe minimum detected sort pattern match percentage, since history
GetSORT_HISTORYMaxPercentThe maximum detected sort pattern match percentage, since history
Examples
cleared.
cleared.
was last cleared.
was last cleared.
>> get sort_history mincount\x0D\x0A
<< OK\x0D\x0A
<< 1\x0D\x0A
>> get sort_history maxcount\x0D\x0A
<< OK\x0D\x0A
<< 6\x0D\x0A
8.4.5
When having more than one sensor in the inspection, all SensorType_Result and SensorType_History related commands
must include the Sensor Name in "< >" brackets.
Multiple Sensors Inspection
Examples
>> get area_result <Area1> count\x0D\x0A
<< OK\x0D\x0A
<< 7665\x0D\x0A
www.bannerengineering.com - Tel: 763.544.316497
Page 98
iVu Plus TG Gen2 Image Sensor
Notice that <Area1> is the sensor name of an Area Sensor Type in the current inspection.
>> get blemish_history <Blemish1> minedgelength\x0D\x0A
<< OK\x0D\x0A
<< 22\x0D\x0A
Notice that <Blemish1> is the sensor name of a Blemish Sensor Type in the current inspection.
8.4.6 Command Channel Command Status Register
The command status is a verification of the command type.
Command StatusValue (16-bit integer)
Unknown0
Read1
Write2
Execute3
8.4.7 Command Channel Error Codes
Table 13: Plus TG Command Channel Error Codes
Numeric IDText IDDescription
00000SUCCESSCommand processed successfully
10000EMPTY_FRAME_RECEIVEDIndicates that the request was empty. The command channel
10001COMMAND_NOT_RECOGNIZEDThe command specified is not recognized
10100GROUP_MISSINGA Group ID must be specified immediately after the command
10101GROUP_NOT_FOUNDThe specified Group ID is invalid / unknown
10102GROUP_ITEM_MISSINGA Group Item ID must be specified immediately after the Group
10103GROUP_ITEM_NOT_FOUNDThe specified Group Item ID is invalid / unknown
10152NOT_READABLEAttempt to get a value that is not readable
10153NOT_WRITEABLEAttempt to set a value that is not writeable
10250NOT_A_METHODMethod ID specified is not a method
10251WRONG_ARGUMENT_COUNTTotal method arguments specified do not match method
10252COMMAND_NOT_FINISHEDAttempt to issue command when a previous command has not
10300INVALID_ARGUMENT_TYPEItem ID specified must be a item (not a group or method)
10301DATA_VALUE_MISSINGCommand missing item's data value
10350ARGUMENTS_DETECTEDGet command received with unneeded arguments
10351INVALID_ARGUMENT_TYPEItem ID specified must be a item (not a group or method)
10340MINIMUM_VALUE_EXCEEDEDNew item value is below the minimum
10341MAXIMUM_VALUE_EXCEEDEDNew items value is above the maximum
10500DATA_SET_EMPTYData export operation returned no results.
10900SENSOR_NOT_READYCommand specified requires sensor to be in the READY state.
10920SENSOR_TYPE_NOT_ACTIVECommand specified belongs to a different sensor type.
15000VALUE_INVALIDText value is invalid / unknown
15050VALUE_INVALIDText value is invalid - expecting True or False
15100STRING_TOO_LONGString value specified exceeds maximum allowable length
requires a command, any arguments, and an end-of-frame
delimiter.
ID
finished
98www.bannerengineering.com - Tel: 763.544.3164
Page 99
iVu Plus TG Gen2 Image Sensor
Numeric IDText IDDescription
20200NO_AREAS_FOUNDAttempt to obtain value when no areas were found.
20600NO_MATCHES_FOUNDAttempt to obtain value when no matches were found.
20800NO_MATCHES_FOUNDAttempt to obtain value when no sort patterns were found.
80000REMOTE_DISPLAY_NOT_CONNECTEDRemote Display must be connected to obtain this value
80001REMOTE_DISPLAY_NOT_SUPPORTEDThis sensor does not have Remote Display capability
80100COMMAND_MODE_EXPECTEDThe Trigger Mode must be set to "Command" perform this
80101COMMAND_TIMED_OUTThe command timed out before finishing
80102TRIGGER_REQUIREDAccess to the specified data requires a triggered inspection
80150COMMAND_TIMED_OUTThe command timed out before finishing
80200SYSTEM_ERROR_NOT_ACTIVEThe System Error must be active to execute this command
80300TEACH_SENSOR_TYPE_INVALIDTeach requires Match Sensor type.
80350MULTIPLE_INSPECTIONS_DISABLEDRequires multiple inspections to be enabled
80351MULTIPLE_INSPECTIONS_EMPTYNo inspections are available in multiple inspection mode.
80400PRODUCT_CHANGE_WHEN_NOT_READYSensor must be in the READY state to perform a product change.
80401PRODUCT_CHANGE_INVALID_INSPECTION Attempt to product change to a unknown or invalid inspection.
80402PRODUCT_CHANGE_TIMEOUTThe Product Change operation timed out.
80403PRODUCT_CHANGE_TO_SAME_INSPECTIONAttempt to product change to the same inspection.
operation
80404SENSOR_NAME_NOT_FOUNDAttempt to use a command without a sensor name in a multi-
sensor inspection
8.5 iVu Discovery Protocol
The iVu Discovery Protocol is a method by which Banner's iVu Vision sensors can be dynamically discovered on an Ethernet
network.
8.5.1 Overview
The iVu Discovery Protocol is a method to dynamically discover Banner's iVu Vision sensors on an Ethernet network. The
goal is to both be able to find a sensor and then if necessary change the IP address of that sensor so that it is on the same
subnet as the controlling PC. This is done without requiring the PC to change its IP address or using anything more than an
Ethernet cable connected to the sensor.
The iVu Discovery Protocol is implemented using UDP broadcast packets that are mapped to Ethernet Broadcast packets by
the TCP/IP stack. Broadcast packets are the only mechanism that ensures delivery of the data if the sensor and controlling
PC are configured for different subnets and on the same bridged Ethernet network. The contents of the packets used for
Banner’s iVu Vision systems are proprietary.
The iVu Discovery Protocol is supported by iVu Vision sensors from the 2012R1 or later releases.
8.5.2 UDP Usage
The packets are all sent with the source and destination port number set to 19995.
The destination IP address is always set to a broadcast value of 255.255.255.255.
8.5.3 Packet Format
The packets used by the Discovery Protocol all follow the same general format. The packets have a short header and a
larger body area with ASCII text.
Header Format
The header of the packets is as follows:
www.bannerengineering.com - Tel: 763.544.316499
Page 100
iVu Plus TG Gen2 Image Sensor
NameOffset
Protocol ID04
Message Type44
Correlation Tag84
Length
(bytes)
Description
Magic number that identifies this as a Discovery Protocol Packet. If the
protocol changes and the same port number is used, this value should also
change.
Always set to 0x6956752b. This appears as “iVu+” when viewed with packet
dump software.
Identifies the type of message:
DISCOVER = 0x44495343 - dumps as “DISC”
DISCOVER_REPLY = 0x52504c59 – dumps as “RPLY”
DISCOVER_SETIP = 0x53455449 – dumps as “SETI”
See below for a detailed description of each of these messages.
A number chosen by the sender of a DISCOVER packet. The value sent in a
DISCOVER packet is returned in the DISCOVER_REPLY packet. This allows
the sender to match its requests with responses it receives.
Body Format
The Body of the packet follows the header and consists of a long string of ASCII text. The ASCII text section contains a
number of strings in the format of “<name>=<value>,” Those names and values are detailed below. Please note that the
comma is required, and is used as a string separator.
NameValuesDescription
SerialNumberStringSensor serial number
VersionStringFirmware version string.
NameString
MAC
IPString in decimal dot notationIP address of the sensor
NetMaskString in decimal dot notationNetwork mask of the sensor
GatewayString in decimal dot notationIP address of the sensor's default gateway
xx:xx:xx:xx:xx:xx – Each 'x' is a
hexadecimal character.
Name of the sensor as ASCII string. This field is filled in only
if the sensor is configured for English language. For all other
languages, this field will be omitted.
Ethernet MAC address of this sensor
DISCOVER Message
The packet with Discover message is sent by a controlling PC to find which sensors are present on its network. The
DISCOVER message should broadcast on all Ethernet interfaces of the controlling PC. After sending the DISCOVER
message packet, the PC should wait to receive DISCOVER_REPLY packets from the sensors.
The controlling PC does not 'know' how many sensors are connected therefore it should wait for up to 5 seconds for any
reply packets to come to it to allow for any variation in time needed for the sensors to reply.
It is recommended that more than one DISCOVER packet is sent because a single UDP packet may be lost by network
switches or the camera. The probability of multiple packets being lost is much smaller. These packets should be separated
in time by 100 milliseconds or more.
This and the following packet capture examples were done using a freely-available network tracing and troubleshooting
software called Wireshark. Banner Engineering Corporation does not provide support for this product nor endorses it.
100www.bannerengineering.com - Tel: 763.544.3164
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.