Manual VE
Manual VE
Instruction Manual
Original Instructions
191666 Rev. L
27 October 2021
© Banner Engineering Corp. All rights reserved
191666
VE Series Smart Camera
Contents
1 Product Description ..................................................................................................................................................... 6
1.1 Models .............................................................................................................................................................................................6
2 Overview ........................................................................................................................................................................8
2.1 Features ...........................................................................................................................................................................................8
2.1.1 Display .....................................................................................................................................................................................8
2.1.2 Indicators ................................................................................................................................................................................. 8
2.1.3 Buttons .................................................................................................................................................................................... 8
2.2 Vision Manager Software ................................................................................................................................................................9
3 Specifications and Requirements ............................................................................................................................. 10
3.1 Specifications ................................................................................................................................................................................10
3.2 PC Requirements ...........................................................................................................................................................................10
3.3 Dimensions ................................................................................................................................................................................... 11
3.4 Banner Engineering Corp. Software Copyright Notice ...................................................................................................................12
3.5 Additional Copyright Information ...................................................................................................................................................12
3.6 Trademarks ...................................................................................................................................................................................12
4 Installation Instructions ............................................................................................................................................. 13
4.1 Install the Accessories .................................................................................................................................................................. 13
4.2 Mount the Sensor ..........................................................................................................................................................................13
4.3 Connect the Cables .......................................................................................................................................................................14
4.3.1 Wiring Diagrams ..................................................................................................................................................................... 15
4.4 Install the Software .........................................................................................................................................................................16
5 Getting Started ............................................................................................................................................................17
5.1 Connect to the Sensor .................................................................................................................................................................. 17
5.2 Acquire a Good Image .................................................................................................................................................................. 18
5.3 Set Up an Inspection .....................................................................................................................................................................18
5.3.1 Add a Tool ............................................................................................................................................................................. 18
5.3.2 Rename a Tool ...................................................................................................................................................................... 19
5.3.3 Name an Inspection ...............................................................................................................................................................20
5.3.4 Save an Inspection to a Computer, Network Drive, or Storage Device ..................................................................................20
5.3.5 Modify a Currently Running Inspection ..................................................................................................................................21
5.3.6 Copy a Tool ........................................................................................................................................................................... 21
5.3.7 Delete a Tool ......................................................................................................................................................................... 21
5.3.8 Delete a Tool and All Tools After It ........................................................................................................................................21
5.3.9 Delete an Inspection ..............................................................................................................................................................21
5.4 Configure the Discrete I/O .............................................................................................................................................................22
6 Vision Manager Workspace ....................................................................................................................................... 23
6.1 Home Screen ................................................................................................................................................................................ 23
6.1.1 Sensor Neighborhood .............................................................................................................................................................24
6.1.2 Sensor Maintenance ...............................................................................................................................................................26
6.1.3 Emulators .............................................................................................................................................................................. 27
6.1.4 User Preferences ...................................................................................................................................................................28
6.1.5 About ...................................................................................................................................................................................... 28
6.2 Sensor Screen .............................................................................................................................................................................. 29
6.2.1 Using the Image Pane: Saving and Loading Images ............................................................................................................ 29
6.2.2 Image Pane Parameters ........................................................................................................................................................30
6.2.3 Summary Pane ......................................................................................................................................................................30
6.2.4 Tools & Results ..................................................................................................................................................................... 32
6.2.5 Tools Only .............................................................................................................................................................................. 33
6.2.6 All Results ..............................................................................................................................................................................33
6.3 Inspection Logs Screen .................................................................................................................................................................34
6.3.1 Log Sources .......................................................................................................................................................................... 34
6.3.2 Loaded Logs ..........................................................................................................................................................................35
6.4 Inspection Management Screen ................................................................................................................................................... 35
6.4.1 Manage ..................................................................................................................................................................................36
6.4.2 Transfer ................................................................................................................................................................................. 37
6.5 System Settings Screen ................................................................................................................................................................38
6.5.1 Sensor Info ............................................................................................................................................................................. 38
6.5.2 Discrete I/O ............................................................................................................................................................................39
6.5.3 Communications ....................................................................................................................................................................41
6.5.4 Logs .......................................................................................................................................................................................47
6.5.5 Units ...................................................................................................................................................................................... 48
6.5.6 User Profiles .......................................................................................................................................................................... 56
6.5.7 System Reset ........................................................................................................................................................................ 58
VE Series Smart Camera
1 Product Description
Self-contained Smart Camera with User-Friendly Vision Manager Software
• Banner’s free and easy-to-use Vision Manager Software provides a
number of tools and capabilities that enable VE Series smart cameras to
solve a wide range of vision or identification applications, such as item
detection, part positioning, feature measurement, flaw analysis, and
barcode reading
• Runtime editing capability reduces costly downtime and the software
emulator allows for offline building and troubleshooting of applications
• Factory communications (EtherNet/IP™, Modbus/TCP, PROFINET®, FTP
and Serial RS-232) for integration on the manufacturing floor
• Six optically isolated I/O and an external light connector on the smart
camera
• Two-line, eight-character onboard display provides smart camera
information and focus number and makes it easy to update the smart
camera settings, facilitating fast product changeover
• Robust metal housing with optional sealed lens covers to achieve IP67
rating for use in harsh environments with heat, vibration, or moisture
• Bright indicator lights for easy viewing of smart camera status
WARNING:
• Do not use this device for personnel protection
• Using this device for personnel protection could result in serious injury or death.
• This device does not include the self-checking redundant circuitry necessary to allow its use in
personnel safety applications. A device failure or malfunction can cause either an energized (on)
or de-energized (off) output condition.
Important:
• Electrostatic discharge (ESD) sensitive device
• ESD can damage the device. Damage from inappropriate handling is not covered by warranty.
• Use proper handling procedures to prevent ESD damage. Proper handling procedures include
leaving devices in their anti-static packaging until ready for use; wearing anti-static wrist straps; and
assembling units on a grounded, static-dissipative surface.
1.1 Models
Model 2 Resolution Type
2 Model VE202G2A, 2 MP, 1600 × 1200 grayscale with 4-pin D-code M12 Ethernet connection is also available.
2 Model VE202G2A, 2 MP, 1600 × 1200 grayscale with 4-pin D-code M12 Ethernet connection is also available.
2 Overview
The VE Series Smart Camera is easy to use and has advanced visual inspection or identification capabilities for automation
or control applications. Users can quickly set up the sensor using the Vision Manager software to solve a diverse range of
applications on the factory floor.
2.1 Features
Figure 1. Sensor Features
3
4
2 5
1. Display
1 2. Buttons
3. Pass/Fail indicator (green/red)
4. Ready/Trigger indicator (green/amber)
5. Power/Error indicator (green/red)
6. Ethernet indicator (amber), not shown
7. Ethernet connection
8. Light connection
9. Power, Discrete I/O connection
7
6 8
9
2.1.1 Display
Figure 2. Display with Home Screen
The display is a 2-line, 8-character LCD. The main screen is
the Home Screen, which shows the name of the current
inspection and the slot number (inspection location). Use the
display to view or change several sensor settings.
2.1.2 Indicators
Four LED indicators provide ongoing indication of the sensing status.
2.1.3 Buttons
Use the sensor buttons Down , Up , Enter , and Escape to configure several sensor settings and to access
sensor information. See Figure 318 on p. 168 for additional information on using the buttons.
3.2 PC Requirements
Operating System Processor
Microsoft® Windows® operating system version 7, 8, or 10 5 1 GHz minimum, 2 GHz+ recommended
System Type Screen Resolution
32-bit, 64-bit 1024 × 768 full color minimum, 1650 × 1050 full color recommended
Hard Drive Space Third-Party Software
80 MB (plus up to 280 MB for Microsoft .NET 4.5, if not already installed) Microsoft .NET 4.5, PDF Viewer (such as Adobe Acrobat)
Memory (RAM) USB Port
512 MB minimum, 1 GB+ recommended USB 3.0, recommended if a USB to Ethernet adapter used to
communicate with the sensor
Important: Administrative rights are required to install the Vision Manager software.
3.3 Dimensions
All measurements are listed in millimeters [inches], unless noted otherwise.
Engaging more
than 3.00 mm
will damage device.
3.6 Trademarks
ControlLogix® is a trademark of Rockwell Automation, Inc.
EtherNet/IP™ is a trademark of ODVA, Inc.
Microsoft and Windows are registered trademarks of Microsoft Corporation in the United States and/or other countries.
PROFINET® is a registered trademark of PROFIBUS Nutzerorganisation e.V.
All other trademarks and registered trademarks cited are the property of their respective owners.
4 Installation Instructions
4.1 Install the Accessories
1. VE sensor
Figure 3. Install the Accessories 2. O-ring (used with the sealed lens cover)
3. C-mount lens (available separately)
1 4. Filter (optional)
2 5. Sealed lens cover (optional)
3 5
4 An external light (optional) is not shown.
1. If you are using a sealed lens cover: Remove the black thread protector (not shown) from the sensor (1).
2. If you are using a sealed lens cover: Fit a single o-ring (2) into the undercut area behind the sensor threads.
3. Remove the yellow temporary imager cover (not shown) from the sensor.
CAUTION: Do not remove the imager cover until you are ready to install the lens. Do not touch the
imager. Dirt or dust on the imager can affect sensing reliability.
4. Remove any protective covers from the lens. Handle the lens carefully to avoid smudges and dirt on the optical
elements.
5. Thread the lens (3) onto the sensor.
6. Make sure that the lens is focused; see Acquire a Good Image on p. 18.
7. Use the thumbscrews on the lens to lock the focus and aperture rings and to prevent movement that can occur during
cleaning or accidental contact.
8. If you are using a filter: Thread the filter (4) onto the front of the C-mount lens.
9. If you are using a linear polarization filter: Rotate the outer portion of the filter mount to determine the position where
glare is reduced the most, and use the locking thumbscrew to fasten the filter in position.
10. If you are using a sealed lens cover: Thread the sealed lens cover (5) onto the threaded portion of the sensor.
11. Or, if you are using an external light bracket: Attach an external light bracket to the sensor using the provided
hardware kit.
Note: For optimal imaging, provide adequate dissipation of heat. A good heat conductor, such as
aluminum, may be required.
CAUTION: This device accepts M3×0.5-h6 screws. Engaging the screws more than 3.00 mm will
damage the device.
3. Check the device alignment.
4. Tighten the mounting screws to secure the device (or the device and the bracket) in the aligned position.
1. Connect the Ethernet cable to the sensor (3) and to the computer or Ethernet switch.
2. Connect the power, discrete I/O cable to the sensor (1), and the leads to the appropriate locations. See Table 1 on p.
14 for the power, discrete I/O connections.
2 Brown 12 V dc to 30 V dc Input
VE VE VE Output
Output Common +
Output
12–30 V dc Power +
Load Output
- Supply
Load 12-30V dc Power
- Supply
VE Output Output Common
VE
VE Input VE
Input Common +
Input
+ 12–30 V dc Power
PNP Driver Input
- Supply
12–30 V dc Power NPN Driver
Opto-isolator - Supply
Opto-isolator
Input Common
VE Input
Output Power -
12–30 V dc
Supply +
5 Getting Started
Power up the sensor, and verify that the power/error LED is ON green and that the Ethernet indicator is ON amber to verify
the Ethernet connection.
e) In the Internet Protocol (TCP/IPv4) Properties, select Use the following IP address.
f) Make sure that the IP address is 192.168.0.2, and the subnet mask is 255.255.255.0.
2. Open Vision Manager from the desktop or the Start menu.
The Sensor Neighborhood tab displays and lists the available sensors.
3. From Sensor Neighborhood, click to connect to the desired sensor.
The status changes from Available to Connected and the Sensor screen displays. Click to disconnect
from the sensor.
4. If the desired sensor is not listed, verify that:
• The network adapter connected to the sensor has the same subnet mask as the sensor (for example,
192.168.0.xxx); view the subnet mask in the Network Adapters list at Home > Sensor Neighborhood >
Network Adapters
• The Ethernet cable is the correct type
• The TCP/IPv4 settings are correct
Or, manually enter the sensor's IP address.
Note: The sensor's IP address and subnet mask are also available from the sensor display.
6 Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries.
Note: There is no optimal value for this number, but it can be used as a guide if you are setting
up more than one sensor that are focused on the same target.
e) Tighten the locking thumbscrews to secure the lens at the desired focus.
Note: The camera tool for the new inspection inherits the parameters of the camera tool for the
previous inspection, however the two are not linked together.
3. Add tools and adjust them as needed for the inspection.
Note: Not all tools are available for all VE models, with the exception of Vision + ID models.
Available on:
Tool Name Description Vision ID Models
Models
Evaluates pixel brightness within an ROI and computes the average grayscale x
Average Gray value. See Average Gray Tool on p. 63.
Detects and counts/locates groups of connected light or dark pixels within the x
Blob ROI and designates them as blobs (Binary Large Objects). After blobs are
found, they can be characterized by size and shape. See Blob Tool on p.
82.
Detects a single circle or piece of a circle (arc). See Circle Detect Tool on p. x
Circle Detect 93.
Detects and counts transitions between bright and dark pixels (edges). Counts x
Edge the total number of edges, and determines the position of each edge. See
Edge Tool on p. 100.
Locates a single, straight line segment by finding edge points along bright or x
Line Detect dark pixel transitions and fitting a line to those points. See Line Detect Tool on
p. 109
Finds the first edge on a part and compensates for translation and rotation of x x
Locate downstream tools (if selected). See Locate Tool on p. 114.
Detects the edges of dark and bright segments and locates their midpoints. x
Object Counts dark and bright segments, and measures the width of each dark and
bright segment. See Object Tool on p. 132.
Measures distance, calculates angles, and creates points and lines for use as x
Measure inputs to other tools. See Measure Tool on p. 155.
The tool is added to Tools & Results and the region of interest (ROI) appears on the Image pane.
3. Configure the tool as needed for your application.
a) Resize and rotate the ROI around the feature to be analyzed.
b) Define or view parameters for the tool on the Input tab, such as ROI shape, threshold, or view the histogram.
c) Define pass or fail criteria on the Test tab, such as the count, size, or match.
Note: Use only letters, numbers, spaces, and the underscore in the tool name.
Note: Use only letters, numbers, spaces, and the underscore in the inspection name.
4. Press Enter or click off of the name to save the new name.
4. Click .
Inspection name.idb displays in the right column and the inspection is transferred (saved) to the selected location.
Important: Changes are automatically saved as they are made. Save a copy of the inspection if
you want to be able to go back to previous settings. Use the Emulator to set up or make changes to
an inspection offline.
Note: This inspection cannot be running and it cannot be selected to begin at startup.
3. Click .
The inspection name turns red and "Inspection marked for deletion" displays.
4. Click to another tab to delete the inspection, or click Undo to keep the inspection.
Only one sensor can be connected to each instance of the software. Open more than one instance of Vision Manager if you
want to connect to more than one sensor at a time. Only one instance of the software can be connected to the Emulator at a
time.
Status Description
Available—Ready to connect
Unavailable—The device is unavailable because another instance of the Vision Manager software
is already connected to the device
Subnet Mismatch—Unable to connect because the network IP address subnet settings are
incompatible
To connect to a sensor, click next to the desired sensor. To disconnect from a sensor, click .
To view or change sensor Status, MAC Address, Sensor Name, IP Address, Subnet Mask, and Gateway, click .
To add the sensor to a Favorites Group, click . The icon changes to .
To manually connect to a sensor with a known IP address, enter the IP address in the Enter IP Address field and click .
Favorites Tab
Save sensors to the Favorites tab for easy access to them. Sensors are saved to groups.
Navigate: Home > Sensor Neighborhood > Favorites.
Click Add New Group to create a new Favorites Group. To add a sensor to the group, on the Active Sensors tab, click
or from the Favorites tab, enter the sensor IP address and click to verify the connection to the sensor and automatically
save it to the selected group.
To manually add a sensor with a known IP address to the Favorites tab, enter the IP address in the Enter IP Address field
and select the desired group.
To remove a sensor from a group, click the across from the sensor name. To move the sensor to another group, click the
and select the desired group.
To remove a group and all the sensors within the group, click the across from the group name.
Network adapter information including Link Status (connected/not connected), Adapter name, IP Address, and Subnet Mask
is also available.
Sensor Maintenance includes sensor information such as sensor Status, Sensor Name, IP address, MAC address, Model
number, Firmware Version, and which sensors are tagged as favorites.
Actions include update firmware , view or change some sensor settings , and backup or restore sensor data .
Note: During the firmware update process, there are options to restore the sensor to the factory
default settings and to create a backup before updating the firmware.
Important: All stored inspections are deleted when factory default settings are restored. All user
profile information (user names and passwords) is deleted when factory default settings are
restored. Ethernet settings and favorites lists are retained.
This process can take several minutes. Do not close the program or remove power from the sensor during the update
process.
When the process is complete, the sensor restarts and the status returns to Available. Vision Manager displays the
new firmware version in the Firmware Version column.
6. Follow the prompts to restore the sensor data. An Emulator backup file can be used to restore the sensor.
Important: Selecting the Restore User Profiles checkbox overrides all of the user names and
passwords on the sensor that the restore file is being restored to.
6.1.3 Emulators
Use Emulators on the Home screen to connect to the emulator.
Figure 21. Emulators
Click to connect to the desired emulator. This tab also displays the Image location on the computer, as well as the
emulator version information.
To access the emulator for different types of the VE models, select the desired type from the Type list before clicking . The
Vision option enables the vision and analysis tools. The ID option enables the identification and analysis tools. The Vision +
ID option enables all tools.
Click under Folder Location to change the directory for the reference images. The default directory for images is C:
\Users\Public\Documents\Banner Vision Manager\VE Series\VE xMP\Images. Both 8-bit monochrome
bitmap (BMP) images and inspection logs are supported. Bitmap images should be the same resolution as the VE camera. If
inspection logs are placed in the Images directory, the emulator automatically extracts the image out of the inspection log
and uses it to run the currently loaded inspection. Click to open the directory.
The Emulators tab includes all available features and all tools function the same as they do when running on a sensor. On
the emulator, execution time is not calculated.
6. Follow the prompts to restore the sensor data. A sensor backup file can be used to restore the emulator.
6.1.5 About
Use About to view Vision Manager software information, including the version number.
Note: The Image Overlays parameter for each tool also control which ROI is shown and
this parameter overrides the ROI view buttons.
Zoom
Slide to zoom the Image pane in and out.
Status Messages
View status messages such as "Applying Changes" and "Waiting for Trigger". Some messages, such as "Applying
Changes," display only momentarily while a parameter change is serviced by the sensor. Other messages, such as
"Waiting for Trigger", require an action to be completed.
X and Y Coordinates and Grayscale Value
Displays the current x and y coordinates and grayscale value for the location the pointer is at in the Image pane.
Settings Button
Click to change some ROI settings.
• Change the size of the ROI labels
• Change the opacity of the background of the ROI labels
• Show or hide controls (change ROI shape, add a mask) in the labels, where applicable
• Change the size of the sizing handles
Full Image Display Mode Button
Click to expand the image to fill the screen. The image pane, image pane parameters, as well as passed, failed,
and missed counts are shown. Click to return to the standard view.
When in Full Image Display Mode, click to view the Test Summary Results and click to hide the Test
Summary Results.
Inspection Summary
When expanded, the Inspection Summary displays inspection pass, fail, and missed trigger statistics since the last time the
inspection summary results were reset.
A green checkmark indicates that an inspection passed, and a red X indicates that an inspection failed. A dash indicates that
there is no information to display.
The History Trend below the pass/fail statistics provides another visual indication of whether or not an inspection passed, as
well as an indication of when changes are made.
• Green indicates that an inspection passed
• Red indicates that an inspection failed
• Blue indicates that a change was made to the inspection
• Pink indicates that a product change was made—either a new inspection was added or the inspection was changed
to a different one
The History Trend holds up to 400 entries and updates after an inspection is completed. The entries are recorded first in, first
out, with the newest entry displayed on the left of the History Trend. Point to an entry on the History Trend for information
about the entry. For example, pointing to a green entry displays the frame number.
Click Reset to clear the Inspection Summary statistics. The History Trend does not reset.
When collapsed, the Inspection Summary displays only pass and fail information. The green number on the left represents
the number of inspections that passed. The red number on the right represents the number of inspections that failed since
the last reset.
I/O Summary
When expanded, the I/O Summary displays input and output status information and system errors, if present.
When collapsed, no I/O Summary information is visible.
Figure 25. I/O Summary
Inputs and outputs display on the I/O Summary after they are configured from the System Settings screen (see
Configure the Discrete I/O on p. 22). Green indicates that the I/O is active. Light gray indicates that the I/O is inactive.
The System Error indicator flashes red when an error is present. View and clear the error from the System Settings
screen (see Logs on p. 47).
Figure 26. IO Summary with Error
Test Summary
When expanded, the Test Summary shows results from the enabled Test parameters for each tool in the current inspection.
Failures are highlighted in red.
When collapsed, no Test Summary information is visible.
Figure 27. Test Summary with a Failure
Use Tool & Results to add and configure tools in an inspection and to view results. Click a camera tool or inspection tool on
Tools & Results to access the Parameters pane for that camera or tool. Click in the empty area below the tools to view
information about the inspection, such as Inspection Name and Execution Time. If Data export is enabled, the available data
also displays.
Figure 29. Tools & Results—Data Export Shown
See Using the Camera Tool on p. 59, Using the Inspection Tools: Vision Tools on p. 63, Using the Inspection Tools: ID
Tools on p. 140, and Using the Inspection Tools: Analysis Tools on p. 151 for additional tools information. See also Data
Export Tab on p. 44.
Use Tools Only to add and configure tools in an inspection. Click a camera tool or inspection tool on Tools Only to access
the Parameters pane for that camera or tool.
See Using the Camera Tool on p. 59, Using the Inspection Tools: Vision Tools on p. 63, Using the Inspection Tools: ID
Tools on p. 140, and Using the Inspection Tools: Analysis Tools on p. 151 for additional tools information.
At a glance, view the Result (pass/fail/status), execution Time (in milliseconds), Pass Count, and Fail Count for each item.
Expand each item for additional details.
1. Log Sources pane—Choose the source for the inspections logs to view, and set the criteria for collecting logs
2. Loaded Logs pane—View and filter the inspection logs
3. Image pane—Displays the saved inspection image captured by the sensor. This includes the tools that were used in that inspection
4. Summary pane—Displays saved information from a specific inspection and frame number
5. Parameters pane—Displays the logged Input or Test parameters, depending on what is selected in the Tools & Results pane
6. Tools and Results pane—Includes the Tools & Results tab, the Tools Only tab, and the All Results tab, which display the camera tool, the
tools that are included in the logged frame, and the results of the inspection
7. Image Pane Parameters panel—Includes ROI view buttons, zoom, x and y coordinates, grayscale value, and the ROI label settings button, as
well as sensor messages
• Fail Only
• By Slot Number
• Remote Teach All
• Remote Teach Pass
• Remote Teach Fail
Set the Strategy:
• First N Logs
• Last N Logs
Set the Capture Limit (limits the number of inspection logs the sensor holds in internal memory):
• Low Count
• Medium Count
• High Count
Filter logs to be viewed by pass , fail , remote teach , or inspection number using the buttons to the left of the
inspection previews. Click to clear all filters.
Note: Some parameters are disabled in the Inspection Logs. For example, if histogram information was
not collected during the inspection, it cannot be viewed from the log.
Note: Changing an inspection's name and slot number does not modify its CRC.
6.4.1 Manage
Use Manage to add new inspections, delete existing inspections, rename inspections, set an inspection to run at startup, or
copy an inspection.
Figure 33. Manage
Also displayed are the sensor name, inspection name, and whether the inspection is running.
Copy an Inspection
Duplicate (copy) an inspection to use as a starting point for a new inspection.
1. On the Inspection Management screen, click Manage.
2. Locate the inspection to copy and click .
A duplicate of the inspection is created with the same tools and parameters and is added to the inspection list as
Inspection (#).
3. Adjust the inspection as desired. The two inspections are not linked; changes are independent of each other.
Delete an Inspection
1. Click Inspection Management, then click Manage.
2. Select the inspection to be deleted.
Note: This inspection cannot be running and it cannot be selected to begin at startup.
3. Click .
The inspection name turns red and "Inspection marked for deletion" displays.
Figure 34. Inspection Marked for Deletion
4. Click to another tab to delete the inspection, or click Undo to keep the inspection.
6.4.2 Transfer
Use Transfer to transfer inspections between a connected sensor and a computer, network drive, or storage device.
Figure 35. Transfer
Click to navigate to and select a different folder. Click to open the folder to view the files.
Click to access the sensor properties editing window. Click to refresh the information.
• Sensor Name—View or change the sensor name
• Model—View the model number of the sensor
• Serial Number—View the serial number of the sensor
• Firmware Version—View the current firmware version of the sensor
• Up Time—View the amount of time the sensor has been running since it was last powered on
• Hour Count—View the number of hours the sensor has been powered on over its lifetime
• Boot Count—View the number of times the sensor has been powered on over its lifetime
• System CRC—View the current system CRC number
The system Cyclic Redundancy Check code, or CRC is listed on the System Settings > System Info tab. The CRC is
generated by considering each setting within the system. When a change is made to the system parameters (including a
change to the inspection CRC) a new CRC is generated. Because of this, CRC becomes a very simple yet powerful way to
determine if a change was made to the system since the last time it was modified.
Note: Changing the following sensor features and information does not modify the system CRC:
• Sensor IP address
• Sensor subnet mask
• Sensor gateway
• Sensor name
• Sensor Serial Number
• Sensor Mac Address
• User Profile changes
• Updated pattern in match tool if remote teach feature was used to change it
• Updated data compare string in the barcode tool if remote teach feature was used to change it
The inspection logs show which CRC an image was acquired under. The system CRC is available to a PLC and can be sent
using Data Export on all protocols.
The inspection CRC is available on the Inspection Management tab.
I/O
The VE has five configurable I/O. These are pins 1, 5, 8, 10, and 11.
Pin #
The pin number on the cable connection. See Table 1 on p. 14.
Wire Color
The corresponding wire color for each pin. See Table 1 on p. 14.
Status
Indicates whether or not the I/O is active.
Green = active
Gray = inactive
Function
The following input and output options are available:
• Disabled—The pin is not configured
• General Output—Used in conjunction with the Logic Tool to configure individual discrete outputs based on
specific tool results
• Pass—Active when the inspection passes
• Fail—Active when the inspection fails
• Ready—Active when the sensor is ready to accept another trigger
• System Error—Active when a system error occurs
• Online—Active when the Camera is connected
• Missed Trigger—Active when a trigger is missed. This error flag remains active until a counter reset or power
cycle
• Product Change—The input is used in conjunction with one of the four I/O points programmed as Product
Select lines. The inspection loaded will be executed following a valid trigger. See Function: Product Change
on p. 40 for additional details on Product Change
• Product Select Bit 0/1/2/3—Available when Product Change is selected on another I/O; used in conjunction
with Product Change to indicate which inspection slot number to switch to. See Function: Product Change on
p. 40
• Remote Teach—Sets the pin to accept input pulses for remote teaching the sensor. See Using Remote
TEACH with the Match Tool on p. 132 and Using Remote TEACH with the Barcode Tool Data Compare
Test on p. 147
Invert
Select to switch when the I/O is active or inactive.
Output Delay (ms)
The time from when a trigger starts an inspection until the sensor output turns on. It is available for the General
Output, Pass, Fail, and Missed Trigger functions of the selected pin.
Note: If the inspection execution time is longer than the output delay, the output becomes
active immediately after the processing is finished.
Latch Type
Select the behavior of the I/O pin when in the active state; available when the I/O is configured as an output.
• Latched—Maintains state until the condition of the associated function changes; available for the following
functions: General Output, Pass, Fail, Ready, System Error, Online, and Missed Trigger
• Pulsed—Maintains active state for a selected period of time, then returns to the inactive state; available for
the following functions: General Output, Pass, Fail, System Error, and Missed Trigger
• Trigger Gated—Output signal is only active upon trigger signal being active
• Latched Until Trigger—Maintains state until a new trigger is received; available for the following functions:
General Output, Pass, Fail, and Missed Trigger
Output Duration (ms)
The length of time the output is active.
This option is available for the Latch Type = Pulsed.
Minimum Hold READY Time
When checked, this option holds the READY signal inactive for at least this minimum duration after receiving a valid
trigger.
3 OFF OFF ON ON
5 OFF ON OFF ON
6 OFF ON ON OFF
7 OFF ON ON ON
9 ON OFF OFF ON
10 ON OFF ON OFF
11 ON OFF ON ON
12 ON ON OFF OFF
13 ON ON OFF ON
14 ON ON ON OFF
15 ON ON ON ON
6.5.3 Communications
Use Communications to view or change communication information, to set the industrial protocol, and to set image export,
data export, and serial connection settings.
On the Ethernet Settings tab , click to access the sensor properties editing window and view or change the following:
• IP Address—View or change the IP address of the sensor
• Subnet Mask—View or change the subnet address of the sensor
• Gateway—View or change the gateway address of the sensor
Max Speed
To change the Max Speed, the maximum negotiation speed with the network, select the desired speed from the list:
• 1000 Full Duplex
• 100 Full Duplex (default)
• 100 Half Duplex
Bandwidth
To change the Bandwidth, use the slider to set the desired setting. The default is Max (10).
The bandwidth setting allows for controlling the network traffic between the VE and the Vision Manager software,
and impacts the viewing rate on the Image pane as well as the time it takes to load the inspection logs from the
sensor to the computer. This does not impact other communication channels, such as Image Export, Industrial
Protocols, or Data Export.
When set to Max, data transfer is not impacted. When set to less than Max, the amount of data and the transfer rate
from the device to the Vision Manager software is reduced. For example, setting the bandwidth to a low number
reduces the network traffic, increasing the time it takes to load the logs, but does not affect the sensor's basic
operation (inspection time, communication with a PLC, etc.).
Due to variations in each network, test several bandwidth settings to find the one that works best for your network
and needs.
The Bandwidth setting is available with VE firmware version 1.8.0 and later.
Serial Tab
Use the Serial tab to configure the serial connection.
Navigate: System Settings > Communications > Serial.
Figure 40. Serial Tab
The serial connection is used with the Data Export function. It uses pins 4 and 12. Pin 4 is RS-232 TX (transmit) and pin 12 is
RS232 RX (receive). On the Serial tab, set the following parameters to match the receiving device:
Baud Rate
• 115200 (default)
• 57600
• 38400
• 28800
• 19200
• 9600
Data Bits
• 8 bits (default)
• 7 bits
Parity Control
• None (default)
• Even
• Odd
Stop Bits
• 1 Bits (default)
• 2 Bits
Note: Because there is no flow control for the serial connections, the sensor will not detect or log a lost or
broken connection.
On the Industrial Protocols tab, select the desired protocol to enable it.
• Disabled (default)
• EtherNet/IP
• PROFINET
• Modbus/TCP
• PCCC
A 32 Bit Format setting displays if Ethernet/IP, Modbus/TCP, or PCCC is chosen. Select LSW-MSW or MSW-LSW from the
list.
Figure 42. Industrial Protocols Tab—EitherNet/IP Selected
A customizable map to output camera or inspection tool-specific results also displays. The map includes the following:
• Register/Byte/Word (depending on the protocol selected)
• Inspection #
• Tool Type
• Tool Name
• Result
• Type
• Actions
Note:
• Inspection # changes automatically depending on which inspection includes the tool.
• Type changes automatically depending on how much space is available.
• Data in registers 1–16 are fixed and contained in the PLC input assemblies (EtherNet/IP, Modbus/
TCP, and PCCC).
Click Apply Changes to send the current map to the camera.
Click to print and save a PDF of the current map. The PDF includes all data, whether system-defined or user-defined.
Click above the map to return the map to the default settings. All user-defined output data is deleted. Click in the
Actions column to delete an individual result.
For additional information see:
• Set the Industrial Ethernet Protocol (EtherNet/IP, PROFINET, Modbus/TCP, PCCC) on p. 180
• Tool-Specific Results: EtherNet/IP on p. 188
• Tool-Specific Results: Modbus/TCP on p. 209
• Tool-Specific Results: PCCC on p. 220
• Tool-Specific Results: PROFINET on p. 228
On the Data Export tab, set the data export parameters, including which results to export, which channel to use, and the port
number to use. Note that the port number cannot be the same as any other port in use.
Use the data export map to select the results to publish. Use to add additional entries at the end of the list. Click or
to add additional entries above or below the currently selected entry. Use and to move an entry to either up or down in
the map.
Click above the map to return the map to the default settings. All user-defined output data is deleted. Click in the
Actions column to delete an individual entry.
Shown below the map is the data that is currently available to be exported.
The Frame Format settings are located to the right of the map and include the desired delimiter, start string, and end string.
The Missing Data Format settings are also located to the right of the map. These settings include the option to publish filler
characters in place of data that is missing in the current inspection. If Fill String is selected, enter the desired filler characters
in the Fill String field. Different filler characters can be published for missing numeric data or missing string data.
For additional information, see Data Export on p. 171.
Export
Set which images to export:
• Disabled (default)
• All
• Pass only
• Fail only
Ethernet Protocol
Choose which protocol to use to export images:
• TCP/IP
• FTP
Figure 44. TCP/IP Settings
See Image Export: TCP/IP on p. 173 and Image Export: FTP on p. 176 for more information.
Input String is disabled by default. On the Input String tab, configure the Port Number, String Header, and String Footer
to enable the sensor to receive an input string. For example, a VIN number supplied by a PLC to the sensor. This aids in
traceability. The string value is set only through the Ethernet source, not in Vision Manager. The maximum size, including the
header, content, and footer, is 50 bytes.
For additional information, see Input String: TCP/IP on p. 178.
6.5.4 Logs
The Logs default view is the System tab. Use the System Tab to view, export, or clear system logs and communication
logs. Select or clear the Display checkboxes to customize which events are shown.
Navigate: System Settings > Logs > System.
Figure 47. System Tab
To clear a system error flag (or state), click Clear System Error.
Note: The system error log entry will not be cleared from the log.
To export system logs, click Export Log and follow the prompts. Logs are exported as a .slog file.
To clear the log, click Clear Log.
View a system log exported from another sensor using the View Exported Logs tab.
Navigate: System Settings > Logs > View Exported Log. Click Load Log and navigate to the desired log file to view it.
Figure 48. View Exported Log Tab
6.5.5 Units
Use Units to select a unit to display, to adjust the precision, or to perform a perspective correction.
The VE Series Smart Camera computes tool distance and area values in units of pixels. The Scaling mode allows users to
convert pixels to user defined measurements units (for example, millimeters).
When the camera is not perpendicular to the part being inspected there is a natural perspective distortion, causing tool
distance and area values to vary across the image. The Perspective Correction mode addresses this situation.
Perspective Correction can also be used to adjust the camera's native coordinate system, for example matching the
coordinate system of a robot interfacing with the camera.
Use Precision to set the number of decimal places used in Distance and Area tool results.
Scaling
Use the Scaling mode to select a unit to display and to publish results that represent distance, size, and location
calculations.
Navigate: System Settings > Units > Units and Calibration, then select Scaling from the Mode list.
Figure 50. Scaling
By default, distance, size, and location calculations are shown in pixels. To change the displayed units, select the desired
measurement unit and parameters. The following Measurement Units are available:
• Microns (µm)
• Millimeters (mm)
• Centimeters (cm)
• Meters (m)
• Mils (mil)
• Inches (in)
• Feet (ft)
• Yard (yd)
Click Apply Changes to save the changes. Applying a scaling factor changes the measurements listed in the Tools and
Results to the selected unit and applies the scale to all inspections.
Note:
• Make sure the camera focus is as sharp as possible
• Span more pixels for increased accuracy
• Use objects closer to the center of the FOV to limit the distortion that naturally occurs closer to the
edges of the FOV
Perspective Correction
Use the Perspective Correction mode to enter real world coordinates, select a unit to display, and publish results which
represent locations and angles (except Blob Major Axis Angle).
Navigate: System Settings > Units > Units and Calibration, then select Perspective correction from the Mode list.
While configuring the perspective correction, inspections are suspended.
Figure 55. Perspective Correction
The Inspection list changes to a Calibration list. Up to five perspective corrections (calibrations) can be stored. Select the
appropriate Calibration # from the Inputs parameters on the Camera tool found on the Sensors tab. By default, the first
calibration created is applied to all inspections (this does not apply to the Emulator).
When Perspective Correction is used, All Results includes information about the Units.
Figure 57. All Results
1. Go to System Settings > Units > Units and Calibration, then select Perspective Correction from the Mode
list.
2. If needed, set the Exposure, Gain, or Auto Exposure on the Inputs parameters pane.
These settings are saved with the Calibration.
3. Select the desired measurement unit from the Real World Unit list.
This example uses millimeters.
4. If desired, click to add additional calibration points.
This example uses a fifth point. Up to 20 points can be added.
5. Move the P1, P2, P3, P4, and P5 calibration points to the desired location on the image.
The points should be spread out and accurately placed in the desired region of measurement.
When a calibration point is selected, the corresponding row in the Real World Coordinates table is highlighted.
Figure 58. Points Spread Out and Accurately Placed on the Image
6. In the Real World Coordinates table, enter the corresponding actual coordinates for each calibration point.
Figure 59. Real World Coordinates
The Computed Fit Error is the distance between a user-defined point in the real world coordinate space and the
computed point, based on the fit of all points in the real world coordinate space. Vision Manager displays the
minimum and maximum computed fit errors for all user-defined points when five or more points are used. If only four
points are used, there is no Computed Fit Error.
The Inputs parameters pane for the Camera tool (on the Sensor tab) now includes a Calibration dropdown.
Figure 61. Perspective Correction Calibration Parameter
8. If needed, select and add additional Perspective Correction Calibrations from the Calibration list at the top right of
the screen.
9. Select the desired Perspective Correction calibration for your inspection from the Calibration parameter list on the
Inputs parameters pane for the Camera tool.
Only one Perspective Correction Calibration can be associated with each inspection.
Precision
Use Precision to set the number of decimal places shown and exported.
Navigate: System Settings > Units > Precision.
Figure 62. Precision
Select the desired number of decimal places, from 1 to 6, that display throughout the software and in exported data. In
general, the number of decimal places chosen is the number used, however, there are a few exceptions. See the following
descriptions:
Camera Exposure
Camera exposure time is restricted by the minimum change the imager can perform. As a result, the values entered
manually may be automatically adjusted to the next value accepted by the imager.
Imager exposure precision:
• WVGA: 14 µs
• 1.3 MP: 14 µs
• 2 MP: 15 µs
• 5 MP: 10 µs
External Strobe
The external strobe duration and the external strobe exposure delay are restricted to 1 µs resolution. As a result, the
values entered by the user may be automatically adjusted to the next µs value.
Users
Use the Users tab to manage the use of user names and passwords and to view or change the type of user, user name, and
password for each user. Passwords are not required.
Navigate: System Settings > User Profiles > Users.
Figure 63. Users Tab
User Profiles are disabled by default. To enable User Profiles, select Enabled from the User Profiles list. This enables User
Profiles for the sensor you are currently connect to. The next time you connect to the sensor, you must enter a user name
and password to access the sensor, inspections, and other information.
Add a User
Use this procedure to add a new user to the system. Only an Administrator can add new users.
1. Click .
A new user is added and the Username field is active.
2. Enter the user name in the Username field.
Note: Use only letters, numbers, spaces, and the underscore in your user name.
3. Click Set Password to add a password, if desired.
The Change Password screen displays.
Change a Password
Use this procedure to change a password. Users can change their own password. An Administrator can change any
password.
Note: If you are a non-Administrator user and you lose your password, an Administrator can change your
password to a new one. If you are an Administrator and you lose your password, contact Banner
Engineering.
Profiles
Use the Profiles tab to determine the level of access given to each type of user (user profile).
Navigate: System Settings > User Profiles > Profiles.
Figure 64. Profiles Tab
The Profiles tab shows the functions that are enabled or disabled for each user profile. Only an Administrator can change
the functions or the profile names. Select and clear the check boxes to enable or disable the desired functions for each user
profile. The selected functions apply to every user of that user profile. Click to return this screen to the default functions for
each user profile.
When an unauthorized user attempts to access a restricted feature, a warning displays that the user is not authorized. In
many cases, a displays next to items in the software to indicate that the item is not available for the current user.
An Administrator user has all available functions, and this column is not editable. Using the default selections, a Monitor user
has the fewest available functions.
Important: All stored inspections are deleted when factory default settings are restored. All user profile
information (user names and passwords) is deleted when factory default settings are restored. Ethernet
settings and favorites lists are retained.
When the camera tool is selected, it is highlighted orange in Tools & Results and in Tools Only, the Inputs tab displays on
the Parameters pane, and the camera tool results are highlighted in All Results.
7.1 Imager
Use the Imager parameters to adjust the exposure and gain.
Figure 66. Imager
Exposure
Exposure time is the amount of time the camera allows light to energize the imager chip. Increasing the exposure
time allows more light to energize the imager chip, which brightens the picture. Use the slider or enter the desired
exposure time in milliseconds.
Gain
Gain is an electronic boost to the image signal. Increasing gain increases image brightness without increasing
exposure time. Use the slider or enter the desired gain number.
Note: Gain brightens both the light pixels and the dark pixels. High gain values will make the
image appear grainy.
Auto Exposure
During Auto Exposure, the exposure time and gain are optimized for the current inspection. Click Start to begin Auto
Exposure.
Note: Several triggers may be required to calculate the optimized values for exposure and
gain.
7.2 Trigger
Use the Trigger parameters to set the method and rate at which the sensor captures images. Trigger parameters are stored
in the inspection file and can be different for each inspection.
Figure 67. Trigger
Internal (default)
The sensor triggers itself at a user-defined rate. Use the slider or enter the desired rate, from 10 ms to 10,000 ms.
The default rate is 100 ms.
External
The sensor is triggered either manually using the trigger button in the Vision Manager software or it is triggered
by an external source (via the trigger pin or Ethernet), such as a photoelectric sensor. The external trigger option has
the following parameters:
• Trigger Polarity—Sets when the image is captured compared to the trigger signal. Choose Leading Edge
to capture images at the leading edge of a trigger signal. Choose Trailing Edge to capture images at the
trailing edge of the trigger signal. The default is Leading Edge.
• Trigger Delay—Sets the fixed time from the instant the sensor receives a valid trigger to the instant the
sensor captures the image. Use the slider or enter the desired time in milliseconds, from 0 ms to 10,000 ms.
The default is 0 ms.
• Minimum Trigger Width—Eliminates unwanted triggers by accepting triggers only if they last for a specified
duration. Use the slider or enter the desired minimum trigger width in milliseconds, from 1 ms to 5,000 ms.
The default is 1 ms.
• Trigger Divide—Sets the logic for how valid trigger inputs are related to actual images taken. If the Trigger
Divide is set to 1, an image is captured in response to every valid trigger. If it is set to 2, an image is captured
in response to every second valid trigger, and so on. Use the slider or enter the desired trigger divide, from 1
to 1,000. The default is 1.
Free Run
The sensor immediately issues a new trigger at the end of an inspection.
Industrial Ethernet
The Industrial Ethernet communications channel controls the trigger. A PLC or HMI triggers the camera tool over an
Industrial Ethernet protocol such as EtherNet/IP or PROFINET. The trigger pin no longer functions, but the manual
trigger button in the Vision Manager software and the TCP Input String function can also still trigger the camera
tool.
The focus number is a number between 1 and 255. Use the Image pane to determine when the image is sharp enough, or
use the focus number as a guide. Turn the focus ring on the lens until the focus number is at the highest possible number
between 1 and 255. The focus number is also available on the sensor display.
Note: There is no optimal value for this number, but it can be used as a guide if you are setting up more
than one sensor that are focused on the same target.
Strobe Type
The strobe type of the VE Series camera should match the style of external light used, otherwise the ON/OFF
behavior of the light will be inverted.
• Active Low—A 0 V dc external strobe signal is provided by the VE Series camera when the external light
should be ON. A +5 V dc external strobe signal is provided by the VE Series camera when the external light
should be OFF. This is the default strobe type setting for the VE Series camera and many of the external
vision lights Banner offers.
• Active High—A +5 V dc external strobe signal is provided by the VE Series camera when the external light
should be ON. A 0 V dc external strobe signal is provided by the VE Series camera when the external light
should be OFF.
Mode
• Always Off—The external light is always OFF
• Always On—The external light is always ON
• Exposure Based—The external light is ON for the duration of the camera exposure time
• Time Based—The external light is ON for the duration of a user-defined time period
Exposure Delay
The external light turns ON after a user-defined time delay, in milliseconds, after a valid trigger. Available only when
the Mode is Exposure Based or Time Based.
Duration
The external light is ON for a user-defined amount of time, in milliseconds. Available only when the Mode is Time
Based.
Focus Number
The focus number for the frame being viewed, if the Focus Number parameter is enabled in the Camera tool. See
Focus Information on p. 61 for more information on the Focus Number.
Execution Time
The execution time for the camera tool. This is the total time required to capture an image.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Status
Status and error messages display as appropriate.
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 72. ROI Shape Selection
Resize and rotate the ROI around the feature to be analyzed. Change the shape of the ROI to a square, ellipse, or
circle as needed by expanding ROI on the Parameters pane and selecting the desired shape. An ROI can be as large as the
entire Field of View (FOV). The ROI automatically displays on the Image pane when a tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Masks
Add and define a mask to exclude a group of pixels from the tool analysis.
Figure 73. Masks Parameters
A mask created for a tool will not apply to any other tool in the inspection. Up to 10 masks can be added to a tool.
1. Expand Masks on the Inputs tab.
2. Click . The mask ROI automatically displays on the Image pane.
3. Select the mask shape. The mask ROI can be rectangular, elliptical, or circular.
4. Resize and rotate the mask ROI around the pixels to be excluded.
5. To delete a mask, click .
The default settings of 0 to 255 allow all pixels to be included in the average calculation.
Note: An average grayscale result of – indicates that all pixels in the ROI have been excluded by the pixel
intensity range parameter.
Image Overlays
Choose whether to display or hide the ROI or masks.
Figure 75. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide ROI
Hides the ROI when the tool is not selected.
Hide Masks
Hides the Mask ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 76. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 77. Inspection Pass/Fail
Average Grayscale
The average grayscale value of the pixels in the ROI.
Standard Deviation
The standard deviation of the average grayscale value for the pixels in the ROI.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 82. Bead Tool ROI
The ROI is configurable to follow the desired path of the adhesive or sealant being analyzed. Adjust the width of the ROI and
set the sample rate. From the list select the frequency of bead width measurements: Every Pixel, Every 2nd Pixel, or Every
4th Pixel. See Bead Tool: Adjust the ROI on p. 73.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Masks
Add and define a mask to exclude a group of pixels from the tool analysis.
Figure 83. Masks Parameters
A mask created for a tool will not apply to any other tool in the inspection. Up to 10 masks can be added to a tool.
1. Expand Masks on the Inputs tab.
2. Click . The mask ROI automatically displays on the Image pane.
3. Select the mask shape. The mask ROI can be rectangular, elliptical, or circular.
4. Resize and rotate the mask ROI around the pixels to be excluded.
5. To delete a mask, click .
Threshold
The threshold parameter separates the bead from the background, in terms of contrast.
An adaptive threshold is a technique that adjusts the threshold for the tool based upon lighting changes and image content
within the ROI. It performs best if used with bi-modal images, where most pixels fall into two groups of different brightness
levels. Adaptive threshold chooses the current threshold value by converging to a value based on the average value of the
pixels above and below the previous threshold value; it will not move the value of the threshold above or below the minimum
and maximum limits.
Reject Level
When the Bead/Blob Type is set to Bright, use the Reject Level to narrow the range of pixel intensities to be considered in
an inspection. All pixels brighter than the Reject Level are ignored.
Leaving the Reject Level at the default of 255 means that the tool takes into consideration all grayscale levels in the ROI
from 0 (black) to 255 (white).
Reject Level
When the Bead/Blob Type is set to Bright, use the Reject Level to narrow the range of pixel intensities to be considered in
an inspection. All pixels brighter than the Reject Level are ignored.
Leaving the Reject Level at the default of 255 means that the tool takes into consideration all grayscale levels in the ROI
from 0 (black) to 255 (white).
Filters
Select the checkbox to ignore boundary pixels.
Figure 87. Bead Tool Filters
Boundary pixels are bead pixels that touch the ROI. If boundary pixels are ignored, one or more segments may also be
ignored.
Image Overlays
Choose whether to display or hide the annotations, ROI, or masks when this tool is not selected. Masks are hidden by
default.
Figure 88. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Hide ROI
Hides the ROI when the tool is not selected.
Hide Masks
Hides the Mask ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 91. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 92. Inspection Pass/Fail
Count - Good
The number of beads that fall within the user-defined good bead width.
Expand Count - Good to see the length of each bead, the total length of all beads, and the longest length.
Count - Narrow/Gap
The number of narrow beads or gaps that qualify as having a narrow bead width.
Expand Count - Narrow/Gap to see the length of each bead, the total length of all beads, and the longest length.
Count - Wide
The number of wide beads that qualify as having a wide bead width.
Expand Count - Wide to see the length of each bead, the total length of all beads, and the longest length.
Average Width
The average width of all beads.
Expand Average Width to see the largest width and the smallest width.
Adaptive Threshold
The grayscale value used to detect the bead when the Threshold Type is Adaptive. If the tool cannot calculate this
value, or if the Threshold Type is Fixed, this value displays as --.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
Note: This procedure is an example only. Use the appropriate steps to adjust the Bead tool ROI for your
application.
4. Click the plus sign on either end of the bead ROI to add more anchor points.
b) Click to select the location for the new anchor point; is added on the line.
Figure 98. Inline Anchor Point Location Selected
c) Click the point again to set the location on the line. The changes to .
Figure 99. Inline Anchor Point Set
6. Click on an anchor point and the Trash icon displays above it; click the Trash to delete the point.
Figure 100. Click to Delete Anchor Point
7. Use the ROI sliders in the Input tab to change the ROI width.
Figure 101. Bead Tool ROI Width
8. Use the Good Bead Width parameter under Characteristics to define the good bead width.
Green indicates that the bead width is acceptable. Red indicates that the bead width is too narrow or that a gap
exists. Blue indicates that the bead width is too wide.
Figure 102. Good, Narrow, and Wide Adhesive Widths
In this example, scaling is on (System Settings > Units > Scaling) with the Measurement Unit set at Millimeters, the
Measurement in Pixels set at 810, and the Measurement in Millimeters set at 70.
1. Add a Bead tool to the inspection.
2. Adjust the ROI path and width to match the adhesive bead.
See Bead Tool: Adjust the ROI on p. 73.
Figure 103. Bead ROI
6. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Figure 107. Bad Part—Narrow Bead Width Figure 108. Bad Part—Gap
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 110. ROI Shape Selection
Resize and rotate the ROI around the feature to be analyzed. Change the shape of the ROI to a square, ellipse, or
circle as needed by expanding ROI on the Parameters pane and selecting the desired shape. An ROI can be as large as the
entire Field of View (FOV). The ROI automatically displays on the Image pane when a tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Masks
Add and define a mask to exclude a group of pixels from the tool analysis.
Figure 111. Masks Parameters
A mask created for a tool will not apply to any other tool in the inspection. Up to 10 masks can be added to a tool.
1. Expand Masks on the Inputs tab.
2. Click . The mask ROI automatically displays on the Image pane.
3. Select the mask shape. The mask ROI can be rectangular, elliptical, or circular.
4. Resize and rotate the mask ROI around the pixels to be excluded.
5. To delete a mask, click .
Sensitivity
Set the Sensitivity to define how sensitive the sensor is to finding blemish or other edges within the ROI. The sensitivity
value helps account for light variations that can affect how well the sensor detects edges on inspected parts.
Figure 112. Sensitivity
The Sensitivity scale is from 0 to 100 where 0 means least sensitive and 100 means most sensitive. If set near 0, the sensor
finds very sharp edges with strong contrast. If set near 100, the sensor finds very dim or blurry edges, and may be unstable.
The default is 80.
Use the sliders to specify the edge length range in pixels. Edges found within this range will be considered when calculating
the Pass Count. Green represents lengths within the specified range and yellow represents lengths outside of the specified
range.
Image Overlays
Choose whether to display or hide the annotations, ROI, or masks when this tool is not selected. Masks are hidden by
default.
Figure 114. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Figure 115. Show Blemish Tool Annotations Figure 116. Hide Blemish Tool Annotations
Hide ROI
Hides the ROI when the tool is not selected.
Hide Masks
Hides the Mask ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 117. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 118. Inspection Pass/Fail
Count
The total number of edge pixels counted.
Length Range
The minimum and maximum edge lengths found.
Expand Length Range to see the minimum and maximum edge pixels counted, and the total edge pixels for each
blemish.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
Figure 120. Light Date/Lot Code on a Dark Background Figure 121. Dark Date/Lot Code on a Light Background
4. Leave the default minimum and maximum edge length range (100 px and 165000 px).
This defines how long the edge has to be before it is counted and how small it can be before it is ignored. Green
means that the edge is within the criteria to be counted and yellow means it is outside of the criteria and is being
ignored.
5. Set the Test parameters to set the pass/fail criteria.
a) On the Test tab, select the Count checkbox.
This option sets the number of edges that must be present within the ROI that match the inspection parameters
so that the tool passes.
b) Move the sliders or enter the minimum count at 242 and the maximum count at 233230.
For example, a minimum and maximum count of 0 and 0 means that the part must have zero edges within the
ROI that match the inspection parameters. In this case, the part must be blemish-free.
Note: The green bar indicates the current count and the light gray background indicate the
count over time since the last reset.
6. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Figure 122. Bad Part—Missing Date/Lot Code
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 124. ROI Shape Selection
Resize and rotate the ROI around the feature to be analyzed. Change the shape of the ROI to a square, ellipse, or
circle as needed by expanding ROI on the Parameters pane and selecting the desired shape. An ROI can be as large as the
entire Field of View (FOV). The ROI automatically displays on the Image pane when a tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Masks
Add and define a mask to exclude a group of pixels from the tool analysis.
Figure 125. Masks Parameters
A mask created for a tool will not apply to any other tool in the inspection. Up to 10 masks can be added to a tool.
1. Expand Masks on the Inputs tab.
2. Click . The mask ROI automatically displays on the Image pane.
3. Select the mask shape. The mask ROI can be rectangular, elliptical, or circular.
4. Resize and rotate the mask ROI around the pixels to be excluded.
5. To delete a mask, click .
Threshold
The threshold parameter is used to mark a transition point.
An adaptive threshold is a technique that adjusts the threshold for the tool based upon lighting changes and image content
within the ROI. It performs best if used with bi-modal images, where most pixels fall into two groups of different brightness
levels. Adaptive threshold chooses the current threshold value by converging to a value based on the average value of the
pixels above and below the previous threshold value; it will not move the value of the threshold above or below the minimum
and maximum limits.
Reject Level
When the Bead/Blob Type is set to Bright, use the Reject Level to narrow the range of pixel intensities to be considered in
an inspection. All pixels brighter than the Reject Level are ignored.
Leaving the Reject Level at the default of 255 means that the tool takes into consideration all grayscale levels in the ROI
from 0 (black) to 255 (white).
Area Range
Set the size range of blobs that the tool will count.
Figure 128. Area Range
Green represents blobs that are within the set range, and yellow represents blobs that are outside of the set range.
Blob Statistics
Select to calculate and display advanced results on Tools & Results and All Results.
Figure 129. Blob Statistics
When enabled, Perimeter, Compactness, Major Axis Length, Minor Axis Length, Major Axis Angle, Eccentricity, Minimum
Radius, Maximum Radius, Minimum Radius Position, Maximum Radius Position, Top Left Position X, Top Left Position Y,
Bottom Right Position X, and Bottom Right Position Y are calculated in addition to Area and Centroid.
Filters
Set filters for tool analysis.
Figure 130. Blob Tool Filters
Image Overlays
Choose whether to display or hide the annotations, ROI, or masks when this tool is not selected. Masks are hidden by
default.
Figure 131. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Figure 132. Show Blob Tool Annotations Figure 133. Hide Blob Tool Annotations
Hide ROI
Hides the ROI when the tool is not selected.
Hide Masks
Hides the Mask ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 134. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 135. Inspection Pass/Fail
Count
The number of blobs found.
Total Area
The total area of all of the blobs found.
Area Range
The minimum and maximum areas of the blobs found.
Expand Area Range to see the area and centroid (center point) for each blob.
Click a blob's area range to highlight that blob on the Image pane.
Statistics
Advanced statistical information about each blob.
When enabled, Perimeter, Compactness, Major Axis Length, Minor Axis Length, Major Axis Angle, Eccentricity,
Minimum Radius, Maximum Radius, Minimum Radius Position, Maximum Radius Position, Top Left Position X, Top
Left Position Y, Bottom Right Position X, and Bottom Right Position Y are calculated in addition to Area and
Centroid.
Available when Calculate Blob Statistics is checked. See the following sections for more details.
Adaptive Threshold
The grayscale value for the software-selected threshold value used to generate the blobs.
This result is blank if the threshold type is set to Fixed.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
Area
The area (A) is a count of the total number of pixels that belong to the blob.
Centroid
The centroid (xc, yc) is the point at the center of mass of the blob.
For simple blobs such as solid circles, ellipses, or rectangles, this is the center of the shape. For more complicated shapes it
is helpful to imagine a piece of cardboard cut in the shape of the blob. The centroid is the point where you could balance the
cardboard on the tip of a pencil. For complicated shapes—especially shapes with unfilled holes—the centroid might lie
outside of the shape.
The x coordinate of the centroid is calculated by adding the x coordinates of each pixel in the blob and dividing by the area.
The y coordinate is similar:
Perimeter
The perimeter (P) gives an approximate measurement of the length of the circumference of the blob.
Because blobs are built from individual pixels, it is most practical to estimate the perimeter by counting the contributions of
individual pixels on the blob's boundary. The following describes the exact values that are added to the perimeter for each
possible pixel configuration. In each example, the description refers to the center pixel in the corresponding pictures.
A pixel with no neighbors that belong to the same blob contributes 3.14
linear pixels to the perimeter of the blob. This can happen only in a blob
that has an area of one. Since such small blobs are usually ignored, this
circumstance is rare.
A pixel with one neighbor that belongs to the same blob contributes
2.571 linear pixels to the perimeter of the blob.
A pixel with two neighbors that belong to the same blob, forming a
straight line, contributes exactly 2 linear pixels to the perimeter of the
blob.
A pixel with two neighbors that belong to the same blob, forming a
corner, contributes 1.414 linear pixels to the perimeter of the blob.
A pixel with three neighbors that belong to the same blob contributes
exactly 1 linear pixel to the perimeter of the blob.
A pixel with four neighbors that belong to the same blob contributes
nothing to the perimeter of the blob.
This method of counting slightly overestimates the "true" perimeter. For example, a circle with a radius of 100 pixels has a
computed perimeter of approximately 660 pixels, compared with the expected value of 628 pixels.
If the sensor is configured to convert pixel distances to other units, (for example, millimeters), the perimeter is given in those
units. If the blob contains holes that have not been filled, the length of the perimeter includes the points on the perimeters of
these holes.
Compactness
Compactness is a measurement of the space a blob occupies.
The compactness is high for blobs that are nearly circular and low for blobs that are elongated or complicated.
compactness =
Where A is the area and P is the perimeter of the Blob in question. An idealized circle would have a compactness of 100, but
because the perimeter is approximated (see above), the highest realistic value for most blobs is roughly 90. Very small blobs
with just a handful of pixels may reach or even exceed the theoretical maximum of 100, again because of the approximations
in the perimeter calculation.
Major Axis Length, Minor Axis Length, and Major Axis Angle
Major Axis Length, Minor Axis Length, and Major Axis Angle are determined using a best fit ellipse.
To understand Major Axis Length, Minor Axis Length, and Major Axis Angle, it is important to note that these are not
measurements of the blob itself because the blob may be an irregular shape. Rather, these measurements are determined
by a well-defined shape, a "best fit ellipse".
Figure 137. Best Fit Ellipse
These three results combine to give information about the elongation and orientation of a blob . The equations used to
compute these statistics are complicated, but the results usually have an intuitively useful meaning, described below. The
first step in computing these results is to compute the M2,0, M0,2 and M1,1 statistical moments:
where A is the area, (xc, yc) are the coordinates of the centroid, and (xi, yi) are the coordinates of pixel i. These values
represent the variance with respect to x, the variance with respect to y, and the covariance, respectively. The final results can
be calculated as follows:
The following table gives a more practical perspective on how to interpret these results. If the sensor is configured to convert
pixels to other units, the major and minor axis lengths are given in those units. The major axis angle is always given in
degrees.
Blob Shape Meaning of Major Axis Meaning of Minor Axis Meaning of Major Axis
Length Length angle
Circular, no holes Diameter of the circle Equal to the major axis Unstable
length
Elliptical, no holes Length of the ellipse Width of the ellipse Orientation of the ellipse
Square, no holes Diameter of a circle that best Equal to the major axis Unstable
approximates the square length
Rectangular, no holes Length of an ellipse that best Width of an ellipse that best Orientation of the rectangle
approximates the rectangle approximates the rectangle
Complicated shape, no holes Length of an ellipse that best Width of an ellipse that best Orientation of the shape—
approximates the shape approximates the shape unstable if length and width
are nearly equal
Blob Shape Meaning of Major Axis Meaning of Minor Axis Meaning of Major Axis
Length Length angle
Any shape with holes Results vary depending on Results vary depending on Results vary depending on
exact shape—experiment on exact shape—experiment on exact shape—experiment on
your particular shape your particular shape your particular shape
Eccentricity
The eccentricity of a blob is the length of the major axis divided by the length of the minor axis.
For circular regions and other regions with radial symmetry (such as a square), the value will be very close to 1. For
elongated regions, the value will increase.
Top Left Position X, Top Left Position Y, Bottom Right Position X, and Bottom
Right Position Y
The top left and bottom right coordinates are determined using a bounding box around each blob. These positions represent
the maximum and minimum coordinates of each blob.
Figure 138. Blob Bounding Box
Top Left
Position
(x,y)
Bottom Right
Position (x,y)
Note: The green bar indicates the current count and the light gray background indicates the
count over time.
6. Copy the Blob tool.
a) With the Blob tool selected, click .
The tool and all of the settings are duplicated (copied) and all of the tools are deselected.
b) Select one of the Blob tools and click a second time.
There are now three Blob tools with the same settings.
7. Click Blob02 (the second Blob tool) and move the ROI over the second blister pack.
8. Click Blob03 (the third Blob tool) and move the ROI over the third blister pack.
9. Click to show all three ROI at the same time.
10. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Figure 142. Bad Part—Missing Pill Figure 143. Bad Part—Broken Pill
Example applications:
• Find flaws such as chips or metal spurs along a punched or drilled hole
• Measure hole size
• Measure the size of a disk
• Verify that the neck on a vial or bottle is the correct size
• Measure the bend radius of an electronic component
• Find the radius of a circle that is too big to fit in the image
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 145. Circle Detect Tool ROI
The ROI is two concentric circles that can also be configured as an arc. Resize or reshape the ROI around the feature
to be analyzed. Tool analysis follows the direction of the arrow. The ROI automatically displays on the Image pane when a
tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Use the two circles to surround the specific circle of interest and avoid other edges, and to improve the execution time by
reducing the number of pixels that are analyzed.
ROI Width
Larger ROIs find more edges, however if too many edges are outliers, the desired circle may not be found. Smaller
ROIs execute faster.
The tool works best when the inner ring of the ROI is completely inside the circle being detected, and when the ROI
and the circle being detected are concentric.
Sample Rate
The sample rate sets the spacing between scan lines along the width of the ROI (one sample for every pixel, one
sample every second pixel, etc.). When the sample rate includes more pixels, more edges, more precise results, and
small flaws are found. The highest sample rate is Every Pixel. When the sample rate includes fewer pixels, fewer,
more widely spaced edges are found. The lowest sample rate is Every 64th Pixel. This creates a trade-off between
speed and precision. Lower sample rates execute faster, and higher sample rates find more precise results and are
capable of detecting smaller flaws.
Threshold
Indicates the rate of change of grayscale values that is needed to detect an edge.
Figure 146. Threshold Parameters
Edges are detected by measuring transitions from bright to dark or dark to bright. Enter a threshold in the range from 1 to
255. The default value is 20. As this value is reduced, the tool finds weak, blurry, or more gradual lines or edges. At lower
thresholds, unwanted transitions such as background noise may become edges. Detected edges are combined to find
potential circles.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
Search For
Set the type of object that the Line Detect tool searches for.
Image Overlays
Choose whether to display or hide the annotations or the ROI when this tool is not selected.
Figure 147. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Figure 148. Show Circle Detect Tool Annotations Figure 149. Hide Circle Detect Tool Annotations
Hide ROI
Hides the ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 150. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 151. Inspection Pass/Fail
Center
The x and y coordinates of the center of the found circle. This point can be used as inputs to other tools.
Radius
The distance from the center of the detected circle to its edges.
Min Radius
The distance from the center of the circle to the closest included edge point.
Min Radius Point
The x and y coordinates of the include edge point located closest to the center of the circle or arc.
Max Radius
The distance from the center of the circle to the farthest included edge point.
Max Radius Point
The x and y coordinates of the included edge point located farthest from the center of the circle or arc.
Circumference
The distance around the circle.
Available when Search For is set to Circle, Best Points or Circle, All Points.
Arc Length
The distance along the arc.
Available when Search For is set to Circular Arc.
Arc Angle
The angle between the start and the end of the arc.
Available when Search For is set to Circular Arc.
Arc Start
The angle between the x-axis and the beginning of the arc. This is between -180 and +180 degrees.
Available when Search For is set to Circular Arc.
Arc End
The angle between the x-axis and the end of the arc. This is between -180 and +180 degrees.
Available when Search For is set to Circular Arc.
Average Error
The average distance between included edge points and the circle found.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
1. Add a Circle Detect tool to the inspection to check the outer edge of the disk.
2. Adjust the ROI to frame the outside edge of the disk.
a) Move the ROI so that it is concentric with the disk.
b) Expand the outer ring of the ROI to frame the disk. Leave some space around the disk to ensure that flashing or
spurs are found.
c) Adjust the inner ring of the ROI so that the hole in the disk is exclude from the inspection.
Note: The flashing on the outer edge Note: This crack fails both of the
fails only the first Circle Detect tool in Circle Detect tools in this example.
this example.
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 158. ROI Parameters
The ROI is a line of pixels that can be shortened, lengthened, or widened as needed for the inspection. Tool analysis follows
the direction of the arrow. Set the width and the sample rate for the region of interest. The ROI automatically displays on the
Image pane when a tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
ROI Width
An ROI can be as large as the entire Field of View (FOV).
Note that:
• Narrow ROIs execute faster but could miss the edge
• Wide ROIs are more consistent but don't execute as fast
• A wide ROI provides an average value/location, which results in improved repeatability
• The ROI must be 13 pixels or wider to calculate the rotation of a part (Locate tool only)
Sample Rate
The sample rate sets the number of samples per pixels (one sample per pixel, two samples per pixel, etc.). The
sample rate determines the sub-pixel resolution, which increases the resolution of the tool, and increases the
inspection time.
Threshold
The Threshold parameter marks the grayscale transition point.
The tool marks the edge where the pixel intensity crosses the threshold level. From the Threshold Type list, select one of
the following:
• Absolute
• Relative (default)
• Edge Strength
While Absolute threshold is less likely to find a false edge than Relative threshold, it may miss edges if the light level changes
between inspections.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
For absolute threshold, the x axis is the length of the ROI. The y axis is the actual grayscale value from 0 to 255. The light
blue line shows the absolute pixel intensity. The horizontal gray threshold line moves up or down with the threshold value.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
The brightest grayscale level found along the ROI is 100% and the darkest is 0%. While Relative threshold is more tolerant of
light fluctuations between inspections than other transition types, it may find false edges.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
For relative threshold, the x axis is the length of the ROI. The y axis is the pixel intensity along the ROI, with 0% as the
darkest pixel in the ROI and 100% as the lightest pixel in the ROI. The light blue line shows the percentage pixel intensity
relative to the horizontal gray threshold line. The threshold line moves up or down with the percent value.
Note: Because the pixel intensity is relative to what is seen in the ROI, this does not necessarily mean that
0% = pure black or that 100% = pure white.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
Edge strength ignores gradual changes in light levels across the tool better than other threshold types and it filters out weak
or gradual edges.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
For edge strength threshold, the x axis is the length of the ROI. The y axis has two measurements. The first is the light blue
axis. It represents Edge Strength, a measure of the rate of change of pixel grayscale values. The second is the dark gray
axis. It represents Edge Profile, which gives the absolute grayscale level across the tool ROI. The blue line is the rate of
change of the grayscale value along the ROI. The two horizontal gray lines are the edge strength threshold plus and minus.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
Filters
Set filters for tool analysis.
Figure 167. Edge Tool Filters
Smoothing
Runs a rolling average along the ROI length. Smoothing filters out sharp changes in the edge profile.
Note: A high filter number may miss the edge of a narrow line.
Note: A high filter number may miss the edge of a narrow line.
Edge Profile
The Edge Profile graph changes depending on which threshold type is selected. Refer to the Threshold section and the
specific threshold types for details on the Edge Profile graph.
Image Overlays
Choose whether to display or hide the annotations or the ROI when this tool is not selected.
Figure 168. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Figure 169. Show Edge Tool Annotations Figure 170. Hide Edge Tool Annotations
Hide ROI
Hides the ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 171. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 172. Inspection Pass/Fail
Total Count
The total number of edges.
Expand Total Count to see the location of each edge.
Click an edge number/location to highlight that edge in the Image pane.
Dark to Bright Count
The total number of edges that start below the threshold value and cross above the threshold value.
Expand Dark to Bright Count to see the location of each edge.
Bright to Dark Count
The total number of edges that start above the threshold value and cross below the threshold value.
Expand Bright to Dark Count to see the location of each edge.
Note: The green bar indicates the current distance and the light gray background indicates the
distance over time.
9. Click to show all ROIs at the same time.
Figure 177. All Tools Shown
10. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Figure 178. Good Part Figure 179. Bad Part—Plunger Too High
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 181. Line Detect Tool ROI
The ROI is a line of pixels that can be shortened, lengthened, or widened as needed for the inspection. Tool analysis follows
the direction of the arrow. Set the width and the sample rate for the region of interest. The analysis functions best when the
ROI is positioned perpendicular to the feature to be analyzed. The ROI automatically displays on the Image pane when a tool
is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
ROI Width
An ROI can be as large as the entire Field of View (FOV).
An ROI that captures as much of the line feature to be analyzed while minimizing other image content may improve
consistancy. Note that:
• Narrow ROIs execute faster but could miss the edge
• Wide ROIs are more consistent but don't execute as fast
• A wide ROI provides an average value/location, which results in improved repeatability
Sample Rate
The sample rate sets the spacing between scan lines along the width of the ROI (one sample for every pixel, one
sample every second pixel, etc.). When the sample rate includes more pixels, more edges, more precise results, and
small flaws are found. The highest sample rate is Every Pixel. When the sample rate includes fewer pixels, fewer,
more widely spaced edges are found. The lowest sample rate is Every 64th Pixel. This creates a trade-off between
speed and precision. Lower sample rates execute faster, and higher sample rates find more precise results and are
capable of detecting smaller flaws.
Figure 182. Sample Rate Every 4th Pixel Figure 183. Sample Rate Every 8th Pixel
Threshold
Indicates the rate of change of grayscale values that is needed to detect an edge.
Figure 184. Threshold Parameters
Edges are detected by measuring transitions from bright to dark or dark to bright. Enter a threshold in the range from 1 to
255. The default value is 20. As this value is reduced, the tool finds weak, blurry, or more gradual lines or edges. At lower
thresholds, unwanted transitions such as background noise may become edges. Detected edges are combined to find
potential line segments.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
Search For
Set the type of points the Line Detect tool searches for.
Best Points
Automatically figures which edge points make the best line and ignores the rest. Points that are included are shown
on the image in orange, while the points that are ignored are yellow. Best Points is tolerant of noise or extra edges in
the ROI, but under some circumstances, it may ignore edges that should be included. If the line in the image has
gaps in it, Best Points may produce lines that are shorter than desired.
All Points
Finds a line that explains all of the edges as well as possible; all found points are included in the analysis. Found
points are shown on the image in orange. All Points is faster than Best Points, but works poorly if there are extra
edges or noise within the ROI. All Points is useful if the line being examined is jagged, irregular, or curved.
Image Overlays
Choose whether to display or hide the ROI.
Figure 185. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Hide ROI
Hides the ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 186. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 187. Inspection Pass/Fail
Midpoint
The x and y coordinates of the middle point of the found line segment.
Start Point
The x and y coordinates of the start point of the found line segment. The start point is on the end of the line segment
that is closer to the top of the ROI, when viewed in the direction of the arrows.
End Point
The x and y coordinates of the end point of the found line segement.
Worst Distance Point
The x and y coordinates of the farthest included point for the found line.
Worst Distance
The distance from the line to the farthest included edge point.
Length
The distance from the start point of the line segement to the end point.
Angle
The angle between the x-axis and the found line. The range is −180° to +180°.
Average Error
The average distance between the included edge points and the found line.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
Line detect may also show another status: "Edge data may not have given a conclusive line fit." It is not an error and
will not directly cause the tool to fail. If this status displays and the desired line is not consistently found, adjust the
tool so that fewer edges that are not part of the desired line are found. For example, adjust the ROI to remove any
uneeded area, raise the threshold value to find fewer edges, or use a specific edge polarity rather than the generic
Bright Or Dark.
Figure 190. Bad Part—Bent Needle Figure 191. Bad Part—Deformed Needle
Note that the Use as Reference parameter appears as an error until the reference point is set.
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 193. ROI Parameters
The ROI is a line of pixels that can be shortened, lengthened, or widened as needed for the inspection. Tool analysis follows
the direction of the arrow. Set the width and the sample rate for the region of interest. The ROI automatically displays on the
Image pane when a tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
ROI Width
An ROI can be as large as the entire Field of View (FOV).
Note that:
• Narrow ROIs execute faster but could miss the edge
• Wide ROIs are more consistent but don't execute as fast
• A wide ROI provides an average value/location, which results in improved repeatability
• The ROI must be 13 pixels or wider to calculate the rotation of a part (Locate tool only)
Sample Rate
The sample rate sets the number of samples per pixels (one sample per pixel, two samples per pixel, etc.). The
sample rate determines the sub-pixel resolution, which increases the resolution of the tool, and increases the
inspection time.
Threshold
The Threshold parameter marks the grayscale transition point.
The tool marks the edge where the pixel intensity crosses the threshold level. From the Threshold Type list, select one of
the following:
• Absolute
• Relative (default)
• Edge Strength
The brightest grayscale level found along the ROI is 100% and the darkest is 0%. While Relative threshold is more tolerant of
light fluctuations between inspections than other transition types, it may find false edges.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
For relative threshold, the x axis is the length of the ROI. The y axis is the pixel intensity along the ROI, with 0% as the
darkest pixel in the ROI and 100% as the lightest pixel in the ROI. The light blue line shows the percentage pixel intensity
relative to the horizontal gray threshold line. The threshold line moves up or down with the percent value.
Note: Because the pixel intensity is relative to what is seen in the ROI, this does not necessarily mean that
0% = pure black or that 100% = pure white.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
While Absolute threshold is less likely to find a false edge than Relative threshold, it may miss edges if the light level changes
between inspections.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
For absolute threshold, the x axis is the length of the ROI. The y axis is the actual grayscale value from 0 to 255. The light
blue line shows the absolute pixel intensity. The horizontal gray threshold line moves up or down with the threshold value.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
Edge strength ignores gradual changes in light levels across the tool better than other threshold types and it filters out weak
or gradual edges.
Edge Polarity
Edge Polarity defines the type of edges that the tool finds.
• Dark to Bright—Finds edges where pixel intensities start below the threshold value and cross above the threshold
value
• Bright to Dark—Finds edges where pixel intensities start above the threshold value and cross below the threshold
value
• Bright or Dark—Finds any edge
For edge strength threshold, the x axis is the length of the ROI. The y axis has two measurements. The first is the light blue
axis. It represents Edge Strength, a measure of the rate of change of pixel grayscale values. The second is the dark gray
axis. It represents Edge Profile, which gives the absolute grayscale level across the tool ROI. The blue line is the rate of
change of the grayscale value along the ROI. The two horizontal gray lines are the edge strength threshold plus and minus.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
Filters
Set filters for tool analysis.
Figure 202. Locate Tool Filters
Smoothing
Runs a rolling average along the ROI length. Smoothing filters out sharp changes in the edge profile.
Note: A high filter number may miss the edge of a narrow line.
Note: A high filter number may miss the edge of a narrow line.
Enable Rotation
Runs a rotation compensation calculation when enabled. ROIs that follow rotate according to the difference between
the reference image and the current inspection image.
Edge Profile
The Edge Profile graph changes depending on which threshold type is selected. Refer to the Threshold section and the
specific threshold types for details on the Edge Profile graph.
Use as Reference
Choose whether to use this tool as a reference for other tools.
Figure 203. Use As Reference—No Reference Point Set Figure 204. Use As Reference—Reference Point Set
Image Overlays
Choose whether to display or hide the annotations or the ROI when this tool is not selected.
Figure 205. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Figure 206. Show Locate Tool Annotations Figure 207. Hide Locate Tool Annotations
Hide ROI
Hides the ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 208. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 209. Inspection Pass/Fail
Edge Point
The x and y coordinates of the Edge Point; the first suitable edge the Locate tool found.
Edge Angle
The angle with respect to horizontal at which the Locate tool intersects the part.
Offset
The offset between the Edge Point and the reference point.
Expand Offset to see the coordinates of the Reference Point, the Reference Angle, the Offset Point, and the Offset
Angle.
Maximum Edge Strength
The greatest rate of change value observed by the tool.
Available when the Threshold Type is set to Edge Strength.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
A blue circle displays on the Image pane at the location of the reference point and all following tools use this point as
a reference.
Figure 212. Reference Point
6. If the blue circle does not represent the desired reference point, repeat steps 3 to 5 and adjust the parameters until
the desired reference point is found.
7. Add an Edge tool to detect the top of the stopper.
Figure 213. Edge Tool at the Top of the Stopper
8. Add an Edge tool to detect the bottom of the lip on the left side of the vial.
Figure 214. Edge Tool at the Left Side of the vial
9. Add an Edge tool to detect the bottom of the lip on the right side of the vial.
Figure 215. Edge Tool at the Right Side of the vial
10. Add a Measure tool to measure from Edge02 (the left side of the vial) to Edge03 (the right side of the vial).
Figure 216. Measure Tool from Edge02 to Edge03
11. Add a Measure tool to measure from Edge01 to Measure01 to determine the position of the stopper in the vial.
Figure 217. Measure Tool from Edge01 to Measure1
12. Adjust the Measure02 Test parameters to set the pass/fail criteria.
a) On the Test tab, select the Distance Y checkbox to enable the test parameter.
b) Move the sliders slightly above and below the green line to allow for very slight variations in the distance.
Note: The green bar indicates the current distance and the light gray background indicates the
distance over time.
13. Click to show all ROIs at the same time.
Figure 218. All Tools Shown
14. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Figure 219. Bad Part—Stopper Too High Figure 220. Bad Part—Missing Stopper
• Label inspections
• Part etching inspections
• Part orientation inspections
• Part shape inspections
Search ROI
The Search Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 222. Search ROI
The Search ROI is indicated by a red or green box that is always rectangular. By default the Search ROI is 20% to 30%
larger than the Teach ROI, which is blue. The sensor searches for the match only within the Search ROI.
Resize the Search ROI as needed for the inspection.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Teach ROI
The Teach Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor uses to teach a reference
pattern.
Figure 223. Teach ROI
Resize and rotate the ROI around the feature to be used as the reference pattern. Change the shape of the ROI to a
square, ellipse, or circle as needed by expanding Teach ROI on the Parameters pane and selecting the desired shape. The
Teach ROI automatically displays on the Image pane when a Match tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Pattern
Displays the reference pattern that the sensor is looking for. A teach is required for the Match tool. Click Teach to set the
match tool criteria and display the reference pattern.
Figure 225. Pattern Taught
Figure 224. Teach Required
A red error displays until the teach is performed and the reference pattern is taught. When new patterns are added, you will
need to teach the reference pattern again.
Percent Match
Set the percent match to indicate the quality of the match (10% is a slight match; 100% is a perfect match). The default is
60%.
Figure 226. Percent Match
Rotation Range
Select the range within which the pattern may be rotated and still count as a match to the reference image. The default is 45
degrees.
Figure 227. Rotation Range
The larger the Rotation Range, the longer the execution time of the tool. In general, this means that the execution time of the
inspection increases.
Precision
Select either Fine Search or Coarse Search. Course Search is the default. Fine Search is slower but provides more
accurate results.
Figure 228. Precision
Timeout
Set the amount of time the tool executes before it stops.
Figure 229. Timeout
Use as Reference
Choose whether to use this tool as a reference for other tools.
Figure 230. Use As Reference—No Reference Point Set Figure 231. Use As Reference—Reference Point Set
Image Overlays
Choose whether to display or hide the annotations or the ROI when this tool is not selected.
Figure 232. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Figure 233. Show Match Tool Annotations Figure 234. Hide Match Tool Annotations
Hide ROI
Hides the ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 235. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 236. Inspection Pass/Fail
Where applicable, use the sliders or enter the minimum and maximum for the selected test parameters.
The current data found and the range of historical data found are shown for applicable Test parameters. The historical data
begins from the last reset.
Offset Point Y
The y-dimension offset between the current match
and the reference point.
Available when Adjust Downstream Tool ROIs is
enabled.
Offset Angle
The angular difference between the current angle and
the angle from the reference point.
Available when Adjust Downstream Tool ROIs is
enabled.
Count
The number of matching patterns.
Percentage Range
The percentage by which the found objects match the reference object. Expand Percentage Range to view the
centroid (center point), angle, and percent match for the objects found within the ROI.
Offset
The offset between the match and the reference point.
Available when Adjust Downstream Tool ROIs is enabled.
Expand Offset to see the coordinates of the Reference Point, the Reference Angle, the Offset Point, and the Offset
Angle.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
Note: If the trigger is set to internal, there is a lag between when the TEACH occurs and when Vision
Manager uses the taught feature to inspect the part(s). The time to teach the sensor is not included in the
inspection time on Tools & Results or All Results.
2. Adjust the Teach ROI to frame the feature to be used as the reference pattern. In this example, the feature of interest
is the Banner logo.
a) Expand Teach ROI and select the ellipse.
b) Resize and rotate the ROI around the feature.
3. On the Parameters pane, expand Pattern and click Teach.
Note: If the inspection uses more than one Match tool, teach only one Match tool at a time.
"Applying Changes" displays, then the reference pattern displays in the Pattern pane, and Tools & Results and All
Results display one match.
4. If necessary, repeat steps 2 and 3 to teach the feature again.
5. Adjust the Search ROI to fill the FOV.
Figure 241. Teach and Search ROIs Configured
Note: Rotation Range and Percent Match work together. The higher the Percent Match, the lower
the Rotation Range to pass. In this example a 99% match fails a missing letter but passes a match
that is rotated 45 degrees.
8. On the Test tab, select the Count checkbox to enable the Count test parameter.
9. Expand Count and set it to a minimum of 1 and a maximum of 1.
One and only one matching pattern must be found for the inspection to pass.
10. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Figure 242. Rotated Good Part Figure 243. Bad Part—Missing Letter
ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
Figure 245. ROI Parameters
The ROI is a line of pixels that can be shortened, lengthened, or widened as needed for the inspection. Tool analysis follows
the direction of the arrow. Set the width and the sample rate for the region of interest. The ROI automatically displays on the
Image pane when a tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
ROI Width
An ROI can be as large as the entire Field of View (FOV).
Note that:
• Narrow ROIs execute faster but could miss the edge
• Wide ROIs are more consistent but don't execute as fast
• A wide ROI provides an average value/location, which results in improved repeatability
• The ROI must be 13 pixels or wider to calculate the rotation of a part (Locate tool only)
Sample Rate
The sample rate sets the number of samples per pixels (one sample per pixel, two samples per pixel, etc.). The
sample rate determines the sub-pixel resolution, which increases the resolution of the tool, and increases the
inspection time.
Threshold
The Threshold parameter marks the grayscale transition point.
The tool marks the edge where the pixel intensity crosses the threshold level. From the Threshold Type list, select one of
the following:
• Absolute
• Relative (default)
• Edge Strength
The brightest grayscale level found along the ROI is 100% and the darkest is 0%. While Relative threshold is more tolerant of
light fluctuations between inspections than other transition types, it may find false edges.
Object Type
Select the type of object the inspection is looking for.
• Bright—Finds objects brighter than the threshold value
• Dark—Finds objects darker than the threshold value
• Bright or Dark—Finds any object
For relative threshold, the x axis is the length of the ROI. The y axis is the pixel intensity along the ROI, with 0% as the
darkest pixel in the ROI and 100% as the lightest pixel in the ROI. The light blue line shows the percentage pixel intensity
relative to the horizontal gray threshold line. The threshold line moves up or down with the percent value.
Note: Because the pixel intensity is relative to what is seen in the ROI, this does not necessarily mean that
0% = pure black or that 100% = pure white.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
While Absolute threshold is less likely to find a false edge than Relative threshold, it may miss edges if the light level changes
between inspections.
Object Type
Select the type of object the inspection is looking for.
• Bright—Finds objects brighter than the threshold value
• Dark—Finds objects darker than the threshold value
• Bright or Dark—Finds any object
For absolute threshold, the x axis is the length of the ROI. The y axis is the actual grayscale value from 0 to 255. The light
blue line shows the absolute pixel intensity. The horizontal gray threshold line moves up or down with the threshold value.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
Edge strength ignores gradual changes in light levels across the tool better than other threshold types and it filters out weak
or gradual edges.
Object Type
Select the type of object the inspection is looking for.
• Bright—Finds objects brighter than the threshold value
• Dark—Finds objects darker than the threshold value
• Bright or Dark—Finds any object
For edge strength threshold, the x axis is the length of the ROI. The y axis has two measurements. The first is the light blue
axis. It represents Edge Strength, a measure of the rate of change of pixel grayscale values. The second is the dark gray
axis. It represents Edge Profile, which gives the absolute grayscale level across the tool ROI. The blue line is the rate of
change of the grayscale value along the ROI. The two horizontal gray lines are the edge strength threshold plus and minus.
Point to a location on the graph—the corresponding location is the blue line on the tool ROI displayed on the image.
Filters
Set filters for tool analysis.
Figure 254. Object Tool Filters
Smoothing
Runs a rolling average along the ROI length. Smoothing filters out sharp changes in the edge profile.
Object Width
Filters out objects and spaces that are smaller than the minimum and larger than the maximum values specified.
Enable End Objects
When enabled, pixels that touch the ends of the ROI are ignored. This may ignore one or more objects.
Edge Profile
The Edge Profile graph changes depending on which threshold type is selected. Refer to the Threshold section and the
specific threshold types for details on the Edge Profile graph.
Image Overlays
Choose whether to display or hide the annotations or the ROI when this tool is not selected.
Figure 255. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Figure 257. Hide Object Tool Annotations
Figure 256. Show Object Tool Annotations
Hide ROI
Hides the ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 258. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 259. Inspection Pass/Fail
Total Count
The total number of bright, dark, or all objects, depending on the bright/dark option in effect.
Dark Count
The number of dark objects.
Bright Count
The number of bright objects.
Widths
Expand Widths to view the widths and location of the objects found, sorted by order of occurrence along the Object
tool path
Click a number/width/location to highlight that width on the Image pane.
9.1.1 ROI
The Region of Interest (ROI) is the user-defined group of pixels in the image that the sensor analyzes.
The ROI is added when a tool is added. The Barcode ROI is always rectangular, and can be reduced in size to reduce
execution time. The default Barcode ROI covers the entire field of view (FOV). Any barcode must be entirely contained within
the ROI in order to be read. Resize the ROI to include the entire area in which to search for barcodes. An ROI can be as
large as the entire Field of View (FOV). The ROI automatically displays on the Image pane when a tool is added.
Adjust the placement of the ROI more precisely by using the arrow keys on the computer keyboard.
Auto Learn
Use Auto Learn to find barcodes in the image.
Figure 265. Auto Learn
A search runs to find up to 10 barcodes in the image. Then the Max Barcode Count is set to the number of found barcodes.
Any barcodes found are listed in the Auto Learn results window. Any barcode symbologies that are not found are disabled.
All other Input parameter selections are reset, except for the size and placement of the ROI.
Figure 266. Barcodes Found
Note: Auto Learn does not read Data Matrix: Dot Peen Mode or Pharmacode barcodes.
1D Barcodes
The first time the barcode tool is added, Data Matrix, QR Code, and many 1D barcode types are selected. Select the desired
barcode types to be read. As a best practice, select only the applicable barcode type(s) for your particular application to
optimize performance.
All
Select to enable the tool to search for all types of 1D barcodes.
Codabar
Select so that the tool reads the Codabar barcode type.
Code 128
Select so that the tool reads the Code 128 barcode type.
Code 39
Select so that the tool reads the Code 39 barcode type.
Code 93
Select so that the tool reads the Code 93 barcode type.
DataBar
Select so that the tool reads the DataBar barcode type.
DataBar Expanded
Select so that the tool reads the DataBar Expanded barcode type.
DataBar Limited
Select so that the tool reads the DataBar Limited barcode type.
EAN-8
Select so that the tool reads the EAN-8 barcode type.
EAN-13 (UPC-A)
Select so that the tool reads the EAN-13 (UPC-A) barcode type.
EAN-13 (UPC-A) Add-On
Select so that the tool reads the EAN-13 (UPC-A) Add-On barcode type.
Interleaved 2 of 5
Select so that the tool reads the Interleaved 2 of 5 barcode type.
PDF417
Decoder Mode determines which decode algorithm to use and how imperfections in barcode images are handled.
• Robust—The tool uses an algorithm that performs routines to correct for imperfections of the barcode
image.
• Fast—The tool uses an algorithm that is tailored for speed. The algorithm does NOT correct for barcode
image imperfections. The Fast setting has the best results on high-contrast images that contain high-quality
barcodes.
Scan Direction sets the direction for Line Scanning:
• Horizontal
• Vertical
• Omnidirectional
The Omnidirectional setting should read more barcodes, however it takes longer to do so.
Image Filter adjusts the bar widths with respect to spaces. These settings promote print gain correction.
• None—No bar width adjustments are made
• Under Print Correction—Enlarges the bar widths with respect to spaces
• Over Print Correction—Reduces the bar widths with respect to spaces
Pharmacode
Scan Direction sets the direction for Line Scanning:
• Left to Right
• Top to Bottom
• Right to Left
• Bottom to Top
• Omnidirectional
Use Omnidirectional scanning if barcodes can appear inverted on the part being inspected. If the Data Compare
test is enabled, the tool attempts to compare that string to read data in both scan directions. The inspection is
marked as Pass if at least one string matches. The data that successfully matched the string displays on the screen
and exports through communication channels as requested.
If Omnidirectional scan is selected, but the Data Compare test is disabled, the data read from left-to-right scan is
reported.
UPC-E
Select so that the tool reads the UPC-E barcode type.
UPC-E Add-On
Select so that the tool reads the UPC-E Add-On barcode type.
Check Digit Verify
When Check Digit Verify is enabled, the tool verifies the integrity of the barcode being read.
Note: Most linear barcode types always contain check digit verification. This setting only
applies to Code 39 and Interleaved 2 of 5 because the check digit verification is optional in
these types.
2D Barcodes
The first time the barcode tool is added, Data Matrix, QR Code, and many 1D barcode types are selected. Select the desired
barcode types to be read. As a best practice, select only the applicable barcode type(s) for your particular application to
optimize performance.
Figure 269. 2D Barcodes
Note: Data Matrix: Dot Peen Mode is not available in Auto Learn.
Mirror Image
When Mirror Image is enabled (selected), both normal and mirrored images are read. When it is disabled, only
normal images are read.
Small Quiet Zone
When Small Quiet Zone is enabled, the decoder runs in a method that is optimized for barcodes with less than the
ideal amount of open space around the barcode borders. For 2D codes the ideal amount of space is at least one cell
width.
Filters
Improve read rates in conditions in which the barcodes are blurred or have nonuniform module sizes.
• None—Forces the tool to first try to read barcodes without applying any filters.
• Non Uniform—Improves the read rate of barcodes with non-uniformly sized data modules. The time
required to read the barcode data may increase with the number of selected filters. The tool runs the most
successful filter (since boot-up) first before trying other filters.
• Out of Focus/Blur—Improves the read rate of out-of-focus barcodes. Select one or more filters.
◦ Sharpen Level 1
◦ Sharpen Level 2
◦ Sharpen Level 3
◦ Sharpen Level 4
QR
QR Type
Determines whether the device should read a QR Code, Micro QR code, or both.
• Both
• Standard
• Micro
Symbol Color
Sets the appropriate symbol color for the application:
• Black on White—Select if the barcode symbol color is darker than the background
• White on Black—Select if the barcode symbol color is lighter than the background
• Any—Select to read both color schemes, however, this setting may result in longer reading time and
reduced accuracy
Small Quiet Zone
When Small Quiet Zone is enabled, the decoder runs in a method that is optimized for barcodes with less than the
ideal amount of open space around the barcode borders. For 2D codes the ideal amount of space is at least one cell
width.
Mirror Image
When Mirror Image is enabled (selected), both normal and mirrored images are read. When it is disabled, only
normal images are read.
Postal Barcodes
The first time the barcode tool is added, Data Matrix, QR Code, and many 1D barcode types are selected. Select the desired
barcode types to be read. As a best practice, select only the applicable barcode type(s) for your particular application to
optimize performance.
Figure 270. Postal Barcodes
Quality Grading
Use Quality Grading to evaluate the quality of a barcode within a specific application based only on the Scan Grade
parameters defined in certain International Standards.
Quality Grading does not take into consideration the external environmental lighting parameters such as aperture,
wavelength, and illumination angle. All of these can affect the scan grade. These grades are meant to test whether the
physical barcode symbol was printed correctly.
Figure 271. Quality Grading
1D and 2D barcodes are graded according to different ISO standards. For 1D barcodes, see ISO 15416. For 2D barcodes,
see ISO 15415.
Timeout
Set the amount of time the tool executes before it stops.
Figure 272. Timeout
Image Overlays
Choose whether to display or hide the ROI.
Figure 273. Image Overlays—Default
These options override the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Hide Annotations
Hides the annotations on the live image for the tool, even when the tool is selected.
Hide ROI
Hides the ROI when the tool is not selected.
Tool Histogram
The Tool Histogram graphically displays pixel intensity information within the current ROI.
Figure 274. Example Histogram
Select the Tool Histogram checkbox to enable the histogram. The default is enabled. Expand the Tool Histogram
parameter to view the histogram.
The histogram is a display of the grayscale values on the x axis and the number of pixels on the y axis. The histogram
displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0 to 255).
Move the pointer anywhere over the histogram to view specific information. The information updates as the position of the
pointer changes.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 275. Inspection Pass/Fail
Note: The following occurs when Data Compare and Overall Symbol Grade are used simultaneously in
the same Barcode tool and the criteria is set to Any Barcode: As soon as a barcode is found that matches
the Data Compare string, that single barcode is evaluated to pass the Overall Symbol Grade test. All other
barcodes are ignored by the Overall Symbol Grade test. If no barcodes pass the Data Compare test, then
the Overall Symbol Grade test will fail.
Using Remote TEACH with the Barcode Tool Data Compare Test
If multiple Data Compare tests are used in the same inspection, remote TEACH teaches all Data Compare tests at the same
time using the same trigger.
The time to teach is included in the inspection time on Tools & Results and All Results.
1. Set up the inspection and Barcode tool(s) as desired.
2. In Vision Manager, make sure that one of the five user-defined I/O is set to Remote Teach.
3. Toggle the Remote Teach input. The next valid trigger input causes the Remote Teach to occur. This is when the
new Data Compare string is learned, by taking the first barcode in the results list.
Setting the Data Compare String with Industrial Protocol Input Strings
The Industrial Protocol Input String data can be inserted as the Data Compare string to compare future barcodes against.
The maximum number of characters is 52. See the section on your protocol for information on how to set the Barcode Data
Compare Input String.
To assign the Data Compare string:
1. Make sure that the Barcode Data Compare Input String bit on the Input Bits Register is set to 0.
2. If there is more than one Barcode tool in the inspection, set the Industrial Protocol Tool Index to be the tool position
of the Barcode tool being edited.
Find the index value by counting the Camera tool as tool number one, and counting up one for each tool in the
inspection until you reach the Barcode tool.
3. Write the desired string length into the Industrial Protocol Input String Length area.
4. Write the desired string content into the Industrial Protocol Input String area.
5. Set the Barcode Data Compare Input String bit to 1 to apply the custom string.
After the input string is saved in the system, the Barcode Data Compare Input String Ack bit will be set to 1.
Note: The specific industrial protocol must be enabled on the Industrial Protocols tab.
For register information and input bits, see the following sections:
• EtherNet/IP on p. 182
• Modbus/TCP on p. 202
• PLC5, SLC500, and MicroLogix (PCCC) on p. 211
• PROFINET on p. 221
Barcode Count
The total number of barcodes read within the ROI.
Expand Barcode Count to see a list of all barcodes read by this tool, sorted in order of position, from top to bottom.
This results table lists each barcode symbology, length, data, and Code Quality Grade, when grading is enabled.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
2. If at least one desired barcode is read right away, go to step 3. If no barcode is read right away, consider the
following ways to improve image readability to increase chances of success in the next step:
• Adjust the focus and brightness until you have a clear, high-contrast image
• If the smallest modules of the barcode appear to be less then 3 pixels wide, try moving closer to increase
resolution
3. On the Parameters pane, expand Auto Learn and click Start.
Figure 278. Auto Learn
A search runs to find up to 10 barcodes in the image. Then the Max Barcode Count is set to the number of found
barcodes. Any barcodes found are listed in the Auto Learn results window. Any barcode symbologies that are not
found are disabled. All other Input parameter selections are reset, except for the size and placement of the ROI.
Figure 279. Barcodes Found
Note:
Auto Learn does not read Pharmacode barcodes. To read a Pharmacode, skip step 3 and
manually enable Pharmacode in the 1D code settings. Disable all other 1D, 2D and Postal
symbologies for best performance.
Auto Learn does not enable Data Matrix: Dot Peen mode. If you have a Dot Peen Data Matrix,
manually enable the Dot Peen setting. Disable all other 1D, 2D and Postal symbologies for best
performance.
4. Click OK.
5. On the Test tab, select Count to enable the Count test parameter.
6. Expand Count and set the minimum and maximum to the number of barcodes desired in your application.
In this example, the minimum and maximum are set to two. The test will only pass when all of the desired barcodes
are read.
7. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Operator
Select the type of mathematical expression used for the inspection operator.
Figure 283. Operator
If the output of a relational operation is used as an input for another Math Tool, True is interpreted as 1 and False is
interpreted as 0.
Table 4: Array Operand Operations
Array Operations allow the user to make a long list of input data. All of these pieces of information are inputs to the selected
operator. For example, select MIN{A} as the operator, and select an input tool.
Operator Description
MIN{A} Minimum—Returns the operand with the lowest value
MAX{A} Maximum—Returns the operand with the highest value
MEAN{A} Returns the mean value of the operands
MEDIAN{A} The statistical median is the middle number of a group of numbers that have been arranged
in order by size. If there is an even number of terms, the median is the mean of the two
middle numbers.
COUNT{A} Returns the count of the operands
SUM{A} Returns the arithmetic sum of the operands
VAR{A} Variance—A measure of how spread out the operands values are
STDDEV{A} Standard Deviation—A measure of how spread out the operands values are
Operand A
Choose the first variable from the vision tools in the inspection, or select a user-defined constant value.
Figure 284. Operand A
Operand B
Choose the second variable from the vision tools in the inspection, or select a user-defined constant value.
Figure 285. Operand B
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 286. Inspection Pass/Fail
All Results displays the Result, Time, Pass Count, and Fail Count information at a glance. Expand the inspection tool to see
specific results for that tool.
Integer Result
The integer value result of the Math tool operation.
Decimal Result
The decimal result of the Math tool operation.
Boolean
The Boolean result for the Math tool operation.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
8. Expand Operand B and select Edge02. This is the second variable or constant for the mathematical expression.
9. Set the Test parameters to set the pass/fail criteria.
a) On the Test tab, select the Boolean checkbox.
This option sets whether the mathematical expression is true or false so that the part passes.
b) Select True.
Edge01 must find more edges than Edge02 for a part to pass.
10. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
See Using the Edge and Measure Tools on p. 107 for a Measure tool example.
Measure from...
Select either a constant or another tool where the Measure tool will start measuring from.
Figure 293. Measure From...—Specific Tool Selected
If selecting a constant, enter the x and y coordinates to begin the measurement from. The coordinates are entered in pixels,
however if Units is enabled, the value entered in pixels is converted to units for the calculation.
If selecting a specific tool, select the specific characteristic in the tool to measure from.
Measure to...
Select either a constant or another tool where the Measure tool will stop measuring.
Figure 294. Measure To...—Constant Selected
If selecting a constant, enter in the x and y coordinates to end the measurement at. The coordinates are entered in pixels,
however if Units is enabled, the value entered in pixels is converted to units for the calculation.
If selecting a specific tool, select the specific characteristic in the tool to measure to.
Characteristics
Set additional parameters for the inspection.
Figure 295. Characteristics
Preserve Sign
When Preserve Sign is selected, the x and y distances are computed as distance offsets. These distance offsets
are represented by signed numbers. Negative numbers indicate that the distance offset is toward the origin (0,0).
Positive numbers indicate that the distance offset is away from the origin.
Force to Absolute
Select Force to Absolute to change the tool from calculating the x and y components of the measurement from
relative positioning to absolute positioning. When disabled, the tool ROI positions itself independent to any other
reference tool preceding it in the inspection.
Image Overlays
Choose whether to display or hide the annotations when this tool is not selected.
Figure 296. Image Overlays
This option overrides the ROI view buttons on the Image Pane Parameters when no tool is selected. When a
specific tool is selected, the ROI information is shown.
Figure 297. Show Measure Tool Annotations Figure 298. Hide Measure Tool Annotations
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 299. Inspection Pass/Fail
Distance
The straight-line distance between two constants or tools.
Distance X
The x dimension vector component of the straight line distance.
Distance Y
The y dimension vector component of the straight line distance.
Angle
The angle with respect to the x axis, along which the straight line measurement vector lies. If the tool is measuring
from one Line tool to another Line tool, the Angle is the measurement of the angle formed by the two lines. If the
Force to Absolute parameter is selected, the angle is calculated relative to the reference tool that precedes the
Measure tool.
Mid Point
The x and y coordinates of the middle point between the two selected points.
Mid Point is calculated for point to point measurements only.
Projection Point
The x and y coordinates of the intersection point between the input line and a virtual line passing through the input
point. The virtual line is orthogonal (perpendicular) to the input line. The intersection point is on the input line
because the other line does not exist (virtual).
Projection Point is calculated for line to point measurements only.
Intersection Point
The x and y coordinates of the intersection point of two non-coincident input lines.
Intersection Point is calculated for line to line measurements only.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
a) On the Test tab, select the Distance Y checkbox to enable the test parameter.
b) Move the sliders slightly above and below the green line to allow for very slight variations in the distance.
Note: The green bar indicates the current distance and the light gray background indicates the
distance over time.
9. Click to show all ROIs at the same time.
Figure 304. All Tools Shown
10. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
Figure 305. Good Part Figure 306. Bad Part—Plunger Too High
AND
A true output results if all inputs are true.
OR
A true output results if one or more of the inputs are true.
XOR
A true output results if one, and only one, of the inputs is true.
Example uses:
• Gather results from the camera tool, vision tools, or analysis tools
• Establish parameters for desired inspection results
• Tie multiple results together with logic options
• Include results in the overall Pass/Fail criteria
• Activate a discrete output based on the inspection results
• Part sorting applications
Operator
Select the type of logical expression used for the Logic tool operator.
Figure 308. Operator
Operands
Choose the variables from the tools found in the inspection. The current tool result displays in the Result column.
Figure 309. Operands
The desired operands must be listed before the Logic tool in the Tools and Results pane so that they can be used by the
Logic tool. Each operand must have its test criteria enabled for the Logic tool to use it.
Discrete Output
Select whether the Logic tool activates one of the five programmable I/O and what the active condition is.
Figure 310. Discrete Output—Output Active
I/O #
Select the desired General Output I/O number.
To select and use I/O 1-5 in the Logic tool Discrete Output parameter, at least one I/O must be configured as
General Output in the system settings. Click System Settings > Discrete I/O and select General Output from the
Function list for the desired I/O.
Active Condition
Select when the output is active—either when the result is True or when the result is False.
Available when an I/O # is selected.
Inspection Pass/Fail
Select the Contribute to Inspection Pass/Fail check box (default) if the tool will influence the Pass/Fail status of the
inspection.
Figure 311. Inspection Pass/Fail
Logic Output
The Boolean result for the Logic tool operation.
Execution Time
The execution time, in milliseconds, for the currently selected tool in the current inspection.
Expand Execution Time to see the historical minimum and maximum execution times up to this point for the
selected tool.
Use the reset button in the Inspection Summary to reset these historical values.
Status
Status and error messages display as appropriate.
b) Select General Output as the Function for one I/O. This example uses I/O 5.
12. Set the Discrete Output parameter for the Logic tool.
a) Expand Discrete Output.
b) Select the desired I/O from the I/O # list. In this example, select 5. General Output.
c) Leave the Active Condition as Active when True (default).
13. Expand Inspection Pass/Fail and remove the checkmark to disable the parameter.
14. Set the Test parameters to set the pass/fail criteria.
a) On the Test tab, select the Logic Output checkbox.
This option sets whether the Boolean logic is true or false so that the part passes.
b) Select True.
The small box must have the logo to create the general output.
15. Expand the I/O Summary so that you can see the results.
Figure 315. I/O Summary—Small Box Passes with Output
16. Test a complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad
parts.
11 Emulators
Use Emulators on the Home screen to connect to the emulator.
Figure 317. Emulators
Click to connect to the desired emulator. This tab also displays the Image location on the computer, as well as the
emulator version information.
To access the emulator for different types of the VE models, select the desired type from the Type list before clicking . The
Vision option enables the vision and analysis tools. The ID option enables the identification and analysis tools. The Vision +
ID option enables all tools.
Click under Folder Location to change the directory for the reference images. The default directory for images is C:
\Users\Public\Documents\Banner Vision Manager\VE Series\VE xMP\Images. Both 8-bit monochrome
bitmap (BMP) images and inspection logs are supported. Bitmap images should be the same resolution as the VE camera. If
inspection logs are placed in the Images directory, the emulator automatically extracts the image out of the inspection log
and uses it to run the currently loaded inspection. Click to open the directory.
The Emulators tab includes all available features and all tools function the same as they do when running on a sensor. On
the emulator, execution time is not calculated.
12 Sensor Display
The LCD display on the top of the sensor provides access to view or change several settings without using Vision Manager.
The display provides limited programming options:
• ETHER—Ethernet settings
• PCHANGE—Product change
• IO—Input/Output settings
• IMAGE—Image settings
• INFO—Sensor information
• SYSERROR—System errors, if present
• DISPLAY—Display settings
• REBOOT—Reboot
Access the sensor menu by pressing Enter from the Home Screen on the sensor display.
Note that when User Profiles are enabled, the sensor display is available as read-only. No editing can be done directly from
the sensor until User Profiles are disabled for that sensor.
In the Sensor Menu, a return arrow in the upper left corner of the display indicates that pressing Escape
returns to the parent menu.
Press and hold Escape for 2 seconds to return to the Home Screen from any menu.
Top Menu
Sub Menus
Ethernet Menu
Enter
Home ETHER STATUS LINK
Screen Top Menu SPEED
IP
VE Series User Interface
SUBNET
GATEWAY
MAC
Enter Shortcuts Menu MAX SPD 100 FD
100 HD
FOCUS#
1000 FD
TRIGGER Yes
Product Change by Slot No.
PCHANGE By NUM
Bit Representation of
Select Menu Item Input/Output States
or
Press to Save Setting
IO OUTPUT
INPUT
PSELECT
Go Back to Parent Menu View Current
or Focus No.
Press and Hold to Go Back
to Home Screen IMAGE FOCUS#
TRIGGER Yes
Sensor Info
(read-only)
INFO NAME
MODEL
FW VER
BOOT
HOUR
SERIAL
System Error
SYSERR VIEW
CLEAR Yes
No
Display Settings
DISPLAY VIEW
SLEEP
Reboot Device
REBOOT Yes
No
Return to Top
STATUS
LINK—View the connection status (UP or NONE). UP indicates that an Ethernet link has been established. NONE
indicates that a link has not been established.
SPEED—View the speed (100HD/100FD/1000FD).
IP
View or change the IP address of the sensor.
SUBNET
View or change the subnet address of the sensor.
GATEWAY
View or change the gateway address of the sensor.
MAC
View the MAC address of the sensor.
MAX SPEED
Set the speed to 100HD, 100FD, or 1000FD. The default speed is 100 full duplex.
Note: To use 1000 full duplex, all supporting network hardware must fully support 1000 Mb
Ethernet or poor communication throughput could occur.
OUTPUT
A Bit representation of the output states.
INPUT
A Bit representation of the input states.
PSELECT
The slot number represented by selected bits and a Bit representation of the Product Select input pins.
FOCUS#
View the current focus number.
TRIGGER
Select Yes to trigger the sensor.
NAME
View the device name.
MODEL
View the model number.
FW VER
View the firmware version.
BOOT
View the boot number.
HOUR
View the hour count.
SERIAL
View the sensor serial number.
VIEW
View the latest system error, when present.
CLEAR
Select Yes to clear a system error state. Select No to return to the previous menu without clearing the error.
Clearing the system error state does not remove the system error from the system log.
VIEW
View or change the display orientation of the sensor. Invert the display for applications where the device is mounted
upside down.
• Normal—The display is in the normal orientation
• Invert—The display is rotated 180°. The down and up buttons do not change when the display is inverted.
SLEEP
View or change when the display is put to sleep.
• Disabled
• 1min—1 minute
• 5min—5 minutes (default)
• 15min—15 minutes
• 60min—60 minutes
13 Communications Guide
13.1 Communication Summary
The VE Series camera communicates with other devices via Ethernet.
To establish an Ethernet connection to the sensor, the external device must be configured with the correct IP address and
support a communication protocol supported by the sensor.
Export
Set which results to export:
• Disabled (default)
• All
• Pass only
• Fail only
Channel
Select which channel to use:
• Ethernet (default)
• Serial
Port Number
Set the port number to use for the export. The default is 32100.
Note that the port number cannot be the same as any other port in use.
Hold Ready
During the data export operation the sensor's output channels might become full. This can occur if the sensor is
exporting data 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.
The Hold READY setting affects how the sensor behaves in this situation.
• Select the Hold READY checkbox to prevent new triggers from being accepted until the current results have
been exported. This ensures that all results are exported. In this case, the READY signal will remain inactive
(sensor is busy) until all the results have been added to the channel for export. Triggers might be missed
during this time.
• Clear the Hold READY checkbox to accept new triggers while the current results are exported. This causes
the sensor to discard the new results if the channel is full and activate the READY signal immediately after
the current inspection is complete. In this case, the discarded results will not be exported.
Important: When the checkbox is cleared, not all results will be exported. When the
checkbox is selected, the sensor will be busy (not ready) until the result has been
written to the network; inspection times will increase based on network throughput.
Use the data export map to select the results to publish. These include:
• Slot
• Tool Type
• Tool Name—The Tool Name must match the tool name included in the inspection for the results to export
• Result—Choose the desired result based on the tool selected
Note: A Slot of ANY means that if an inspection includes a tool with the exact name (for example,
AverageGray01), the results are output. If an inspection does not have a tool with the exact name (for
example AverageGrayAssemblyLine01), no results are output for that tool and that inspection.
The Data Type is dependent on the tool selected. Options include the following:
• Boolean (0 or 1)
• Float
• Integer
• String
• HEX
Click above the map to return the map to the default settings. All user-defined output data is deleted. Click in the
Actions column to delete an individual entry.
Use the data export map to select the results to publish. Use to add additional entries at the end of the list. Click or
to add additional entries above or below the currently selected entry. Use and to move an entry to either up or down in
the map.
Shown below the map is the data that is currently available to be exported.
The Frame Format settings are located to the right of the map:
Delimiter
• , <Comma> (default)
• : <Colon>
• ; <Semicolon>
• \r\n <\x0A\x0D>
• \n\r <\x0D\x0A>
• \r <\x0A>
• \n <\x0D>
• <None>
Start String
Enter the desired start string. The default is none. If desired, enter ASCII hex values for the start string in the format
of \xXX. For example, \x0D. Three special characters are available: \r, \n, and \t.
End String
Enter the desired end string. The default is \r\n.
Note: If Data Export is enabled, the receiver application is running under Microsoft Windows, and the
sensor is observed experiencing occasional extended not ready states, examine the value of the
TCPAckFrequency parameter in the Windows Registry. An incorrect setting of this Windows Registry
parameter can cause the sensor to slow down when exporting data to Windows systems. Consult your
local IT support personnel with specific questions.
The Missing Data Format settings are also located to the right of the map:
Publish
• None
• Delimiter only (default)
• Fill String
Fill String
Enter the desired content (fill string) to replace the missing data . The default is 0.
Image Type
Select the image type to export: BMP or JPEG.
Port Number
Set the port number to use for the export. The default is 32200.
Note that the port number cannot be the same as any other port in use.
Watermark
Select the Watermark check box to overlay a small line of white-on-black text on the upper left corner of all exported
images. This does not change the format or type of the image (images can still be imported into Vision Manager for
testing), however any features in the corner of the image are obscured by the text. The text height is approximately
2% of the total image height. The maximum watermark length is where the text reaches the right edge of the image.
Text Format
Set which elements to include in the watermark text of images that are exported using TCP/IP. If nothing is selected,
the frame number is used as the watermark.
• Inspection Pass/Fail—Adds P or F to the watermark.
• Device Name—Adds the name of the device to the watermark. For example, VE202G21.
• Inspection Slot Number—Adds S# to the watermark. For example, S1.
• Inspection Name—Adds the name of the inspection to the watermark. For example, Inspection 01.
• Frame Number—Adds N#### to the watermark. For example, N1234.
• Custom String—Select and enter the desired text to include in the watermark. The maximum number of
characters is 100.
• Industrial Protocol String—Adds custom text to the watermark from the industrial protocol. The maximum
number of characters is 52. See the section on your protocol for information on how to set the custom string
(FTP Input String). The string, if available, displays. The string is not saved and cycling the power will delete
the string.
To assign the Industrial Protocol string:
1. Make sure that the FTP Input String bit on the Input Bits Register is set to 0.
2. Write the desired string length into the Industrial Protocol Input String Length area.
3. Write the desired string content into the Industrial Protocol Input String area.
4. Set the FTP Input String bit to 1 to apply the custom string. After the input string is saved in the
system, the FTP Input String Ack bit will be set to 1.
Note: The specific industrial protocol must be enabled on the Industrial Protocols
tab.
For register information and input bits, see the following sections:
◦ EtherNet/IP on p. 182
◦ Modbus/TCP on p. 202
◦ PLC5, SLC500, and MicroLogix (PCCC) on p. 211
◦ PROFINET on p. 221
• Delimiter—Select a character to be placed between all of the above elements to separate them (comma,
dash, dot, semicolon, space, underscore).
The following is an example of a watermark created using the Pass/Fail, Inspection Name, and Frame Number
options:
Figure 320. Example Watermark (Full image not shown)
This example does not include any custom strings or industrial protocol strings.
Hold READY
During the image export operation the sensor's output channels might become full. This can occur if the sensor is
producing export data (images) 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.
The Hold READY setting affects how the sensor behaves in this situation.
• Select the Hold READY checkbox to prevent new triggers from being accepted until the current image has
been exported. This ensures that all images are exported. In this case, the READY signal will remain inactive
(sensor is busy) until the new image has been added to the channel for export. Triggers might be missed
during this time.
• Clear the Hold READY checkbox to accept new triggers while the current image is exported. This causes
the sensor to discard the new image if the channel is full and activate the READY signal immediately after
the current inspection is complete. In this case, the discarded images will not be exported.
Important: When the checkbox is cleared, not all images will be exported. When the
checkbox is selected, the sensor will be busy (not ready) until the image has been
written to the network; inspection times will increase based on network throughput.
Watermark Text
Displays the complete text string as it will appear in the exported image.
Inspection images match the resolution of the camera and are 8-bits per pixel grayscale images in Windows BMP format that
represent all of the data in a full Field of View (FOV).
Each exported image is composed of a header (64 bytes) followed by the image data; see the following tables. All 16- and
32- bit numeric entries are little endian.
Table 5: Header Information
20-23 Image Size 4 UInt32 Number of bytes; see the table below
24-27 Image Frame Number 4 UInt32 Most recently snapped image frame number
Note: If Image Export is enabled, the receiver application is running under Microsoft Windows, and the
sensor is observed experiencing occasional extended not ready states, examine the value of the
TCPAckFrequency parameter in the Windows Registry. An incorrect setting of this Windows Registry
parameter can cause the sensor to slow down when exporting images to Windows systems. Consult your
local IT support personnel with specific questions.
9 Windows BMP image. Image size is not fixed for JPEG images (if supported).
Image Type
Select the image type to export: BMP or JPEG.
Watermark
Select the Watermark check box to overlay a small line of white-on-black text on the upper left corner of all exported
images. The text is the file name of the exported image. This does not change the format or type of the image
(images can still be imported into Vision Manager for testing), however any features in the corner of the image are
obscured by the text. The text height is approximately 2% of the total image height. The maximum watermark length
is where the text reaches the right edge of the image.
The following is an example of a watermark created using the Pass/Fail, Inspection Name, and Frame Number
options:
Figure 322. Example Watermark (Full image not shown)
Note: The specific industrial protocol must be enabled on the Industrial Protocols
tab.
For register information and input bits, see the following sections:
◦ EtherNet/IP on p. 182
◦ Modbus/TCP on p. 202
◦ PLC5, SLC500, and MicroLogix (PCCC) on p. 211
◦ PROFINET on p. 221
• Delimiter—Select a character to be placed between all of the above elements to separate them (comma,
dash, dot, semicolon, space, underscore).
This is an example file name that uses most of the File Name Format options: PVE202G21S1Inspection
01N1234.bmp. This example does not include any custom strings or industrial protocol strings.
Hold READY
During the image export operation the sensor's output channels might become full. This can occur if the sensor is
producing export data (images) 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.
The Hold READY setting affects how the sensor behaves in this situation.
• Select the Hold READY checkbox to prevent new triggers from being accepted until the current image has
been exported. This ensures that all images are exported. In this case, the READY signal will remain inactive
(sensor is busy) until the new image has been added to the channel for export. Triggers might be missed
during this time.
• Clear the Hold READY checkbox to accept new triggers while the current image is exported. This causes
the sensor to discard the new image if the channel is full and activate the READY signal immediately after
the current inspection is complete. In this case, the discarded images will not be exported.
Important: When the checkbox is cleared, not all images will be exported. When the
checkbox is selected, the sensor will be busy (not ready) until the image has been
written to the network; inspection times will increase based on network throughput.
Result
Displays the image export result as well as the name of the file being exported.
Inspection images match the resolution of the camera and are 8-bits per pixel grayscale images in Windows BMP format that
represent all of the data in a full Field of View (FOV).
The FTP Server Settings are empty by default. The settings must be set before you run an Image Export using FTP server.
IP Address
The IP address of the user's FTP server.
Port Number
The port number required to access the FTP server.
User Name
The user name required to access the FTP server.
Password
The user's password used to access the FTP server.
Folder Name
Enter a folder name to save the exported images to a specific user-created folder on the FTP server. If the Folder
Name field is:
• blank—images are saved to the root folder
• foldername1—images are saved in [foldername1 ] under the root folder
• foldername1/foldername2—images are saved in [foldername2 ] under the [foldername1 ] folder
Passive Mode
A connection mode defined by the official FTP protocol in which the client establishes the command channel and the
data channel. The server tells the client which port should be used for the data channel.
Connection Mode
Just in time—Select to connect to the FTP server each time an image is sent. This option limits network bandwidth.
Always connected—Select to keep the connection to the FTP server active at all times.
Status
Displays status messages regarding the FTP connection.
11 Windows BMP image. Image size is not fixed for JPEG images (if supported).
Input String
Enable the Input String so that the sensor can receive data over the defined Ethernet port.
Port Number
Set the port number to use for communication. The default is 32300.
Note that the port number cannot be the same as any other port in use.
String Header
The character array that defines the beginning of a valid string. Maximum size is 25 characters.
The header is optional.
To use non-printable ASCII characters, use the format \xYY where “YY” is the hexadecimal representation of any
ASCII character.
The default value for the Header is \x02.
String Footer
The character array that defines the end of a valid string. Maximum size is 25 characters.
The footer is required.
To use non-printable ASCII characters, use the format \xYY where “YY” is the hexadecimal representation of any
ASCII character.
The default value for the Header is \x03.
Use as a trigger source
Select the Use as a trigger source checkbox to use a valid input string to trigger the sensor.
Note: If Use as a trigger source is checked, valid input strings are ignored if the READY
signal is inactive.
The maximum size, including the header, content, and footer, is 50 bytes.
Examples
Example 1:
Header : none
Footer: End\x03
User supplied data: Banner EngineeringEnd\x03
Extracted String: Banner Engineering
Example 2:
Header : \x02Start
Footer: End\x03
User supplied data: \x02StartBanner EngineeringEnd\x03
Extracted String: Banner Engineering
Example 3:
Header : \x02
Footer: \x03
User supplied data: \x02Test\x02Banner Engineering\x03Test\x03
Extracted String: Banner Engineering
13.2.2 Windows 7
1. On the Windows 7 12 PC, click the Start button, then on the Start menu, click Control Panel.
2. In Control Panel, click Network and Internet, then click Network and Sharing Center, and then click Change
adapter settings.
3. Right-click on the connection that you want to change, then click Properties.
If you are prompted for an administrator password or confirmation, enter the password or provide confirmation.
4. In the connection properties, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
Figure 323. Local Area Connection Properties Screen
12 Microsoft and Windows are registered trademarks of Microsoft Corporation in the United States and/or other countries.
0 LSW 0 MSW
OR
1 MSW 1 LSW
Note: An Industrial Protocol must be enabled from System Settings > Communications > Industrial
Protocols before setting the trigger to Industrial Ethernet.
• Product change
• Remote teach (Match and Barcode tools)
• Sensor trigger
• Read output indicators (pass/fail/ready/error)
• Read counters (pass, fail, error code, missed trigger, frame count, inspection time)
• FTP filename string
• Barcode Data Compare String
Note: If an input or an output register or a bit is marked as Reserved, its value at any time is
indeterminate.
ACK Bits
For each of the input bits there is a corresponding ACK bit. The vision sensor sets the ACK bit when the corresponding
action is complete. Input bits cause actions to occur on the low-to-high transition of that bit.
Important: You must clear the input bit after the corresponding ACK bit has been observed to be high.
As an example, to use the Trigger ACK bit, the programming steps for triggering an inspection are:
1. Wait for ready.
2. Set Trigger input bit to 1.
3. Wait for Trigger ACK to go to 1.
4. Set Trigger input bit to 0.
14.3 EtherNet/IP™
In this context, references to EtherNet/IP™ 14 refer specifically to EtherNet/IP transport class 1. Sometimes referred to as
cyclic EtherNet/IP IO data transfer or implicit messaging, this connection is meant to approximate a real-time data transfer to
and from the PLC and the target device.
Allen-Bradley's CompactLogix and ControlLogix family of PLCs uses this communication protocol. The programming
software used by these PLCs is RSLogix5000® or Studio 5000 Logix Designer™ 15.
The VE Series camera is controlled via EtherNet/IP using assembly objects. From the point of view of a PLC, there are three
input assemblies and two output assemblies.
The Originator of the EtherNet/IP connection is the PLC. The Target of the EtherNet/IP connection is the VE Series camera.
The direction of communication can be described as T > O or O > T (sometimes also shown as T2O or O2T).
The following rules apply for the use of input bit commands:
• Only one VE Series camera input bit can be set at a time
• Corresponding ACK bits are set high only on completion of the command (if the VE input bit is still high)
• Corresponding ACK bits are cleared when the VE input bit is cleared
• When multiple VE input bits are set simultaneously, the Execution Error input bit is set and an Error Code value is
reported in the Error Code register
• The Execution Error VE output bit is cleared when a new valid command is completed
• The Teach Error output bit is set when a Match tool Teach command runs but fails to learn a new Pattern, such as for
insufficient contrast. It clears on the next trigger
Figure 325. Trigger—Modbus/TCP, EtherNet/IP, PCCC Figure 326. Trigger Timing Diagram
Start Trigger
RPI 0 1 X X +Y X +Y+Z
Write 0 to Input Bits
Register
Trigger
Make sure camera is ready – bit 0 is
set to 1 in Output Bits Register
Ready
Set Set
Trigger = 1 Trigger = 0
No
Is Trigger ACK (bit 2 in
Input Bits ACK Register)
set to 1?
Verify : Verify :
TriggerACK = ‘1 ’ Ready = 1
Ready = 1
Yes TriggerACK = 0
Read Results TriggerACK = 0
No
Done
Figure 327. TEACH—Modbus/TCP, EtherNet/IP, PCCC Figure 328. Teach Latch Timing Diagram
Teach Latch
Start
RPI 0 1 X X +Y X +Y+Z
Teach
Latch ACK
Execute Teach Latch: set bit 1 of the
Input Bits Register to 1
Set Set
TeachLatch = 1 TeachLatch = 0
No
Is Teach Latch (bit 1 in TeachLatch ACK
Verify : Verify :
Input Bits ACK Register) Ready = 1 = ‘1 ’ Ready = 1
set to 1? TeachLatch ACK =0 Teach will TeachLatchACK =0
execute on next
trigger
Yes
X, Y, Z: Represent snapshots in time
No
Done
Figure 329. Product Change—Modbus/TCP, EtherNet/IP, PCCC Figure 330. Product Change Timing Diagram
Start
Product Change
Product
Change
Write desired program number (as a
32-bit integer) into the Product
Change Number location
Ready
Set Set
ProductChange ProductChange
Execute Product Change: set bit 0 of =1 =0
the Input Bits Register to 1
Yes
X, Y, Z: Represent snapshots in time
No
Done
0 Input Bits Register (see Input and Output Bits on p. 188) 16-bit integer
0 Input Bits Register (see Input and Output Bits on p. 188) 16-bit integer
0 Input Bits ACK Register (see Input and Output Bits on p. 188) 16-bit integer
1 Output Bits Register (see Input and Output Bits on p. 188) 16-bit integer
16 Tool Pass/Fail Bits (see Tool Pass/Fail Bits on p. 188) 16-bit integer
0 Input Bits ACK Register (see Input and Output Bits on p. 188) 16-bit integer
1 Output Bits Register (see Input and Output Bits on p. 188) 16-bit integer
16 Tool Pass/Fail Bits (see Tool Pass/Fail Bits on p. 188) 16-bit integer
0 Input Bits ACK Register (see Input and Output Bits on p. 188) 16-bit integer
1 Output Bits Register (see Input and Output Bits on p. 188) 16-bit integer
16 Tool Pass/Fail Bits (see Tool Pass/Fail Bits on p. 188) 16-bit integer
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Barcode
Data
FTP Input Teach Product
reserved reserved reserved reserved reserved reserved reserved reserved Compare reserved reserved reserved Trigger
String Latch Change
Input
String
Read-only Input ACK Bits are outputs from the VE Series camera (inputs to the PLC or HMI). They are used to acknowledge
each of the input bits sent from the PLC. For example, if the PLC changes the Trigger bit (from Input Bits, in the preceding
table) from a 0 to a 1, the VE Series camera changes the Trigger ACK bit from a 0 to a 1 in response.
Table 8: Input Bits ACK Register (ACK Bits)
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Barcode
Data
FTP Input Teach Product
Compare Trigger
reserved reserved reserved reserved reserved reserved reserved reserved String reserved reserved reserved Latch Change
Input ACK
ACK ACK ACK
String
ACK
Read-only Status Bits are outputs from the VE Series camera (inputs to the PLC or HMI). They are used to report the basic
status of the VE Series camera and the last inspection run.
Table 9: Output Bits Register (Sensor Status Bits)
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Camera
Tool 15 Tool 14 Tool 13 Tool 12 Tool 11 Tool 10 Tool 9 Tool 8 Tool 7 Tool 6 Tool 5 Tool 4 Tool 3 Tool 2 Tool 1 Tool
Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail
The results are configurable only for the current inspection. However, all user-defined results in the custom map are shown
on the Industrial Protocols tab whether or not they are included in the current inspection. To make changes to a different
inspection, switch to the desired inspection and then make changes to the custom map. Updating the map does not
disconnect the sensor from the PLC.
To configure the map:
Important: Click Apply Changes or all user-defined data is lost when you click away from the
Industrial Protocols tab.
4. Click to print and save a PDF of the current map. The PDF includes all data, whether system-defined or user-
defined.
5. To return the map to the default settings, click . All user-defined output data is deleted.
Column descriptions:
WORD #
The data location.
Inspection #
Shows whether this tool result applies to the current inspection only (inspection number) or to any inspection (ANY)
that includes the selected tool.
An Inspection # of ANY means that if an inspection includes a tool with the exact name (for example,
AverageGray01), the results are output. If an inspection does not have a tool with the exact name (for example
AverageGrayAssemblyLine01), no results are output for that tool and that inspection.
Tool Type
Displays a graphic that represents the type of tool selected in the Tool Name column.
Tool Name
Select the desired Tool Name from the list. The list includes the tools available in the current inspection only. Select
a different inspection from the inspection list, if necessary.
Result
The information to output.
Data Type
The type of information to output.
Actions
Click to delete a result. You cannot delete system-defined results that contain the symbol.
2. Click Next.
3. Select the Register an EDS file(s) option.
Figure 333. Rockwell Automation's EDS Wizard—Options
6. Click Next when you see the icon associated with the EDS file.
Figure 336. Rockwell Automation's EDS Wizard
11. Enter a name, description (optional), and IP address for the device.
Figure 340. New Module
13. Select the desired connection in the Module Definition window. Each of the items in the Name list represents a fixed
grouping of input and output assembly instances:
Note: The data type in the Comm Format must be changed to an INT.
See Inputs to the Sensor (Outputs from the PLC) on p. 185 and Outputs from the Sensor (Inputs to the PLC) on p.
186 for more information on each specific assembly instance.
Figure 346. Example: PLC Input Assembly Instance 0×64 (100), PLC Output Assembly Instance 0×70 (112)
Figure 347. Example: PLC Input Assembly Instance 0×65 (101), PLC Output Assembly Instance 0×71 (113)
Figure 348. PLC Input Assembly (102), PLC Output Assembly (114)
If the module configuration was not successful, the RSLogix 5000 software will indicate errors similar to the following
figures:
Figure 351. ERROR: Assembly Instance Number and/or Size Incorrect
Figure 352. ERROR: VE Series camera Not Powered Up or Ethernet Cable Not Attached
4. Locate the memory map setup from the Banner module to the PLC memory map.
The VE Series camera memory map expanded. I = Inputs to PLC (outputs from the device).
14.4 Modbus/TCP
The Modbus/TCP protocol provides device information using register and coil banks defined by the slave device. This section
defines the register and coil banks. By specification, Modbus/TCP uses TCP port 502.
The Modbus/TCP remote unit identifier is used with Modbus/TCP devices that are composites of several Modbus devices.
For example, on Modbus/TCP to Modbus RTU gateways. In this case, the unit identifier tells the Slave Address of the device
behind the gateway. Most Modbus/TCP Clients use a Unit ID of 1 or higher. If a Client with a Unit ID of 0 is used, in Vision
Manager go to System Settings > Communications > Industrial Protocols and select the Support Modbus Unit ID 0
checkbox to allow this connection.
The following registers are used to send values back and forth from the vision sensor to the PLC. VE Series camera read-
only output data can be read as Input Registers (30000) using Modbus function code 04 (Read Input Registers). Because
some devices like the Modicon family of PLCs cannot access data using the 30000 range of registers, the same values can
also be seen as Holding Registers (40000) using Modbus function code 03 (Read Holding Registers).
The Input Bits can be set as Coils using Modbus function code 05 (Force Single Coil). The state of the Input ACK Bits and
Status Bits can be read as Inputs (10000) using Modbus function code 02 (Read Input Status).
Modbus Function Codes Supported
01: Read Coil Status
02: Read Input Status
03: Read Holding Registers
04: Read Input Registers
05: Force Single Coil
00003 2 Trigger
00004 3 reserved
00005 4 reserved
00006 5 reserved
00009 8 reserved
00010 9 reserved
00011 10 reserved
00012 11 reserved
00013 12 reserved
00014 13 reserved
00015 14 reserved
00016 15 reserved
10004 3 reserved
10005 4 reserved
10006 5 reserved
10009 8 reserved
10010 9 reserved
10011 10 reserved
10012 11 reserved
10013 12 reserved
10014 13 reserved
10015 14 reserved
10016 15 reserved
10017 0 Ready
10018 1 Pass/Fail
10019 2 reserved
10021 4 reserved
10022 5 Output 1
10023 6 Output 2
10024 7 Output 3
10025 8 Output 4
10026 9 Output 5
10027 10 reserved
10028 11 reserved
The following rules apply for the use of input bit commands:
• Only one VE Series camera input bit can be set at a time
• Corresponding ACK bits are set high only on completion of the command (if the VE input bit is still high)
• Corresponding ACK bits are cleared when the VE input bit is cleared
• When multiple VE input bits are set simultaneously, the Execution Error input bit is set and an Error Code value is
reported in the Error Code register
• The Execution Error VE output bit is cleared when a new valid command is completed
• The Teach Error output bit is set when a Match tool Teach command runs but fails to learn a new Pattern, such as for
insufficient contrast. It clears on the next trigger
Figure 355. Trigger—Modbus/TCP, EtherNet/IP, PCCC Figure 356. Trigger Timing Diagram
Start Trigger
RPI 0 1 X X +Y X +Y+Z
Write 0 to Input Bits
Register
Trigger
Make sure camera is ready – bit 0 is
set to 1 in Output Bits Register
Ready
Set Set
Trigger = 1 Trigger = 0
No
Is Trigger ACK (bit 2 in
Input Bits ACK Register)
set to 1?
Verify : Verify :
TriggerACK = ‘1 ’ Ready = 1
Ready = 1
Yes TriggerACK = 0
Read Results TriggerACK = 0
No
Done
Figure 357. TEACH—Modbus/TCP, EtherNet/IP, PCCC Figure 358. Teach Latch Timing Diagram
Teach Latch
Start
RPI 0 1 X X +Y X +Y+Z
Teach
Latch ACK
Execute Teach Latch: set bit 1 of the
Input Bits Register to 1
Set Set
TeachLatch = 1 TeachLatch = 0
No
Is Teach Latch (bit 1 in TeachLatch ACK
Verify : Verify :
Input Bits ACK Register) Ready = 1 = ‘1 ’ Ready = 1
set to 1? TeachLatch ACK =0 Teach will TeachLatchACK =0
execute on next
trigger
Yes
X, Y, Z: Represent snapshots in time
No
Done
Figure 359. Product Change—Modbus/TCP, EtherNet/IP, PCCC Figure 360. Product Change Timing Diagram
Start
Product Change
Product
Change
Write desired program number (as a
32-bit integer) into the Product
Change Number location
Ready
Set Set
ProductChange ProductChange
Execute Product Change: set bit 0 of =1 =0
the Input Bits Register to 1
Yes
X, Y, Z: Represent snapshots in time
No
Done
1 1001 Input ACK Bits (see Input and Output Bits on p. 208, 16-bit integer
and also Inputs 10001-16)
2 1002 Status Bits (see Input and Output Bits on p. 208, and 16-bit integer
also Inputs 10017-32)
17 1017 Tool Pass/Fail Bits (see Tool Pass/Fail Bits on p. 16-bit integer
188)
Coil 16 Coil 15 Coil 14 Coil 13 Coil 12 Coil 11 Coil 10 Coil 9 Coil 8 Coil 7 Coil 6 Coil 5 Coil 4 Coil 3 Coil 2 Coil 1
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
reserved reserved reserved reserved reserved reserved reserved reserved FTP Input Barcode reserved reserved reserved Trigger Teach Product
String Data Latch Change
Compare
Input
String
Read-only Input ACK Bits are outputs from the VE Series camera (inputs to the PLC or HMI). They are used to
acknowledge each of the input bits sent from the PLC. For example, if the PLC changes the Trigger bit (from Input Bits,
above) from a 0 to a 1, the VE changes the Trigger ACK bit from a 0 to a 1 in response. This information is available as Input
Registers or Holding Registers. Use either function code 04 (Read Input Registers) or function code 03 (Read Holding
Registers). The same data can also be read from Inputs (10000) using Modbus function code 02 (Read Input Status).
Table 17: Input ACK Bits: PLC Input Register 1 or Holding Register 1001, also Inputs 10001-16
Input 16 Input 15 Input 14 Input 13 Input 12 Input 11 Input 10 Input 9 Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
reserved reserved reserved reserved reserved reserved reserved reserved FTP Input Barcode reserved reserved reserved Trigger Teach Product
String Data ACK Latch Change
ACK Compare ACK ACK
Input
String
ACK
Read-only Status Bits are outputs from the VE Series camera (inputs to the PLC or HMI). They are used to report the basic
status of the VE Series camera and the last inspection run. This information is available as Input Registers or Holding
Registers. Use either function code 04 (Read Input Registers) or function code 03 (Read Holding Registers). The same data
can also be read from Inputs (10000) using Modbus function code 02 (Read Input Status).
Table 18: Status Bits: PLC Input Register 2 or Holding Register 1002, also Inputs 10017-32
Input 32 Input 31 Input 30 Input 29 Input 28 Input 27 Input 26 Input 25 Input 24 Input 23 Input 22 Input 21 Input 20 Input 19 Input 18 Input 17
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Execution System Teach Missed reserved reserved Output 5 Output 4 Output 3 Output 2 Output 1 reserved Ready reserved Pass/Fail Ready
Error Error Error Trigger Latch
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Camera
Tool 15 Tool 14 Tool 13 Tool 12 Tool 11 Tool 10 Tool 9 Tool 8 Tool 7 Tool 6 Tool 5 Tool 4 Tool 3 Tool 2 Tool 1 Tool
Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail
The results are configurable only for the current inspection. However, all user-defined results in the custom map are shown
on the Industrial Protocols tab whether or not they are included in the current inspection. To make changes to a different
inspection, switch to the desired inspection and then make changes to the custom map. Updating the map does not
disconnect the sensor from the PLC.
To configure the map:
Important: Click Apply Changes or all user-defined data is lost when you click away from the
Industrial Protocols tab.
4. Click to print and save a PDF of the current map. The PDF includes all data, whether system-defined or user-
defined.
5. To return the map to the default settings, click . All user-defined output data is deleted.
Column descriptions:
REG #
The data location.
Inspection #
Shows whether this tool result applies to the current inspection only (inspection number) or to any inspection (ANY)
that includes the selected tool.
An Inspection # of ANY means that if an inspection includes a tool with the exact name (for example,
AverageGray01), the results are output. If an inspection does not have a tool with the exact name (for example
AverageGrayAssemblyLine01), no results are output for that tool and that inspection.
Tool Type
Displays a graphic that represents the type of tool selected in the Tool Name column.
Tool Name
Select the desired Tool Name from the list. The list includes the tools available in the current inspection only. Select
a different inspection from the inspection list, if necessary.
Result
The information to output.
Data Type
The type of information to output.
Actions
Click to delete a result. You cannot delete system-defined results that contain the symbol.
Figure 362. Trigger—Modbus/TCP, EtherNet/IP, PCCC Figure 363. Trigger Timing Diagram
Start Trigger
RPI 0 1 X X +Y X +Y+Z
Write 0 to Input Bits
Register
Trigger
Make sure camera is ready – bit 0 is
set to 1 in Output Bits Register
Ready
Set Set
Trigger = 1 Trigger = 0
No
Is Trigger ACK (bit 2 in
Input Bits ACK Register)
set to 1?
Verify : Verify :
TriggerACK = ‘1 ’ Ready = 1
Ready = 1
Yes TriggerACK = 0
Read Results TriggerACK = 0
No
Done
Figure 364. TEACH—Modbus/TCP, EtherNet/IP, PCCC Figure 365. Teach Latch Timing Diagram
Teach Latch
Start
RPI 0 1 X X +Y X +Y+Z
Teach
Latch ACK
Execute Teach Latch: set bit 1 of the
Input Bits Register to 1
Set Set
TeachLatch = 1 TeachLatch = 0
No
Is Teach Latch (bit 1 in TeachLatch ACK
Verify : Verify :
Input Bits ACK Register) Ready = 1 = ‘1 ’ Ready = 1
set to 1? TeachLatch ACK =0 Teach will TeachLatchACK =0
execute on next
trigger
Yes
X, Y, Z: Represent snapshots in time
No
Done
Figure 366. Product Change—Modbus/TCP, EtherNet/IP, PCCC Figure 367. Product Change Timing Diagram
Start
Product Change
Product
Change
Write desired program number (as a
32-bit integer) into the Product
Change Number location
Ready
Set Set
ProductChange ProductChange
Execute Product Change: set bit 0 of =1 =0
the Input Bits Register to 1
Yes
X, Y, Z: Represent snapshots in time
No
Done
14.5.1 Configuration
The following images represent a typical configuration.
This Controller
Communications Command = PLC5 Read
Data Table Address = Integer table "Nx"
Target Device
Data Table Address = N7:x
This Controller
Communications Command = PLC5 Write
Data Table Address = Integer table "Nx"
Target Device
Data Table Address = N14:x
0 Input Bits Register (see Input and Output Bits on p. 219) 16-bit integer
0 Input Bits ACK Register (see Input and Output Bits on p. 219) 16-bit integer
1 Output Bits Register (see Input and Output Bits on p. 219) 16-bit integer
16 Tool Pass/Fail Bits (see Tool Pass/Fail Bits on p. 188) 16-bit integer
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Barcode
Data
FTP Input Teach Product
reserved reserved reserved reserved reserved reserved reserved reserved Compare reserved reserved reserved Trigger
String Latch Change
Input
String
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
reserved reserved reserved reserved reserved reserved reserved reserved FTP Input Barcode reserved reserved reserved Trigger Teach Product
String Data ACK Latch Change
ACK Compare ACK ACK
Input
String
ACK
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Execution System Teach Missed reserved reserved Output 5 Output 4 Output 3 Output 2 Output 1 reserved Ready reserved Pass/Fail Ready
Error Error Error Trigger Latch
Bit Position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Vision Camera
Tool 15 Tool 14 Tool 13 Tool 12 Tool 11 Tool 10 Tool 9 Tool 8 Tool 7 Tool 6 Tool 5 Tool 4 Tool 3 Tool 2 Tool 1 Tool
Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail Pass/Fail
The results are configurable only for the current inspection. However, all user-defined results in the custom map are shown
on the Industrial Protocols tab whether or not they are included in the current inspection. To make changes to a different
inspection, switch to the desired inspection and then make changes to the custom map. Updating the map does not
disconnect the sensor from the PLC.
To configure the map:
Important: Click Apply Changes or all user-defined data is lost when you click away from the
Industrial Protocols tab.
4. Click to print and save a PDF of the current map. The PDF includes all data, whether system-defined or user-
defined.
5. To return the map to the default settings, click . All user-defined output data is deleted.
Column descriptions:
WORD #
The data location.
Inspection #
Shows whether this tool result applies to the current inspection only (inspection number) or to any inspection (ANY)
that includes the selected tool.
An Inspection # of ANY means that if an inspection includes a tool with the exact name (for example,
AverageGray01), the results are output. If an inspection does not have a tool with the exact name (for example
AverageGrayAssemblyLine01), no results are output for that tool and that inspection.
Tool Type
Displays a graphic that represents the type of tool selected in the Tool Name column.
Tool Name
Select the desired Tool Name from the list. The list includes the tools available in the current inspection only. Select
a different inspection from the inspection list, if necessary.
Result
The information to output.
Data Type
The type of information to output.
Actions
Click to delete a result. You cannot delete system-defined results that contain the symbol.
14.6 PROFINET®
PROFINET® 27 is a data communication protocol for industrial automation and processes. PROFINET IO defines how
controllers (IO controllers) and peripheral devices (IO devices) exchange data in real time.
The VE Series Smart Camera supports PROFINET IO. The data communication protocol is TCP/IP; the data transmission
medium is copper wire; the PROFINET conformance class is CC-A. 28
Note: In this document, outputs from the VE device are referred to as "inputs" to the controller (PLC).
Outputs from the controller (PLC) are referred to as "inputs" to the VE device.
The default PROFINET configuration consists of a single module plugged into Slot 1. This module, called the Device Control
and Status Module, accepts two submodules: the Inspection Result Submodule, plugged into Subslot 1, and the Device
Control Submodule, plugged into Subslot 2.
The Inspection Result Submodule provides the inspection results from the VE Series camera, including Pass Count, Fail
Count, and Current Inspection Time. See Table 30 on p. 223.
Note: The Inspection Result Submodule does not provide any sensor-specific output data.
The Device Control Submodule allows the user to issue commands to the VE, such as Trigger, TEACH, and Product
Change. This submodule also provides the user with command feedback. See Table 31 on p. 224.
Module
Slot 1 VE Control and Status Module
Slot 2 VE Output Module
Slot 3 VE Input Module
Submodule Notes
Subslot 1 VE Inspection Results Submodule (see VE Always present.
Inspection Results Submodule on p. 223)
Subslot 2 VE Device Control Submodule (see VE Device Present by default, but can be removed.
Control Submodule on p. 224)
Submodule Notes
Subslot 1 Sensor output submodules (various) (see There are six versions of this submodule
Sensor Output Submodules on p. 228) supporting payloads of 16, 32, 64, 128, 256,
and 512 bytes.
Submodule Notes
Subslot 1 Sensor input submodules (see Sensor Input This module is input only.
Submodule on p. 229)
Byte # PLC Input Data Name Input Data Type PLC Output Data Name Output Data Type
Byte PLC Input Data Name Input Data Type Byte PLC Output Data Name Output Data Type
# #
0-1 Device Control ACK Word Unsigned16 0-1 Device Control Command Word Unsigned16
2-5 Return Error Code Unsigned32 2-5 Product Change Number Unsigned32
[Byte #].[Bit #] Word Bit Position Function [Byte #].[Bit #] Word Bit Position Function
1.2 Bit 2 Trigger Acknowledgement 1.6 Bit 6 Barcode Data Compare Input
String
1.6 Bit 6 Barcode Data Compare Input
String Acknowledgement 1.7 Bit 7 FTP Input String
The following rules apply for the use of input bit commands:
• Only one VE Series camera input bit can be set at a time
• Corresponding ACK bits are set high only on completion of the command (if the VE input bit is still high)
• Corresponding ACK bits are cleared when the VE input bit is cleared
• When multiple VE input bits are set simultaneously, the Execution Error input bit is set and an Error Code value is
reported in the Error Code register
• The Execution Error VE output bit is cleared when a new valid command is completed
• The Teach Error output bit is set when a Match tool Teach command runs but fails to learn a new Pattern, such as for
insufficient contrast. It clears on the next trigger
Start Trigger
RPI 0 1 X X +Y X +Y+Z
Write 0 to Device
Control Command Word
Trigger
Make sure Camera is Ready – bit 0
is set to 1 in Inspection Status Word
Ready
Set Set
Trigger = 1 Trigger = 0
No
Is Trigger ACK (bit 2 in
Device Control ACK
word) set to 1?
Verify : Verify :
TriggerACK = ‘1 ’ Ready = 1
Ready = 1
Yes TriggerACK = 0
Read Results TriggerACK = 0
No
Done
Teach Latch
Start
RPI 0 1 X X +Y X +Y+Z
Write 0 to Device
Control Command Word Teach
Latch
Teach
Latch ACK
Execute Teach Latch: set bit 1 of the
Device Command Word to 1
Set Set
TeachLatch = 1 TeachLatch = 0
No
Is Teach Latch ACK (bit TeachLatch ACK
Verify : Verify :
1 in Device Control ACK Ready = 1 = ‘1 ’ Ready = 1
word) set to 1? TeachLatch ACK =0 Teach will TeachLatchACK =0
execute on next
trigger
Yes
X, Y, Z: Represent snapshots in time
No
Done
Figure 377. Product Change—PROFINET Figure 378. Product Change Timing Diagram
Start
Product Change
Product
Change
Write desired program number (as a
32-bit integer) into the Product
Change Number location
Ready
Set Set
ProductChange ProductChange
Execute Product Change: set bit 0 of =1 =0
the Device Command Word to 1
Yes
X, Y, Z: Represent snapshots in time
No
Done
16-Byte Custom Map 0×000028 User-mapped Sensor Result Data Block 16-byte OctetString Not applicable Not applicable
32-Byte Custom Map 0×000029 User-mapped Sensor Result Data Block 32-byte OctetString Not applicable Not applicable
64-Byte Custom Map 0×000030 User-mapped Sensor Result Data Block 64-byte OctetString Not applicable Not applicable
128-Byte Custom Map 0×000031 User-mapped Sensor Result Data Block 128-byte OctetString Not applicable Not applicable
256-Byte Custom Map 0×000032 User-mapped Sensor Result Data Block 256-byte OctetString Not applicable Not applicable
512-Byte Custom Map 0×000033 User-mapped Sensor Result Data Block 512-byte OctetString Not applicable Not applicable
The results are configurable only for the current inspection. However, all user-defined results in the custom map are shown
on the Industrial Protocols tab whether or not they are included in the current inspection. To make changes to a different
inspection, switch to the desired inspection and then make changes to the custom map. Updating the map does not
disconnect the sensor from the PLC.
To configure the map:
Important: Click Apply Changes or all user-defined data is lost when you click away from the
Industrial Protocols tab.
4. Click to print and save a PDF of the current map. The PDF includes all data, whether system-defined or user-
defined.
5. To return the map to the default settings, click . All user-defined output data is deleted.
Column descriptions:
Byte
The data location.
Inspection #
Shows whether this tool result applies to the current inspection only (inspection number) or to any inspection (ANY)
that includes the selected tool.
An Inspection # of ANY means that if an inspection includes a tool with the exact name (for example,
AverageGray01), the results are output. If an inspection does not have a tool with the exact name (for example
AverageGrayAssemblyLine01), no results are output for that tool and that inspection.
Tool Type
Displays a graphic that represents the type of tool selected in the Tool Name column.
Tool Name
Select the desired Tool Name from the list. The list includes the tools available in the current inspection only. Select
a different inspection from the inspection list, if necessary.
Result
The information to output.
Data Type
The type of information to output.
Actions
Click to delete a result.
Table 34: Sensor Input Module Definition for Tool Input String Control
To use this submodule for FTP Filename control, the Industrial Protocol String checkbox must be selected. See Image
Export: FTP on p. 176.
To use this submodule for setting the Barcode Data Compare String, the Data Compare checkbox on the Test tab must be
selected. See Barcode Tool: Test Parameters on p. 147.
Note that you can switch back and forth between FTP File Name Control and Tool Input String Control as desired.
Note: If the VE GSD file does not install properly, save the log and contact Banner Engineering
Corp..
Note: For Step 6 through Step 10, Network view must be open.
6. Locate the VE Series camera in the Hardware catalog.
In the above example, the VE device is located under Other field devices > PROFINET IO > Sensors > Banner
Engineering Corp > Banner Vision Sensors > VE Series Vision Sensor > VE Series > VE.
7. Select the device and add it to the configuration.
Selection Option Description
Drag Drag the VE from the Hardware catalog directly into the configuration.
Double-click Double-click on the VE and add it to the configuration.
8. Click the green square on the VE icon. Drag the pointer to the green square on the PLC_1 icon to connect the device
to the controller (PLC).
Figure 388. Drag to Connect
10. Select the desired modules or submodules from the Hardware catalog and drag them onto the Device overview tab
on the Device view tab.
The VE device is configured.
The Select device window searches the network for available devices.
15. Determine the device to be adjusted via the MAC address and select it.
Use the Vision Manager software to find the MAC address: Home > Sensor Neighborhood > Active Sensors.
16. Click Apply.
Figure 396. Select the Device and Apply Changes
Note: PROFINET devices commonly lack an IP address on startup (IP address = all zeros). However, VE
devices require an IP address to connect to Vision Manager to set the device configuration.
By default, each Banner Engineering Corp. device shipped from the factory is assigned the IP address
192.168.0.1. The default address can be changed using the Vision Manager software.
Immediately after the PROFINET protocol has been enabled in the Banner Engineering Corp. device, but
before the PLC discovers and connects to the Banner Engineering Corp. device, the Banner Engineering
Corp. device will retain its IP address. After the PLC discovers and connects to the Banner Engineering
Corp. device, the behavior of the IP address depends on how the PLC was configured to assign the
Banner Engineering Corp. device IP address. Two configuration options are available.
Figure 397. Siemens TIA Portal (v15): IP Protocol Options
• The IP address is set in the project: If the PLC is told to assign the Banner Engineering Corp.
device IP address (for example, using the Set IP address in the project option in Siemens TIA
Portal), the Banner Engineering Corp. device receives the specified address, but only after the
program has been loaded into the PLC and is running.
If the Banner Engineering Corp. device is restarted after it was discovered and configured by the
PLC, the Banner Engineering Corp. device has an IP address of 0.0.0.0 until the PLC discovers it
and assigns it the specified address again.
When the Banner Engineering Corp. device has no IP address assigned, it is still possible to
assign an IP address to the Banner Engineering Corp. device using Vision Manager. However, if
this address is different than what is specified in the PLC, the Banner Engineering Corp. device
reverts to the address specified in the PLC when the PLC becomes active again.
• The IP address is set at the device: If the PLC is told that the Banner Engineering Corp. device IP
address is configured at the device (for example, using the IP address is set directly at the
device option in Siemens TIA Portal), the Banner Engineering Corp. device always retains the IP
address that was assigned to through Vision Manager.
These configuration options conform to the PROFINET standard.
The project can be downloaded to the PLC to test the connection and check for errors.
14.7 Troubleshooting
520 IE_COIL_ACTION_FAILED The coil action resulted in a failure. Clear all coil bits. Verify that the corresponding
acknowledgement bits are reset to zero. The
error code clears when the next valid command
is issued.
Make sure the related data is set correctly. For
example, the Input String Length must be > 0
for Input String coil actions.
521 IE_COIL_ALREADY_BUSY The coil was asserted before the previous Verify that the corresponding acknowledgement
execution completed. bit gets set. Then clear all coil bits and try
again.
522 IE_COIL_NOT_FINISHED The coil was de-asserted prior to the execution Verify that the corresponding acknowledgement
completing. bit gets set. Then clear all coil bits and try
again.
523 IE_COIL_ANOTHER_ACTION_PENDING The coil was asserted prior to another coil Verify that the corresponding acknowledgement
execution completing. bit gets set. Then clear all coil bits and try
again.
524 IE_COIL_MULTIPLES_DETECTED Multiple coils were asserted simultaneously. Clear all coil bits. Verify that the corresponding
acknowledgement bits are reset to zero. The
error code clears when the next valid command
is issued.
525 IE_COIL_ACK_INHIBITED The coil action's output ACK was inhibited Keep the corresponding coil bit set during the
because the input coil was no longer set. execution period.
10252 COMMAND_NOT_FINISHED Attempt to issue command when a previous Wait for acknowledgement of the previous
command has not finished command before issuing a new command.
10900 SENSOR_NOT_READY Command specified requires the device to be in Verify that the sensor bootup or product change
the READY state. operation is complete. Use of ONLINE output
signal is recommended.
80200 SYSTEM_ERROR_NOT_ACTIVE The System Error must be active to execute When no system error is active, do not set the
this command bit to clear system errors.
80300 TEACH_SENSOR_TYPE_INVALID Teach requires Match or Barcode tool. Execute a teach command only when a Match
or Barcode tool is present in the currently
running inspection.
80400 PRODUCT_CHANGE_WHEN_NOT_READ The sensor must be in the Ready state to Clear the Product Change bit. Verify that the
Y perform a product change. Product Change acknowledgement bit has
been reset to zero. Wait until the sensor is
Ready. Re-assert the Product Change bit.
80401 PRODUCT_CHANGE_INVALID_INSPECTI Attempt to product change to a unknown or Clear the Product Change bit. Verify that the
ON invalid inspection. Product Change acknowledgement bit has
been reset to zero. Set the inspection slot to a
valid value. Re-assert the Product Change bit.
80403 PRODUCT_CHANGE_TO_SAME_INSPEC Attempt to product change to the same Product change to a different inspection.
TION inspection.
80410 SET_DATACOMPARE_STRING_FAILED Attempt to set the Barcode Data Compare Make sure the Barcode tool being edited exists
string failed. in the current inspection.
14.7.2 PROFINET
Discovering VE Series camera Devices
The Siemens TIA Portal (v13) software discovery and configuration protocols are used to discover VE Series camera devices
on a network.
1. Start the Siemens TIA Portal (v13) software.
2. Click Open an existing project.
3. Select a project and open it.
4. Click Devices & networks after the project has been uploaded.
5. Click Configure networks.
6.
Click the Accessible devices icon.
The Accessible devices window opens.
7. Select an interface connection in the Type of the PG/PC interface list.
8. Select an interface connection in the PG/PC interface list.
Figure 404. PG/PC Interface
The PC scans the network for PROFINET® devices. If the device you are looking for is not present, check the
cabling.
Diagnosing Errors
The Siemens TIA Portal (v15) software includes numerous diagnostic tools. When a computer is connected to the controller
(PLC), diagnostic information is available. The controller (PLC) generates a message that displays in the Diagnostics
window. A flashing red light on the CPU module of the controller (PLC) indicates an error.
1. Click on the text in the Details column to request detailed information about the device that caused the error.
Figure 406. Diagnostics
All system and device messages are displayed in the Diagnostics buffer window under Events and Details on
event.
2. Select a message in the table, Display CPU Time Stamps in PG/PC local time.
The respective information displays in the Description field under Details on event.
3. Read the message to learn about the error and resolve it. When the error is resolved, the icon that corresponds to the
displayed message is green.
In the following figure, a WVGA model VE (752 × 480 raw image) has a smaller Figure 408. WVGA image in 640 × 480 frame
version of the raw image (represented by the gray box) centered within the 640 ×
480 frame. Black pixels are added to both the top and bottom because the height
of the raw picture is smaller than the height of the frame. The aspect ratio of the
raw VE image is preserved, creating a scaled 640 × 408 raw image inset in the
640 × 480 frame.
It is possible to access an image larger than 640 × 480 pixels. To do this, use a slightly different URL format that includes the
desired width and height and refresh rate within the URL. For example: http://192.168.0.195/
liveimage_w800_h600_r250.html.
In this format, the “w” and “h” are the desired width and height, in pixels, of the frame, and the “r” is the desired refresh rate,
in milliseconds. The maximum frame size is W = 1920 pixels and H = 1080 pixels. The minimum refresh value is 250
milliseconds.
In the following example, a 5 MP model VE has a smaller version of the raw Figure 409. 5 MP image in 800 × 600 frame
image (represented by the gray box) centered within a custom 800 × 600 frame.
In this case, preserving the 5 MP aspect ratio requires a 759 × 600 raw image to
be centered within the 800 × 600 frame.
Reduce the presence of black fill pixels by choosing a frame size proportional to the raw image size of the desired VE. The
table below shows the maximum width and height image sizes, based on VE model used.
Example
Resolution Width, maximum Height, maximum Aspect Ratio
Width Height
WVGA 752 480 1.33 500 320
1.3 MP 1280 1024 1.57 500 400
29
2 MP 1600 1200 1.25 500 376
29 29
5 MP 2592 2048 1.27 500 396
Note: To ensure maximum compatibility with all browser and computer types, the width and height values
should be divisible by 4.
29 The maximum size image available via the Webserver is 1920 w × 1080 h.
Figure 412. GP Pro-EX Software Special Switch part used to Start Application, pointed to web browser with IP address Parameter
RedLion HMI
On a RedLion HMI, the IP Camera protocol is used to make a connection to the image webserver.
Enter the following information:
• IP Address—The IP address of the sensor
• Port Number—80
• Image URI—The path to the bitmap image component served from the webserver
For display, use a Camera primitive linked to this IP Camera protocol. Make sure the Camera primitives's frame size is equal
to or larger than the image requested. Alternatively, you can use the scale options in the Camera primitive properties screen.
Note: Polling for an image more frequently than every 100 ms is not recommended.
The image component (a single, non-refreshing image) can also be accessed via a web browser. For example, a VE with the
IP address 192.168.0.195 would deliver a file with the name 192.168.0.195/sensor/liveimage_w500_h396.bmp.
Figure 415. WVGA Image Bitmap (web browser)
16 Troubleshooting
Problem Solution
The Vision Manager software will not connect to my sensor Make sure that:
• The sensor is powered on
• The sensor is connected to the computer or the
network
• You are connecting to the correct sensor (verify the
sensor name and IP address)
The image is not clear Make sure that:
• The lens is properly screwed onto the sensor
• The lens is clean
• The lens is properly focused (see Acquire a Good
Image on p. 18)
No images appear in the Image pane Make sure that:
• The exposure is correct (run Auto Exposure)
• The sensor is receiving trigger signals
I changed a test parameter but the test does not seem to be Make sure that the test parameter checkbox is selected to
working enable the test parameter
Depending on the situation, a message may appear on the computer screen. These messages include an identification
number, a message description, and a list of recommended solutions. There is also an option to send a report to Banner
Engineering.
30 These are the default port numbers, however they can be changed in the Vision Manager software. They cannot be changed to any port number
that is already in use.
17 Accessories
17.1 Cordsets
All measurements are listed in millimeters [inches], unless noted otherwise.
Power, Discrete I/O Cordsets
I/O sealed high-flex cordsets, 12 flying leads
12-Pin M12 Cordsets with Open Shield
Ethernet Cordsets
RJ45 Ethernet to 8-Pin Threaded M12 Cordsets
1 = White/Black
RJ45
2 = White/Brown
3 = Brown
Straight, Cat5e 47.4 Typ.
4 = Orange
Shielded 5 = White/Green
STP-M12-830 9.14 m (30 ft) 1 6 = White/Orange
7 7 = Blue
M12 x 1.0 - 6g
ø 14.5 2 6 8 = Green
3
5
4
8
The following Ethernet cables are used with 4-pin D-code Ethernet models only.
4-pin M12 D-code to RJ45 Shielded Ethernet
17.2 Brackets
All measurements are listed in millimeters [inches], unless noted otherwise.
SMBVERA 73 SMBVEMP 60
• Right-angle mounting • Painted black aluminum
4 x ø3.3
bracket with curved slots • Adapter holes for thru ø7.0
• 12-gauge stainless steel mounting hardware
• M3 × 0.5 mounting 4Xø3.5 81 2 x M8 x 1.25
hardware included 3 x 10-32 88
47 2 x 1/4-20
7
1/4-20
17.3 Lenses
Additional models are available. See www.bannerengineering.com.
Table 35: C-Mount Megapixel Lens Focal Length—For use with WVGA, 1.3MP, or 2MP models
Focal Compatible with Compatible with Sealed Compatible with 60 mm Compatible with 85 mm
Model Brand
Length Unsealed Ring Light Ring Light Sealed Lens Cover Sealed Lens Cover
8 mm
Yes, with setscrews
LCF08LEVMP Evetar Yes Yes No
removed
12 mm
Yes, with setscrews
LCF12LEVMP 31 Evetar Yes Yes No
removed
16 mm
Yes, with setscrews
LCF16LEVMP Evetar Yes Yes Yes
removed
25 mm
Yes, with setscrews
LCF25LEVMP Evetar Yes Yes Yes
removed
35 mm
Yes, with setscrews
LCF35LEVMP Evetar Yes Yes Yes
removed
50 mm
Yes, with setscrews
LCF50LEVMP 31 Evetar No Yes
removed
75 mm
Yes, with setscrews
LCF75LEVMP 31 Evetar No No Yes
removed
Table 36: C-Mount Megapixel Lens Focal Length—For use with WVGA, 1.3MP, or 2MP models
Compatible with Sealed Ring Compatible with 60 mm Sealed Compatible with 85 mm Sealed
Focal Length Model Brand
Light Lens Cover Lens Cover
6 mm LCF06LK1F Kowa No No No
8 mm LCF08LK1F Kowa No No No
4 mm 32 8 mm 12 mm 16 mm
WD
VER
TICA
FOV
L HORIZONTAL
6 mm 8 mm 12 mm 16 mm 25 mm 35 mm 50 mm 75 mm
600 629 × 503 469 × 375 318 × 254 229 × 183 147 × 118 111 × 89 71 × 57 -
6 mm 8 mm 12 mm 16 mm 25 mm 35 mm 50 mm 75 mm
1500 1628 × 1302 1207 × 966 822 × 658 598 × 478 381 × 305 289 × 231 191 × 153 124 × 99
300 × 240 303 395 569 774 1189 1557 2312 3474
600 × 480 574 760 1104 1505 2343 3072 4551 6845
WD
VER
TICA
FOV
L HORIZONTAL
5 mm 6 mm 8 mm 12 mm 16 mm 25 mm 35 mm 50 mm 75 mm
600 822 × 617 663 × 498 549 × 411 340 × 255 259 × 194 164 × 123 114 × 86 75 × 56 47 × 35
1500 2091 × 1568 1710 × 1283 1393 × 1045 874 × 656 667 × 500 422 × 317 300 × 225 205 × 154 132 × 99
300 × 225 229 288 335 533 690 1074 1500 2161 3263
600 × 450 442 545 655 1038 1353 2120 2950 4241 6417
WD
VER
TICA
FOV
L HORIZONTAL
6 mm 8 mm 12.5 mm 16 mm 25 mm 35 mm 50 mm 75 mm
300 565 × 446 415 × 328 265 × 209 211 × 167 138 × 109 93 × 73 - -
600 1212 × 957 887 × 701 566 × 447 445 × 352 289 × 228 200 × 158 130 × 103 -
1500 3154 × 2492 2305 × 1821 1469 × 1161 1147 × 906 742 × 586 521 × 412 352 × 278 233 × 184
400 × 316 224 291 434 543 821 1160 1697 2511
800 × 632 409 545 833 1056 1614 2282 3322 4935
WD
VER
TICA
FOV
L HORIZONTAL
Filters are available in six sizes, specific to the inside thread diameter of the lens. Use the table below to select the
corresponding filter for these common C-mount lens types.
Size Lens Option
30.5 mm Computar (8 mm, 12 mm, 16 mm, 25 mm, 35 mm, 50 mm, 75 mm), Evetar (50 mm 33)
33 The filter is not compatible with this lens with the sealed ring light installed.
43 mm Computar (5 mm)
55 mm Kowa (8 mm)
Important: These filters are for the C-mount lens only. Depending on the lighting technique used, a
polarizing filter may be needed for both the lens and the light source. See www.bannerengineering.com for
Banner's selection of light filters.
VELC60-PC Polycarbonate
60 mm
VELC60-BG Borosilicate glass
Painted aluminum
VELC85-PC Polycarbonate
85 mm
VELC85-BG Borosilicate glass
VEDC-BG
• Painted anodized
aluminum with
borosilicate glass window
• Mounting hardware
included
LEDRRV62X62M LEDRRV80X80M Visible red, 630 nm 300 mm (12 in) cable with a threaded 3-pin
M8 connector
LEDWRV62X62M LEDWRV80X80M White, all visible
The light connects directly to the VE Series
LEDBRV62X62M LEDBRV80X80M Visible blue, 464 nm to 475 nm smart cameras.
Important: If instructed to return the device, pack it with care. Damage that occurs in return shipping is not
covered by warranty.
18.2 Maintenance
Maintenance tasks include keeping the hardware free of dust and dirt and updating the Vision Manager software and sensor
firmware as new versions become available.
18.3 Contact Us
Banner Engineering Corp. headquarters is located at:
9714 Tenth Avenue North
Minneapolis, MN 55441, USA
Phone: + 1 888 373 6767
For worldwide locations and local representatives, visit www.bannerengineering.com.
Banner Engineering Corp. reserves the right to change, modify or improve the design of the product without assuming any
obligations or liabilities relating to any product previously manufactured by Banner Engineering Corp. Any misuse, abuse, or
improper application or installation of this product or use of the product for personal protection applications when the product
is identified as not intended for such purposes will void the product warranty. Any modifications to this product without prior
express approval by Banner Engineering Corp will void the product warranties. All specifications published in this document
are subject to change; Banner reserves the right to modify product specifications or update documentation at any time.
Specifications and product information in English supersede that which is provided in any other language. For the most
recent version of any documentation, refer to: www.bannerengineering.com.
For patent information, see www.bannerengineering.com/patents.
273
User profiles 57 V
add 56 users 56, 57
user name 57 username 56, 57 Vision Manager
user name 57 about 28
user profile 56, 57 version number 28
user profiles