2.1.3 Installing and Connecting the Sensor .............................................................................................................14
2.2 Live Mode Overview....................................................................................................................................................16
2.2.4 Output 1, Output 2, and Output 3 ....................................................................................................................18
2.2.5 Serial and Ethernet Output..............................................................................................................................18
2.3 iVu Plus BCR Emulator................................................................................................................................................20
3 Main Menu Reference..........................................................................................................................21
3.1 Main Menu...................................................................................................................................................................21
3.2 System Menu...............................................................................................................................................................22
3.3.1 Auto Exposure.................................................................................................................................................35
3.5.2 System Logs....................................................................................................................................................52
3.5.3 Communication Logs.......................................................................................................................................52
5 Setting up for an Inspection................................................................................................................57
2Rev. B
Contents
5.1 Acquiring a Good Image..............................................................................................................................................57
5.2 Setting Up a Barcode Application................................................................................................................................61
5.3 Setting up for Data Compare.......................................................................................................................................62
6 iVu Plus Communications...................................................................................................................65
6.1 iVu Plus Communications ...........................................................................................................................................65
6.1.2 Communication Channels ...............................................................................................................................65
6.1.5 Data Export......................................................................................................................................................67
6.2.1 Setting Up Ethernet Communications..............................................................................................................69
6.2.2 Setting Up Serial Communications..................................................................................................................74
7 Testing and Troubleshooting iVu Plus Communications................................................................79
7.1 Understanding the Communication Log......................................................................................................................79
7.2.1 Ethernet I/O Status .........................................................................................................................................80
7.3 Serial I/O......................................................................................................................................................................80
7.3.1 Using the Port Status Screen for Testing RS-232 Communications................................................................80
7.3.2 Using the iVu Command Channel Sample Application or a Terminal Program for Testing.............................81
8.1.2 String Delimiters and Escaping........................................................................................................................85
8.2 Conventions Used for Examples.................................................................................................................................86
9.1.1 Set IP Address ................................................................................................................................................99
9.1.2 Set Industrial Ethernet Protocol (EIP/Modbus/TCP/PCCC) ............................................................................99
9.1.3 Set Trigger Mode ............................................................................................................................................99
9.3.1 General Command Execution .......................................................................................................................102
9.4.4 Data Formats.................................................................................................................................................119
9.4.5 Minimum Requested Packet Inverval (RPI) Value ........................................................................................119
9.5.3 Input and Output Coils...................................................................................................................................131
9.6 PLC5 and SLC 5 (PCCC)..........................................................................................................................................132
9.6.4 Input and Output Flags..................................................................................................................................139
10.1 How to Round-Trip Debug Using the Emulator.......................................................................................................147
10.1.1 How to Debug Using the Emulator from a PC.............................................................................................147
10.1.2 How to Debug Using the Emulator from the USB Flash Drive ....................................................................148
11 iVu Series: Updating the Sensor....................................................................................................149
11.2 How to Set or Modify a Sensor Name.....................................................................................................................149
11.3 How to Reset the Sensor Password........................................................................................................................150
11.4 How to Use Bitmap Image Files with the iVu Emulator...........................................................................................151
12 LED Indicator Troubleshooting......................................................................................................152
This section provides general Banner resources and specific documentation for installers and operators of this
sor.
WARNING: Not To Be Used for Personnel Protection
Never use this product as a sensing device for personnel protection. Doing so could lead to serious injury or death. This product does NOT include the self-checking redundant circuitry necessary to
allow its use in personnel safety applications. A sensor failure or malfunction can cause either an energized or de-energized sensor output condition.
iVu Plus BCR Vision Sen-
1.1 Product Support
Banner provides the following resources for quickly setting up and operating the sensor.
Documentation
Online Help
When setting up or monitoring inspections using the iVu sensor's integrated display, you can get online help on any screen by clicking the
Help icon in the upper-right of the screen.
PDF Documentation
The
iVu Plus Series Image Sensor documentation is available in a convenient printable format (PDF) on the installation CD or on the
Banner Web site (http://www.bannerengineering.com)
Banner Website
The most current iVu Plus Series sensor information is available on the Banner website:
www.bannerengineering.com
Warranty Service
The iVu Plus Image Sensor is designed for reliability. Do not open the housing; it contains no field-replaceable components. If repair is
necessary, do not attempt to repair the sensor yourself; return the unit to the factory. Should it become necessary to return a sensor to
the factory, please do the following:
1. Contact the Banner Factory Application Engineering group at the address or numbers listed below. They will attempt to troubleshoot the system from your description of the problem. If they conclude that a component is defective, they will issue an RMA
(Return Merchandise Authorization) number for your paperwork and give you the proper shipping address.
2. Pack the sensor carefully. Damage which occurs during return shipping is not covered by warranty.
Call, e-mail, fax, or write your local Banner representative or a Banner Applications Engineer for support. Applications Engineers are
available from 8:00 A.M. to 5:00 P.M. Central Time, Monday through Friday, excluding holidays.
PhoneLocal: 763.544.3164
Toll Free: 1.888.3.SENSOR (1.888.373.6767)
Fax763.544.3213
E-mailsensors@bannerengineering.com
AddressBanner Engineering Corp.
9714 10th Avenue North, Minneapolis, MN 55441 USA
To help Banner better assist you, be ready to provide the following information:
•
iVu firmware version (to find the version number, click Main Menu > System > Sensor Information
• Sensor Model Number and Date Code, which are found on the bottom of the sensor.
• Exact wording of any messages that appeared on your screen
• A description of what you were doing and what happened
• A description of how you tried to solve the problem
• Error Codes (see LED Indicator Troubleshooting on page 152 )
1.2 Maintenance
Maintenance tasks include keeping the hardware free of dust and dirt and possibly updating the iVu firmware as new versions become
available.
Cleaning the Sensor
Regularly remove any dust or dirt from the Sensor using a soft cloth. If needed, slightly dampen the cloth with a weak solution of neutral
detergent. Avoid getting dirt on the imager (the area behind the lens). If the imager is dirty, use anti-static compressed air to blow off the
dust.
Updating the iVu Firmware
The current version of iVu firmware is available for download from the Banner website. See the Banner Website for the firmware download link.
6www.bannerengineering.com - tel: 763-544-3164Rev. B
2 Overview of the Sensor
The iVu Plus BCR sensor reads a wide variety of barcodes.
cables and mounting brackets can be ordered for each application. Additionally, other lenses, brackets, filters and external lights are
available. Installation, setup, and configuration can be done quickly without requiring a PC to configure the sensor.
• No external PC required to configure the sensor
• USB 2.0 compliant host provided for easy updating and diagnotistics
• Image processing expertise is not required
• Integrated or remote color touch screen display
• High speed processing
iVu Plus BCR reads the following barcode types:
• DataMatrix (ECC 200) barcodes
• Linear barcodes
• Code128
• Code39
• CODABAR
• Interleaved 2 of 5
• EAN13
• EAN8
• UPCE
• Postnet
• IMB
• Pharmacode
The package consists of lighting, sensor, lens, and display. Appropriate
2.1 Installation
2.1.1 Components
iVu with Integrated Display
The iVu Series sensor comes fully assembled with the lens and an integrated ring light if so ordered. The integrated touchscreen display
has a plastic cover to protect the display. You will need to remove this cover when setting up the sensor. When the display is not in use
be sure to keep the display covered to protect it.
If not using an integrated ring light, you will need to have another lighting source. Various lights are available from Banner.
8www.bannerengineering.com - tel: 763-544-3164Rev. B
C
AB
iVu Plus BCR User's Manual
A8-pin Euro-style (M12) female USB Cable Connector
BI/O Cable Connector
C12-pin Euro-style (M12) male Power and I/O Cable Connector
Mounting Bracket Mounting Holes (uses supplied three M4 x 4 mm screws)
iVu with Remote Display
The iVu sensor for use with a Remote Display comes fully assembled with the lens and an integrated ring light if so ordered. Although the
Remote Display is not required for normal sensor operation, you will need it to set up the sensor and when you want to monitor inspections.
NOTE: If not using an integrated ring light, you will need to have another lighting source. Various lights are
available from Banner.
B12-pin Euro-style (M12) male Power and I/O Cable Connector
C4-pin Pico (M8) female connector
DI/O Cable Connector
Mounting Bracket Mounting Holes (uses supplied three M4 x 4 mm
screws)
2.1.2 Cable Connections
iVu Plus BCR with Integrated Display
The cable connections on the iVu Plus with integrated display are shown below, and power I/O connections (C) are defined in the Power
I/O Connections table below.
AUSB Connector
10www.bannerengineering.com - tel: 763-544-3164Rev. B
BEthernet Connector
CPower I/O Connector
NOTE: Microlens model shown, C-Mount model connections are
identical.
A
B
CD
iVu Plus BCR User's Manual
iVu Plus BCR with Remote Display
The cable connections on the iVu Plus with remote display are shown below, and power I/O connections (B) are defined in the Power I/O
Connections table below.
ARemote Display Connector
BPower I/O Connector
CUSB Connector
DEthernet Connector
NOTE: Microlens model shown, C-Mount model connections are
The iVu has two input signals—Trigger and Remote Teach. The default setting is to detect the Trigger or Remote Teach input on the low
to high transition. This setting can be changed in the Main Menu > System > Discrete I/O > Input Polarity screen on the sensor.
iVu Low-to-High Trigger and Remote Teach Input Waveforms
The iVu Trigger and Remote Teach input waveforms are shown below.
Power up
Wire Color
Pink
Gray
Function
Trigger
Remote
T
each
The sensor triggers from low to high, and Remote Teach behaves electrically like trigger (see above).
iVu High-to-Low Trigger and Remote Teach Input Waveforms
The iVu High-to-Low Trigger and Remote Teach input waveforms are shown below.
Power up
Wire Color
Pink
Gray
Function
Trigger
Remote
T
each
12www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
The sensor triggers from high to low, and Remote Teach behaves electrically like trigger.
NOTE: If the device used to trigger or remote teach the
iVu Plus BCR is a sinking device (that is, NPN), then
there are two options regarding the use of a pull-up resistor:
Option 1: Put a pull-up resistor, rated approximately 1k ohm, between the sensor's positive (+) voltage and
the sensor's input as shown below.
Sinking
iVu
Trigger Input
Remote Teach Input
Pullup Resistor
VCC
1k ohm
NPN
Option 2: Enable the Input Pullup in the
iVu Plus BCR software ( Main Menu > System > Discrete I/O >
The iVu Plus BCR sensor requires a bracket for mounting. Three brackets are available
from Banner. The brackets allow the sensor to be mounted either perpendicular to the part
or at an adjustable angle.
(Fail)
(Pass)
Available iVu Brackets
SMBIVURALSMBIVURARSMBIVUU
Thread three M4 x 4mm screws through the bracket into the mounting holes in the bottom of the sensor. Tighten all three screws.
14www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Installing Filters on the iVu Series Sensor
NOTE: Failure to follow these instructions can cause damage to your iVu Series sensor.
To install a filter on the iVu Series sensor with Micro Lens, use the illustration as a guide and follow the steps listed below.
1. Use the 1/16" hex key to remove the Focusing Window locking screw (D).
NOTE: The Locking Clip (C) inserts in a groove near the top of the Focusing Window (B). When removing the window, the Locking Clip will be loose. Be careful not to lose the clip while removing the window.
ALens
BFocusing Window
CLocking Clip
DLocking Screw
EFilter Cap
FFilter
2. Unscrew the Focusing Window by turning it clockwise approximately 5 complete turns or until the Focusing Window disengages
from the light/lens assembly.
NOTE: The light/lens assembly may include an integrated ring light or a blank disk if an integrated ring
light is not used. Be careful that the light/lens assembly does not pull out when removing the Focusing
Window. Give a slight tug on the Focusing Window when you think you've unscrewed it far enough. If
the lens assembly moves with the window, continue to rotate the window clockwise until the lens assembly does not move.
3. Set the Focusing Window aside. Be careful not to get any debris on the window's O-ring.
If present, remove the protective covering on the filter.
4.
5. Place the filter into the Filter Cap and press the cap onto the lens.
6. Once the filter is installed, place the Focusing Window back into the housing while inserting the Locking Clip into the groove as
shown below.
Press the Focusing Window onto the housing to make sure that it seats correctly (that is, there is no gap between the window and
7.
housing. Rotate the window counter-clockwise at least two turns.
8. Replace the locking tab screw but do not tighten until you have set up and focused the sensor again.
To install a filter on the iVu Series sensor with C-Mount Lens, use the illustration as a guide and follow the steps listed below.
C-Mount Models
1. Remove the Lens Enclosure and Lens.
Install filter behind the retainer ring. Make sure it is fully seated.
2.
3. Using the provided retainer ring tool, thread the retainer ring into the sensor until it firmly seats the filter.
4. Replace the Lens and Lens Enclosure on the camera.
CAUTION: Avoid the damage that electrostatic discharget (ESD) can cause to the sensor. Always
use a proven method for preventing electrostatic discharge when installing a lens or attaching a cable.
AC-Mount Lens
BLens Enclosure
CRetainer Ring (optional)
DFilter (optional)
EFilter Retainer Ring Tool
NOTE: Filter Kits are available separately.
2.2 Live Mode Overview
The iVu Plus BCR can be configured to evaluate one or more of the supported barcode types and can look for a specific number of
barcodes from 1 to 10. The barcode types are selected on the integrated touch screen by accessing Main Menu > Inspection > Bar-
16www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
code > Barcode Type . The barcode count is selected on the touch screen by going to Main Menu > Inspection > Barcode > Barcode
Count .
This section describes some general
iVu Plus BCR concepts.
2.2.1 Read/No Read, Pass/Fail, Match/No Match
The following describes what is meant by Read/No Read, Pass/Fail, and Match/No Match:
A Read condition occurs when the configured number of barcodes are found in a scan. These barcodes must be error-free.
•
• A No Read condition occurs when the configured number of barcodes are not found in a scan.
• If the sensor is configured where Data Compare is disabled, Pass and Fail are the same as Read and No Read.
• If the sensor is using the Data Compare feature, Pass indicates that a good barcode was found and the data compared.
• If the sensor is using the Data Compare feature, Fail indicates that either no good barcode was found or the data did not compare.
• A Match condition occurs when the required number of barcodes are found and the compare is successful.
• A No Match condition occurs when the required number of barcodes are found, but the compare is not successful.
2.2.2 Trigger Modes
The iVu Plus BCR has five trigger modes that determine how the sensor captures and processes images:
• External - Single
• Continuous
• External - Gated
• Command
• Industrial Ethernet Only
You can select one of the trigger modes by accessing Main Menu > Imager > Trigger on the iVu touch screen display. Trigger on page
36 describes these trigger modes in more detail.
The iVu Plus BCR has a data compare feature for comparing read barcode data against reference data. Data can be manually entered
by accessing the Main Menu > Inspection > Barcode > Data Compare > Set Data screen. Data of up to 3200 characters can be
entered. Additionally, the data compare feature provides for masking characters within the data.
There are two other ways to enter compare data:
•
Importing the last read data while viewing the Set Data screen. The new data is effective on the first trigger that occurs after this
action.
• Using Remote Teach. When a Remote Teach occurs, the data of the first read barcode is saved as Data Compare input. Inspections
executed on the next trigger will use the new data for comparison with subsequently read barcodes. If the previous input data contained any masked characters, Remote Teach will retain the masked characters only if the new data is of the same length as the
previous input data. If the length does not match, masking is removed.
The sensor tries to compare full length of this string with the data read from the barcode. If not equal, inspection will be marked as Fail.
NOTE: If the sensor reads more than one barcode in the field of view, only the first barcode data that the
sensor reads can be compared.
2.2.4 Output 1, Output 2, and Output 3
The sensor has three
Trigger. The default settings are Pass for Output 1, Fail for Output 2, and Pass for Output 3.
output signals that you can configure for Pass, Fail, Read, No Read, Match, No Match, System Error, and Missed
NOTE: For all outputs, the default setting is Latched, which means that the signal is active until the results of
an inspection cause a change in the signal output. If Pulsed is selected, the default pulse width is 50 ms.
2.2.5 Serial and Ethernet Output
The iVu Plus provides for communicating with other devices via Ethernet
establish an Ethernet connection to the sensor, the external device must be configured with the correct IP address and correct TCP port
to communicate. If planning to use the serial communications connection, port settings for baud rate, data bits, parity, and stop bits must
be configured on the iVu Plus to match the settings of the external device.
or a UART serial communications port (RS-232 ). In order to
18www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
The iVu Plus BCR RS232 port or ethernet port can be used to output barcode data to other applications. To access the Data Export
screen, go to Main Menu > System > Communications > Data Export . The user can enable or disable this feature. When enabled:
•
if the sensor is configured for either External-Single or External-Gated trigger modes, every trigger results in the transmission of output data (if the sensor does not successfully read a barcode, the output will be NO_READ).
• if the sensor is configured for Continuous trigger mode, the sensor will only transmit output barcode data upon a successful read.
To access the Serial Output screen, go to Main Menu > System > Communications > Serial I/O
When RS-232 serial output is enabled, the user can configure:
• Serial Port Settings (listed below)
• Type of Data to Export (listed below)
• Output Format (listed below)
To access the Ethernet Output screen, go to Main Menu > System > Communications > Ethernet I/O .
When ethernet output is enabled, the user can configure:
• IP Address, Port number, Subnet Mask, and Gateway
The Remote Teach function is a method of remotely updating compare data while the iVu sensor is running. The sequence of events for
executing a Remote Teach as follows:
1.
With the sensor Ready, pulse the Remote Teach line.
2. The sensor recognizes that the Remote Teach line has been pulsed and waits for the next valid trigger.
3. At the next valid trigger, Ready goes inactive (the Green Ready LED shuts OFF), and the sensor acquires a new image.
When a Remote Teach occurs, the data of the first read barcode is saved as Data Compare input. Inspections executed on the next
trigger will use the new data for comparison with subsequently read barcodes. If the previous input data contained any masked characters, Remote Teach will retain the masked characters only if the new data is of the same length as the previous input data. If the length
does not match, masking is removed.
2.3 iVu Plus BCR Emulator
The iVu Plus BCR Emulator is a Windows application that allows you to operate in a Windows environment exactly as you would on the
iVu Series sensor itself. In general, the Emulator is an inspection debugging tool where you can:
1. Import stored inspections and configuration from an iVu Plus BCR sensor.
2. Modify inspection parameters on the emulator.
3. Restore the updated configuration back to the sensor.
20www.bannerengineering.com - tel: 763-544-3164Rev. B
3 Main Menu Reference
3.1 Main Menu
The Main Menu has four sections. Select: Inspection to modify inspection settings Imager to run the Auto Exposure routine and to make
adjustments to functions like exposure, gain, and strobe. System to set output signals, communication channel parameters and to manage the device. Logs to configure and view System and Inspection Logs.
The Save to USB screen
as a backup or as a way to clone configuration information for other sensors.
Main Menu > System > Sensor Configuration > Save to USB
provides for saving sensor Configuration to a USB flash drive. The saved configuration information can be used
NOTE: On the Emulator, this option is Save Configuration.
Load from USB
The Load from USB screen provides for restoring sensor Configuration from a USB drive. This operation will remove all existing inspections and replace them with inspections contained in the configuration file on the USB.
Main Menu > System > Sensor Configuration > Load from USB
NOTE: On the Emulator, this option is Load Configuration.
Reset to Defaults
Resets all sensor configuration to factory defaults. This operation will remove all existing inspections and replace with factory default.
Main Menu > System > Sensor Configuration > Reset to Defaults
24www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
3.2.3 Sensor Information
The Sensor Information
screen displays the following sensor information:
• Serial Number
• Firmware Version
• Boot Number
• Up Timer
• Hour Count
• Model Number
• Sensor Name
Main Menu > System > Sensor Information
Click the right-arrow next to the Sensor Name field to display a software keyboard that allows you to change the Sensor Name.
option provides for locking the sensor to prevent accidental modification of settings. When locked, the sensor only provides access
This
to pass/fail statistics, as well as the ability to view logs and to save them to a USB device. A lock icon in the upper left corner of the
sensor display indicates that the sensor is locked. Note that the sensor can be locked with or without a password. If a password is not
used, unlock the sensor by clicking on the Unlock Device menu. When a password is used, it must be 4 digits entered using the software
keypad. If the password is lost, use the Password Reset Utility software provided in the CD to obtain a Reset Key.
NOTE: This menu option is not available on the Emulator.
Main Menu > System > Lock Sensor
3.2.5 Communications Menu
Main Menu > System > Communications
The Communications menu is used to configure the serial
• Ethernet I/O for configuring the Ethernet port
• Serial I/O for configuring the Serial port
• Industrial Ethernet settings
• Command Channel for enabling or disabling commands to the sensor through Ethernet or Serial channels
• Data Export Channel for enabling or disabling the channel for data export only
• Image Export Channel for enabling or disabling the channel for image export only
NOTE: Either Data Export Channel, Image Export Channel,
and ethernet I/O channel. There are six menu options:
OR Command Channel can be enabled.
26www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Port Settings for Ethernet I/O
Main Menu > System > Communications > Ethernet I/O
In the Ethernet I/O screen you can enter the IP Address, Subnet Mask, and Gateway.
Port Settings for Serial I/O
Main Menu > System > Communications > Serial I/O
In the Serial I/O screen you can select values for Baud Rate, Stop Bits and Parity Control.
Main Menu > System > Communications > Industrial Ethernet
The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet/IP, Modbus/TCP or PCCC protocols. This
document will help you to set up the iVu Plus in the desired configuration and provide you with information you will need to connect to the
master device (PLC, HMI, etc.).
Connection
Main Menu > System > Communications > Industrial Ethernet > Connection
The Connection screen is used to enable either Modbus or EIP/PCCC protocols on Industrial Ethernet channel. Select 'Disable' to completely disable Industrial Etherent channel.
Status
Main Menu > System > Communications > Industrial Ethernet > Status
The status screen displays information about the current connection. This information is protocol specific.
View Logs
Main Menu > System > Communications > Industrial Ethernet > View Logs
This screen displays the list of recent events on Industrial Ethernet channel. Detailed logging can be selected under Setup when troubleshooting.
Command Channel
Main Menu > System > Communications > Command Channel
The iVu command channel is a bi-directional communication protocol that currently supports ASCII via the RS-232 serial interface
ethernet interface, and enables other devices to remotely control the iVu sensor and to access sensor results.
or
Connection
Main Menu > System > Communications > Command Channel > Connection
The Connection screen is used to enable or disable the Command Channel.
28www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Delimiters
Main Menu > System > Communications > Command Channel > Delimiters
In the Delimiters screen, there are three delimiter options that you can set:
Field Delimiter, which determines what is used to separate data that the sensor is sending out to a remote device.
•
• End of Frame, which determines the delimiter used to indicate the end of a frame.
• String Delimiter, which determines what is used to enclose a string field during both input and output operations.
Use the drop-down lists to select the appropriate delimiter. The example at the lower part of the screen displays how the data will look in
the output or input streams.
Data Export Channel
Main Menu > System > Communications > Data Export
When the Data Export Channel is enabled, the sensor will transmit selected inspection data when triggered.
Connection
Main Menu > Communications > Data Export > Connection
The Connection screen is used to enable or disable the Data Export Channel.
The options in the Data To Export screen are used to determine what barcode data is exported via the serial port.
> Data To Export
Output Format
Main Menu > System > Communications > Data Export > Output Format
In the Output Format screen, use the drop-down lists to select Start and End Strings as well a delimiter. In the field at the bottom of the
screen is an example of how the data will look when it is output.
30www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Image Export Channel
Main Menu > System > Communications > Image Export
When the Image Export Channel is enabled, the sensor will transmit the acquired image on every trigger. The image is transmitted as a
bitmap (BMP) file. This operation is only available over Ethernet I/O.
3.2.6 Discrete I/O
The Discrete I/O options are used to adjust iVu input and output settings.
Main Menu
Input Polarity
> System > Discrete I/O
The iVu has two input signals—Trigger and Remote Teach. The operation of these signals is dependent on the Input Polarity setting.
• Low To High - The Trigger and Remote Teach are detected on a low to high transition of the signal.
• High To Low - The Trigger and Remote Teach are detected on a high to low transition of the signal.
The default setting for a PNP sensor is Low To High, and for an NPN sensor it is High To Low. The user can change the setting on the
Input Polarity screen.
The NPN version of the iVu sensor triggers from high to low, and Remote Teach behaves electrically like trigger. If using the NPN version
of the sensor, select Enable.
The PNP version of the iVu sensor triggers from low to high, and Remote Teach behaves electrically like trigger. If using the PNP version
of the sensor, select Disable.
Output 1
Output 1 can be configured for Pass, Fail, Read, No Read, Match, No Match, Missed Trigger, or System Error.
•
A Read condition is when the configured number of barcodes are found in a scan. These barcodes must be error-free.
• A No Read condition is when the configured number of barcodes are not found in a scan sequence. This will not occur in Continuous
Scan mode.
• If Data Compare is disabled, Pass and Fail are the same as Read and No Read.
• If the sensor is using Data Compare, Pass indicates that a good barcode was found, and the data compared.
• If the sensor is using Data Compare, Fail indicates that either no good barcode was found, or the data did not compare.
• A Match condition occurs when the required number of barcodes are found and the compare is successful.
• A No Match condition occurs when the required number of barcodes are found, but the compare is not successful.
• A Missed Trigger condition occurs when a trigger is received while sensor is busy inspecting the pervious image. This output signal
will be set to active state. This signal will be reset up on resetting the 'History' on the statistics page.
• A System Error condition occurs when a fatal error is detected on the sensor. This output signal will be set to active state. This signal
can be reset upon resetting the 'History' on the statistics page, or executing a 'ClearSystemError' command through command channel.
The default setting is Pass and Latched for Output 1. If Pulsed is selected, the default Pulse width is 50 ms.
32www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
NOTE: For Latched the signal is active until the results of an inspection cause a change in the signal output.
Main Menu > System > Discrete I/O > Output 1
Output2 and Output 3
Output 2 and Output 3 can be configured in a similar fashion to Output 1.
The default setting for Output 2 is Fail and Latched. The default setting for Output 3 is Pass and Latched.
Main Menu > System > Discrete I/O > Output 1
3.2.7 Display Settings
The Display Settings menu
enabled in the Advanced menu option.
Main Menu > System > Display Settings
is for setting the Fail Hold Time, LCD Timeout, doing a Touch Screen Calibration. Display optimization can be
The Fail Hold Time
to process any triggers and the inspection will continue normally. This time delay is just for the screen. You can set this parameter from 0
to 3600 seconds using the slider at the bottom of the screen.
Main Menu > System > Display Settings > Fail Hold Time
determines how long a failed image is displayed on the LCD so that you can see what failed. The sensor will continue
LCD Timeout
The LCD screen dims after a user-selectable period when the device is not being used. Use the arrow keys or slide the bar at the bottom
of the screen to set the LCD screen time out.
NOTE: This screen is not available on the Emulator.
Main Menu > System > Display Settings > LCD Timeout
Touch Calibration
Touchscreen Calibration may be necessary if the software does not correctly respond when an icon on the screen is pressed. The calibration routine aligns the touch screen's coordinates to the display behind it. Be sure to follow the prompts on the screen when executing
the Touchscreen Calibration function.
NOTE: This screen is not available on the Emulator.
Main Menu > System > Display Settings > Touch Calibration
Advanced
The Advanced Display screen allows you to edit the response of the display screen settings. Disabling this function may cause the display and touchscreen to be lethargic when sensor is busy.
Main Menu > System > Display Settings > Advanced
3.2.8 Reboot Sensor
The Reboot Sensor screen allows you to force a reboot of the sensor.
NOTE: This option is not available on the Emulator.
Main Menu > System > Reboot Sensor
34www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
3.2.9 Firmware Update
The Firmware Update screen
in the BANNER\FIRMWARE folder on the USB drive. When you receive a firmware update from Banner Engineering, be sure to put it in
the BANNER\FIRMWARE folder on the USB drive.
NOTE: The Firmware Update menu is not available on the Emulator.
Main Menu > System > Firmware Update
is used to load the latest sensor firmware. The Firmware Update screen lists the firmware versions it finds
3.3 Imager Menu
The Imager menu icon is on the Main Menu, and lists parameters that affect the characteristics of the captured image.
Main Menu > Imager
3.3.1 Auto Exposure
Auto Exposure
function.
Main Menu > Imager > Auto Exposure
optimizes the exposure time and gain for the current lighting conditions. Multiple triggers are required to complete this
NOTE: The Auto Exposure option is not available on the Emulator.
3.3.2 Exposure
Exposure is the amount of time the sensor allows light to energize the imager. Increasing the exposure time by moving the slider to the
right allows more light to energize the imager, which brightens the image.
Gain is an electronic boost to the image signal. Increasing Gain by using the
image brightness without increasing exposure time. Note that Gain brightens both the light pixels and dark pixels and may reduce the
image quality.
Main Menu > Imager > Gain
'-' and '+' keys or moving the slider to the right increases
3.3.4 Trigger
Main Menu
> Imager > Trigger
A Trigger is a signal that makes the sensor capture a barcode image and decode it. From the drop-down list, select either Continuous
Scan, External - Single, External - Gated, Industrial Ethernet Only, or Command.
36www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
External-Single Mode
In External-Single mode, the sensor depends on an external trigger. For each trigger, the sensor captures an image and executes one
scan through the configured barcode types looking for the specified number of barcodes. This trigger mode uses the Scan Time Limit
parameter ( Main Menu > Inspection > Properties > Scan Time Limit ) to limit the amount of time the sensor will attempt to scan for
barcodes on an image.
Continuous Mode
In Continuous mode, the sensor uses internal timing to continuously capture images. For each captured image, the sensor scans through
the configured barcode types looking for the specified number of barcodes. If the specified number of barcodes is found, a Read event
occurs. If the specified number of barcodes is not found, the sensor captures another image and repeats the scan. There are two parameters that are used to fine-tune how Continuous Scan mode operates:
Same Code Reject Time (set at the bottom of Main Menu > Imager > Trigger )—time in seconds that must elapse before the scan-
•
ner will report a previously scanned symbol again. A different symbol will be read immediately.
• Scan Time Limit ( Main Menu > Inspection > Properties > Scan Time Limit )—limits the amount of time the sensor will attempt to
NOTE: A No Read condition will not occur in Continuous mode as another image capture and scan automatically follows.
External-Gated Mode
External-Gated mode is similar to Continuous mode. While an external trigger input signal is active, the sensor continues to capture
images and run barcode scans until a successful Read occurs or the External Trigger input signal becomes inactive. The External Gated mode uses the Scan Time Limit parameter (
time the sensor will attempt to decode barcodes on an image.
NOTE: A No Read condition will not occur in External - Gated mode while the external trigger is active.
Main Menu > Inspection > Properties > Scan Time Limit ) to limit the amount of
Command
In Command mode, the sensor will capture images when Trigger commands are received. The various trigger command modes described above can also be set through a command channel. Refer to Communications Chapter 6 for specific commands. The commands can
come from either Serial I/O or Ethernet I/O.
38www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Industrial Ethernet Only
When Industrial Ethernet communication channel is enabled, triggers can be received from the modes mentioned above. Triggers
through Industrial Ethernet will not be executed if selected Trigger Mode is 'Continuous Scan'. If it is desired to receive triggers only
through Industrial Ethernet channel, select the 'Industrial Ethernet Only'.
3.3.5 Focus
The Focus Number
focus ring on the sensor until the Focus Number peaks (or the image appears sharp), then lock the focus ring.
displayed at the bottom of this screen is used to fine-tune image focus. Loosen the lock on the lens cover, turn the
NOTE: For the Focus Number to work, the sensor must be triggering and the images must be similar over
time.
iVu Plus BCR User's Manual
3.3.6 Strobe
The Internal Strobe configures the operation of the integrated ring light. The External Strobe configures the operation of an external light.
Main Menu
> Imager > Strobe
External
The External Strobe
Based. If Exposure Based is selected, then the external light is on during the time the sensor is capturing an image.
Main Menu > Imager > Strobe > External
is a 5V output that can be used for an external light. Setting options are Always ON, Always OFF, or Exposure
40www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Internal
The Internal Strobe
Based. If Exposure Based is selected, then the ring light is on during the time the sensor is capturing an image.
Main Menu > Imager > Strobe > Internal
setting configures the operation of the integrated ring light. Setting options are Always ON, Always OFF, or Exposure
3.3.7 FOV
The field of view
sensor's lens cover to the part being inspected. By default, the sensor uses the entire FOV in its operation. The effective FOV can be
reduced in order to speed up the processing time of an inspection, or to decrease background noise.
(FOV) is the area that the sensor can see at a given working distance. The working distance is the distance from the
Main Menu > Imager > FOV
Maximize FOV
If the FOV has been modified and you want to get back to the default quickly, click the Maximize FOV menu option to restore the FOV to
the entire sensor display.
The Inspection menu
running inspection and manage stored inspections.
icon is located on the Main Menu. The Inspection Menu provides options to set inspection parameters on currently
Main Menu > Inspection
3.4.1 Barcode Menu
The Barcode Menu is the location for Barcode Type, Barcode Count, and Data Compare screens.
Main Menu > Inspection > Barcode
Barcode Type
Main Menu > Inspection > Barcode > Barcode Type
42www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
The first time the sensor is powered up, the selection checkboxes for DataMatrix and All Linear barcode types are checked. The best
practice is to check only the barcode type(s) applicable for your particular application. Note that, if All Linear is unchecked, a single linear
barcode type can be selected instead.
DataMatrix Settings
Decoder Mode
The Decoder Mode determines which decode algorithm to use and how imperfections in barcode images are handled. When you select
Fast from the drop-down list, the sensor 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. When you select Robust,
the sensor uses an algorithm that performs routines to correct for imperfections of the barcode image.
Dotpeened
Enabling Dotpeened causes the decoder to be run in a method that is optimized for dot peened data matrix barcodes.
All Linear Settings
The All Linear settings described below apply to the following barcode types:
When checksum is enabled, the sensor uses a checksum to verify the integrity of the barcode being read.
Relaxed Quietzone
The Quietzone is a blank margin on either side of a barcode that indicates where the barcode begins and ends. If this Quietzone isn't big
enough, the sensor can have trouble decoding the barcode. By enabling Relaxed Quietzone there is a greater tolerance with respect to
the quiet zone required before and after the barcode.
Pharmacode Settings
Scan Direction
For Pharmacode, you can select one of the following for Line Scanning:
Left to Right
•
• Right to Left
• Top to Bottom
• Bottom to Top
• Omnidirectional
44www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Use Omnidirectional scanning if barcode can appear inverted on part being inspected. If 'Compare' is enabled, the sensor attempts to
compare that string to decoed data in both scan directions. Inspection is marked as PASS if at least one string matches. The data that
successfully matched is displayed on the screen and is exported through communication channels as requested.
If Omnidirectional scan is selected, but 'Compare' is disabled, the data decoded from left-to-right scan will be reported.
Relaxed Quietzone
The Quietzone is a blank margin on either side of a barcode that indicates where the barcode begins and ends. If this Quietzone isn't big
enough, the sensor can have trouble decoding the barcode. By enabling Relaxed Quietzone there is a greater tolerance with respect to
the quiet zone required before and after the barcode.
Barcode Count
Main Menu > Inspection > Barcode > Barcode Count
In the Barcode Count screen, select the number of barcodes you want to decode. You can select from 1 to 10.
NOTE: For IMB, Postnet and Pharmacode barcode types, the sensor will decode only one barcode for each of
these types regardless of the Barcode Count setting. This means that if there is one of each of these types in
an image, and the Barcode Count is set to 3, the sensor will decode all three; however, if there are three IMB
barcodes, for example, the sensor will always only decode one IMB barcode.
Data Compare
Main Menu > Inspection > Barcode > Data Compare
The menu options here are used to set up the sensor for Data Compare. Note that, if the Barcode Count is greater than 1, only the first
barcode data can be compared or used in a remote teach operation. To see which barcode is the first one, turn on annotations.
Use this menu to enable or disable Data Compare. If Data Compare is enabled, data can be defined in the Compare Data screen. The
data can be retrieved from a previously scanned barcode, or it can be entered using the software keyboard on the touch screen, and
insignificant characters can be masked within the data.
Compare Data
The Compare Data screen allows you to specify data against which you can compare a read barcode. Note that, if the Barcode Count is
greater than 1, only the first barcode data can be compared or used in a remote teach operation. To see which barcode is the first one,
turn on annotations.
•
Click the Show last read data button to use the last read barcode data for the data compare.
• Click the Edit button to enter data using a software keyboard on the touch screen.
• Click the Mask button to select characters in the data to mask from the data compare. To mask a character, use the arrows at the
bottom of the screen to move the cursor ([). When the cursor is to the left of a character you want to mask, click the Mask button. The
character will change to green with a slash through it. If you want to unmask a character, make sure that the cursor is to the left of the
masked character, and click the Unmask button.
46www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Edit Compare Data
The Edit screen displays data that was previously read or entered in the text field. The Position of the cursor within the characters displayed ([) in the text field is indicated at the top of the screen. Additionally, the number of characters is indicated by Length. Use the left
and right arrows below the software keyboard to move the cursor between the displayed characters. Place the cursor to the right of any
character and use the back-arrow at the top of the screen to delete that character. Use the button at the bottom right of the screen to
cycle through different character entry keyboards: text entry (with a button to toggle between upper- and lower-case characters), numeric
entry, special character entry, and hex character entry.
Last Read Data
Click the Show last read data button to use the last read barcode data for the data compare
Mask Data
To mask characters in the data, move the cursor to the left of the character(s) to be masked, and click the Mask button. A masked
character will appear gray with a strikeout (\) indicator. To unmask a previously masked character, click the UnMask button. Note that,
when using Remote Teach to set new barcode data, if the previous input data contained any masked characters, Remote Teach will
retain the masked characters only if the new data is of the same length as the previous input data. If the length does not match, masking
is removed.
The Properties menu is used to edit an Inspection Name or set the Scan Time Limit.
3.4.3 Stored Inspections
Stored Inspections Menu
Main Menu
48www.bannerengineering.com - tel: 763-544-3164Rev. B
> Inspection > Stored Inspections
Stored Inspections is used to manage stored inspections. Management of stored inspections includes adding, deleting,
and specifying which inspection should be defined as the Startup inspection.
iVu Plus BCR User's Manual
Add New Inspection Screen
Main Menu > Inspection > Stored Inspections > Add New
This screen is used to add a new inspection. The sensor can store up to 30 inspections. When you add a new one, it
will begin running. When adding a new inspection, you can specify the name for the new inspection.
3.5 Logs Menu
The Logs menu icon is on the Main Menu, and is used to set up, view, and save Inspection
This menu provides for configuring and viewing Inspection Logs
image, the parameters used to inspect it, and the results of that inspection. Up to ten Inspection Logs can be held in memory on the
sensor. The next ten overwrite the previous. Inspection Logs can be saved to the USB drive so that the logs can be imported to the
emulator.
Main Menu > Logs > Inspection Logs
. Inspection Logs are stored inspection records that include a captured
50www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
View Logs
Inspection Logs appear as a strip of film. You can select a frame to view a specific image. Use the icon in the lower right of the screen to
save the logs to the USB drive. Logs saved to the USB drive can be imported into the emulator. Click the Clear button to clear Inspection
Logs.
Main Menu > Logs > Inspection Logs > View Logs
The View Inspection Log screen is used to debug an inspection, and shows one inspection in read-only mode. Click the upper-left icon
to cycle through views. When in Statistics view, the table title has arrows to switch between Inputs and Results of the Inspection.
Use the left and right arrow keys at the bottom of the screen to navigate through the all stored Inspection Logs.
Setup
Use the radio buttons to Disable Logging, or to log Passed Inspections, Failed Inspections, or All Inspections.
The System Log contains configuration change information, other notifications, and any errors or warnings that may be encountered.
Click the icon in the upper left corner of the screen to show/hide the time column.
•
• Click Clear Log button at the bottom of the screen to clear the System Log.
• Click the icon at the lower-right of the screen to save the System Log to the USB drive.
NOTE: System log will not log changes while in Demo mode. Additionally, the Emulator does not log changes.
Main Menu > Logs > System Logs
3.5.3 Communication Logs
The Communication Log
Image Export. The features below are available for each of the logs:
• Click the icon in the upper left corner of the screen to show/hide the time column.
• Click Clear Log button at the bottom of the screen to clear the log.
• Click the icon at the lower-right of the screen to save the Log to the USB drive.
NOTE: Communication log will not log changes while in Demo mode. Additionally, the Emulator does not log
changes.
Main Menu > Logs > Communication Logs
contains logs for the four communications channels; Industrial Ethernet, Command Channel, Data Export, and
52www.bannerengineering.com - tel: 763-544-3164Rev. B
4 Display Modes
In the upper left of the screen is an icon for accessing different Display Modes:
•
Display Annotations
• Hide Annotations
• Display Statistics.
4.1 Display/Hide Annotations
Click the icon in the upper-left of the screen to display annotations. When annotations are on, the display shows the data the sensor has
read.
If the sensor reads more than one barcode in the field of view (FOV), in addition to the read data, the display indicates the index of each
read barcode. In the example below, the top barcode is 1 and the bottom barcode is 2. It is important to note that, if the sensor reads
more than one barcode, only the first barcode data (index #1) can be compared or used in a remote teach operation
Click the icon in the upper-left of the screen to hide annotations.
• Passed - running total of parts that passed inspection
• Failed - running total of parts that failed inspection
• Missed triggers - running total of missed triggers
• Time Range - minimum and maximum inspection times observed
• Count Range - number of times a specific barcode has been counted
4.1.2 Inspection Results
Click the right-arrow button on the History screen to see Inspection Result. The Inspection Result screen shows the last Frame number,
the Barcode Count, the Inspection Time and read Barcode Data for each barcode.
54www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
4.1.3 Barcode Viewer
To view detailed information about a particular barcode, click the arrow next to the Barcode # to access the Barcode Viewer screen.
If Data Compare is disabled, The Barcode Viewer screen shows a single text box indicating the index number of the barcode and the
data the sensor is reading. The data is displayed in yellow.
If Data Compare is enabled and the barcode is the first one, there are two text boxes. The upper one displays the data read from the
barcode, and the lower text box shows the data from the Data Compare screen. The sensor does a position-by-position match and the
characters that match are in yellow and mismatches are in red.
56www.bannerengineering.com - tel: 763-544-3164Rev. B
5 Setting up for an Inspection
In order to set up for an inspection, you need to:
1.
Acquire a good image.
2. Set up a barcode application
3. Set data compare parameters
5.1 Acquiring a Good Image
The iVu Series sensor needs to capture a good image to ensure that it can read the barcode(s) correctly.
1. Go to Main Menu > Imager > Auto Exposure to run the Auto Exposure routine.
2. Check the lighting.
• Make sure that the lighting is constant and consistent (unchanging over time, no shadows or hot spots).
• Capture the barcode with lighting that optimizes its contrast and separates it from the background. Depending on the target,
this may mean the integral ring light is not the best choice and other Banner lights should be considered.
• Adjust the mounting angle to provide the clearest image of the barcode. The mounting bracket lets you easily position and
adjust the sensor on your line. Typically, a slight angle will help with read robustness.
3. If needed, go to Main Menu > Imager > Auto Exposure to run the Auto Exposure routine a second time or adjust Gain and
Exposure manually:
58www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
4. Go to Main Menu > Imager > Focus to adjust the focus while monitoring the Focus Number:
For Micro-lens Models Only:
Use the supplied 1/16" hex key to loosen the Focusing Window locking screw (D), then adjust focus on the iVu Series sensor using
1.
the clear Focusing Window (B).
2.
Adjust focus while monitoring the focus number. To ensure the best image, adjust the focus until
the Focus Number peaks.
NOTE: Turning the Focusing Window counter-clockwise focuses on
closer objects, while turning the Focusing Window clockwise focuses
on more distant objects.
3. Once the best image has been acquired, lock the focusing window.
60www.bannerengineering.com - tel: 763-544-3164Rev. B
D
C
A
B
E
C
iVu Plus BCR User's Manual
For C-Mount Models Only:
1.
Remove the Lens Enclosure
2. Adjust focus while monitoring the focus number. To ensure the best image, adjust the focus until the Focus Number peaks.
3. Replace the Lens Enclosure on the camera.
C-Mount Models
AC-Mount Lens
BLens Enclosure
CRetainer Ring (optional)
DFilter (optional)
EFilter Retainer Ring Tool
NOTE: Filter Kits are available separately.
5.2 Setting Up a Barcode Application
This section describes how to set up the
1. Go to Main Menu > Inspection > Barcode > Barcode Type to select one or more Barcode Types from the list.
iVu Plus BCR sensor.
NOTE: To ensure optimal performance, select only the barcode types for your application. For example,
if you use only one of the of the barcode types listed for All Linear, uncheck the box next to All Linear,
and select a radio button next to the desired linear barcode type. If you use only DataMatrix, uncheck all
the boxes except the one next to DataMatrix.
2. Go to Main Menu > Inspection > Barcode > Barcode Count
to select the number of barcodes (1 to 10) to be read at one time.
iVu Plus BCR User's Manual
Once the sensor has been set up as described:
Each successfully read barcode is marked by a green bounding box. If annotations are on, the barcode data is also displayed.
•
• Any case where data does not compare is marked with a solid red bounding box. If the barcode is marked with a dotted red bounding
box, this indicates a checksum error or quiet zone violation.
• Any barcodes in the field of view that the sensor does not detect (for example, because they are not one of the barcode types selec-
ted), are unmarked.
5.3 Setting up for Data Compare
This section describes how to set up the iVu Plus BCR sensor to compare decoded barcode data against some reference. For this example, the reference data will be from a previously decoded barcode.
1. Go to the Main Menu > Inspection > Barcode > Data Compare > Compare to Enable data compare.
2.
Go to the Main Menu > Inspection > Barcode > Data Compare > Set Data , and click the Show last read data button.
62www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Press the Yes button.
3.
4.
Press the Home icon to return to the main screen.
For all subsequent triggers, when the sensor reads the barcode data, it will compare it against this reference data.
64www.bannerengineering.com - tel: 763-544-3164Rev. B
6 iVu Plus Communications
6.1 iVu Plus Communications
The iVu Plus provides for communicating with other devices via Ethernet
establish an Ethernet connection to the sensor, the external device must be configured with the correct IP address and correct TCP port
to communicate. If planning to use the serial communications connection, port settings for baud rate, data bits, parity, and stop bits must
be configured on the iVu Plus to match the settings of the external device.
or a UART serial communications port (RS-232 ). In order to
6.1.1
The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet/IP, Modbus/TCP or PCCC protocols. This
document will help you to set up the iVu Plus in the desired configuration and provide you with information you will need to connect to the
master device (PLC, HMI, etc.).
6.1.2 Communication Channels
The iVu Plus BCR supports up to four communications channels . To access the channels, go to Main Menu > System > Communications .
• Command Channel — a bi-directional communication protocol that currently supports ASCII and enables other devices to remotely
control the iVu Plus sensor and access sensor results
• Industrial Ethernet — a bi-directional communication channel that allows the user to control the sensor and access sensor results
using Ethernet/IP, Modbus/TCP, or PCCC protocol
• Data Export — used to export selected inspection data to a remote device
• Image Export — used to export inspection images to a remote device
Data export and command channel can be configured for either Ethernet or Serial I/O (but not both); image export is only available over
Ethernet. The table below briefly summarizes valid communication channel configuration options.
Main Menu > System > Communications > Industrial Ethernet
The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet/IP, Modbus/TCP or PCCC protocols. This
document will help you to set up the iVu Plus in the desired configuration and provide you with information you will need to connect to the
master device (PLC, HMI, etc.).
6.1.4 Command Channel
The iVu Plus BCR command channel is a bi-directional communication protocol that currently supports ASCII via either Ethernet or the
RS-232 serial interface, and enables other devices to remotely control the iVu sensor and access sensor results.
AControl Device, which can be a PLC, PC program, or a terminalCResponse Frame
BRequest FrameDiVu Plus Sensor
The following are some of the functionality available via the command channel:
• Get sensor information (such as version and sensor name)
• Control "discrete" I/O (such as trigger and teach)
• Get sensor results (such as sensor status)
• Change the running inspection
6.1.4 Command Channel Sample Application
The iVu Plus BCR installation CD has a Command Channel sample application that provides an easy interface to execute commands. In
a production environment, you will need to create your own application for bi-directional communication with the sensor.
66www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
6.1.5 Data Export
The iVu Plus sensor provides for exporting user-selected inspection data via either Ethernet or the RS-232 serial interface. Inspection
data that can be exported includes:
Pass/Fail Output
•
• Inspection Name
• Inspection Results
• Frame #
• Inspection Time (ms)
6.1.5 Sample Application
The iVu Plus BCR installation CD has a Data Export sample application that provides for viewing exported data while setting up the
sensor, etc. In a production environment, you will need to create your own application to process data exported from the sensor.
is only supported on Ethernet ports. Inspection images are a maximum 752x480 8-bits per pixel grayscale images in Win-
dows BMP format that represent all the data in a full Field of View (FOV).
Each exported image is comprised of a header (64 bytes) followed by the image data (approximately 361K). All 16- and 32-bit numeric
entries are little endian.
The header includes the following information:
Byte OffsetField IDSize in
Data TypeDescription
Bytes
0-15Header Prefix16char"IVU PLUS IMAGE"
16-19Header Version4UInt321
20-23Image Size4UInt32Number of bytes (Windows BMP image)
24-27Image Frame Number4UInt32Most recently snapped image frame number
28-29Image Width2UInt16752 (max)
30-31Image Height2UInt16480 (max)
32-33Image Format2UInt160: Bitmap, 1: JPEG
34-63Reserved32byteReserved for future use
NOTE: If FOV's are adjusted so that they are smaller, the bitmaps will also be smaller.
6.1.6 Image Export Sample Application
The iVu Plus BCR installation CD has a Image Export sample application
environment, you will need to write your own application to process exported images, for example to display them on an HMI or to save
them to disk.
68www.bannerengineering.com - tel: 763-544-3164Rev. B
that provides a way to save exported images. In a production
iVu Plus BCR User's Manual
6.2 Enabling Communications
6.2.1 Setting Up Ethernet Communications
The following is the general flow for setting up for Ethernet communications
On the Windows PC, configure the IP address as follows:
Windows XPWindows 7
1. Open Network Properties on the PC (right-click on the Network Neighborhood icon).
On the Local Area Connection, right-click on Properties..
2.
3. In the dialog, click on Internet Protocol (TCP/IP) and click
the Properties button.
between the iVu Plus sensor and a remote device:
1. Open Network Connections by clicking on the Start button,
then selecting the Control Panel followed by Network and Internet, and clicking Manage network connections.
Right-click the connection you want to change, then click
2.
Properties. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
3. In the Networking dialog, click on Internet Protocol Version4(TCP/IPv4) and click the Properties button.
During the Data and Image export operation the sensor's output channels might become full. This can occur if the sensor is
producing export data (frames) faster than the data can be exported from the device (due to bandwidth limitations) or faster
than the client is reading the channel export data.
This setting affects how the sensor will behave in this situation.
Select Hold READY to ensure that all frames are transmitted. In this case, the READY signal will remain inactive (sensor
•
is busy) until the new frame has been added to the channel for transmission. Triggers might be missed during this time.
• Select Do not hold READY to cause the sensor to discard the new frame if the channel is full and thus activate the
READY signal immediately after the current inspection is complete. In this case, the discarded frames will not be transmitted.
Communications Channel Ports
The following are the default Ethernet port settings for the communications channels:
• Command Channel — 32200
• Data Export — 32100
• Image Export — 32000
6.2.2 Setting Up Serial Communications
The general flow for setting up for serial communications:
1. Prepare the connection — RS-232 wiring.
Electrically connect the control device and the iVu sensor. On the iVu, the pins/wire colors used for serial communications via
RS-232 are shown in the table below.
iVu RS-232 Connections
Pin #Wire ColorDescription
10Light-BlueTX
11BlackSignal Ground
12VioletRX
2. Configure port settings (baud rate, data bits, parity, and stop bits) on the iVu to match the settings on the control device. Go to
Main Menu > System > Communications > Serial I/O .
74www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
To enable the command channel over the serial connection:
3.
a. Go to Main Menu > System > Communications > Command Channel > Connection and select Serial I/O.
b. Configure the field and end-of-frame delimiters. Go to Main Menu > System > Communications > Command Channel >
Delimiters .
Valid end-of-frame delimiters are: <comma>, <colon>, <semicolon>, <CR>, <CR><LF>, <LF><CR>, or <ETX>.
Optionally, if you want to trigger the iVu from the control device, set the trigger mode to Command (go to Main Menu >
c.
Imager > Trigger and select Command from the drop-down).
During the Data and Image export operation the sensor's output channels might become full. This can occur if the sensor is
producing export data (frames) faster than the data can be exported from the device (due to bandwidth limitations) or faster
than the client is reading the channel export data.
This setting affects how the sensor will behave in this situation.
Select Hold READY to ensure that all frames are transmitted. In this case, the READY signal will remain inactive (sensor
•
is busy) until the new frame has been added to the channel for transmission. Triggers might be missed during this time.
• Select Do not hold READY to cause the sensor to discard the new frame if the channel is full and thus activate the
READY signal immediately after the current inspection is complete. In this case, the discarded frames will not be transmitted.
78www.bannerengineering.com - tel: 763-544-3164Rev. B
7 Testing and Troubleshooting iVu Plus Communications
7.1 Understanding the Communication Log
The iVu Plus sensor includes the following Communication Logs:
•
Command Channel Log that can be used to ensure that commands are properly formed (syntax is correct), and provides a history of
commands issued along with responses to these commands. To access the Command Channel Log, go to Main Menu > Logs >
Communication Logs > Command Channel .
• Data Export and Image Output logs that are purely output logs (that is, there is no receive activity to log).
Some notes about the logs:
To see an expanded view of each entry, click on the small right-triangle control on each entry.
•
• To save the log, click the save icon. The saved communication log can be loaded into the emulator for troubleshooting offline.
The table below describes the icons used in the Communication Log, the up-arrow indicates an incoming request to the iVu from the
control device; the down-arrow indicates an outgoing response from the iVu to the control device.
Indicates that the command has been processed without errors.
Indicates that the incoming entry is stalled (no new bytes), or end-of-frame delimiter was not received, or client is not reading data on ethernet.
If the response frame contains an error or is dropped, the log entry icons for the request and the
response frames will be colored red, and the displayed error count will increment by one.
iVu Plus BCR User's Manual
IconDescription
If the command takes a long time to process, the last long entry will change to an hourglass (for
example, during trigger of long inspections).
For Ethernet channels:
•
The channel's log will show an Enabled entry that indicates which port is being listened to.
• When a client connects, a log entry is added that indicates which IP address connected.
• When a client closes the connection, a log entry indicates that the channel is no longer being listened to.
7.2 Ethernet I/O
7.2.1 Ethernet I/O Status
The Ethernet I/O Status screen can be used to verify that the Ethernet wiring has been correctly set up. In addition to determining if the
link has been established, incoming and outgoing traffic can be monitored.
7.3 Serial I/O
7.3.1 Using the Port Status Screen for Testing RS-232 Communications
The Port Status screen can be used to ensure data is entering and exiting the sensor. This can be useful for debugging issues such as
improper wiring, mismatched baud rates, or other serial I/O issues. To access the Port Status screen, go to Main Menu > System >
Communications > Serial I/O and click on the Status button.
•
The upper field shows the bytes received (request frame) on the iVu from the control device.
• The lower field shows the bytes sent (response frame) from the iVu to the control device.
80www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
Port Errors
The Port Errors screen can help to debug communications channel issues: Parity, Break, and Framing indicate mismatched port settings
or, in the case of Break, incorrect cabling.
7.3.2 Using the iVu Command Channel Sample Application or a Terminal Program for Testing
The easiest way to test that the iVu command channel is correctly receiving and transmitting data is to use either the iVu Command
Channel Sample App (available on the installation CD) or to use a terminal program running on a PC:
If using a terminal program, in the terminal program's configuration:
Set new-line transmit to <CR><LF> (and set the end-of-frame delimiters on the iVu to match).
•
• Enable local echo.
• Set the Serial port set up so that the PC port number's baud rate, data, parity, and stop bits match those setup on the iVu.
7.3.3 Verifying Basic Receive Functionality
To verify the iVu can receive request frames from the requesting device:
1. On the iVu Sensor, go to the Main Menu > System > Communications > Serial I/O > Port Status screen.
On the requesting device, transmit one or more bytes to the iVu sensor.
2.
• If the data byte values appear correct and the number sent by the requesting device matches the number received by the iVu
sensor, then the transmit/receive functionality is working properly.
• If the connection is incorrect (electrically) or if the baud rate is mismatched, no bytes will appear in the upper field on the Port
Status screen.
• If the connection is correct (electrically), bytes will appear in the upper field of the Port Status screen in the order they were
received.
• If the Port Status: Errors at the bottom of the Port Status screen highlights red, then the connection is correct electrically but
there is likely a settings mismatch between the iVu sensor and the requesting device. Verify the settings on both devices.
• If the bytes appear with no errors but appear incorrect or there are too many or too few, then the port settings (for example,
baud rate) are likely mismatched in a way that does not generate serial hardware errors. Verify the settings on both devices
match exactly.
Verifying Basic Transmit Functionality
The iVu command channel will only send response frames to the requesting device if it receives a valid end-of-frame delimiter from the
requesting device. To verify transmit functionality:
1. Transmit an end-of-frame delimiter sequence from the requesting device to the iVu sensor. For example, in a terminal program,
simply hit Enter.
If a valid end-of-frame delimiter is received, the iVu sensor will immediately transmit a short error message back to the requesting
device (for example, ERROR 10000_COMMAND_MISSING).
2. Verify that the number of bytes sent by the requesting device are the same as the number shown in the lower field of the Port
Status screen on the iVu sensor. Go to the Main Menu > System > Communications > Serial I/O > Port Status screen.
82www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
If the byte count does not match, re-verify that the settings on both devices match exactly. If no bytes are received, re-check the
3.
wiring.
If the correct response frame is received, then basic electrical and port settings are correct.
All iVu command channel request command frames use the following syntax:
>> command group item value<EOF>
Notes
<EOF> is the end-of-frame delimiter. See below for a description.
All commands are in ASCII and are case-insensitive
command
An action to be performed on a particular iVu group; for example, get, set, do, login, or logout.
group
Identifies the iVu group that the command should act upon; for example, info, system, trigger, or bcr_input.
item
Further qualifies the action by specifying an item within the identified group; for example, comparedata or status.
value
For set commands, this identifies the data that must be set for the specified group item.
Note: Item is not used with get commands.
<EOF>
Identifies the end-of-frame for the command so that the iVu knows to begin processing. The iVu will return a response
that includes the end-of-frame delimiter. The options for the <EOF> are set in the iVu Serial I/O menu, and are as
follows:
<comma>
•
• <colon>
• <semicolon>
• <CR>
• <CR><LF>
• <LF><CR>
• <ETX>
NOTE: When data is displayed on iVu screens such as the Port Status screen,
printable delimiters are displayed as expected. Non-printable characters, such
as <CR> are displayed in hex notation (\x0D).
8.1.1 Command Flow
The command flow should be such that a new command request should not be issued until the iVu command channel acknowledges the
previous command request.
84www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
For example, the following is a series of command requests and responses. The first request sets the trigger mode to command and,
once the sensor responds with an "OK," the next command request is issued to do (or execute) the trigger.
>> set trigger mode command\x0D\x0A
<< OK\x0D\x0A
>> do trigger\x0D\x0A
<< OK\x0D\x0A
8.1.2 String Delimiters and Escaping
By default setting, all strings used in commands are enclosed in quotation marks (""). All text in quotes is part of the command. Quotes (")
or back-slashes (\) that are part of the string must be escapted with a back-slash. For example:
"abc\"def\"ghi\\jkl"
Set the String Delimiter parameters to 'None' if strings should not be enclosed in quotation marks.
8.1.3 Command Channel Command Synopsis
There are a number of general types of commands to do, set, and get sensor data.
Command Channel Response Frames
The iVu responds to all request frames with one or two responses depending on the type of command.
Do commands
All do commands are followed by one response that identifies the command status. For example:
>> do trigger\x0D\x0A
<< OK\x0D\x0A
Get commands
All get commands are followed by two responses: the first identifies the status of the command, and the second contains the retrieved information. For example:
>> get bcr_input comparedata\x0D\x0A
<< OK\x0D\x0A
<< "012345ABCDEF"\x0D\x0A
Set commands
All set commands are followed by one response that identifies the command status. For example:
>> set bcr_input comparedata "012345ABCDEF"\x0D\x0A
<< OK\x0D\x0A
The command status is either OK or ERROR. If OK, then the command has fully and successfully completed. If an error is returned it is in
the form ERROR nnnnn_ERROR_IDENTIFIER (for example ERROR 10001_COMMAND_NOT_RECOGNIZED). Refer to Command
Channel Error Codes on page 97 for a list of errors.
8.2 Conventions Used for Examples
There are a number of command channel examples included here, and the following are the conventions used in the examples:
All examples use <CR><LF> for the end-of-frame delimiter, and this delimiter is always denoted in hex (\x0D\x0A) since that is what
•
is displayed in the iVu logs and, for example, the Port Status screen.
• All commands are in bold text.
• For each example, a command request to the iVu sensor is prefaced with a >>, and a command response frame from the iVu sensor
is prefaced by a << as shown below. These are only used to make the documentation clearer.
>> get info companyname\x0D\x0A
<< OK\x0D\x0A
<< "Banner Engineering Corp."\x0D\x0A
8.3 Examples
8.3.1 Example 1: How to Trigger the Sensor and Retrieve Barcode Data using the Command Channel
To trigger the sensor and retrieve barcode data, do the following
1.
Set Trigger to Command. Go to the Main Menu > Imager > Trigger screen, and from the drop-down select Command
2. Issue a trigger command as follows:
>> do trigger\x0D\x0A
<< OK\x0D\x0A
3.
Check that the inspection passed.
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
<< Pass\x0D\x0A
4.
Get the barcode data read by the iVu sensor.
>> get bcr_result\x0D\x0A
<< OK\x0D\x0A
<< "0043000011201"x0D\x0A
8.3.2 Example 2: How to Modify Barcode Compare Data Using the Command Channel
1.
Set Trigger to Command. Go to the Main Menu > Imager > Trigger screen, and from the drop-down select Command
86www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
2. Set the compare data.
>> set bcr_input comparedata "0043000011201"\x0D\x0A
<< OK\x0D\x0A
3.
Trigger the sensor.
>> do trigger\x0D\x0A
<< OK\x0D\x0A
Check that the inspection passed.
4.
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
<< Pass\x0D\x0A
Get the barcode data read by the iVu sensor.
5.
>> get bcr_result data\x0D\x0A
<< OK\x0D\x0A
<< "0043000011201"\x0D\x0A
8.4 iVu Plus Command Channel Reference
8.4 Info Command Group
CommandGroupItemDescription
GetInfoCompanyNameThe company name as a string.
GetInfoModelNumberThe sensor model number as a
string.
GetInfoFirmwareVersionThe sensor firmware version as
GetInfoRemoteModelNumberThe model number of the re-
mote display as a string.
GetInfoRemoteSerialNumberThe serial number of the remote
display as a string.
Examples
>> get info companyname\x0D\x0A
<< OK\x0D\x0A
<< "Banner Engineering Corp."\x0D\x0A
>> get info bootnumber\x0D\x0A
<< OK\x0D\x0A
<< 42\x0D\x0A
>> get info uptimer\x0D\x0A
<< OK\x0D\x0A
<< 4:42:42:324\x0D\x0A
8.4 System Command Group
CommandGroupItemDescription
DoSystemRebootReboots the sensor. Pre-empts other
commands except Save.
DoSystemSaveSaves inspection and configuration pa-
rameters. Blocks until finished. Should
be used sparingly.
GetEthernetIPAddressGet the current active IP address of
the sensor as a string.
GetEthernetSubnetMaskGet the current active subnet mask of
the sensor as a string.
GetEthernetGatewayGet the current active Gateway ad-
dress of the sensor as a string.
SetEthernetIPAddressSet IP address of the sensor. A valid
IP address must be supplied as a
string (for example: 192.168.0.1). A
'Reboot' command from the command
channel must follow in order to make
the new IP address effective. You may
also set new Subnet Mask and Gateway address as required before a 'Reboot' command is sent to the sensor.
SetEthernetSubnetMaskSet new subnet mask. A 'Reboot' com-
88www.bannerengineering.com - tel: 763-544-3164Rev. B
mand is required to be sent from the
command channel in order to make
the new mask effective.
iVu Plus BCR User's Manual
CommandGroupItemDescription
SetEthernetGatewaySet new Gateway IP address. A 'Re-
boot' command is required to be sent
from the command channel to make
the new address effective.
Examples
>> do system save\x0D\x0A
<< OK\x0D\x0A
8.4 Status Command Group
CommandGroupItemDescription
GetStatusReadyFlag indicating whether the sys-
tem is ready to trigger (true) or
busy (false)
GetStatusSystemErrorFlag indicating whether a sys-
tem error is active (true) or
cleared (false)
DoStatusClearSystemErrorClears the system error LED
and sets the internal flag to
false.
Examples
>> get status ready\x0D\x0A
<< OK\x0D\x0A
<< True\x0D\x0A
>> get status systemerror\x0D\x0A
<< OK\x0D\x0A
<< False\x0D\x0A
>> do status clearsystemerror\x0D\x0A
<< OK\x0D\x0A
This value must match the
modes supported by the sensor.
This value can be modified using the sensor's touchscreen.
This remotely modified value is
not persisted to the sensors permanent memory. The 'Save' op-
iVu Plus BCR User's Manual
CommandGroupItemDescription
eration is required to persist this
value.
SetTriggerModeThe sensor's triggering mode.
This value must match the
modes supported by the sensor.
This value can be modified using the sensor's touchscreen.
This remotely modified value is
not persisted to the sensors permanent memory. The 'Save' operation is required to persist this
value.
DoTriggerImmediateThis command initiates a single
trigger and inspection. The sensor does not transmit a response until the sensor has
completed the action and returned to the READY state. This
command requires the 'Command' trigger mode. The sensor
must be in the ready state to
perform the desired operation.
DoTriggerGatedThis command initiates the ga-
ted triggering mode. Images are
repeatedly acquired until a valid
object is detected or this mode
is aborted. The sensor does not
transmit a response until the
sensor has completed the action and returned to the READY
state. This command requires
the 'Command' trigger mode.
The sensor must be in the ready
state to perform the desired operation.
DoTriggerAbortGatedThis command aborts the gated
triggering mode. The sensor
does not transmit a response
until the gated triggering option
has been aborted and the sensor has returned to the READY
state. This command requires
the 'Command' trigger mode.
Examples
8.4 Imager Command Group
CommandGroupItemDescription
GetImagerGainThe sensor's value used to
90www.bannerengineering.com - tel: 763-544-3164Rev. B
electronically brighten all image
iVu Plus BCR User's Manual
CommandGroupItemDescription
pixels This value can be modified using the sensor's
touchscreen. This remotely
modified value is not persisted
to the sensors permanent memory. The 'Save' operation is required to persist this value.
SetImagerGainThe sensor's value used to
electronically brighten all image
pixels This value can be modified using the sensor's
touchscreen. This remotely
modified value is not persisted
to the sensors permanent memory. The 'Save' operation is required to persist this value.
GetImagerExposureThe sensor's value used to con-
trol the amount of time the imager is allowed to gather light
for the image. This value can be
modified using the sensor's
touchscreen. This remotely
modified value is not persisted
to the sensors permanent memory. The 'Save' operation is required to persist this value.
SetImagerExposureThe sensor's value used to con-
trol the amount of time the imager is allowed to gather light
for the image. This value can be
modified using the sensor's
touchscreen. This remotely
modified value is not persisted
to the sensors permanent memory. The 'Save' operation is required to persist this value.
Examples
>> get imager exposure\x0D\x0A
<< OK\x0D\x0A
<< Command\x0D\x0A
>> set imager exposure"11900"\x0D\x0A
<< OK\x0D\x0A
sor to perform the Remote
Teach operation on the next
trigger. This command can be
performed using the sensor's
touchscreen.
Examples
>> do teach\x0D\x0A
<< OK\x0D\x0A
8.4 ProductChange Command Group
CommandGroupItemDescription
DoProductChange[Name ]Forces the sensor to switch to
the specified inspection. The
sensor does not transmit a response until the sensor has
completed the action. Inspections results will be invalid until
the next trigger.
GetProductChangeInspectionNamesList of all inspections stored in
the sensor
Examples
>> get productchange inspectionnames\x0D\x0A
<< OK\x0D\x0A
>> do productchange "inspection2"\x0D\x0A
<< OK\x0D\x0A
8.4 History Command Group
CommandGroupItemDescription
GetHistoryPassedThis value indicates the number
of passed inspections for the
active inspection. This value is
cleared (reset) whenever history
is cleared. This value is cleared
(reset) when the device starts
up or is rebooted.
GetHistoryFailedThis value indicates the number
of failed inspections for the active inspection. This value is
92www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
CommandGroupItemDescription
cleared (reset) whenever history
is cleared. This value is cleared
(reset) when the device starts
up or is rebooted.
GetHistoryMissedTriggersThis value indicates the number
of missed triggers for the active
inspection. This value is cleared
(reset) whenever history is
cleared. This value is cleared
(reset) when the device starts
up or is rebooted.
GetHistoryStartFrameNumberThis value indicates the starting
frame number for the active inspection. This value is cleared
(reset) whenever history is
cleared. This value is cleared
(reset) when the device starts
up or is rebooted.
GetHistoryEndFrameNumberThis value indicates the latest
frame number for the active inspection. This value is cleared
(reset) whenever history is
cleared. This value is cleared
(reset) when the device starts
up or is rebooted.
GetHistoryTotalFramesThis value indicates the total
number inspections (frames) for
the active inspection. This value
is cleared (reset) whenever history is cleared. This value is
cleared (reset) when the device
starts up or is rebooted.
GetHistoryMinInspectionTimeThis value indicates the mini-
mum (fastest) inspection time
for the active inspection. This
value is cleared (reset) whenever history is cleared. This value
is cleared (reset) when the device starts up or is rebooted.
GetHistoryMaxInspectionTimeThis value indicates the maxi-
mum (slowest) inspection time
for the active inspection. This
value is cleared (reset) whenever history is cleared. This value
is cleared (reset) when the device starts up or is rebooted.
GetHistoryMinBarcodeCountThis value indicates the mini-
mum number of barcodes read
for the active inspection This
value is cleared (reset) whenev-
er history is cleared. This value
is cleared (reset) when the device starts up or is rebooted.
GetHistoryMaxBarcodeCountThis value indicates the maxi-
mum number of barcodes read
for the active inspection This
value is cleared (reset) whenever history is cleared. This value
is cleared (reset) when the device starts up or is rebooted.
DoHistoryClearThis command clears all history
fields for the active inspection.
History values include pass
count, fail count, execution
times and tool specific history
values. This command can be
performed using the sensor's
touchscreen.
Examples
>> get history passed\x0D\x0A
<< OK\x0D\x0A
<< 13\x0D\x0A
>> get history startframenumber\x0D\x0A
<< OK\x0D\x0A
<< 3\x0D\x0A
>> do history clear\x0D\x0A
<< OK\x0D\x0A
8.4 Inspection Command Group
CommandGroupItemDescription
GetInspectionStatusThis status of the most recent
inspection either Pass, Fail, or
Idle (no triggers).
GetInspectionNameThe name of the active inspec-
tion.
GetInspectionFrameNumberThe most recent inspection
GetInspectionExecutionTimeThe most recent inspection exe-
Examples
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
94www.bannerengineering.com - tel: 763-544-3164Rev. B
frame number
cution time in msec.
iVu Plus BCR User's Manual
<< Fail\x0D\x0A
>> get inspection executiontime\x0D\x0A
<< OK\x0D\x0A
<< 37.739\x0D\x0A
pare data string. This string
must start and end with the double quote character. This value
can be modified using the sensor's touchscreen. This remotely modified value is not persisted to the sensors permanent
memory. The 'Save' operation is
required to persist this value.
pare data string. This string
must start and end with the double quote character. This value
can be modified using the sensor's touchscreen. This remotely modified value is not persisted to the sensors permanent
memory. The 'Save' operation is
required to persist this value.
pare string mask in binary format; that is, masked characters
are indicated by a "1" and unmasked characters are "0."
Note that the mask character
string must match the length of
the compare string. This value
can be modified using the sensor's touchscreen. This remotely modified value is not persisted to the sensors permanent
memory. The 'Save' operation is
required to persist this value.
pare string mask in binary format; that is, masked characters
are indicated by a "1" and unmasked characters are "0."
Note that the mask character
string must match the length of
the compare string. This value
iVu Plus BCR User's Manual
CommandGroupItemDescription
can be modified using the sensor's touchscreen. This remotely modified value is not persisted to the sensors permanent
memory. The 'Save' operation is
required to persist this value.
Examples
8.4 BCR_RESULT Command Group
CommandGroupItemDescription
GetBCR_RESULTCountThe total number of barcodes
found. The most recent inspection value is used. Access to
this value requires a valid trigger.
GetBCR_RESULTDataThe decoded barcode data
strings. Each string starts and
ends with the double quote
character. Multiple values are
seperated by the field delimiter
The most recent inspection value is used. Access to this value
requires a valid trigger.
GetBCR_RESULTTypeThe decoded barcode symbol
type(s). Multiple values are seperated by the field delimiter
The most recent inspection value is used. Access to this value
requires a valid trigger.
Examples
8.4 BCR_HISTORY Command Group
CommandGroupItemDescription
GetBCR_HISTORYMinCountThis value indicates the mini-
mum number of barcodes read
for the active inspection This
value is cleared (reset) whenever history is cleared. This value
is cleared (reset) when the device starts up or is rebooted.
GetBCR_HISTORYMaxCountThis value indicates the maxi-
mum number of barcodes read
for the active inspection This
value is cleared (reset) whenever history is cleared. This value
96www.bannerengineering.com - tel: 763-544-3164Rev. B
iVu Plus BCR User's Manual
CommandGroupItemDescription
is cleared (reset) when the device starts up or is rebooted.
Examples
8.5 Command Channel Error Codes
Numeric IDText IDDescription
00000SUCCESSCommand processed successfully
10000EMPTY_FRAME_RECEIVEDIndicates that the request was empty. The
command channel requires a command,
any arguments, and an end-of-frame delimiter.
10001COMMAND_NOT_RECOGNIZEDThe command specified is not recognized
10100GROUP_MISSINGA Group ID must be specified immediately
after the command
10101GROUP_NOT_FOUNDThe specified Group ID is invalid / unknown
10102GROUP_ITEM_MISSINGA Group Item ID must be specified immedi-
ately after the Group ID
10103GROUP_ITEM_NOT_FOUNDThe specified Group Item ID is invalid / un-
known
10152NOT_READABLEAttempt to get a value that is not readable
10153NOT_WRITEABLEAttempt to set a value that is not writeable
10250NOT_A_METHODMethod ID specified is not a method
10251WRONG_ARGUMENT_COUNTTotal method arguments specified do not
match method
10252COMMAND_NOT_FINISHEDAttempt to issue command when a previous
command has not finished
10300INVALID_ARGUMENT_TYPEItem ID specified must be a item (not a
group or method)
10301DATA_VALUE_MISSINGCommand missing item's data value
10350ARGUMENTS_DETECTEDGet command received with unneeded ar-
guments
10351INVALID_ARGUMENT_TYPEItem ID specified must be a item (not a
group or method)
10340MINIMUM_VALUE_EXCEEDEDNew item value is below the minimum
10341MAXIMUM_VALUE_EXCEEDEDNew items value is above the maximum
10500DATA_SET_EMPTYData export operation returned no results.
10900SENSOR_NOT_READYCommand specified requires sensor to be
10920SENSOR_TYPE_NOT_ACTIVECommand specified belongs to a different
sensor type.
15000VALUE_INVALIDText value is invalid / unknown
15050VALUE_INVALIDText value is invalid - expecting True or
False
15100STRING_TOO_LONGString value specified exceeds maximum
allowable length
20000BARCODE_TIMEOUTAttempt to obtain Barcode result data when
decoder has timed out
20001NO_BARCODES_FOUNDAttempt to obtain Barcode result data when
no barcodes were found
20002COMPARE_DATA_DISABLEDOperation requires Barcode compare to be
enabled
20003COMPARE_MASK_INVALIDCompare mask invalid. Expecting string of
1's and 0's with length equal to compare
data string
20004NUMBER_TO_FIND_NOT_ONEBarcode number to find must be set to one
for this operation.
80000REMOTE_DISPLAY_NOT_CONNECTEDRemote Display must be connected to ob-
tain this value
80001REMOTE_DISPLAY_NOT_SUPPORTEDThis sensor does not have Remote Display
capability
80100COMMAND_MODE_EXPECTEDThe Trigger Mode must be set to "Com-
mand" perform this operation
80101COMMAND_TIMED_OUTThe command timed out before finishing
80102TRIGGER_REQUIREDAccess to the specified data requires a trig-
gered inspection
80103TRIGGER_NOT_GATEDCommand requires a active Gated Trigger
80150COMMAND_TIMED_OUTThe command timed out before finishing
80200SYSTEM_ERROR_NOT_ACTIVEThe System Error must be active to exe-
cute this command
98www.bannerengineering.com - tel: 763-544-3164Rev. B
9 Industrial Ethernet Overview
9.1 Device Setup
9.1.1 Set IP Address
When shipped, the device is assigned a default IP address - 192.168.0.1, a default Subnet Mask - 255.255.255.0, and a default gateway
- 0.0.0.0. To change these defaults, click on Main Menu > System > Communications > Ethernet I/O.
9.1.2 Set Industrial Ethernet Protocol (EIP/Modbus/TCP/PCCC)
The Industrial Ethernet communication channel is disabled by default. In order to enable this channel, click on Main Menu > System >
Communications > Industrial Ethernet > Connection. Select the channel of interest (EIP, Modbus/TCP or PCCC). Only one type of
connection can be established at any given time.
Information about an established connection can be obtained from Main Menu > System > Communications > Industrial Ethernet >
Status screen. Click on the connection of interest to view details.
This device provides extensive logging for the communication that occurs over the Industrial Ethernet connection. Logs can either be
viewed from Main Menu > System > Communications > Industrial Ethernet > View Logs, or Main Menu > Logs > CommunicationLogs > Industrial Ethernet.
9.1.3 Set Trigger Mode
The sensor can be triggered using either the hardware trigger or through over the Industrial Ethernet. In order to only accept triggers
generated through the Industrial Ethernet communication channel, click on the Main Menu > Imager > Trigger, and select IndustrialEthernet Only from the drop-down menu.
The iVu Plus Series sensor is controlled over Ethernet/IP and Modbus/TCP using the input and output data it makes available as a slave
device for those protocols.
Here are some of the Sensor operations that can be performed using input and output values: