2.2.1 Ethernet I/O Status ....................................................................................................................16
2.3 Serial I/O.................................................................................................................................................17
2.3.1 Using the Port Status Screen for Testing RS-232 Communications..........................................17
2.3.2 Using the iVu Command Channel Sample Application or a Terminal Program for Testing........18
The iVu Plus provides for communicating with other devices via Ethernet or a UART serial communications port (RS-232). In order to
establish an Ethernet connection to the sensor, the external device must be configured with the correct IP address and 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.
1.1.1 Communication Channels
The iVu Plus BCR supports up to three communications channels. To access the channels, go to
• Command Channel — a bi-directional communication protocol that currently supports ASCII, and enables other devices to remotely
control the iVu Plus sensor and access sensor results
• 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.
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.
do trigger\x0D\x0A
A
B
OK\x0D\x0A
D
C
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:
Online Only - rev. A
www.bannerengineering.com - tel: 763-544-31643
iVu Plus BCR Communications User's Guide
• 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
1.1.2 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.
1.1.3 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)
4www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
1.1.3 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.
1.1.4 Image Export
Image export is only supported on Ethernet ports. Inspection images are a maximum 8-bits per pixel grayscale images in Windows 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 ). All 16- and 32-bit numeric entries
are little endian.
The header includes the following information:
NOTE: If FOV's are adjusted so that they are smaller, the bitmaps will also be smaller.
1.1.4 Image Export Sample Application
The iVu Plus BCR installation CD has a Image Export sample application that provides a way to save exported images. In a production
environment, you will need to write your own application to process exported images, for example to display them on an HMI or to save
them to disk.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-31645
iVu Plus BCR Communications User's Guide
1.2 Enabling Communications
1.2.1 Setting Up Ethernet Communications
The following is the general flow for setting up for Ethernet communications between the iVu Plus sensor and a remote device:
NOTE: These instructions assume that the remote device is a PC running Windows XP.
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).
2. On the Local Area Connection, right-click on Properties..
3. In the dialog, click on Internet Protocol (TCP/IP) and click
the Properties button.
1. Open Network Connections by clicking on the Start button,
then selecting the Control Panel followed by Network and Internet, and clicking Manage network connections.
2. Right-click the connection you want to change, then click
Properties. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
3. In the Networking dialog, click on Internet Protocol Version4(TCP/IPv4) and click the Properties button.
6www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
Windows XPWindows 7
4. In the Internet Protocol (TCP/IP) Properties dialog, select
Use the following IP address and make sure that the IP
address is 192.168.0.2, and the subnet mask is
255.255.255.0.
On the iVu sensor:
4. In the Internet Protocol (TCP/IPv4) Properties dialog, select Use the following IP address and make sure that the
IP address is 192.168.0.2, and the subnet mask is
255.255.255.0.
1. Go to Main Menu > System > Communications > Ethernet I/O and make sure that the sensor is configured as shown below.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-31647
iVu Plus BCR Communications User's Guide
2. To enable the command channel over Ethernet:
a. Go to Main Menu > System > Communications > Command Channel > Connection , and select Ethernet [IP Port #
32000].
b. Configure the field and end-of-frame delimiters. Go to Main Menu > System > Communications > Command Channel >
Delimiters .
8www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
c. Verify that the iVu receives and transmits data correctly.
3. To enable Data Export over Ethernet:
a. Go to Main Menu > System > Communications > Data Export > Connection and select Serial I/O from the drop-down.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-31649
iVu Plus BCR Communications User's Guide
b. Go to Main Menu > System > Communications > Data Export > Data To Export and select the inspection data to export.
c. Go to Main Menu > System > Communications > Data Export > Output Format and select the Start String, Delimiter, and
End String.
d. Go to Main Menu > System > Communications > Data Export > Advanced .
10www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
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
1.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 .
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316411
iVu Plus BCR Communications User's Guide
3. To enable the command channel over the serial connection:
a. Go to Main Menu > System > Communications > Command Channel > Connection and select Serial I/O.
b. Configure the field and end-of-frame delimiters. Go to Main Menu > System > Communications > Command Channel >
c. Optionally, if you want to trigger the iVu from the control device, set the trigger mode to Command (go to Main Menu >
Imager > Trigger and select Command from the drop-down).
12www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
d. Verify that the iVu receives and transmits data correctly.
4. To enable Data Export over the serial connection:
a. Go to Main Menu > System > Communications > Data Export > Connection and select Serial I/O from the drop-down.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316413
iVu Plus BCR Communications User's Guide
b. Go to Main Menu > System > Communications > Data Export > Data To Export and select the inspection data to export.
c. Go to Main Menu > System > Communications > Data Export > Output Format and select the Start String, Delimiter, and
End String.
d. Go to Main Menu > System > Communications > Data Export > Advanced .
14www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
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.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316415
iVu Plus BCR Communications User's Guide
2 Testing and Troubleshooting iVu Plus Communications
2.1 Understanding the Communication Log
The iVu Plus sensor includes the following Communication Logs:
• Command Channel Log that can be used to ensure that commands are properly formed (syntax is correct), and provides a history of
commands issued along with responses to these commands. To access the Command Channel Log, go to Main Menu > Logs >
Communication Logs > Command Channel .
• Data Export and Image Output logs that are purely output logs (that is, there is no receive activity to log).
Some notes about the logs:
• To see an expanded view of each entry, click on the small right-triangle control on each entry.
• To save the log, click the save icon. The saved communication log can be loaded into the emulator for troubleshooting offline.
The table below describes the icons used in the Communication Log, the up-arrow indicates an incoming request to the iVu from the
control device; the down-arrow indicates an outgoing response from the iVu to the control device.
IconDescription
Port opened.
Port closed.
For Ethernet channels:
• The channel's log will show an Enabled entry that indicates which port is being listened to.
• When a client connects, a log entry is added that indicates which IP address connected.
• When a client closes the connection, a log entry indicates that the channel is no longer being listened to.
Indicates that the command has been processed without errors.
Indicates that the incoming entry is stalled (no new bytes), or end-of-frame delimiter was not received, or client is not reading data on ethernet.
If the response frame contains an error or is dropped, the log entry icons for the request and the
response frames will be colored red, and the displayed error count will increment by one.
If the command takes a long time to process, the last long entry will change to an hourglass (for
example, during trigger of long inspections).
2.2 Ethernet I/O
2.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.
16www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
Example:
Link StatusConnected
Speed100 Mbps
ModeFull Duplex
MAC Address00:23:D9:00:AB:CD
Packets Sent195
Packets Received324
2.3 Serial I/O
2.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.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316417
Port Errors
iVu Plus BCR Communications User's Guide
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.
2.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.
2.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.
18www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
2. On the requesting device, transmit one or more bytes to the iVu sensor.
• If the data byte values appear correct and the number sent by the requesting device matches the number received by the iVu
sensor, then the transmit/receive functionality is working properly.
• If the connection is incorrect (electrically) or if the baud rate is mismatched, no bytes will appear in the upper field on the Port
Status screen.
• If the connection is correct (electrically), bytes will appear in the upper field of the Port Status screen in the order they were
received.
• If the Port Status: Errors at the bottom of the Port Status screen highlights red, then the connection is correct electrically but
there is likely a settings mismatch between the iVu sensor and the requesting device. Verify the settings on both devices.
• If the bytes appear with no errors but appear incorrect or there are too many or too few, then the port settings (for example,
baud rate) are likely mismatched in a way that does not generate serial hardware errors. Verify the settings on both devices
match exactly.
Verifying Basic Transmit Functionality
The iVu command channel will only send response frames to the requesting device if it receives a valid end-of-frame delimiter from the
requesting device. To verify transmit functionality:
1. Transmit an end-of-frame delimiter sequence from the requesting device to the iVu sensor. For example, in a terminal program,
simply hit Enter.
If a valid end-of-frame delimiter is received, the iVu sensor will immediately transmit a short error message back to the requesting
device (for example, ERROR 10000_COMMAND_MISSING).
2. Verify that the number of bytes sent by the requesting device are the same as the number shown in the lower field of the Port
Status screen on the iVu sensor. Go to the Main Menu > System > Communications > Serial I/O > Port Status screen.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316419
iVu Plus BCR Communications User's Guide
3. If the byte count does not match, re-verify that the settings on both devices match exactly. If no bytes are received, re-check the
wiring.
If the correct response frame is received, then basic electrical and port settings are correct.
20www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
3 Command Channel Primer
3.1 Command Channel Commands
All iVu command channel request command frames use the following syntax:
>> command group item value<EOF>
Notes
<EOF> is the end-of-frame delimiter. See below for a description.
All commands are in ASCII and are case-insensitive
command
An action to be performed on a particular iVu group; for example, get, set, do, login, or logout.
group
Identifies the iVu group that the command should act upon; for example, info, system, trigger, or bcr_input.
item
Further qualifies the action by specifying an item within the identified group; for example, comparedata or status.
value
For set commands, this identifies the data that must be set for the specified group item.
Note: Item is not used with get commands.
<EOF>
Identifies the end-of-frame for the command so that the iVu knows to begin processing. The iVu will return a response that
includes the end-of-frame delimiter. The options for the <EOF> are set in the iVu Serial I/O menu, and are as follows:
• <comma>
• <colon>
• <semicolon>
• <CR>
• <CR><LF>
• <LF><CR>
• <ETX>
NOTE: When data is displayed on iVu screens such as the Port Status screen,
printable delimiters are displayed as expected. Non-printable characters, such as
<CR> are displayed in hex notation (\x0D).
3.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.
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.
Online Only - rev. A
www.bannerengineering.com - tel: 763-544-316421
>> set trigger mode command\x0D\x0A
<< OK\x0D\x0A
>> do trigger\x0D\x0A
<< OK\x0D\x0A
iVu Plus BCR Communications User's Guide
3.1.2 String Delimiters and Escaping
Strings used in commands are always enclosed in quotation marks (""). All text in quotes is part of the command. Quotes (") or backslashes (\) that are part of the string must be escapted with a back-slash. For example:
"abc\"def\"ghi\\jkl"
3.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
Command Channel Command Status
The command status is either OK or ERROR. If OK, then the command has fully and successfully completed. If an error is returned it is in
the form ERROR nnnnn_ERROR_IDENTIFIER (for example ERROR 10001_COMMAND_NOT_RECOGNIZED). Refer to 3.5 Command
Channel Error Codes on page 33 for a list of errors.
22www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
3.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
3.3 Examples
3.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
3.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
2. Set the compare data.
>> set bcr_input comparedata "0043000011201"\x0D\x0A
<< OK\x0D\x0A
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316423
iVu Plus BCR Communications User's Guide
3. Trigger the sensor.
>> do trigger\x0D\x0A
<< OK\x0D\x0A
4. Check that the inspection passed.
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
<< Pass\x0D\x0A
5. Get the barcode data read by the iVu sensor.
>> get bcr_result data\x0D\x0A
<< OK\x0D\x0A
<< "0043000011201"\x0D\x0A
3.4 iVu Plus Command Channel Reference
3.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-
GetInfoRemoteSerialNumberThe serial number of the remote
24www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
mote display as a string.
display as a string.
iVu Plus BCR Communications User's Guide
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
3.4 System Command Group
CommandGroupItemDescription
DoSystemRebootReboots the sensor. Pre-empts
other commands except Save.
DoSystemSaveSaves inspection and configura-
tion parameters. Blocks until finished. Should be used sparingly.
Examples
>> do system save\x0D\x0A
<< OK\x0D\x0A
3.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
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316425
iVu Plus BCR Communications User's Guide
<< OK\x0D\x0A
<< False\x0D\x0A
>> do status clearsystemerror\x0D\x0A
<< OK\x0D\x0A
3.4 Trigger Command Group
CommandGroupItemDescription
GetTriggerModeThe 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.
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.
26www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
CommandGroupItemDescription
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
3.4 Imager Command Group
CommandGroupItemDescription
GetImagerGainThe 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.
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 mem-
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316427
iVu Plus BCR Communications User's Guide
CommandGroupItemDescription
ory. 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
3.4 Teach Command Group
CommandGroupItemDescription
DoTeachNextTriggerThis commands forces the sen-
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
3.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
28www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
3.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
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.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316429
iVu Plus BCR Communications User's Guide
CommandGroupItemDescription
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) whenever 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
3.4 Inspection Command Group
CommandGroupItemDescription
GetInspectionStatusThis status of the most recent
30www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
inspection either Pass, Fail, or
Idle (no triggers).
iVu Plus BCR Communications User's Guide
CommandGroupItemDescription
GetInspectionNameThe name of the active inspec-
tion.
GetInspectionFrameNumberThe most recent inspection
frame number
GetInspectionExecutionTimeThe most recent inspection exe-
cution time in msec.
Examples
>> get inspection status\x0D\x0A
<< OK\x0D\x0A
<< Fail\x0D\x0A
>> get inspection executiontime\x0D\x0A
<< OK\x0D\x0A
<< 37.739\x0D\x0A
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.
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316431
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 Communications User's Guide
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.
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.
Examples
3.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
32www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
iVu Plus BCR Communications User's Guide
3.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
is cleared (reset) when the device starts up or is rebooted.
Examples
3.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
10252COMMAND_NOT_FINISHEDAttempt to issue command when a previous
10300INVALID_ARGUMENT_TYPEItem ID specified must be a item (not a
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316433
match method
command has not finished
group or method)
iVu Plus BCR Communications User's Guide
Numeric IDText IDDescription
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
in the READY state.
10920SENSOR_TYPE_NOT_ACTIVECommand specified belongs to a different
sensor type.
15000VALUE_INVALIDText value is invalid / unknown
15050VALUE_INVALIDText value is invalid - expecting True or
False
15100STRING_TOO_LONGString value specified exceeds maximum
allowable length
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-
80103TRIGGER_NOT_GATEDCommand requires a active Gated Trigger
80150COMMAND_TIMED_OUTThe command timed out before finishing
34www.bannerengineering.com - tel: 763-544-3164Online Only - rev. A
gered inspection
iVu Plus BCR Communications User's Guide
Numeric IDText IDDescription
80200SYSTEM_ERROR_NOT_ACTIVEThe System Error must be active to exe-
cute this command
Online Only - rev. Awww.bannerengineering.com - tel: 763-544-316435