Banner iVu Plus BCR Instruction Manual

Ivu plus bcr communications
Hide thumbs Also See for iVu Plus BCR:

Advertisement

Quick Links

iVu Plus BCR Communications
Instruction Manual
Original Instructions
B_3084221 Rev. C
18 March 2014

Advertisement

Table of Contents
loading

Summary of Contents for Banner iVu Plus BCR

  • Page 1 Plus BCR Communications Instruction Manual Original Instructions B_3084221 Rev. C 18 March 2014...
  • Page 2: Table Of Contents

    Plus BCR Communications Contents 1 Introduction ........................3 2 iVu Plus Communication Summary of Ethernet and Serial ..........4 2.1 Communication Channels ......................4 2.2 Industrial Ethernet ........................4 2.3 Command Channel ........................4 2.4 Data Export ..........................5 2.5 Image Export ..........................
  • Page 3: Introduction

    Plus BCR Communications 1 Introduction 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...
  • Page 4: Ivu Plus Communication Summary Of Ethernet And Serial

    Plus to match the settings of the external device. 2.1 Communication Channels The iVu Plus BCR supports up to four communications channels. To access the channels, go to Main Menu > System > Communications.
  • Page 5: Data Export

    Change the running inspection 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.
  • Page 6: Image Export

    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.
  • Page 7 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...
  • Page 8: Enabling Communications

    Plus BCR Communications 3 Enabling Communications 3.1 Setting Up Ethernet Communications Configure both the PC and the sensor using the following instructions. 3.1.1 Windows XP 1. Open Network Properties on the PC (right-click on the Network Neighborhood icon). 2. On the Local Area Connection, right-click on Properties.
  • Page 9: Sensor Setup For Ethernet Communications

    Plus BCR Communications 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. 3.1.3 Sensor Setup for Ethernet Communications 1. Go to Main Menu > System > Communications > Ethernet I/O and make sure that the sensor is configured as shown below.
  • Page 10 Plus BCR Communications 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>. c. Verify that the iVu receives and transmits data correctly.
  • Page 11: Communications Channel Ports

    Plus BCR Communications 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.
  • Page 12: Setting Up Serial Communications

    Plus BCR Communications 3.2 Setting Up Serial Communications 1. Electrically connect the control device and the iVu sensor. On the iVu, the pins/wire colors used for serial communications via RS-232 are shown in the table below. Table 2: iVu RS-232 Connections...
  • Page 13 Plus BCR Communications 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.
  • Page 14 Plus BCR Communications d. Go to Main Menu > System > Communications > Data Export > Advanced. During the Data and Image export operation the sensor's output channels might become full. This can occur if the sensor is producing export data (frames) faster than the data can be exported from the device (due to bandwidth limitations) or faster than the client is reading the channel export data.
  • Page 15: Testing And Troubleshooting Ivu Plus Communications

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

    Plus BCR Communications 4.3 Serial I/O 4.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 >...
  • Page 17 Plus BCR Communications 2. On the requesting device, transmit one or more bytes to the iVu sensor. • If the data byte values appear correct and the number sent by the requesting device matches the number received by the iVu sensor, then the transmit/receive functionality is working properly.
  • Page 18: Command Channel Primer

    Plus BCR Communications 5 Command Channel Primer 5.1 Command Channel Commands All iVu command channel request command frames use the following syntax: >> command group item value<EOF> Notes <EOF> is the end-of-frame delimiter. See below for a description. All commands are in ASCII and are case-insensitive command An action to be performed on a particular iVu group;...
  • Page 19: Conventions Used For Examples

    Plus BCR Communications 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: >>...
  • Page 20: How To Modify Barcode Compare Data Using The Command Channel

    Plus BCR Communications 4. Set Trigger to Command. Go to the Main Menu > Imager > Trigger screen, and from the drop-down select Command 5. Issue a trigger command as follows: >> do trigger\x0D\x0A << OK\x0D\x0A 6. Check that the inspection passed.
  • Page 21: Command Channel Reference

    Plus BCR Communications 8. Get the barcode data read by the iVu sensor. >> get bcr_result data\x0D\x0A << OK\x0D\x0A << "0043000011201"\x0D\x0A 5.4 Command Channel Reference 5.4.1 Info Command Group Command Group Item Description Info CompanyName The company name as a string.
  • Page 22: Status Command Group

    Plus BCR Communications Command Group Item Description Ethernet SubnetMask Set new subnet mask. A 'Reboot' command is required to be sent from the command channel in order to make the new mask effective. Ethernet Gateway Set new Gateway IP address. A 'Reboot' command is required to be sent from the command channel to make the new address effective.
  • Page 23: Imager Command Group

    Plus BCR Communications Command Group Item Description Trigger Gated This command initiates the gated 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.
  • Page 24: Productchange Command Group

    Plus BCR Communications 5.4.7 ProductChange Command Group Command Group Item Description ProductChange [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.
  • Page 25: Inspection Command Group

    Plus BCR Communications 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 5.4.9 Inspection Command Group Command Group Item Description Inspection Status This status of the most recent inspection either Pass, Fail, or Idle (no triggers).
  • Page 26: Bcr_Result Command Group

    Plus BCR Communications Command Group Item Description BCR_INPUT CompareMask The Barcode inspection compare 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.
  • Page 27 Plus BCR Communications Numeric ID Text ID Description 10001 COMMAND_NOT_RECOGNIZED The command specified is not recognized 10100 GROUP_MISSING A Group ID must be specified immediately after the command 10101 GROUP_NOT_FOUND The specified Group ID is invalid / unknown 10102...
  • Page 28 Index data export log 15 data export 15 data export sample application 6 command channel image export 6 command channel log 15 productchange command group 24 command channel sample Ethernet 4 application 5 ethernet communications 8 command group history 24 info 21 RS-232 4 inspection 25...

Table of Contents