PresencePLUS® P4 OMNI/OMNI 1.3/OMNI Color User's Manual P/N 125808 rev.
Contents Chapter 1: Product Support and Maintenance..........................................7 1.1 Product Support........................................................................................................7 1.2 Maintenance..............................................................................................................8 Chapter 2: System Description ..................................................................9 2.1 P4 Vision Sensors.............................................
PresencePLUS® P4 OMNI/OMNI 1.3/OMNI Color 2/2010 Chapter 6: System Setup Dialog...............................................................45 6.1 Sensor Select Tab...................................................................................................45 6.1.1 Change Sensor IP Address...........................................................................46 6.1.2 PC (GUI) to Sensor Connection Setup.........................................................47 6.1.3 IP Address History.........
PresencePLUS® P4 OMNI/OMNI 1.3/OMNI Color 2/2010 7.6.1 7.6.2 7.6.3 7.6.4 7.6.5 7.6.6 Communication Tool....................................................................................244 Coordinate Tool...........................................................................................259 Math Tool.....................................................................................................263 Measure Tool..................................................................................
13.2 Saving Inspections to a PC or Network Drive.....................................................357 Chapter 14: Backing Up and Restoring Vision Sensor Data................359 14.1 Backing up Vision Sensor Data...........................................................................359 14.2 Restoring Vision Sensor Data.............................................................................363 Chapter 15: Dimensions and Specifications.........................................367 15.
Product Support and Maintenance Chapter 1 This section provides general Banner resources and specific documentation for installers and operators of this PresencePLUS Vision Sensor. Attention: Not to be Used for Personal Protection. Never use these products as sensing devices for personel protection. Doing so could lead to serious injury or death. These sensors do NOT include the self-checking redundant circuitry necessary to allow their use in personnel safety applications.
Phone Local: 763.544.3164 Toll Free: 1.888.3.SENSOR (1.888.373.6767) Fax 763.544.3213 E-mail sensors@bannerengineering.com Address Banner Engineering Corp. 9714 10th Avenue North, Minneapolis, MN 55441 USA To help Banner better assist you, be ready to provide the following information: • PresencePLUS software version (to find version number, click Help in the Main Menu toolbar and choose About) • Operating system of your PC • Sensor Model Number and Date Code.
System Description Chapter 2 The PresencePLUS ProII and P4 sensor families are easy-to-use camera systems with advanced visual inspection capability. With minimal knowledge of vision systems, a user can quickly set up a PresencePLUS ProII or P4 and run an inspection that tests products accurately, rejecting bad products on a production line. Inspections are set up using a personal computer (PC).
System Description 2/2010 In the application shown above, as each plastic formed part comes past the Vision sensor, an inspection is performed. If the part is not shaped correctly as shown here, the inspection fails. 2.1.2 PresencePLUS® P4 Components The PresencePLUS P4 system consists of the Sensor and a PC with PresencePLUS software and the appropriate connections. The Sensor requires lighting and a trigger device, and an optional video monitor can be connected.
2/2010 System Description 2.1.3 P4 Cable Connections Note: The sensor power must be 24V dc ± 10% if a light source is powered by the sensor. Crossover Ethernet Cable (to PC Ethernet Port)* Monitor Cable (to Video Monitor, optional) STPX07 — 2.1 m (7') BNC06 —2 m (6') STPX25 — 7.6 m (25') BNC15 — 5 m (15') or BNC30 — 9 m (30') Standard Ethernet Cable (to PC via Network Hub or Serial Cable (to PC serial Port)* Switch DB9P06 — 2 m (6') STP07 — 2.1 m (7') DB9P15 — 5 m (15') STP25 — 7.
System Description 2/2010 Pin # Wire Color Description Direction 9 Violet RS-232 RX** Input 10 Green RS-232 Signal Ground** Output 11 Blue Common (Signal Ground) Input 12 Brown 10-30V dc Input ** These three wires make up the RS-232 serial connection. Note: All unused inputs and outputs should be connected to ground if configured as PNP, and connected to +24V dc if configured as NPN. Serial input pins should be connected to ground. 2.
2/2010 System Description Inspection-Specific Screens Setup Set up the camera, lens, trigger, and lighting to acquire images. Create a reference image to be used later. Tools Add tools to an inspection. Build the inspection from scratch, or load tools from a previous inspection file saved on the controller or a PC. Teach Teach the Sensor good products. This screen automatically configures the parameters chosen in the Tools screen.
System Description Icon 2/2010 Description Zoom -- toggles zoom control. When enabled, click on the image window to zoom in and right-click to zoom out. This button is active when an image is displayed in the Image window. Expand Image -- toggles the size of the Image window between maximum and minimum. Selected ROI / ALL ROIs -- toggles between the currently S elected Region of Interest (ROI) and A ll ROIs. 2.2.
2/2010 System Description Navigation/Results Toolbar Buttons Using the Navigation/Results toolbar buttons, the Navigation/Results window size can be set, and tools can be deleted. Icon Description Expand Results -- toggles the size of the Navigation/Results window between maximum and minimum. Delete Selected Tool -- deletes the selected tool from the current inspection. Delete Selected Tools -- deletes the selected tool and all the tools to the right of the selected tool.
System Description 2/2010 2.2.4 Configuration Window The Configuration window, on the right side of the screen, displays the currently selected options with multiple tabs. Clicking the Setup, Tools, Teach, Run, System, Save, or Help buttons on the Main Menu toolbar changes the contents of the Configuration window accordingly. 16 Minneapolis, MN USA Banner Engineering Corp.
2/2010 System Description 2.2.5 Status Window The Status window, shown below, provides the following Sensor feedback. The following table provides descriptions of each region in the Status window: Region Description Connection info -- current sensor to which the PC is connected. Image update completion -- progress bar shows relative image update completion when an image is being transferred from the camera to the PC (this flickers, and is next to Connection: Sensor 192.168.0.1).
Region Description Cursor position -- displays the x, y coordinates of the pixel under the cursor relative to the upper-left corner (origin, which is 0,0) of the field of view. Note that you must have the mouse pointer hovering over the image to get this information, otherwise, it displays (-1,-1). Current image display resolution -- displays the user-specified value, which can be from 1:1 to 64:1.
Getting Started Chapter 3 This section begins with some Vision basics, then provides a brief overview of how to install the software, and the general steps to creating an inspection. 3.1 Installing the PresencePLUS Software The PresencePLUS software CD includes the sensor software and this documentation. 3.1.1 Installing the Software To install the PresencePLUS software: 1. Close all active programs. 2. Make sure that no previous installations of PresencePLUS are installed. 3.
Getting Started 2/2010 Note: The following instructions assume you are installing the software on Windows XP. 3. If using an Ethernet communication cable, configure the IP address as follows: a. Open Network Properties on the PC (right-click on the Network Neighborhood icon). 20 Minneapolis, MN USA Banner Engineering Corp.
2/2010 Getting Started b. On the Local Area Connection, right-click on Properties. Note: The PC in the example above has a second network card which is used to connect to the camera so it is using Local Area Connection 2. c. In the dialog, click on Internet Protocol (TCP/IP) and click the Properties button. 4. In the Internet Protocol (TCP/IP) Properties dialog, select Use the following IP address and make sure that the the IP address is 192.168.0.2, and the subnet mask is 255.255.255.0.
Getting Started 2/2010 5. Start the sofware. 6. Upon initial startup, the software communication is not configured, and the following error message is displayed. 7. Click Yes to open the Communication screen. 8. Establish communications as follows: Ethernet Connection 1. When the software is started for the first time, the IP address is "Localhost." Choose Ethernet (RJ 45). 2. Change the IP address to 192.168.0.1 (default IP address of the sensor). 3. Click OK.
2/2010 Getting Started 3.2 Typical Setup and Startup Sequence The following subsections proceed through a typical Sensor setup and startup sequence 1. 2. 3. 4. Connect and power up the hardware. Start up the software. Set up hardware parameters. Build and run an inspection. 3.3 Startup and Troubleshooting The following explains how to verify connections and start the PresencePLUS software. 1. Verify cable connections. • The sensor is connected to a PC with an Ethernet crossover cable ofr a serial cable.
Getting Started 2/2010 • Click on the Sensor select tab, and change the conection setup as follows: Ethernet Connection -1. Select Ethernet (RJ45) in the drop-down menu. 2. Change the IP address to the address of the sensor to which the PC is connected. 3. Click OK. Serial Connection -1. Select PC Serial in the drop-down menu. 2. Click OK. 3.3.1 General Troubleshooting The following table describes solutions to the most common problems in using the PresencePLUS software.
2/2010 Getting Started 3.4 Setting Up Hardware Parameters If the Sensor is being run for the first time, or if changes have been made to the hardware, then you may need to set or modify hardware parameters. 1. Click on System in the Main Menu toolbar. 2. Configure the Trigger parameter according to the trigger device being used. For example, if using the QS18V6ND as the trigger device, then select NPN. 3. Configure the six discrete inputs/outputs. 4.
Note: To keep specific, user-defined parameters in a Test tool, skip Teach and go directly to Run. 3. Teach screen: The Teach screen automatically configures the parameters chosen in the Tools screen. a. b. c. d. Chooose the sample size. Click Start. Trigger the controller with the external trigger device. Click Stop. Note: Before entering Run, save inspection file to one of the memory locations on the controller. e. Click Next to proceed to the Run screen.
Setup Chapter 4 4.1 Setup Screen The Vision sensor has two modes: running and idle. If the sensor is idle when you start up the PresencePLUS software while your PC is connected, the software starts in the Setup screen. If the sensor is running, then the software starts in the Run screen. 4.2 Capturing a Reference Image The reference image is used as a template for developing an inspection. The Vision tools use this image to acquire the critical information needed for the inspection.
Setup 2/2010 4.3.1 Reference Image Source Before capturing an image, you need to determine what will trigger the Sensor to capture and image. The Sensor can be triggered to capture an image in one of the following ways. Trigger Option Description Continuous The sensor will update continuously in Setup mode. 28 Minneapolis, MN USA Banner Engineering Corp.
2/2010 Setup Trigger Option Description External Images are acquired only in reponse to a signal from an external source as configured on the Trigger tab. Choose External if the part will be moving during the inspection to capture an image with the same conditions as the inspection conditions. Manual Images are acquired only then the Trigger button is clicked. The Trigger button is grayed out when any trigger option other than Manual is selected.
Setup Field 2/2010 Description • Image too bright -- Auto exposure could not darken the image enough. Remove light to the inspection, or decrease the exposure manually. Exposure Time Exposure time is the amount of time the camera allows light to energize the image chip. Increasing the exposure time (that is, moving the slider to the right) allows more light to energize the image chip, which brightens the image. Gain Gain is an electronic boost to the image signal.
2/2010 Setup 4.4.1 Trigger Settings Field Description Trigger Divide (range: 1-10,000 triggers) Sets the sequence of valid triggers. If set to 1, an image is captured in response to every valid trigger; if set to 2, and image is captured in response to every second valid trigger, and so on. Trigger Delay (range: 0-8,000 ms) Fixed time (ms) from the instant the Sensor receives a valid trigger to the instant the Sensor captures the image.
Setup 2/2010 4.5 Advanced Tab The Advanced tab on the Setup screen allows you to adjust the field of view (FOV). The FOV is the image area at the focal plane of a camera. You can use the maximum FOV or adjust the FOV to improve performance. The FOV dimensions are shown in the Advanced tab. Default Mode The Default Mode determines whether to use the Current FOV or Maximum FOV by default. Maximum and adjusted FOV The FOV is denoted by the green box surrounding the image in the Setup screen.
2/2010 Setup 4.6 Considerations When Setting up Color Inspections 4.6.1 Primary Colors A color Vision sensor has a color imaging chip that, rather than providing just a gray scale value along with the grid location, actually provides a color intensity value for each of the primary colors of light: red, green, and blue. Variations of color intensity for each of these primary colors provides all other shades of colors. Banner Engineering Corp.
Setup 2/2010 Red, Green, Blue (RGB) Red, Green, and Blue (RGB) is a representation of additive color space where red, green and blue are combined to create other colors. This is the primary method for showing color on monitors and televisions. The RGB color space is represented as a cube with the three primary colors whose axes are perpendicular to each other. Black is the absence of all primary colors; that is, the intensity of all three primary colors is zero [0,0,0].
2/2010 Setup Practically speaking, auto-exposing in this way ensures that the camera is kept in the optimum range of the R-G-B scale. White Balance White balancing is the process by which a color imager is calibrated for existing lighting conditions. Due to the large variation in light sources and the fact that the R, G, and B channels on the imager are analyzed independently, a color sensor just out of the box may not have a true color image initially.
Setup 2/2010 Draw the WB ROI on a region of the image known to be white. This routine will automatically adjust the gain for each of the R, G, and B channels in an effort to make the area in the WB ROI appear white. Strange effects can occur if the area in the WB ROI is not in fact white as shown below when white balancing on blue. This effects will carry over to the gray scale version of the image too. 36 Minneapolis, MN USA Banner Engineering Corp.
2/2010 Setup 2. Click Start to calibrate the color settings. 3. Click Next to go to the Tools tab. Banner Engineering Corp.
Setup 38 2/2010 Minneapolis, MN USA Banner Engineering Corp.
Tools Screen Chapter 5 5.1 Overview Using the Tools screen, the user establishes the inspections that the Sensor will execute. Three sources of inspections are available: 1. Building an inspection from scratch is the typical method of establishing an inspection. The Tools screen is designed to aid the user in building an inspection. A typical inspection consists of Location Tools, followed by Vision Tools, Analysis Tools, and finally (if required) the Communication Tool.
Tools Screen 2/2010 Note: Test tool must be chosen to evaluate the results of each tool or set of tools. 5.2.2 Adding a Tool The following steps provide an overview for setting up tools in an inspection. Steps not available for some of the Location or Analysis tools are noted. 1. 2. 3. 4. 5. 6. 7. Click the button of the tool to be added to the inspection. Rename the tool. Draw the ROI (not available for Analysis tools).
2/2010 Tools Screen Note: Quick Teach discards any manually-entered values in the Test tool. Manually-entered values must be entered after Quick Teach has been performed, or they will be lost. Click Quick Teach to: • Run all the tools. • Calculate the measurements. • Add a percentage of tolerance around taught values. • Save the inspection to the controller. • Go to Run. 5.4 Load Tab The Load provides a way to load a saved inspection and a reference image. Load Tab Banner Engineering Corp.
Tools Screen 2/2010 5.4.1 Flexible Inspection Loading Release 2009R1B introduces a more flexible inspection loading capability that allows most inspections created by any PresencePLUS vision sensor to be loaded through the PresencePLUS software even if connected to a different type of PresencePLUS vision sensor. This means that you can now load, for example, an inspection created by an OMNI 1.3 into PresencePLUS software connected to a standard OMNI.
2/2010 Tools Screen 5.4.2 Inspection Storage Capacity The INS file format allows for the storage of inspection files onboard every sensor. The table below shows the storage capacity for the various Vision sensors. Stored inspections can be modified, run, or deleted on the sensor.
System Setup Dialog Chapter 6 This section describes how to configure the sensor and diagnose system errors in the System Setup window. 6.1 Sensor Select Tab Use the Sensor Select tab to establish the Sensor connection with the PC. Note: An option box to open the Sensor Select tab is automatically displayed if the Sensor either is not connected or is connected but with the wrong IP Address selected. Sensor Neighborhood Fields The Sensor Neighborhood will list sensors in your environment.
System Setup Dialog 2/2010 Sensor Select Tab 6.1.1 Change Sensor IP Address To change a sensor's IP address: 1. Select the sensor in the Sensor Neighborhood 2. Click the Change Sensor IP Address button. 46 Minneapolis, MN USA Banner Engineering Corp.
2/2010 System Setup Dialog 3. Click Next 4. Enter an appropriate sensor name in the New Sensor Name field. 5. Click Finish. 6.1.2 PC (GUI) to Sensor Connection Setup Use this field to select whether the Sensor will communicate via the Ethernet port or a serial connection. Banner Engineering Corp.
System Setup Dialog 2/2010 • If you select Ethernet (RJ 45), the Connection IP Address shows the IP address for which the software is looking. Initially, the IP address should be 192.168.0.1, the default IP address of the sensor. • If you select Serial, the IP address is not applicable. 6.1.3 IP Address History Use this button to view previous IP Addresses and Subnet Masks. 48 Minneapolis, MN USA Banner Engineering Corp.
2/2010 System Setup Dialog 6.2 Communication Tab The Communication tab is used to configure: • General Communication Setup • Remote Command Configuration (RCC) Communication Tab Banner Engineering Corp.
System Setup Dialog 2/2010 6.2.1 Communication Setup Banner Vision sensors support the following communication options: • Ethernet Sockets 1-10 • Serial 1 • Industrial Ethernet Ethernet Connection In order to establish an Ethernet connection , the external device must be directed to the correct IP address and the correct TCP port. In TCP/IP protocol, a TCP port number is used with the IP address to identify a specific path or socket.
2/2010 System Setup Dialog 2. Click on the Communication tab. 3. Choose a connection from the fixed Connection drop-down list of the Communication Tool Setup field. Each Ethernet socket has a unique TCP port number as shown below Note: The following addresses are defaults. Socket Default IP Address Port 1 192.168.0.1 20000 2 192.168.0.1 20001 3 192.168.0.1 20002 4 192.168.0.1 20003 5 192.168.0.1 20004 6 192.168.0.1 20005 7 192.168.0.1 20006 8 192.168.0.1 20007 9 192.168.0.
System Setup Dialog 2/2010 Serial Connection The sensor has a single serial connection that you can configure, Serial 1: • Serial 1 is the DB-9 connector. Note: The Pro has 2 serial connections. Serial 2 in the dropdown list is to support those sensors. The sensor has one serial connection that can be configured: Serial 1 is pins 1, 9, and 10. Set up the serial communication options to match the receiving device.
2/2010 System Setup Dialog Note: Because there is no flow control for the serial connections, the sensor wil not detect or log a lost or broken connection Industrial Ethernet Protocol Protocol selects which Industrial Ethernet protocol is being used. This changes the string format and the word/register values reported in the PLC Map.
System Setup Dialog 2/2010 6.2.2 Remote Command Channel Configuration This section describes the commands that are supported to communicate with a Vision sensor. All commands are case-insensitive Remote Command Set All RCC commands are case-insensitive. Valid characters for commands are 7-bit ASCII alphabetic or numeric characters (A-Z, a-z, 0-9), dash (-) and underscore (_).
2/2010 System Setup Dialog System Object, Component, or Activity Object or Activity Identifier Support Actions Required Qualifiers Optional Qualifiers Comments Trigger TRIGGER EXEC Timeout (msec) If no qualifiers are specified, a 30 second timeout is used. None or NOWAIT Product Change PRODCHANGE EXEC Numeric Inspection Timeout (msec) ID or By default, a 30 second timeout is used.
System Setup Dialog 2/2010 System Object, Component, or Activity Object or Activity Identifier Support Actions Required Qualifiers Optional Qualifiers Comments Current Inspection Number INSPNUM GET None None Retrieve currently running inspection GET None CommTool Numberor CommTool Name Retrieve comm tool results, either by specifying its sequential number in the inspection (1,2,..,n) or by specifying its name. By default, data for the first comm tool will be retrieved.
2/2010 System Setup Dialog System Object, Component, or Activity Object or Activity Identifier Support Actions Required Qualifiers Optional Qualifiers Comments Exposure EXPOSURE SET Positive Number None Get the camera exposure Frame Number Tag FRAMETAG SET ENABLE None Enables frame number as command acceptance indicator Frame Number Tag FRAMETAG SET DISABLE None Disables frame number as command acceptance indicator Frame Number Tag FRAMETAG GET None None Retrieve the status of
System Setup Dialog 2/2010 OCV Tool and the Remote Command Channel Commands Syntax Description set ocvtool tool_name|tool_number exp_string value Sets the expected string, if it is a constant. The Value should be a quoted string containing printable ASCII characters (see Character Strings on page 327). get ocvtool tool_name|tool_number exp_string Gets the value of the exptected string.
2/2010 System Setup Dialog • -303 – get/set tool command attempted in the middle of the inspection • -304 – get/set tool command attempted in the middle of the product change • -305 – Tool specified in get/set command not found in the inspection • -306 – Requested comm tool is not configured for RCC • -307 - Tool executed with an error or did not execute • -308 - Specified tool operand is not a constant, and cannot be modified • Reset command error codes • -401 – Reset command attempted in the middle of t
System Setup Dialog 2/2010 • Inspection is Executing and is Ready 5. GET status, counter or flag commands can be accepted at any time. If issued when inspection is Executing but is not Ready, these values may change as the inspection is executing. 6. GET COMMTOOL command can be successfully accepted if the inspection has been loaded. However, RCC may not have valid data until the inspection has been triggered (executed) at least once.
2/2010 System Setup Dialog • \r for carriage return () • \n for line feed (LF) • \r\n for carriage return followed by a line feed (CR-LF) • \n\r for line feed followed by a carriage return (LF-CR) In addition to the above field delimiters, you can enter other delimiter types keeping in mind the following: • ASCII hex format can be used as a delimiter • a NULL character can be used as a delimiter (specified in ASCII hex format) • Frame delimiters can be multi-character sequences up to 20 characters lon
System Setup Dialog 2/2010 • describes how to set up a sample PresencePLUS vision inspection • provides a sample Kawasaki AS Language program Below is a quick overview of the procedure for integrating PresencePLUS sensors with Kawasaki Robot Controllers and, where noted, more details are provided in the document subsections. Main Steps Tasks to Complete Establish communication between the PresencePLUS sensor and the Kawasaki 1.
2/2010 System Setup Dialog • Triggering the sensor and performing product changes • Checking sensor status, such as pass, fail, and I/O line state • Retrieving tool results, and sensor counters including pass/fail • User-defined frame (command) delimiters and output field separators • Logging input and output data to assist with RCC/MMI debugging Prerequisites — Kawasaki Robot This procedure assumes that you are using an Ethernet-enabled Kawasaki robot controller configuration such as: • Kawasaki C Serie
System Setup Dialog Step 2 2/2010 Main Tasks to Complete PresencePLUS Sensor 3. Click on the System button in the upper right corner of the PresencePLUS GUI to display supports the System Setup screen. user-assignable TCP 4. Click on the Communication tab to display the Communication configuration dialog. /IP ports. This assignment is performed from the System Setup Dialog, Communications tab The default Ethernet port assignments are from 20000 to 20009.
2/2010 Step 3 System Setup Dialog Main Tasks to Complete 2. Click the OK button to accept the configuration. Kawasaki Protocol Defaults The default Kawasaki protocol configuration parameters are: • Ethernet Socket 1 configured for TCP/IP Port 20000 as the communications channel • No Frame Start (Command Start) delimiter • Carriage Return/Line Feed as Frame End (Command End) delimiter • Space as the input command field separator • Comma as the output field separator.
System Setup Dialog Step 1 2/2010 Main Tasks to Complete 3. Scroll down to the Coordinate Tool, and then select the checkbox next to it, as shown below. 4. Click the OK button to close the Tool Configuration dialog. Step 2 Main Tasks to Complete Create a New Inspection using Setup. 1. In the PresencePLUS GUI, create a new inspection by pressing the Setup button in the upper-left corner of the GUI. 2. Capture an image of the part to locate. 3.
2/2010 Step 3 System Setup Dialog Main Tasks to Complete 2. Click the Geomtric Find button. 3. Draw the tool ROI (Region of Interest) to select the image feature of interest as shown below. 4. Click the Apply button to accept the ROI. 5. Click the Next button to return to the Tools menu. Step 4 Main Tasks to Complete Add a Coordinate 1. In the PresencePLUS GUI, click the Analysis Tools tab. tool to provide locational data for the 2. Click the Coordinate tool button to create a Coordinate tool.
System Setup Dialog Step 4 2/2010 Main Tasks to Complete 3. Select Offset Only from the Tool List Filter drop-down menu. 4. Click the Next button to return to the Tools menu. Note: The X, Y and Rotation selections will default to GF_1. Step 5 Add a Test tool to receive a positive confirmation that the 68 Main Tasks to Complete 1. In the PresencePLUS GUI, click the Analysis Tools tab. 2. Click the Test tool button. 3. Select Coordinate Tool (COORD_1) from the Input 1 drop-down list.
2/2010 Step 5 System Setup Dialog Main Tasks to Complete inspection ran successfully; that is, the part was found. 4. Click on the Coordinate Tool (COORD_1) tab and make sure that the checkmark next to the X-Coordinate value checked. Enter 0 (zero) in the Min column and a large number (e.g., 1000) in the Max column. Note: These settings will cause the Test tool to pass all resulting X values, but fail if the X value is invalid (that is, if the part is not found). 5. Uncheck other values. 6.
System Setup Dialog Step 6 2/2010 Main Tasks to Complete 2. Click on the Save button. 3. Once the inspection is saved, click the Start button to start the inspection. Kawasaki AS Language Sample This sample AS Language code snippet will assist with the integration of a Banner PresencePLUS Vision Sensor and a Kawasaki C/D/D+ Series Robot Controller.
2/2010 System Setup Dialog This example assumes that a Banner PresencePLUS inspection that produces X, Y and Angle offsets has been loaded into the PresencePLUS Vision Sensor and has been started with the PresencePLUS GUI.
System Setup Dialog 2/2010 ; Determine whether the inspection passed or failed ; ; Send command to camera to determine if the inspection passed ; the inspection and found the desired part .$cmd_str = "GET PASSFAILFLG"+$cmd_del CALL tcp_send(.ret_val,.$cmd_str) IF .ret_val < 0 GOTO tcp_error ; Read command response from camera .$rcv_str = "" CALL tcp_recv(.ret_val, .$rcv_str) IF .ret_val < 0 GOTO tcp_error ; Get command failed ; Decode command response .$rsp_str = $DECODE(.$rcv_str, $cmd_del, 0) .
2/2010 System Setup Dialog ; ; Handle new coordinate offsets ; PRINT X_offset, Y_offset, Rz_offset POINT pick = frame1+TRANS(X_offset, Y_offset, ,Rz_offset) HOME LAPPRO pick,100 LMOVE pick CLAMP 1 LDEPART 100 HOME ; Part not found error notfnd_error: PRINT "The part was not found" GOTO all_done ; TCP error tcp_error: PRINT "Error during send or receive via TCP:", .ret_val GOTO all_done ; RCC Command error cmd_error: PRINT "Error during command to camera:", .
System Setup Dialog 2/2010 .retry_count = .retry_count + 1 PRINT "TCP_CONNECT error – attempt #", .retry_count GOTO connect END ELSE PRINT "Established connection, socket id = ", tcp_sock_id END ; Error occurred during connection attempt(s) connect_error: RETURN .END ; ; Close the TCP connection ; .PROGRAM tcp_close() .ret_val = 0 ; Initialize the return value TCP_CLOSE .ret_val, tcp_sock_id ; Check for errors IF (.ret_val < 0) THEN PRINT "Unable to close TCP connection, error id = ", .
2/2010 System Setup Dialog ELSE PRINT "Received string too long" .ret_val = -1 END ELSE PRINT "Invalid number of elements received" .ret_val = -1 END END .END ; ; Send data over the TCP connection ; .PROGRAM tcp_send(.ret_val, .$data) .ret_val = 0 .$send_buf[1] = .$data .buf_num = 1 .send_timeout = 60 .error_return = 0 ; ; ; ; ; Initialize function return code Data to send Number of array elements send timeout send error return code TCP_SEND .error_return, tcp_sock_id, .$send_buf[1], .
System Setup Dialog 2/2010 6.3 Input/Output Tab Use this tab to set t he functionality of the four programmable I/O connections. Inputs and Outputs I/O, Pin #, Function You can select Trigger, Product Change, Remote Teach, and Discrete inputs and outputs as eith NPN (current sourcing) or PNP (current sinking). Once NPN or PNP is selected, all inputs and outpus are either NPN or PNP. I/O 1 through 4 in the I/O column correspond to Pins 5 through 8 in the Pin # column.
2/2010 System Setup Dialog Normally Open/Closed Select the state (open or closed) that the output will take when not active. • Normally Open: The output becomes active when the logic condition controlling the output becomes True. • Normally Closed: The output becomes inactive when the logic condition controlling the output becomes True. Output Delay Output Delay is the time from a trigger to start an inspection until the Sensor output turns ON. It is available only for general outputs.
System Setup Dialog 2/2010 6.3.1 P4 Input/Output Tab Use this tab to set t he functionality of the four programmable I/O connections. Inputs and Outputs I/O, Pin #, Function You can select Trigger, Product Change, Remote Teach, and Discrete inputs and outputs as eith NPN (current sourcing) or PNP (current sinking). Once NPN or PNP is selected, all inputs and outpus are either NPN or PNP. I/O 1 through 4 in the I/O column correspond to Pins 5 through 8 in the Pin # column.
2/2010 System Setup Dialog Normally Open/Closed Select the state (open or closed) that the output will take when not active. • Normally Open: The output becomes active when the logic condition controlling the output becomes True. • Normally Closed: The output becomes inactive when the logic condition controlling the output becomes True. Output Delay Output Delay is the time from a trigger to start an inspection until the Sensor output turns ON. It is available only for general outputs.
System Setup Dialog 2/2010 6.4 Strobe Tab Use the Strobe tab to set the strobe signal for a strobed light source. The strobe signal is a +5V dc TTL signal. Fields in the System Setup window's Strobe tab are described below: Strobe Tab 80 Minneapolis, MN USA Banner Engineering Corp.
2/2010 System Setup Dialog 6.4.1 Strobe Width Strobe Width Option Description Off The strobe output never becomes active (light off). Banner Engineering Corp.
System Setup Dialog 2/2010 Strobe Width Option Description On The strobe output remains active (light on). Exposure Duration The strobe output is active only while the sensor is acquiring an image. This is the default. Time Duration Sets the duration for active strobe output from the initial valid trigger (minimum pulse width has been satisfied) to the end of the duration. The range is from 0 to 4,000 ms. 6.4.2 Level • Active Low -- When given a 0V dc signal, it turns on. This is the default.
2/2010 System Setup Dialog 6.5.1 Select Conversion Units From the Units drop-down list, select the units to in which to convert pixels. The options are: • pixels (px) • inches (in) • feet (ft) • yards (yd) • millimeters (mm) • centimeters (cm) • meters (m) • microns (u) • mils (mil) Additionally, select the decimal place precision using the arrow keys to select a value from 0 to 6. Banner Engineering Corp.
System Setup Dialog 2/2010 6.5.2 Configure with Known Distance To configure how to scale pixel units for the PresencePLUS software, do the following: 1. Go to the Setup screen and capture an image of an object with known dimensions. 2. Go to the Tools screen and use a Location or Vision tool (for example, a Locate, Edge, or Object tool) and a Measure tool to measure the distance of the known dimension in pixels.
2/2010 System Setup Dialog 3. In the Units tab, select the desired units and enter the pixel value in the Measurement in pixels field. 4. From the Apply to drop-down list, select either Distances only (default for backward compatibility), or Distances offsets, and locations. Banner Engineering Corp.
System Setup Dialog 2/2010 5. Click Apply. 6.6 Reset Tab Use the Reset tab to read sensor error codes, clear system errors and reestablish Sensor communications. Option Description Reset Error Flag Click to clear the sensor's Red Error LED. Reset Error Log Click to clear the error log. System Reset Click to reboot the Sensor. (This is a system reboot and will take several seconds). Get Error Log Click to display the System Log icon in the Navigation/Results window.
2/2010 System Setup Dialog 6.7 Start-Up Inspection Tab The options on the Start-Up Inspection tab: • Click on Setup Mode if you want the camera to start in Setup Mode after it is powered down. • Click on Inspection Name, and select an inspection from the drop-down list to have the sensor start up to run. Start-Up Inspection Tab P4 Start-Up Inspection Tab Banner Engineering Corp.
System Setup Dialog 2/2010 ProII Start-Up Inspection Tab 6.8 NTSC Tab The Zoom Level adjustment on the NTSC tab is availalble only for single function, low-resolution sensors such as the Area and Geo. From the drop-down list, select the desired zoom level as it will appear on the optional NTSC video monitor that you can attach to the sensor. The default is 4:1. NTSC Tab 88 Minneapolis, MN USA Banner Engineering Corp.
2/2010 System Setup Dialog 6.9 Language Tab In the Languages tab, click on the down arrow for a drop-down list of the languages installed from the PresencePLUS software CD. Click on the desired language, then click Apply. At the next start-up, the PresencePLUS software will use the selected language. To save changes and exit the System Setup window, click OK. To exit the System Setup window without making any changes, click the X in the upper-right hand corner of the window.
System Setup Dialog 2/2010 6.10 Tools Configuration Tool Configuration provides the ability to customize the Tools page within the PresencePLUS software. Entire tools, or their enhanced features, can optionally be displayed or hidden. This provides the ability to configure the system to better support your application, thus further simplifying the creation and modification of inspections. To assist with the customization, the list of tools for the connected sensor is displayed in a tree view.
2/2010 System Setup Dialog 6.10.1 Standard Mode Choose this option to reset all tool configuration settings for the connected sensor to the factory defaults. 6.10.2 Enhanced Mode Choose this option to enable all tools and all tool's enhanced features for the connected sensor. 6.10.3 Custom Mode Choose this mode to customize the tools configuration settings within the tree view. This mode is automatically selected when changes are made to the tree view.
6.10.4 Tool Licensing Some tools (e.g., barcode and OCR/OCV) require a license to be registered within the sensor before they can be activated.
PresencePLUS Software Tools Chapter 7 7.1 ROI Types ROI types include Area, Search, and Linear. 7.1.1 Linear ROI Linear ROIs are used by tools that scan along a defined line in a defined direction. Data are averaged along a linear ROI wider than 1 pixel to provide accurate test results. You can adjust the ROI width in increments of 4; that is, 1, 5, 9, 13, and so on. The ROI is widened symmetrically. Note: Widening an ROI provides an average value/location, which results in improved repeatability. 7.1.
PresencePLUS Software Tools 2/2010 7.2 Location Tools Location tools are used as a reference point to adjust the location of subsequent Regions of Interest (ROI) for translational and rotational variations of the target. 7.2.1 Locate Tool The Locate tool locates the position of a target in a field of view. This tool finds and marks position of the first edge along the ROI line. Typically, tools, including additional Locate tools that follow, are relative to this point.
2/2010 PresencePLUS Software Tools Adding a Locate Tool To add a Locate tool to an inspection: 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces.
PresencePLUS Software Tools 2/2010 Threshold Type The threshold is used to mark the gray scale transition point. The tool marks the edge when the pixel intensity crosses the threshold level. From the dropdown list, select one of the following: • Relative • Absolute • Edge Strength Relative Threshold Relative threshold is the default, and it finds an edge at a relative pixel intensity. The brightest gray scale level is 100% and the darkest is 0%.
2/2010 PresencePLUS Software Tools Field/Graph Description Value Value is displayed when Type is Absolute. Enter a specific gray scale value from 0 to 255. Polarity • Bright to Dark finds edges that start above the threshold value and cross below the threshold value. • Dark to Bright finds edges that start below the threshold value and cross above the threshold value. • Bright or Dark finds any edge.
PresencePLUS Software Tools 2/2010 Graph Tab When Edge Strength is selected in the Input tab, the software displays the Graph tab. This tab provides similar information to the Input tab, but displays separate Edge Profile and Edge Strength graphs for easier viewing. The Edge Profile graph represents the absolute gray scale level across the tool ROI. The Edge Strength graph represents the change in gray scale along the tool ROI.
2/2010 Min Width PresencePLUS Software Tools Filters out small spike-of-intensity changes, and narrow dark or bright bands. It determines the distance (in pixels) before and after an edge that must be free from additional transitions or the end of the FOV before the edge is recognized. Note: A high filter number may miss the edge of a narrow line. Sample Rate Determines the sub-pixel resolution, which increases the resolution of the tool, and increases the inspection time. 1. 2. 3. 4.
PresencePLUS Software Tools 2/2010 Graph Tab When Edge Strength is selected, the Graph tab appears on the tool window. The graph for the Input tab overlays both the edge strength graph and the edge profile. In the Graph tab, the edge profile graph and the edge strength graph are separated for easier viewing. The top graph, Edge Profile, represents the absolute gray scale level across the Edge tool. The bottom graph, Edge Strength, represents the change in gray scale along the Edge tool.
2/2010 PresencePLUS Software Tools 7.2.2 Geometric Find Tool The Geometric Find tool uses edge content to locate the best matching shape in a search area of an image. During setup, the you identify a reference shape within a search area for the Geometric Find tool. This reference shape is subsequently used to locate like shapes in new images by searching for shapes similar to the reference shape.
PresencePLUS Software Tools 2/2010 Note: The Geometric Find tool requires strong and repeatable edge content in the image. Usage • Locate the position of a label • Locate electronic components on a circuit board • Locate date/lot code for inspection Note: In general, the Geometric Find tool can be used to locate a rounded object or an object where large amounts of rotation are possible. In these types of applications, a linear Locate tool will not work as well.
2/2010 PresencePLUS Software Tools Adding a Geometric Find Tool To add a Geometric Find tool to an inspection: 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like).
PresencePLUS Software Tools Field/Button 2/2010 Description Click this button to remove an ROI or a mask from an image. Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI. Threshold Adaptive Threshold Adaptive Threshold adjusts the edge threshold on each acquired image. The Sensor automatically sets the threshold and attempts to adjust for contrast variations.
2/2010 PresencePLUS Software Tools Results The Results field returns the following: • Total number of shapes above the minimum acceptance level. • Position of each shape's center. The origin (0,0) is the upper-left corner of the screen. Geometric Find Tool Advanced Tab Fields in the Geometric Find Tool Advanced tab are described in the following subsections.
PresencePLUS Software Tools 2/2010 Rotation Range These adjustments are used to set the maximum allowable rotation (0° to 180°) that a target pattern can have and still be identifiable. Extra and Missing Edges 106 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Field Description Extra Edges If left unchecked (disabled), the Sensor will find a target shape that might have extra edges. If checked (enabled), the Sensor will not find a target shape that has extra edges of a specified length. The size of the minimum edge length is adjustable. Note: If checked, the application will not allow a minimum edge length to be set below the number specified for Minimum Edge Length (in the Input tab ) for this tool.
PresencePLUS Software Tools 2/2010 Scaling Range Scaling Range allows you to set a range from a low of 0.8 to a high of 1.2. In Run mode, this will enable matches to occur even with slight variations in shape from the reference shape. Tool Timeout and Absolute Positioning Set a timeout in milliseconds that determines how long the Geometric tool will attempt to determine whether a pattern is good or not.
2/2010 PresencePLUS Software Tools Fields The following are fields on the Pattern Find tool Input tab: • Minimum Acceptance Level on page 169 • Rotation Enabled on page 169 • Selected Pattern on page 170 • Results on page 111 Supported Platforms ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes Yes No Yes Yes No No No Pattern Find Input Tab Adding a Pattern Find Tool To add a Pattern Fine tool to an inspection: 1.
PresencePLUS Software Tools 2/2010 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces. Click this button to add an ROI to an image. Click this button to remove an ROI from an image. Use this field to rotate the ROI.
2/2010 PresencePLUS Software Tools Results Pattern Find Advanced Tab Select Force to Absolute Positioning if you want to change the Pattern tool from relative positioning to absolute. 7.2.4 Blob Find Tool The Blob Find tool is a Location tool used to position other vision tools in reference to some object, or "Blob." In imaging, a group of adjacent, like-shaded pixels, is called a Blob, short for Binary Large OBject .
PresencePLUS Software Tools 2/2010 ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes Yes No Yes Yes No No No Fields The following are fields on the Blob Find tool Input tab: • Threshold on page 203 • Blob Find Tool Input Tab Results on page 115 Supported Platforms Blob Find Input Tab 112 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Adding a Blob Find Tool 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Control Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces. Click this button to add an ROI to an image.
PresencePLUS Software Tools Control 2/2010 Description Click this button to remove an ROI or mask from an image. Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI. Note: The angle used in the Rotation calculation is the Major Axis angle, measured with respect to the horizontal plane.
2/2010 PresencePLUS Software Tools Adaptive thresholding is a technique that is used to adjust the threshold for the BLOB tool based upon lighting changes and image content within the ROI. It performs best if used with bi-modal images, which have a clear contrast in the ROI.
PresencePLUS Software Tools 2/2010 Count: The number of Blobs found. Total Area: The total area (in pixels) of all the Blobs. Threshold Level: The white/black cutoff point. From the dropdown list of Blobs, you can select a specific Blob to get area and centroid information about that specific Blob. Histogram The Histogram is a display of the grayscale values on the "x" axis and the number of pixels on the "y" axis. The Histogram displays the amount of pixels for each grayscale value.
2/2010 PresencePLUS Software Tools Blob Find Filter/Sort Tab Blob Sort The Sort drop-down list allows the user to select a sort method to determine which Blob the sensor labels as "Blob #1." By default, Blobs are numbered according to scan order; that is, the sensor numbers Blobs as it encounters them while scanning the FOV from top-to-bottom and then left-to-right.
PresencePLUS Software Tools 2/2010 When you click the Preset button, the sensor uses the selected Blob to preset the filter values so that only the selected Blob will subsequently be identified by the sensor. This reduces the time it would take to manually enter values. When the sensor is in Run mode, you should use the runtime filter results to fine-tune these settings.
2/2010 PresencePLUS Software Tools Discard Boundary Blobs: The Discard Boundary Blobs checkbox, if selected, allows you to determine if you want blobs touching the perimeter of the search ROI to be included in your results. Fill Holes: Fill Holes checkbox, if selected, allows you to ignore (by filling) small features such as scratches, glare and so on which might otherwise appear as small imperfections or non-blobs within a larger blob.
PresencePLUS Software Tools 2/2010 A pixel with two neighbors that belong to the same blob, forming a corner, contributes 1.414 linear pixels to the perimeter of the blob. A pixel with three neighbors that belong to the same blob contributes exactly 1 linear pixel to the perimeter of the blob. A pixel with three neighbors that belong to the same blob contributes exactly 1 linear pixel to the perimeter of the blob.
2/2010 PresencePLUS Software Tools where A is the area, (xc, yc) are the coordinates of the centroid and (xi, yi) are the coordinates of pixel i. These values represent the variance with respect to x, the variance with respect to y, and the covariance, respectively. The final results can be calculated as follows. The table below gives a more practical perspective on how to interpret these results.
PresencePLUS Software Tools any shape with holes 2/2010 results vary depending on exact shape-experiment on your particular shape results vary depending on exact shape-experiment on your particular shape results vary depending on exact shape-experiment on your particular shape Eccentricity The eccentricity of a blob is defined as the length of the major axis divided by the length of the minor axis.
2/2010 PresencePLUS Software Tools Adding an Average Gray Scale Tool To add an area tool to an inspection: 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Control Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces.
PresencePLUS Software Tools Control 2/2010 Description Click this button to remove an ROI or a mask from an image. Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI.
2/2010 PresencePLUS Software Tools 7.3.2 Blob Detect Tool In imaging, a group of adjacent, like-shaded pixels, is called a Blob, short for Binary Large OBject . The Blob tool separates selected pixels into two categories: black and white. After the pixels are separated into black and white, they are grouped and adjacent black or white pixels are seen as a dark or bright Blob.
PresencePLUS Software Tools 2/2010 Adding a Blob Detect Tool 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Control Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces. Click this button to add an ROI to an image.
2/2010 Control PresencePLUS Software Tools Description Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI. Threshold Type Fixed Select Fixed when the lighting and image content will remain relatively constant for all inspections. If you select Fixed , you can also specify Threshold and Reject Levels. Threshold Level The Threshold Level (e.g., 141) defines the white/black cutoff point.
PresencePLUS Software Tools 2/2010 Adaptive thresholding is a technique that is used to adjust the threshold for the BLOB tool based upon lighting changes and image content within the ROI. It performs best if used with bi-modal images, which have a clear contrast in the ROI.
2/2010 PresencePLUS Software Tools Count: The number of Blobs found. Total Area: The total area (in pixels) of all the Blobs. Threshold Level: The white/black cutoff point. From the dropdown list of Blobs, you can select a specific Blob to get area and centroid information about that specific Blob. Blob Detect Filter/Sort Tab Note: The Blob Detect Filter/Sort tab starts out disabled, and you need to enable it in the Tools Configuration tab of the System di Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Blob Sort The Sort drop-down list allows the user to select a sort method to determine which Blob the sensor labels as "Blob #1." By default, Blobs are numbered according to scan order; that is, the sensor numbers Blobs as it encounters them while scanning the FOV from top-to-bottom and then left-to-right.
2/2010 PresencePLUS Software Tools Blob Sort Order Once you select a Sort method, you need to define a Sort Order: • If Position is selected for the Sort method, then Blob order is based on the x,y coordinates of the centroids and the options are— • Left most • Top most • Right most • Bottom most • For any of the other options, Blob order is based on Increasing or Decreasing value of the parameter selected. For example, if Perimeter and Increasing is selected, the smallest perimeter Blob will be Blob #1.
PresencePLUS Software Tools 2/2010 Histogram The Histogram is a display of the grayscale values on the "x" axis and the number of pixels on the "y" axis. The Histogram displays the amount of pixels for each grayscale value. The graph displays information for all grayscale values (0-255). Cursors, shown as vertical lines, represent minimum threshold, maximum threshold, threshold level and reject level. Corresponding cursor can be moved horizontally to adjust a value.
2/2010 PresencePLUS Software Tools The following are fields on the Blob Detect Advanced tab: • Options on page 133 • Blob Detect Tool Advanced Tab Results on page 134 Options Discard Boundary Blobs: The Discard Boundary Blobs checkbox, if selected, allows you to determine if you want blobs touching the perimeter of the search ROI to be included in your results.
PresencePLUS Software Tools 2/2010 Compute Statistics: The Compute Statistics checkbox, when selected, enables advanced results to be calculated and displayed when inspections are run. Largest Hole to Fill: If you select Fill Holes, you must specify the size of the largest hole to fill in this field. Blob Detect Tool Advanced Tab Results Area The area (A) is just a count of the total number of pixels belonging to the blob. Centroid The centroid (xc, yc) is the point at the center of mass of the blob.
2/2010 PresencePLUS Software Tools A pixel with three neighbors that belong to the same blob contributes exactly 1 linear pixel to the perimeter of the blob. A pixel with three neighbors that belong to the same blob contributes exactly 1 linear pixel to the perimeter of the blob. A pixel with four neighbors that belong to the same blob contributes nothing to the perimeter of the blob. This method of counting tends to slightly overestimate the "true" perimeter.
PresencePLUS Software Tools 2/2010 where A is the area, (xc, yc) are the coordinates of the centroid and (xi, yi) are the coordinates of pixel i. These values represent the variance with respect to x, the variance with respect to y, and the covariance, respectively. The final results can be calculated as follows. The table below gives a more practical perspective on how to interpret these results.
2/2010 PresencePLUS Software Tools Eccentricity The eccentricity of a blob is defined as the length of the major axis divided by the length of the minor axis. For circular regions and other regions with radial symmetry (like a square), the value will be very close to 1. For elongated regions, the value will grow, possibly becoming quite large.
PresencePLUS Software Tools 2/2010 Adding an Circle Detect Tool 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces.
2/2010 PresencePLUS Software Tools When adding an ROI for a Circle Detect too, click near the center of the circle you wish to inspect and drag to the outside of the circle. Adjust the inner and outer rings of the ROI by dragging the squares on the top, bottom, and sides. If using the "Circular, Arc" option, adjust the angular range by dragging the lines at the start and end of the arc. Edges Threshold measures the rate of change of grayscale values and needs sharply-defined transitions.
PresencePLUS Software Tools 140 2/2010 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Legend The Legend describes the pixel colors on the image. Results Using the Search For "CIrcle, Best Points" or "Circle, All Points" options will produce the following results. Result Description Center The center point of the circle detected. A Measure tool can measure from this center point to other features. Radius The distance from the center of the detected circle to its edges. Use this value in a Test tool to determine if a circle is the correct size.
PresencePLUS Software Tools 2/2010 Result Description Arc Length The distance along the arc. Arc Angle The angle between the start and end of the arc. This will be between 0 and 360 degrees. Arc Start Angle The angle between the x-axis and the beginning of the arc. This will be between -180 and +180 degrees. Arc End Angle The between the x-axis and the end of the arc. This will be between -180 and +180 degrees. 7.3.
2/2010 PresencePLUS Software Tools Adding an Edge Tool 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces. Click this button to add an ROI to an image.
PresencePLUS Software Tools 2/2010 Threshold Type The threshold is used to mark the gray scale transition point. The tool marks the edge when the pixel intensity crosses the threshold level. From the dropdown list, select one of the following: • Relative • Absolute • Edge Strength Relative Threshold Relative threshold is the default, and it finds an edge at a relative pixel intensity. The brightest gray scale level is 100% and the darkest is 0%.
2/2010 PresencePLUS Software Tools Field/Graph Description Value Value is displayed when Type is Absolute. Enter a specific gray scale value from 0 to 255. Polarity • Bright to Dark finds edges that start above the threshold value and cross below the threshold value. • Dark to Bright finds edges that start below the threshold value and cross above the threshold value. • Bright or Dark finds any edge.
PresencePLUS Software Tools 2/2010 Graph Tab When Edge Strength is selected in the Input tab, the software displays the Graph tab. This tab provides similar information to the Input tab, but displays separate Edge Profile and Edge Strength graphs for easier viewing. The Edge Profile graph represents the absolute gray scale level across the tool ROI. The Edge Strength graph represents the change in gray scale along the tool ROI.
2/2010 PresencePLUS Software Tools Field Description Smoothing Runs a rolling average along the ROI length. It filters out sharp changes in the edge profile. Note: A high filter number may miss the edge of a narrow line. Min Width Filters out small spike-of-intensity changes, and narrow dark or bright bands. It determines the distance (in pixels) before and after an edge that must be free from additional transitions or the end of the ROI before the edge is recognized.
PresencePLUS Software Tools 2/2010 The bottom graph, Edge Strength, represents the change in gray scale along the Edge tool. Edge Strength detects an edge when the rate of change (solid red line on the screen) crosses the selected intensity change amount (dashed green lines on the screen). A bright-to-dark transition has a negative edge strength value, and a dark-to-bright transition has a positive edge strength value.
2/2010 PresencePLUS Software Tools 7.3.5 Geometric Count Tool The Geomtetric Count tool uses edge content to find shapes in an image. During setup, the user identifies a section of the image containing the target shape and assigns that shape as the reference for the Geometric Count tool. This reference shape is subsequently used to locate all similar shapes in new images by searching inside the Search ROI.
PresencePLUS Software Tools 2/2010 Adding a Geometric Count Tool To add a tool to an inspection: 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces.
2/2010 Field/Button PresencePLUS Software Tools Description Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI. Threshold Adaptive Threshold Adaptive Threshold adjusts the edge threshold on each acquired image. The Sensor automatically sets the threshold and attempts to adjust for contrast variations. Edge Strength Edge Strength sets the edge threshold at a predetermined gray scale value from 0 to 127.
PresencePLUS Software Tools 2/2010 The lower the number you enter, the faster the inspection time because the inspection will stop once it reaches the selected number. The maximum number of outline patterns that the tool will find is 255. Edge Length The tool ignores target patterns with edges equal to or shorter than the specified number of pixels for edge length. Legend All edges found by the Geometric Find tool are color-coded in the Image window.
2/2010 PresencePLUS Software Tools Advanced Tab Rotation Range These adjustments are used to set the maximum allowable rotation (0° to 180°) that a target pattern can have and still be identifiable. Extra and Missing Edges Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Field Description Extra Edges If left unchecked (disabled), the Sensor will find a target shape that might have extra edges. If checked (enabled), the Sensor will not find a target shape that has extra edges of a specified length. The size of the minimum edge length is adjustable. Note: If checked, the application will not allow a minimum edge length to be set below the number specified for Minimum Edge Length (in the Input tab ) for this tool.
2/2010 PresencePLUS Software Tools Scaling Range Scaling Range allows you to set a range from a low of 0.8 to a high of 1.2. In Run mode, this will enable matches to occur even with slight variations in shape from the reference shape. Results The Results field returns the following: • Total number of shapes above the minimum acceptance level. • Position of each shape's center. The origin (0,0) is the upper-left corner of the screen. 7.3.
PresencePLUS Software Tools 2/2010 ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes Yes No Yes Yes No No No Line Detect Tool Input Tab Adding an Line Detect Tool 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool.
2/2010 Field/Button PresencePLUS Software Tools Description Click this button to add an ROI to an image. Click this button to remove an ROI from an image. When adding an ROI for a Line Detect tool, click to one side of the line you wish to find and drag the cursor perpendicularly across the line before releasing. Adjust the width of the ROI by dragging either side. Edges The Line Detect tool finds edge points by scanning along many invisible lines parallel to the arrows shown on the edges of the ROI.
PresencePLUS Software Tools 2/2010 noise or extra edges in the ROI, but under some circumstances it may ignore edges you wish to include. Also, if the line in the image has gaps in it, this mode may produce lines that are shorter than you want. • "Line, All Points" finds a line that explains all the edges as well as possible without ignoring anything. This setting is the fastest, but it works poorly if there are any extra edges or noise within the ROI.
2/2010 PresencePLUS Software Tools Usage • Measure the width of a label • Locate the center of a box on a conveyor • Measure the gaps between stamped parts on a Web. Fields The following are fields on the Object tool Input tab: • Threshold Type on page 160 • Filters on page 165 • Object Tool Results on page 166 Supported Platforms ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.
PresencePLUS Software Tools 2/2010 Adding a Linear Tool To add a tool to an inspection: 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces.
2/2010 PresencePLUS Software Tools Field/Graph Description Edge Profile Graph In the Edge Profile graph displayed when the Relative threshold is selected, the red line shows the percentage pixel intensity relative to the green threshold line. The threshold line will move up or down with the percent value. Absolute Threshold Absolute threshold finds an edge at a specific gray scale level.
PresencePLUS Software Tools 2/2010 Edge Strength Edge strength measures the rate of change of grayscale values and needs sharply-defined transitions. Edge strength is more tolerant of gradual changes in light levels across the tool than other transition types and it will filter out weak or gradual edges. Field Description Edge Enter an edge bandwidth value from 1 to 255. Polarity • Bright to Dark finds edges that start above the threshold value and cross below the threshold value.
2/2010 PresencePLUS Software Tools A bright-to-dark transition has a negative edge strength value, and a dark-to-bright transition has a positive edge strength value. When the Edge Strength level is adjusted, both the negative and positive green dotted lines will adjust together. Filters Field Description ROI Width Increases in increments of 4 pixels (for example, 1, 5, 9, 13, ...) up to the total FOV size. Some things to note: • Narrow ROIs execute faster but could miss the edge.
PresencePLUS Software Tools 2/2010 The minimum and maximum object width affects both objects and spaces between objects. Minimum object width can filter out objects and spaces. Object Tool Results The Results field returns the following: • The position of the object midpoint. The origin (0,0) is the upper-left corner of the screen. • A Select Object Number field for selecting an object to analyze. • Total number of Bright, Dark, or All objects (depending on the Bright/Dark option in effect.
2/2010 PresencePLUS Software Tools Filters Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Field Description ROI Width Increases in increments of 4 pixels (for example, 1, 5, 9, 13, ...) up to the total FOV size. Some things to note: • Narrow ROIs execute faster but could miss the edge. • Wide ROIs are more consistent but don't execute as fast. • The ROI must be 13 pixels or wider to calculate the rotation of a part. Smoothing Runs a rolling average along the ROI length. It filters out sharp changes in the edge profile.
2/2010 PresencePLUS Software Tools 7.3.8 Pattern Count Tool The Pattern Count tool locates a pattern within a reference image, using and uses that pattern as a reference pattern to locate the same pattern in new images. A reference pattern is stored in memory. The tool searches for patterns that are very similar to the reference pattern. All patterns that match the reference pattern are counted and the center of the first pattern found is determined.
PresencePLUS Software Tools 2/2010 Adding a Pattern Count Tool To add a tool to an inspection: 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Field/Button Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces.
2/2010 Field/Button PresencePLUS Software Tools Description Click this button to remove an ROI from an image. Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI. Enabling Remote Teach The Remote Teach function is a method of remotely updating inspection parameters in Run mode. Vision tools and Test tools can be selected to be taught or not taught.
PresencePLUS Software Tools 2/2010 Selected Pattern The Selected Pattern field indicates whether the captured image is fine as it is or if there are potential issues. For example, in the display below, the image is marinal for both translational content and for rotational content. Results Results indicate the following: • Number of patterns found: The total number of patterns above the minimum acceptance level and below the maximum number of patterns.
2/2010 PresencePLUS Software Tools Fields The following are fields on the Average Color tool Input tab: • Options on page 172 • Average Color Tool Results - HSI on page 172 • Average Color Tool Results - RGB Average on page 173 Supported Platforms ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes No No No Yes No No No Average Color Input Tab Adding an Color Tool To add an area tool to an inspection: 1.
PresencePLUS Software Tools 2/2010 3. Draw an ROI. Control Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces. Click this button to add an ROI to an image. Click this button to add a mask to an image. A mask excludes an area inside the ROI.
2/2010 PresencePLUS Software Tools The table below describes the results and shows the color map. A color map is a visual legend showing the hue, saturation, and intensity: • Hue and Saturation are represented in the circular color map, while Intensity is shown as a gradient bar. • The crosshairs indicate the average hue and saturation, and the line on the intensity bar shows the average intensity.
PresencePLUS Software Tools 2/2010 Green : The average of the green color component, represented as a number from 0 to 255. Fully saturated green is a [0, 255, 0]. Blue : The average of the blue color component, represented as a number from 0 to 255. Fully saturated blue is a [0, 0, 255]. Intensity : The average brightness of a color, represented in a number from 0 (black) to 255 (white). 7.4.
2/2010 PresencePLUS Software Tools Adding an Color Tool To add an area tool to an inspection: 1. Click the button of the tool to be added to the inspection. 2. If desired, rename the tool. 3. Draw an ROI. Control Description Use this field to rename the tool. The default is tool_name_1, tool_name_2, and so on, where the default tool_name depends on the tool being created (for example, locate, edge or the like). The name can have only alphanumeric characters and underscores with no spaces.
PresencePLUS Software Tools Control 2/2010 Description Click this button to remove an ROI from an image. Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI. Color Probes In the Color Blob tool, you need to define the bright Blob/dark Blob threshold.
2/2010 PresencePLUS Software Tools Note: The above has a single probe. Use more than one probe when the range of color to include in the Blob exceeds the range that a single probe can detect. Below additional probes have been added. Options Min/Max Size Allows the user to determine what size object will be considered a Blob, thereby filtering other content as noise Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Note: Use Grayscale Blob when trying to distinguish white, black and shades of gray. Using Color Blob for grayscale analysis is not as effective as using Grayscale Blob. Color Blob Tool Color Map Visualization Hue, Saturation, and Intensity is a representation of color space that is closer to human perception of color dynamics. Hue and Saturation are represented in the circular color map, while Intensity is shown as a gradient bar.
2/2010 PresencePLUS Software Tools Blob Sort The Sort drop-down list allows the user to select a sort method to determine which Blob the sensor labels as "Blob #1." By default, Blobs are numbered according to scan order; that is, the sensor numbers Blobs as it encounters them while scanning the FOV from top-to-bottom and then left-to-right.
PresencePLUS Software Tools 2/2010 Blob Sort Order Once you select a Sort method, you need to define a Sort Order: • If Position is selected for the Sort method, then Blob order is based on the x,y coordinates of the centroids and the options are— • Left most • Top most • Right most • Bottom most • For any of the other options, Blob order is based on Increasing or Decreasing value of the parameter selected. For example, if Perimeter and Increasing is selected, the smallest perimeter Blob will be Blob #1.
2/2010 PresencePLUS Software Tools Color Blob Tool Advanced Tab Fields The following are fields on the Color Blob tool Advanced tab: • Advanced Options on page 182 • Range on page 183 • Color Blob Advanced Tab Results on page 183 Below is the Color Blob tool Advanced tab . Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Advanced Options Below are the Color Blob tool Advanced tab Options Option Description Discard Boundary Blobs Use to determine whether Blobs found on the perimeter of the ROI should be included in the results. 182 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Option Description Compute Statistics Allows user to calculate and display advanced results. Fill Holes Allows user to ignore (by filling) small imperfections, or non-Blobs, within a larger Blob. Largest Hole to Fill allows users to specify the size of the imperfection so that valid non-Blobs are excluded. Enable Remote Teach Allows user to relearn the color identified by the color probe while the sensor is running.
PresencePLUS Software Tools 2/2010 Centroid The centroid (xc, yc) is the point at the center of mass of the blob. For simple blobs like solid circles, ellipses, or rectangles, this is just the center of the shape. For more complicated shapes it is helpful to imagine a piece of cardboard cut out in the shape of the blob. The centroid is the point where you could balance the cardboard on the tip of a pencil.
2/2010 PresencePLUS Software Tools This method of counting tends to slightly overestimate the "true" perimeter. For example, a circle with a radius of 100 pixels will have a computed perimeter of approximately 660 pixels, compared with the expected value of 628 pixels. If the camera is configured to convert pixel distances to other units, (e.g. inches), the perimeter will be given in those units.
PresencePLUS Software Tools 2/2010 where A is the area, (xc, yc) are the coordinates of the centroid and (xi, yi) are the coordinates of pixel i. These values represent the variance with respect to x, the variance with respect to y, and the covariance, respectively. The final results can be calculated as follows. The table below gives a more practical perspective on how to interpret these results.
2/2010 PresencePLUS Software Tools Min Radius and Min Radius Position The minimum radius of a blob is the distance from the centroid of the blob to the closest pixel on that blob's perimeter. The minimum radius position gives the pixel coordinates of that closest perimeter point. If the blob contains unfilled holes, the minimum radius position may be on the perimeter of a hole.
PresencePLUS Software Tools 2/2010 The white outline in the color map includes the range of colors.while the bars on the gradient bar includes the range of intensities.
2/2010 Control PresencePLUS Software Tools Description Click this button to add a mask to an image. A mask excludes an area inside the ROI. Click this button to remove an ROI from an image. Use this field to rotate the ROI. You can manually key in a rotation angle, or you can use the up or down arrow keys to rotate the ROI.
PresencePLUS Software Tools 2/2010 Color Map Visualization Hue, Saturation, and Intensity is a representation of color space that is closer to human perception of color dynamics. Hue and Saturation are represented in the circular color map, while Intensity is shown as a gradient bar. The white outline in the color map includes the range of colors.while the bars on the gradient bar includes the range of intensities. 7.
2/2010 PresencePLUS Software Tools Barcode Type Select one of the following for the Barcode Type: • Any -- Enables the Barcode tool to read any supported barcode type Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 • DataMatrix • DataMatrix (Dot Peened) • Linear Code 128 • Linear Code 39 • Linear Code CODABAR • Linear Code 2 of 5 Interleaved • Linear Code EAN 13 • Linear Code EAN8 • Linear Code UPCE • Linear Code POSTNET • Linear Code IMB • PDF-417 • Linear Code PHARMACODE • MULTIPLE -- When you select this option, you can select multiple barcode types you want the sensor to read Click on the Edit Selections button to modify the list of available barcode types.
2/2010 PresencePLUS Software Tools The Results field provides the number of barcodes found, barcode type, data read, and quality parameters. Note: When the Barcode tool finds multiple barcodes, the Select Barcode field allows you to select each barcode individually. The multiple barcodes are arranged in order (with respect to image origin) from left to right, top to bottom, according to the location of the lower-left corner of the barcode. 7.5.
PresencePLUS Software Tools 2/2010 All Barcodes Options 194 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Color Scheme The Color Scheme determines what color scheme of barcode the sensor will reconize. Of the three Color Scheme options, the default is Either. Color Scheme Option Description Black on White The sensor will recognize barcodes that are black (or dark) marked on a white (or light) background. White on Black The sensor will recognize barcodes that are white (or light) marked on a black (or dark) background.
PresencePLUS Software Tools 2/2010 Decoder Mode Option Description Robust When you select Robust, the sensor employs an algorithm that performs routines to correct for imperfections of the barcode image. This mode typically has the higher read rate. Fast When you select Fast, the sensor employs an algorithm that is "tailored" for speed. The algorithm does NOT correct for barcode image imperfections.
2/2010 Barcode (Code 25, ITF-14, ITF, “I” 2 of 5, I25) PresencePLUS Software Tools Date Format Industries 1972 linear 1975 linear 1976 linear NOT included: 2 of 5 Industrial OR 2 of 5 Matrix Code 39 (USD-3, 3 of 9,LOGMARS) includes: Code 39 extended EAN-13 (UPC-A) Notes Distribution industry, warehousing, product/container identification, general industrial, automotive Can be printed directly on corrugated cartons 10 characters (numeric only), optional check-sum, variable length, continuous,
PresencePLUS Software Tools Barcode Date 2/2010 Format Industries Notes Example symbol, this barcode is used on small items or crowded labels where space is at a premium. EAN-8 Code 128 (GS1-128, EAN-128, UCC-128, UCC/EAN-128) includes: Code 128/EAN 128 subsets A, B, & C Postnet includes: Delivery Point Barcode(DPBC) 198 1976 linear 1981 linear 1980 linear retail products worldwide (point-of-sale) 10 characters (numeric only), check-sum, continuous. A shortened version of EAN-13.
2/2010 Barcode Data Matrix (ECC 200) PresencePLUS Software Tools Date Format Industries 1990 2D PDF417 IMB 2006 Pharmacode Banner Engineering Corp. Notes Integrated circuit, printed circuit boards and automotive, aerospace, electronics,semiconductor and medical device industries. Stores up to 3116 numbers or 2335 ASCII characters. Banner supports only the latest version of this standard, ECC-200. (the older subset, including the ECC-000 to ECC-140 standards, will not be supported).
PresencePLUS Software Tools 2/2010 7.5.4 Bead Tool The Bead tool is used to inspect parts on which an application of adhesives or sealant material has been placed. In an industrial setting, this "bead" of material is commonly applied in a strip on a known path. The Bead tool can look at this pre-defined path and verify whether the adhesive or sealant has been correctly applied.
2/2010 PresencePLUS Software Tools Drawing a Connected Line ROI To begin defining the ROI: 1. Click on the Draw ROI button. 2. Click on the bead to mark a starting point. A small circle will mark this start point. As you move the mouse away from the start point, the software draws a dotted line following the mouse pointer. 3. Click on any part of the field of view, and a second point is drawn with a line connecting the two dots to define a line segment. 4. Add more segments as necessary.
PresencePLUS Software Tools 2/2010 • clicking on the Done button. • pressing the ESC button on the keyboard. 6. When you are done, the ROI will look something like what is shown below. Note: When drawing the connected line ROI, if the end point of one segment comes close the beginning of another segment, the tool will tend to automatically close the loop. Below the picture on the left shows the position just before the loop is closed, and the picture on the right shows the loop automatically closed.
2/2010 PresencePLUS Software Tools You can also change the ROI width: • By changing the value in the ROI Width field. • By clickin on the lines that define the ROI width, and dragging to modify the width. One-Shot Once an ROI has been defined and terminated, the software performs a one-shot analysis of the existing image.
PresencePLUS Software Tools 2/2010 Adaptive Select Adaptive when there are lighting changes that cause the acquired image to change. Adaptive thresholding is a technique that is used to adjust the threshold for the BLOB tool based upon lighting changes and image content within the ROI. It performs best if used with bi-modal images, which have a clear contrast in the ROI.
2/2010 PresencePLUS Software Tools Filters Samples Per Pixel Bead Width Ignore Boundary Pixels From the drop-down list select the pixels to sample: Every Pixel, Every 2nd Pixel or Every 4th Pixel. Change the value for Min and Max Bead Width by using the arrow keys in each field, or by typing the desired value. Check this box if you want the software to ignore boundary pixels. Boundary pixels are bead pixels that touch the ROI.
PresencePLUS Software Tools 2/2010 Result Example Value Threshold used 137 Minimum width found 8.20 (px) Maximum width found 19.91 (px) Average width found 12.58 (px) Number of good regions 8 Total length of good regions 175.00 (px) Longest good region length 53.00 (px) Number of narrow regions 5 Total length of narrow regions 72.00 (px) Longest narrow region length 20.00 (px) Number of wide regions 3 Total length of wide regions 87.00 (px) Longest wide region length 40.
2/2010 PresencePLUS Software Tools Supported Platforms ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes Yes Yes Yes Yes No No No OCR Tool Input Tab Decoded String Field Once the Sensor has been trained, the Decoded String field should show the characters the software detects in the image area. If the Sensor does not correctly identify all the characters in the string, you may need to do some additional training.
PresencePLUS Software Tools 2/2010 7.5.6 Trainer The Box Tab When you capture a reference image using the OCR or OCV tool, these tools use sophisticated pattern recognition algorithms to box what is estimated to be individual characters in a captured image. In the example below, the initial image capture finds all the individual characters except the 3 and the 4, which it has incorrectly boxed as a single character.
2/2010 PresencePLUS Software Tools • Thresholding Calibration on page 236 Training List You can add, load, or import images as a Training List to train character patterns into the Sensor. Button Description Use the right arrow to cycle down through a list of images, and use the left arrow to cycle up through the list. Click this button to add the currently displayed image to the Training List. Note: Use this button as Sensor images are being captured.
PresencePLUS Software Tools 2/2010 Image Control Parameters The Image Control parameters determine what image or images to use when fine-tuning how characters are boxed within the ROI. Parameters The following describe the image control parameters set in this group. Image Description Additional Information Reference Image Boxing is first done using the Reference Image captured with the OCR or OCV tool.
2/2010 PresencePLUS Software Tools Parameters The following are used to calibrate the ROI: ROI Control Description Additional Information Rotation Use the up or down arrow controls to rotate the ROI clockwise, or counterclockwise so that the ROI aligns with the character string image. Deslant Angle In order for the OCV/OCR Vision tool to box correctly, there must be a minimum of a 2 to 3 pixel-wide column between characters.
PresencePLUS Software Tools 2/2010 Character Settings Calibration The Character Settings calibration group on the OCR or OCV Trainer is used to define characteristics of the string images captured by the Vision Sensor. Standard Character Settings Enhanced Character Settings Parameters The following are parameters to used to calibrate character settings.
2/2010 Character Settings PresencePLUS Software Tools Description Additional Information software should ignore where one character box ends and where the next character box begins. Min Stroke Thickness Use the up and down arrow controls to specify the stroke thickness of the characters. This is used to eliminate spurious marks that might result in false-positive identification of characters.
PresencePLUS Software Tools 2/2010 Enhanced Description Character Settings Min Box Width Min Box Height Max Box Width Max Box Height 214 Additional Information These values determine the minimum width and height allowed for the boxing around a character. Typically, these values will be the width (and height) of the smallest valid character.
2/2010 PresencePLUS Software Tools Enhanced Description Character Settings Additional Information Box Width unless the Oversized characters has Discard selected, in which case, for example, a 5 pixel character will be ignored. Enable Adaptive Max Box Width If a box reaches the Max Box Width without finding a natural character ending, when Enable Adaptive Max Box Width is checked, the senor will adjust the right edge of the box to find a most likely endpoint for a character.
PresencePLUS Software Tools 2/2010 Note: Here "0" vertical gap really means "infinite" vertical gap (but bounded by the ROI); that is, all pixels in a vertical line can be considered part of the same character. Parameters The following are the parameters that you adjust to set Intra-Character Connectivty.
2/2010 PresencePLUS Software Tools Intra-Character Connectivity Description Additional Information number of pixel spaces that can exist between two vertical character strokes so that the image is boxed as a single character image. Thresholding Calibration The Thresholding calibration group includes options for adjusting the grayscale threshold level for the image. Parameters The following are the parameters that can be set for Thresholding.
PresencePLUS Software Tools 2/2010 Thresholding Type Description Additional Information Uniformly Changing If you select Uniformly Changing, then the grayscale contrast of the image changes along the read direction of the ROI in uniform increments (up or down) over the units indicated in the Box count field. The default box count is 16. Use the arrow controls to adjust as apppropriate. Note: The Box count integer is close to the number of characters in the image.
2/2010 PresencePLUS Software Tools The Train Tab The Train tab is where you train character patterns into the Font Library; that is, assign a character ID to each character pattern. As character patterns are trained into the Vision Sensor, the software will begin to recognize character patterns. Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Read Acceptance There are three levels of Read Acceptance, Loose (default), Medium, and Strict. Which you select will determine how forgiving the Sensor will be regarding character variability. In other words, the stricter you set Read Acceptance, the less forgiving the Sensor will be for variability, which might mean training more characters that will lead to a bigger library, and eventually some effect on performance.
2/2010 Button PresencePLUS Software Tools Description Use the right arrow to cycle down through a list of images, and use the left arrow to cycle up through the list. Click this button to add the currently displayed image to the Training List. Note: Use this button as Sensor images are being captured. Click this button to remove the currently selected image from the Training List. Click this button to import images from the player/recorder folder where bitmaps are saved.
PresencePLUS Software Tools 2/2010 Library Control Library Control lets you manage the entire library. You can export a libary, delete a libary, or import a library; that is, import all trained characters from another tool. Button Description Click this button to delete all the trained characters from the current library. Click this button to undo the last operation. 222 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Button Description Click this button to import a font library from another OCR or OCV tool. To be able to import the font library from another tool, you must first export the library from that tool and save the font library to a file. Then, you can import the font library into the current tool. Note: If a tool is copied, its font library is also copied. Click this button to export the current library so that it can be imported elsewhere.
PresencePLUS Software Tools 2/2010 Note: When the tool times out, it may have decoded part of the string before the time ran out. This partial decoding is reported back as the Decoded String. In OCV, whenever a timeout occurs, it is considered NO MATCH even if the returned Decoded String matched Expected String. 7.5.8 Optical Character Verification (OCV) Tool Optical character verification (OCV) is very similar to the OCR tool regarding decoding an image and building the Font Library.
2/2010 PresencePLUS Software Tools ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes Yes Yes Yes Yes No No No OCV Input Tab Should I Use OCR or OCV? Most applications should use OCR because it provides more information than simply a success/failure. However, there are times where you don't care about any additional information, but do require a bit better performance than OCR can provide.
PresencePLUS Software Tools 2/2010 Decoded String Field Once the Sensor has been trained, the Decoded String field should show the characters the software detects in the image area. If the Sensor does not correctly identify all the characters in the string, you may need to do some additional training. Note: The software ignores spaces. Note: For OCV, if the Decoded string does not match the Expected String, then the Decoded string will be displayed in red.
2/2010 PresencePLUS Software Tools 7.5.9 Trainer The Box Tab When you capture a reference image using the OCR or OCV tool, these tools use sophisticated pattern recognition algorithms to box what is estimated to be individual characters in a captured image. In the example below, the initial image capture finds all the individual characters except the 3 and the 4, which it has incorrectly boxed as a single character.
PresencePLUS Software Tools Button 2/2010 Description Use the right arrow to cycle down through a list of images, and use the left arrow to cycle up through the list. Click this button to add the currently displayed image to the Training List. Note: Use this button as Sensor images are being captured. Click this button to remove the currently selected image from the Training List. Click this button to import images from the player/recorder folder where bitmaps are saved.
2/2010 PresencePLUS Software Tools Parameters The following describe the image control parameters set in this group. Image Description Additional Information Reference Image Boxing is first done using the Reference Image captured with the OCR or OCV tool. Training List Create or use a Training List (or Play List) of images previously saved, or by adding images currently displayed in the Image window to get some variants of character patterns.
PresencePLUS Software Tools 2/2010 Parameters The following are used to calibrate the ROI: ROI Control Description Additional Information Rotation Use the up or down arrow controls to rotate the ROI clockwise, or counterclockwise so that the ROI aligns with the character string image. Deslant Angle In order for the OCV/OCR Vision tool to box correctly, there must be a minimum of a 2 to 3 pixel-wide column between characters.
2/2010 PresencePLUS Software Tools Character Settings Calibration The Character Settings calibration group on the OCR or OCV Trainer is used to define characteristics of the string images captured by the Vision Sensor. Standard Character Settings Enhanced Character Settings Parameters The following are parameters to used to calibrate character settings.
PresencePLUS Software Tools Character Settings 2/2010 Description Additional Information software should ignore where one character box ends and where the next character box begins. Min Stroke Thickness Use the up and down arrow controls to specify the stroke thickness of the characters. This is used to eliminate spurious marks that might result in false-positive identification of characters.
2/2010 PresencePLUS Software Tools Enhanced Description Character Settings Min Box Width Min Box Height Max Box Width Max Box Height Additional Information These values determine the minimum width and height allowed for the boxing around a character. Typically, these values will be the width (and height) of the smallest valid character.
PresencePLUS Software Tools 2/2010 Enhanced Description Character Settings Additional Information Box Width unless the Oversized characters has Discard selected, in which case, for example, a 5 pixel character will be ignored. Enable Adaptive Max Box Width If a box reaches the Max Box Width without finding a natural character ending, when Enable Adaptive Max Box Width is checked, the senor will adjust the right edge of the box to find a most likely endpoint for a character.
2/2010 PresencePLUS Software Tools Note: Here "0" vertical gap really means "infinite" vertical gap (but bounded by the ROI); that is, all pixels in a vertical line can be considered part of the same character. Parameters The following are the parameters that you adjust to set Intra-Character Connectivty.
PresencePLUS Software Tools 2/2010 Intra-Character Connectivity Description Additional Information number of pixel spaces that can exist between two vertical character strokes so that the image is boxed as a single character image. Thresholding Calibration The Thresholding calibration group includes options for adjusting the grayscale threshold level for the image. Parameters The following are the parameters that can be set for Thresholding.
2/2010 PresencePLUS Software Tools Thresholding Type Description Additional Information Uniformly Changing If you select Uniformly Changing, then the grayscale contrast of the image changes along the read direction of the ROI in uniform increments (up or down) over the units indicated in the Box count field. The default box count is 16. Use the arrow controls to adjust as apppropriate. Note: The Box count integer is close to the number of characters in the image.
PresencePLUS Software Tools 2/2010 The Train Tab The Train tab is where you train character patterns into the Font Library; that is, assign a character ID to each character pattern. As character patterns are trained into the Vision Sensor, the software will begin to recognize character patterns. 238 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Read Acceptance There are three levels of Read Acceptance, Loose (default), Medium, and Strict. Which you select will determine how forgiving the Sensor will be regarding character variability. In other words, the stricter you set Read Acceptance, the less forgiving the Sensor will be for variability, which might mean training more characters that will lead to a bigger library, and eventually some effect on performance.
PresencePLUS Software Tools Button 2/2010 Description Use the right arrow to cycle down through a list of images, and use the left arrow to cycle up through the list. Click this button to add the currently displayed image to the Training List. Note: Use this button as Sensor images are being captured. Click this button to remove the currently selected image from the Training List. Click this button to import images from the player/recorder folder where bitmaps are saved.
2/2010 PresencePLUS Software Tools Library Control Library Control lets you manage the entire library. You can export a libary, delete a libary, or import a library; that is, import all trained characters from another tool. Button Description Click this button to delete all the trained characters from the current library. Click this button to undo the last operation. Banner Engineering Corp.
PresencePLUS Software Tools Button 2/2010 Description Click this button to import a font library from another OCR or OCV tool. To be able to import the font library from another tool, you must first export the library from that tool and save the font library to a file. Then, you can import the font library into the current tool. Note: If a tool is copied, its font library is also copied. Click this button to export the current library so that it can be imported elsewhere.
2/2010 PresencePLUS Software Tools Note: When the tool times out, it may have decoded part of the string before the time ran out. This partial decoding is reported back as the Decoded String. In OCV, whenever a timeout occurs, it is considered NO MATCH even if the returned Decoded String matched Expected String. 7.5.11 OCV Tool and the Remote Command Channel Commands Syntax Description set ocvtool tool_name|tool_number exp_string value Sets the expected string, if it is a constant.
PresencePLUS Software Tools 2/2010 set ocvtool 2 "foobar" Get Command Example To get the constant of the second ocvtool, issue the following command: get ocvtool my_ocv_tool_2 or get ocvtool 2 7.6 Analysis Tools Analysis tools analyze the information gathered with the Vision tools to create measurements and tolerances for the Vision tools. Analysis Tools Location Tools ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO BCR/BCR 1.3 1.3 1.3 1.
2/2010 PresencePLUS Software Tools The following are fields on the Communication tool Input tab: • Select on page 246 • Connections on page 246 • Format on page 247 • Output Filter on page 247 • Guidelines for Configuring the Communication Tool on page 247 Supported Platforms ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.
PresencePLUS Software Tools 2/2010 • In the sequence that the tools are selected within the Communication tool. • In the sequence that the options are listed within the tools for export One inspection can have more than one Communication tool. Use one Communication tool to: • Export data out of one port (serial or Ethernet). • Export identical data out of multiple ports at the same time. Use multiple Communication tools to: • Separate the data and export separate segments to unique external devices.
2/2010 PresencePLUS Software Tools Format This field provides options for formatting the ASCII string of data that will be exported. Output Filter This field provides a means to make specific output selections in order to avoid unwanted output information. Guidelines for Configuring the Communication Tool There are four main steps in configuring the Communication tool: 1. Select the Vision tools and their results to export (in the Select field).
PresencePLUS Software Tools 2/2010 Socket Default IP Address Port 8 192.168.0.1 20,007 9 192.168.0.1 20,008 10 192.168.0.1 20,009 • The serial port is the RS-232 connector (Pins 1, 9, and 10) on the Sensor. The deafult settings for the serial port are listed below. Attribute Default Setting Baud Rate 115200 Data Bits 8 Parity None Stop Bit 1 Flow Control None 3. Format the ASCII string of data (in the Format field). • Choose a Delimiter and Start and End strings.
2/2010 PresencePLUS Software Tools Option Name Values Description End String User-defined ASCII characters (limit This option is a mechanism for of 75 characters) adding characters after a string of data. Note: ASCII Hex characters are allowed. Special symbols such as \r, \n, and \t will cause a carriage return, new line, and tab to be output repsectively. Enable Labels Parameter labels Check this box to add a label to the data before the data itself.
PresencePLUS Software Tools 2/2010 • Communication Tool Exportable Results: Pattern Count Tool on page 253 Color Tools • Communication Tool Exportable Results: Average Color Tool on page 254 • Communication Tool Exportable Results: Color Blob Tool on page 254 • Communication Tool Exportable Results: Color Match Tool on page 254 Premium Tools • Communication Tool Exportable Results: Barcode Tool on page 255 • Communication Tool Exportable Results: Bead Tool on page 255 • Communication Tool Exportable Resul
2/2010 PresencePLUS Software Tools Data Label Value Description Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power-up. Rotation Origin pixels (X, Y) X, Y coordinates of the point from ROIs will rotate. Best Match Rotation degrees Rotational value of the first pattern found. Best Match Location Point pixels (X, Y) X, Y coordinates of the first pattern found. Best Match % 20-100% Percent match of the first patttern found.
PresencePLUS Software Tools 2/2010 Data Label Value Description Largest Location pixels (X, Y) Centroid of the largest Blob. Smallest Blob Area pixels Number of pixels in the smallest Blob. Smallest Location pixels (X, Y) Centroid of the smallest Blob. Communication Tool Exportable Results: Edge Tool Data Label Value Description Tool Name string User-defined name Execution Time ms Tool processing time for the current inspection.
2/2010 PresencePLUS Software Tools Communication Tool Exportable Results: Object Tool Data Label Value Description Tool Name string User-defined name Execution Time ms Tool processing time for the current inspection. Execution Time Min ms Fastest recorded tool processing time since the start of the inspection or since power-up. Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power-up.
PresencePLUS Software Tools 2/2010 Communication Tool Exportable Results: Average Color Tool Data Label Value Description Tool Name string User-defined name Success 1 or 0 1 = Tool executed successfully 0 = Tool did not find a point to use as a reference Execution Time ms Tool processing time for the current inspection. Execution Time Min ms Fastest recorded tool processing time since the start of the inspection or since power-up.
2/2010 PresencePLUS Software Tools Data Label Value Description Success 1 or 0 1 = Tool executed successfully 0 = Tool did not find a point to use as a reference Execution Time ms Tool processing time for the current inspection. Execution Time Min ms Fastest recorded tool processing time since the start of the inspection or since power-up. Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power-up.
PresencePLUS Software Tools 2/2010 Data Label Value Description Success 1 or 0 1 = Tool overall results passed. 2 = Tool overall results failed. Execution Time ms Tool processing time for the current inspection. Execution Time Min ms Fastest recorded tool processing time since the start of the inspection or since power-up. Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power-up.
2/2010 PresencePLUS Software Tools Communication Tool Exportable Results: OCV Tool Data Label Value Description Tool Name string User-defined name Success 1 or 0 1 = Tool overall results passed. 2 = Tool overall results failed. Execution Time ms Tool processing time for the current inspection. Execution Time Min ms Fastest recorded tool processing time since the start of the inspection or since power-up.
PresencePLUS Software Tools 2/2010 Data Label Value Description Distance X pixels Horizontal component (X) of the total distance. Distance Y pixels Vertical component (Y) of the total distance. Origin Point pixels (X, Y) X, Y coordinates of the origin point. Measure Location Point pixels (X,Y) X,Y coordinates of the point selected for Tool One. 1 Measure Location Point pixels (X,Y) X,Y coordinates of the point selected for Tool Two.
2/2010 PresencePLUS Software Tools Data Label Value Description Input2 1, 0, or -1 1 = Input 2 results passed. 0 = Input 2 results failed. -1 = Input2 results not defined. Input3 1, 0, or -1 1 = Input 3 results passed. 0 = Input 3 results failed. -1 = Input3 results not defined. Input4 1, 0, or -1 1 = Input 4 results passed. 0 = Input 4 results failed. -1 = Input4 results not defined. Output 1 or 0 1 = Tool overall results passed. 0 = Tool overall results failed. 7.6.
PresencePLUS Software Tools 2/2010 ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes Yes No Yes Yes No No No Coordinate Tool Input Tab Coordinate Tool Inputs Tool List Filter The Tool List Filter helps to limit the input data available for x,y coordinates and angle data.
2/2010 PresencePLUS Software Tools X - Coordinate From the drop-down list of available tools that provide x and y coordinate data, select a tool or, to enter a constant value, select CONSTANT. Select x or y coordinate information for that tool. Y - Coordinate From the drop-down list of available tools that provide x and y coordinate data, select a tool or, to enter a constant value, select CONSTANT. Select x or y coordinate information for that tool. Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Rotation (Degrees) From the drop-down list of available tools that provide angle data, select a tool or, to enter a constant value, select CONSTANT. Result Coordinate Tool and the Remote Command Channel (RCC) The Coordinate tool can be used with the PresencePLUS RCC to interface with industrial robots.
2/2010 PresencePLUS Software Tools 7.6.3 Math Tool The Math tool provides basic arithmetic, inequality expressions, and statistical information for PresencePLUS inspections. In general, the Math tool takes one or more pieces of information from Vision tools and makes mathematical espressions out of them. The results of the Math tool's analysis are displayed in the Result windows at the bottom of the screen. The inputs to the Math tool are called Operands.
PresencePLUS Software Tools 2/2010 Math Tool Modes One Operand Operation There is only a one operation that requires a single Operand--Absolute Value. This Operator requires the user to provide only one Operand. One Operand Functions abs Abs (Absolute value) returns Abs(X1). The absolute value of an operand is its unsigned magnitude. For example, Abs(-1.5) and Abs(1.5) both return 1.5 Two Operand Operations Two Operand Operations require two inputs (Operand 1 and Operand 2).
2/2010 PresencePLUS Software Tools • a specific attribute of interest for that tool. The following are classified as Two Operand Operations: • Add • Subtract • Multiply • Divide • Greater Than • Greater Than Equal To • Less Than • Less Than Equal To • Equal To • Diff • Mod • Div Arithmetic Operations Add Returns (X1 + X2) Subtract Returns (X1 - X2 ) Multiply Returns (X1 * X2) Divide Returns (X1 / X2) Relational Operations Greater Than If (X1 > X2) returns True, else False.
PresencePLUS Software Tools 2/2010 If the output of relational operation is used as an input for another Math Tool, True interpreted as 1 and False interpreted as 0. Two Operand Functions Diff (Difference) Returns Abs(X1 - X2). Returns the difference - absolute value of the difference between two operands. Mod (Modulus) Returns Mod(X1 / X2). The modulus, or remainder, operator divides operand1 by operand2 and returns the remainder. Div (Integer Division) Returns Div(X1 ÷ X2).
2/2010 PresencePLUS Software Tools Math tool outputs can be sent out via a Communications tool and/or used as an input to a Test tool (or another Math tool). Multiple Operand Functions Min (Minimum) Returns Min (X1, X2, ..., Xn). Returns the operand with the lowest value. Max (Maximum) Returns Max (X1, X2, ..., Xn). Returns the operand with the highest value. Count Returns Count (X1, X2, ..., Xn). Returns the count of operands. Sum Returns Sum (X1, X2, ..., Xn).
PresencePLUS Software Tools 2/2010 Examples Set Command Example Assuming that you have two Math tools, my_math_tool_1 and my_math_tool_2, each with their first operand configured as a constant. To set the constant of the second mathtool to 100.5, issue the following command: set mathtool my_math_tool_2 operand_1 100.5 or set mathtool 2 operand_1 100.
2/2010 PresencePLUS Software Tools Measure Tool Input Tab Measure Tool Operations Measure from a Point to a Point In this operation, the distance between two points is calculated. In addition, the X and Y components of that distance calculation are returned.
PresencePLUS Software Tools 2/2010 Measure from a Line to a Point In this operation, the software calculates the distance between a line and a point. This is the shortest distance from the line to the point, and is generated by creating a line perpendicular to the original line that intersects the point. In addition, it returns the distance calculations for the X and Y component.
2/2010 PresencePLUS Software Tools The curve, drawn in purple over the image of the bead, is an artifact generated by the bead tool. It shows the computed center spine of the bead detected by the Bead Tool within its ROI. The tool returns the distance calculations for the X and Y component.
PresencePLUS Software Tools 2/2010 The curve, drawn in purple over the image of the bead, is an artifact generated by the bead tool. It shows the computed center spine of the bead detected by the Bead Tool within its ROI. 272 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools The tool returns the distance calculations for the X and Y component.
PresencePLUS Software Tools 2/2010 • When defining the angle between two lines, the Measure tool takes into account the order of the tool inputs. The sign of the angle from Line 1 to Line 2, for example, differs from the sign of the angle from Line 2 to Line 1. The tool detects the intersection point of two lines.
2/2010 PresencePLUS Software Tools The two shorter dashed lines represent the x- and y-components. The angle between MT_1 and the horizontal plane is the curved clockwise arrow. In the Results section of the Measure Tool window, this angle is listed as +53.11 degrees. How the Tool Measures Two Lines This mode finds the angle between two lines. Both inputs are existing Measure tools. The order in which these tools are input does matter. The intersection point can well be off the screen.
PresencePLUS Software Tools 2/2010 The Measure tool window to the left shows the settings and results of the inspection to the right. The inputs are both existing Measure tools (MT_1 and MT_2). The output, called MT_3, is the angle between the lines of each of the inputs. MT_3 is a curved counterclockwise arrow from the first input, MT_1, towards the arrowhead of the second input, MT_2. The Results section of the measure Tool window lists this angle a -90.00 degrees.
2/2010 PresencePLUS Software Tools The Measure tool window to the left shows the settings and results of the inspection to the right. In the Inspection image, the center point of BLOB_1 and the nearest point in the input line MT_1 define the dashed red line that runs from bottom left to top right. The actual measured distance between BLOB_1 and MT_1 is labeled MT_2. The solid red triangle shows where MT_1 and MT_2 intersect.
PresencePLUS Software Tools 2/2010 Relative For the Measurement type to be set to Relative, a Location-type tool must precede the Measure tool in the order of operation. When the user selects the Relative type, the window indicates to what Locate tool the measurement is relative. The coordinate system of the Measure tool changes based on the rotation information the Location-type tool provides.
2/2010 PresencePLUS Software Tools Preserve Sign When this checkmark is set, the X and Y distances are computed as distance offsets. These distance offsets are represented by signed numbers. Negative numbers mean distance offset is toward the origin (0,0), positive numbers mean distance offset is away from origin. Additional Measure Tool Tabs Measure Tool Locate Tab Use the drop-down list to select either to Measure From the Reference Point or the Current Point.
PresencePLUS Software Tools 2/2010 Measure Tool Geometric Find/Count Tab On the Geometric Find tab, use the drop-down list to select either to Measure From the Reference Point or the Current Point. On the Geometric Count tab, use the up or down arrow keys to select the Barcode to measure to. ClickMeasure Tool on page 268 for more information about the Measure tool. Geometric Find and Geometric Count Tabs 280 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Geometric Count Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Measure Tool Pattern Find/Count Tab On the Pattern Find tab, use the drop-down list to select either to Measure From the Reference Point or the Current Point. The Pattern Count tab shows the location of the Pattern Location used in the measurement. ClickMeasure Tool on page 268 for more information about the Measure tool. Pattern Find and Pattern Count Tabs 282 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Pattern Count Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Measure Tool Blob and Color Blob Tab From the dropdown list select the Blob #, Smallest or Largest Blob to measure to. ClickMeasure Tool on page 268 for more information about the Measure tool. Blob or Color Blob Tab 284 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Measure Tool Circle Tab The Circle tab for the selected Circle tool displays the coordinates of the circle center. ClickMeasure Tool on page 268 for more information about the Measure tool. Circle Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Measure Tool Edge Tab Use the up or down arrow keys to select the Edge Number to measure to. ClickMeasure Tool on page 268 for more information about the Measure tool. Edge Tab 286 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Measure Tool Line Tab From the drop-down list, select one of the following to display the coordinates of the specific location: • Midpoint • Start Point • End Point ClickMeasure Tool on page 268 for more information about the Measure tool. Line Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Measure Tool Object Tab Use the up and down arrow keys to select the Object Number to use as a point to measure to. ClickMeasure Tool on page 268 for more information about the Measure tool. Object Tab 288 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Measure Tool Barcode Tab Use the up or down arrow keys to select the Barcode to measure to. ClickMeasure Tool on page 268 for more information about the Measure tool. Barcode Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 7.6.5 String Tool String tool can be used to compare barcode and/or OCR strings with one and other, with Industrial protocol inputs, or with constants. Fields The following are fields on the String tool Input tab: • Operation Field on page 291 • Operand 1 Field on page 292 • Operand 2 Field on page 292 • Result Field on page 293 Supported Platforms ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.
2/2010 PresencePLUS Software Tools String Tool Input Tab Operation Field There are three options you can select form the Operation drop-down list on the String tool Input tab: • String Compare • Masked String Compare • Find Substring Operation Option Description String Compare Select String Compare from the drop-down list to compare the strings that you select in the Operand 1 Field on page 292and Operand 2 Field on page 292 fields. Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Operation Option Description Masked String Compare If you select Masked String Compare, then the string defined in Operand 2 Field on page 292 must be a contstant defined in the field or retrieved from Industrial Ethernet. Find Substring If you select Find Substring from the drop-down list, then the String tool will determine if the string specified in Operand 1 Field on page 292 is in the string defined in Operand 2 Field on page 292.
2/2010 PresencePLUS Software Tools Result Field The Result field indicates whether or not the strings specified in Operand 1 and Operand 2 match. Advanced Tab Fields The following are fields on the String tool Advanced tab: • Options on page 294 The String tool Advanced tab provides the opportunity to refine the string matching characteristics; specifically, it provides the opportunity to ignore things like case, special characters, whitespace and the like. Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Options The Options on the Advanced tab provide for more fine-grained tuning of string matching parameters. You can select any or all of the options. Option Description Ignore Case Match the same letters that are only different in their case. Ignore Special Ignore special characters. 294 Match Results Minneapolis, MN USA Banner Engineering Corp.
2/2010 Option PresencePLUS Software Tools Description Match Results Ignore Whitespace Ignore whitespace. Ignore Numbers Ignore any numbers Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Option Description Ignore Alphabets Ignore any alphabetic characters 296 Match Results Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools String Tool and the Remote Command Channel (RCC) Syntax Description set stringtool tool_name|tool_number operand_1|operand_2 value Sets the specified tool operand, if it is a constant. Value should be a quoted string (see Character Strings on page 327). get stringtool tool_name|tool_number operand_1|operand_2 Gets the value of the specified tool operand, if it is a constant.
PresencePLUS Software Tools 2/2010 • Enabling Remote Teach on page 299 • Pass/Fail Contribution on page 299 • Tool Tabs in the Test Tool Window on page 300 Supported Platforms ProII Color ProII/ProII OMNI 1.3 Color OMNI/OMNI AREA/AREA1.3 EDGE/EDGE GEO/GEO 1.3 1.3 1.3 BCR/BCR 1.3 Yes Yes Yes Yes Yes Yes Yes Yes Test Tool Input Tab Logic Use logic to combine multiple inputs to the Test tool.
2/2010 PresencePLUS Software Tools Inputs Choose previous tools or external inputs that need to be evaluated to pass the Test tool. When a tool is chosen, another tab pops up in the Test tool window. Note: The tool to be evaluated must appear before the Test tool in the Navigation window. Select Invert to invert the individual input. If the input is True, Invert reverses it to False. If the input is False, Invert reverses it to True.
PresencePLUS Software Tools 2/2010 Tool Tabs in the Test Tool Window For each tool selected in the Input tab as Input 1, 2, 3, or 4, the software displays a tab.
2/2010 PresencePLUS Software Tools Tool Values Options Geometric Count Match count Min/Max Measure Distance Min/Max/Tolerance % * Distance X Distance Y Test True/False value Pass/Fail Contribution Communication Success/Fail Pass/Fail Discrete Inputs 1-6 ON/OFF System Error True/Fale Test Tool Average Gray Scale Tab Tool Options Values Options Gray Scale Min/Max/Tolerance % * Deviation Min/Max /Tolerance % Test Tool Average Gray Scale Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Test Tool Blob and Color Blob Tab Indicates if the result is a MATCH or NO MATCH. Test Tool Color Blob Tab 302 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Test Tool Circle Tab Values Options Radius Min/Max/Tolerance % Radius Min Min/Max/Tolerance % Radius Max Min/Max/Tolerance % Circumference Min/Max/Tolerance % Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Values Options Average Error Min/Max/Tolerance % Test Tool Circle Tab Test Tool Edge Tab Values Options Bright to Dark Min/Max Dark to Bright Min/Max Total Min/Max Test Tool Edge Tab 304 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Test Tool Geometric Count Tab Values Options Count Min/Max Test Tool Geometric Count Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Test Tool Line Tab Values Options Line Length Min/Max/Tolerance % Angle (Degrees) Min/Max/Tolerance % Worst Distance Min/Max/Tolerance % Average Error Min/Max/Tolerance % 306 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Test Tool Line Tab Test Tool Pattern Count Tab Test Values Options Match Count Count Min/Max Test Tool Pattern Count Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Test Tool Object Tab Test Values Options Count Bright Object Min/Max Dark Object Min/Max Totabl Object Min/Max Select Object All Width (px) Object # Min/Max/Tolerance % Test Tool Object Tab 308 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Test Tool Average Color Tab Category Values Options Averages Hue Begin/End/Tolerance % Saturation Min/Max /Tolerance % Intensity Min/Max /Tolerance % Hue Min/Max /Tolerance % Standard Deviations Banner Engineering Corp.
PresencePLUS Software Tools Category 2/2010 Values Options Saturation Min/Max /Tolerance % Intensity Min/Max /Tolerance % Test Tool Average Color Tab 310 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Test Tool Color Match Tab Indicates whether there is a color MATCH or NO MATCH. Test Tool Color Match Tab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Test Tool OCR Tab Test Values Options String Length Count Min/Max Data Read String Test Tool OCR Tab Test Tool OCV Tab Indicates where the String matches or not. Test Tool OCV Tab 312 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Test Tool Math Tab Indicates where the String matches or not. Test Tool MathTab Banner Engineering Corp.
PresencePLUS Software Tools 2/2010 Test Tool Measure Tab Indicates where the String matches or not. Test Tool Measure Tab 314 Minneapolis, MN USA Banner Engineering Corp.
2/2010 PresencePLUS Software Tools Test Tool Test Tab Indicates whether the test Test Tool TestTab Banner Engineering Corp.
Communication Tool Setup Chapter 8 To set up the Communication tool, click on the System button in the Main Menu toolbar to bring up the System Setup window, then click on the Communication tab. 8.1 Ethernet Connection In order to establish an Ethernet connection , the external device must be directed to the correct IP address and the correct TCP port. In TCP/IP protocol, a TCP port number is used with the IP address to identify a specific path or socket.
Communication Tool Setup 2/2010 Note: The following addresses are defaults. Socket Default IP Address Port 1 192.168.0.1 20000 2 192.168.0.1 20001 3 192.168.0.1 20002 4 192.168.0.1 20003 5 192.168.0.1 20004 6 192.168.0.1 20005 7 192.168.0.1 20006 8 192.168.0.1 20007 9 192.168.0.1 20008 10 192.168.0.1 20009 8.2 Serial Connection The sensor has a single serial connection that you can configure, Serial 1: • Serial 1 is the DB-9 connector.
2/2010 Communication Tool Setup Note: Because there is no flow control for the serial connections, the sensor wil not detect or log a lost or broken connection 8.3 Overview of Testing the Communication Tool 1. 2. 3. 4. 5. Connect the Sensor to a PC using a crossover Ethernet cable (STPX. ) or the serial pins on the Sensor cable. Start an inspection that has a configured Communication tool. For details about configuring the Communication. Start HyperTerminal or Telnet. Trigger the Sensor.
Communication Tool Setup 1. 2. 3. 4. 2/2010 Start an inspection that has a configured Communication tool. Connect a PC to the controller using an Ethernet crossover cable. From the Start menu, click Start > Run. In the dialog box, type: telnet controller_ip_address ip_port Example: telnet 192.168.0.22 20000 5. Click OK to open a Telnet window. 6. Trigger the sensor. 7. View the results. To test Ethernet communications with HyperTerminal: 1. 2. 3. 4. 5.
2/2010 Communication Tool Setup 3. Check the receiving device setup. • Check the IP address. The device IP subnet must match the sensor IP subnet. • Check the Port number: 20000 - 20009 (not 2000). • Check all firewall and anti-virus software to verify that it is not blocking the sensor's Ethernet socket. 8.6 Troubleshooting Serial Connections 1. Verify the hardware. • Check for breaks in the serial cable. • Use a straight serial cable from the sensor to the PC. 2.
Communication Tool Setup 2/2010 System Object, Component, or Activity Object or Activity Identifier Support Actions Required Qualifiers Product Change PRODCHANGE EXEC Optional Qualifiers Comments Numeric Inspection Timeout (msec) ID or By default, a 30 second timeout is used. NOWAIT Counter or Flag Reset RESET EXEC SYSERRFLG None Reset either the System Error Flag, Pass and Fail counters, or Missing Trigger count.
2/2010 System Object, Component, or Activity Communication Tool Setup Object or Activity Identifier Support Actions Required Qualifiers Optional Qualifiers Comments GET None CommTool Numberor CommTool Name Retrieve comm tool results, either by specifying its sequential number in the inspection (1,2,..,n) or by specifying its name. By default, data for the first comm tool will be retrieved.
Communication Tool Setup 2/2010 System Object, Component, or Activity Object or Activity Identifier Support Actions Required Qualifiers Optional Qualifiers Comments Frame Number Tag FRAMETAG SET ENABLE None Enables frame number as command acceptance indicator Frame Number Tag FRAMETAG SET DISABLE None Disables frame number as command acceptance indicator Frame Number Tag FRAMETAG GET None None Retrieve the status of the frame tag indicator 8.7.
2/2010 Communication Tool Setup • -600 – Product change timeout occurred • -601 – Trigger timeout occurred • -700 – Specified value is out of range • -701 – Set Gain command attempted when the GUI is connected and the inspection is not executing • -702 – Set Exposure command attempted when the GUI is connected and the inspection is not executing • -800 – Product Change, Trigger or Get Commtool command attempted when either Product Change or Trigger Command timeout occurred, but the operation has not yet c
Communication Tool Setup 2/2010 When blocking commands, such as EXEC TRIGGER and EXEC PRODCHANGE, are invoked with the NOWAIT option, GET commands that retrieve flags and status are accepted for processing. All other commands are rejected with an appropriate error code. 8.7.5 RCC Log RCC Log allows users to monitor and troubleshoot communication inputs and outputs. Log consists of a circular buffer with up to 400 entries.
2/2010 Communication Tool Setup • for no delimiter • , for comma • ; for semi-colon • : for colon • for space • \t for tab In addition to the above field delimiters, you can enter other delimiter types keeping in mind the following: • ASCII hex format can be used as a delimiter • a NULL character can be used as a delimiter (specified in ASCII hex format) • Field delimiters can be multi-character sequences up to 10 characters long Character Strings Communications Tool configured for Barcode o
Communication Tool Setup 328 2/2010 Minneapolis, MN USA Banner Engineering Corp.
Teach Chapter 9 The inspection parameters can be taught automatically by using the Teach function. There are two Teach options: Quick Teach and Teach. The Quick Teach button is in the Tools window, and the Teach button is in the Main Menu toolbar. 9.1 Quick Teach Use Quick Teach to set the Pass/Fail parameters based on the reference image. This is a fast way to start inspecting products with minimal effort. This method works best when the reference image is a good representation of all the parts.
Teach 2/2010 Note: Before entering the Run screen, a pop-up prompts the user to save the inspection. Save the inspection to one of the memory locations on the Sensor. As an alternative to teaching, enter judgment tolerances in the Results tab in the Test tool, and run the inspection without teaching. 9.3.1 Teaching an Inspection Teaching on a number of known good samples finds acceptable variations and automatically sets the judgment tolerances to accommodate the full range of acceptable results.
2/2010 Teach Screen Field/Button Teach Description stop the Teach process, and the Start/Stop button will return to displaying Start. The Sensor must receive an external trigger (pin 3) to accept a sample. Determines when information is updated on the PC. • Next Pass: Display the next passing inspection. • Next Fail: Display the next failed inspection. • Next: Display the next available inspection. • None: Do not display inspections. Capture Control determines how often information is updated on the PC.
Teach 2/2010 9.4 Remote Teach This section explains teaching inspections on good product using Remote Teach. 9.4.1 Understanding Remote Teach The Remote Teach function is a method of remotely updating inspection parameters in Run mode. Vision tool(s) and Test tool(s) can each be selected to be taught. To remotely teach an inspection, the Remote Teach function must be enabled on each tool to be taught. Note: The Location tools, the Measure tool, and the Communication tool are not affected by Remote Teach.
2/2010 Teach To record the remotely taught inspection, the logging function must be used. 9.4.4 Remote Teach Results Remote Teach will indicate normal Pass/Fail results. To clarify normal results, the rules are as follows: • If Location tools were used in the inspection, then they must perform correctly; that is, the Locate tool must find an edge, and the Vision tool(s) must find a pattern. If they do not perform correctly, the Remote Teach will fail, andthe inspection will indicate Fail.
Teach 334 2/2010 Minneapolis, MN USA Banner Engineering Corp.
Run Screen Chapter 10 Use the Run screen to start, stop, monitor, and log an inspection. To display the Monitor tab on the Run screen, click Run in the Main Menu toolbar. The Monitor tab is the default tab in the window. To exit the Run screen, verify that Run is stopped, and click another destination on the Main Menu toolbar.
Run Screen 2/2010 10.1 Selected Inspection Displays the filename of the selected inspection. The default is the last saved inspection. 10.2 Display Display Option Description Next Pass Display next passed inspection. Next Fail Display next failed inspection. Next RT Display next remotely taught inspection. Next FT Fail Display next failed, remotely taught inspection. Next Display all inspections.
2/2010 Capture Control Option Run Screen Description Note: Capturing images slows sensor response. For highspeed applications where the PC remains connected to the sensor, you should uncheck Image Enable unless absolutely necessary. 10.4 Results Results Field Description Pass Count Number of passed inspections. Fail Count Number of failed inspections. Total Count Total number of inspections. Reset Button Clears teh counts for the selected inspection.
Run Screen 2/2010 Each numbered circle represents an output and its current state. The legend below applies to the colored circles in the outputs: • Gray = Inactive (not currently available) • Red = Active (not currently available) • Not Visible = Not selected as input/output 10.7 Product Select Displays the last latched Product Select (binary encoded).
2/2010 Run Screen Failed Image Hold Enter the number of seconds failed images should be displayed on the optional NTSC video monitor. The default is 1 second. Trigger Delay Adjust Enter the number of milliseconds to delay the camera before it takes a picture after the sensor receives a valid trigger. The default is 0 milliseconds. Note: Using the Trigger Delay when a part is triggered too early may be easier than moving the sensor. Select Tab 10.
Run Screen 2/2010 • Any-Logs both passed and failed inspections based on Strategy. • None-Log not updated. Strategy • Last Ten-Stores the previous 10 inspections that meet the Mode criteria (this is the default). • First Ten-Stores the first 10 inspections that meet the Mode criteria. • First and Last Five-Stores the first 5 and last 5 inspections that meet the Mode criteria. Camera Shows the number of stored inspections currently in the camera's memory.
2/2010 Run Screen 10.12 Run Results In the Run screen, the Results/Navigation window at the bottom of the display defaults to the Results window shown below. The Results window provides information about the last displayed inspection. Each tool in the list can be expanded to show its results. Each result shown indicates the tolerance assigned to the parameter and its current value.
Run Screen 2/2010 • If the current value falls outside the Test tool’s set tolerance or if the tool failed to execute properly, then a red failed symbol is shown beside that parameter. Name Level Parent Level Description Current Inspection First None Name of currently running inspection.
2/2010 Name Run Screen Level Parent Level Description • Total inspection time minimum (ms): minimum inspection time recorded (resolution = 0.1 ms) • Total inspection time maximum (ms): maximum inspection time recorded (resolution = 0.1 ms) • Total inspection time (ms)*: inspection time from trigger until the end of processing time for last inspection (resolution = 0.
Run Screen 344 2/2010 Minneapolis, MN USA Banner Engineering Corp.
2/2010 Run Screen Record Tab 10.13.1 Record The Record tab is present on the Run screen when the vision sensor is running on live images (that is, the Start button has been pressed). Banner Engineering Corp.
Run Screen 2/2010 There are three steps to recording bitmap images using this feature: 1. Choose a Record Path. At the top of the tab, at the end of the line labeled Record Path, click the button. This will open up the Record to… window allowing you to browse for the folder where you want the images to be saved. 2. Choose a Record Mode. Right beneath the Record Path selection is the Record Mode drop down menu. This is where the user selects the conditions (if any) for saving images.
2/2010 Run Screen 10.13.2 Playback The Playback feature is available whenever the vision sensor is in Run mode but the Start button has not been pushed. To enter Playback mode on a currently running sensor, hit the Stop button. Clicking on the Playback tab will bring up the screen shown below left. This screen is almost exactly the same as the Record screen shown earlier: the only differences are the title of the tab and the fact that the Record button is inactive.
1. Load INP file. In Playback mode the vision sensor will be running off of stored images. These images will need to be evaluated in some way, using vision tools, etc. To begin the Playback process, load an INP file as if you are going to run the inspection on live images. When you get to the Run screen, however, hit Playback instead of Start. 2. Make a Playback List. At the bottom of the Playback screen is a box entitled Playback List.
Product Change Chapter 11 This section explains the Product Change (pin 3) input. The Product Change input is used in conjunction with one of the four I/O points programmed as Product Select lines. The inspection loaded will be executed following a valid trigger. • The Product Change input responds to the leading edge transition of a pulse greater than 1 millisecond. • The Product Select input is pulsed to correspond to a program location. For example, five pulses will load program #5. 11.
11.2 Product Select Input Specifications State Current Sinking (NPN) Current Sourcing (PNP) ON < 2V at 1 mA max. > 8V at -7.5 mA max. OFF > 10V at 4 mA max. < 2V at -7.5 mA max.
P4 Product Change and Product Select12 Chapter Timing 12.1 One Pulse Set Overview The Product Change line signals the Sensor to stop what it is doing and begin counting pulses on the Product Select line. The number of pulses indicates to the Sensor the inspection address at which to begin executing the inspection. The only pulses counted are those that occur when the Product Change input is active.
P4 Product Change and Product Select Timing 2/2010 12.1.1 Product Select in One-Pulse Configuration To use the product select option in the one-pulse configuration, follow these steps. 1. 2. 3. 4. Select Hardware Input in the Select tab of the Run Screen. Configure an I/O for Product Change in the System-Input/Output screen. Set the Product Select Type to "One Pulse Set". Assert the Product Change signal and then assert the number of pulse representing the inspection number to go to.
2/2010 P4 Product Change and Product Select Timing • First set of pulses are for the 100's digit. • Second set of pulses are for the 10's digit. • Third set of pulses are for the 1's digit. The use will need to assert the Product Change signal for each set of pulses. To do this, the Product Change signal must be asserted and held while the pulses representing the digit are being sent, and released after the last pulse is given. Valid range of pulses for all digits is 0 - 9. Banner Engineering Corp.
P4 Product Change and Product Select Timing 354 2/2010 Minneapolis, MN USA Banner Engineering Corp.
Saving Inspections Chapter 13 Inspection (.ins) files can be saved either to the sensor or to the PC. You need to save inspections to the sensor in order to run them; however, you can also save a copy to the PC or your network as a backup. An inspection (.ins) file contains the image parameters, inspection parameters and, optionally, the reference image: • Image parameters are the programmed values used by the sensor to acquire the inspection image.
Saving Inspections 2/2010 13.1 Saving Inspections to a Vision Sensor To save an inspection to a Vision sensor: 1. Click on the Save button in the Menu toolbar to display the Save Inspection dialog. 2. Use the scroll bar and select an Inspection Number by clicking in the dialog next to the number where you want to store the inspection, or enter a number in the Inspection Number field. 3. In the Inspection Name field, enter a name for the inspection. 4. Click the Save button in the dialog.
2/2010 Saving Inspections 13.2 Saving Inspections to a PC or Network Drive To save an inspection to a PC or network drive: 1. Click on the Save button in the Menu toolbar to display the Save Inspection dialog. 2. 3. 4. 5. Select a disk drive from the Save in field. Select a drive and a location for the stored inspection. In the Inspection Name field, enter a name for the inspection. From the Save as type drop-down, select: • *.ins to save as a standard format for Vision sensors • *.
Saving Inspections 358 2/2010 Minneapolis, MN USA Banner Engineering Corp.
Backing Up and Restoring Vision Sensor Chapter 14 Data 14.1 Backing up Vision Sensor Data To back up Vision sensor data: 1. Insert the PresencePLUS installation CD into the CD-ROM drive, and launch the install program. 2. Click on PresencePLUS Update Firmware. 3. From the list of sensors in the PresencePLUS Firmware Updater, select the sensor you want to back up, and click Connect. 4. Click on the Sensor Backup tab. Banner Engineering Corp.
Backing Up and Restoring Vision Sensor Data 2/2010 5. In the Create Backup section, click on the ellipses (...) button to select a filename for the backup file as well as a location for the backup on the local computer or on the network. 360 Minneapolis, MN USA Banner Engineering Corp.
2/2010 Backing Up and Restoring Vision Sensor Data 6. In the Backup Content field, select either of the following to backup: • [ Firmware ] + [ Configuration ] + [ Inspection(s) ] • [ Configuration ] + [ Inspection(s) ] Banner Engineering Corp.
Backing Up and Restoring Vision Sensor Data 2/2010 7. Optionally, click on the Edit Note button to add notes for the backup operation. 362 Minneapolis, MN USA Banner Engineering Corp.
2/2010 Backing Up and Restoring Vision Sensor Data 8. Click the Backup button to back up Vision sensor data. 14.2 Restoring Vision Sensor Data To restore Vision sensor data: 1. Insert the PresencePLUS installation CD into the CD-ROM drive, and launch the install program. 2. Click on PresencePLUS Update Firmware. Banner Engineering Corp.
Backing Up and Restoring Vision Sensor Data 2/2010 3. In the PresencePLUS Firmware Updater, click on the Restore tab. 4. From the list of sensors, select the one you want to restore to, and click Connect. 5. In the Restore Sensor section, click on the ellipses (...) button to select a backup file from which to restore the Vision sensor data. 364 Minneapolis, MN USA Banner Engineering Corp.
2/2010 Backing Up and Restoring Vision Sensor Data 6. Optionally, click the Read Note.. button to get more information about the restore. Banner Engineering Corp.
7. If desired, check the box next to Restore Firmware and/or Optimized. 8. Click the Restore button to restore Vision sensor data from the selected backup file.
Dimensions and SpecificationsChapter 15 15.1 Sensor Dimensions 15.1.1 Right-Angle Sensor Dimensions 55.6 mm (2.19") 66.8 mm (2.63") 21.3 mm (0.84") CL dia. 28.7 mm (1.13") CL 112.5 mm (4.43") 124.5 mm (4.9") 80.8 mm (3.18") 7.5 mm (0.30") CL 18.7 mm (0.74") 34.3 mm (1.35") 15.1.2 Right-Angle Sensor Mounting Bracket Dimensions Banner Engineering Corp.
Dimensions and Specifications 2/2010 66.9 mm (2.64") 4˚ 47.37 mm (1.87") 8˚ 36.1 mm (1.42") 41.4 mm (1.63") 120.1 mm (4.73") 45˚ 22.5˚ 6.8 mm (0.27") dia. 44.5 mm (1.75") ISOMETRIC VIEW 20.8 mm (0.82") 15.1.3 In-Line Sensor Dimensions 66.8 mm (2.63") 17.1 mm (0.68") 34.3 mm (1.35") CL CL 33.4 mm (1.32") CL 11.4 mm (0.45") 136.1 mm (5.36") 123.2 mm (4.85") 7.5 mm (0.30") 18.7 mm (0.74") 17.2 mm (0.68") CL 15.1.
2/2010 Dimensions and Specifications 66.9 mm (2.64") 4˚ 49.8 mm (1.96") 8˚ 33.0 mm (1.30") 136.1 mm (5.36") 68.1 mm (2.68") 6.8 mm (0.27") 22.5˚ 45˚ ISOMETRIC VIEW dia. 88.9 mm (3.50") 15.2 Sensor Specifications Feature Description Model Numbers PresencePLUS P4 OMNI Right-Angle Sensor: P4OR P4 OMNI In-Line Sensor: P4OI PresencePLUS P4 OMNI 1.3 Right-Angle Sensor: P4O1.3R P4 OMNI 1.3 In-Line Sensor: P4O1.
Dimensions and Specifications 2/2010 Feature Description Display Options PC or NTSC video; 9 m (30') max. cable length Memory INS Storage Memory: 32 MB Number of INS Files: 999 Acquisition Frames Per Second: P4 OMNI: 48 max. P4 Color OMNI: 17 max. P4 OMNI 1.3: 26.8 max Image Size: P4 OMNI: 640 X 480 P4 Color OMNI: 752 X 480 P4 OMNI 1.3: 1280 X 1024 Levels of Gray Scale: 256 Color OMNI: 256 Red, Green and Blue Exposure Time P4 OMNI: 0.1 to 2830 ms P4 OMNI 1.3: 0.1 to 1670 ms P4 Color OMNI: 0.
2/2010 Dimensions and Specifications Feature Description Construction Metal case, glass screen Dimensions: 220 X 240 X 267 mm (8.66" X 9.45" X 10.51") Weight: 6 kg (13.2 lb.
Dimensions and Specifications 2/2010 Feature Description BNC adaptor provided Operating Temperature 0° C to +50° C (+32° F to +122° F) Storage Temperature -20° C to +60° C (-4° F to +140° F) Video System NTCS/PAL Auto Switching Control Selectable on monitor or via remote control (included) On-screen control: Bright, contrast, color, tint Net Weight 1.2 lb 15.5 Ethernet Communication Specifications Use a crossover Ethernet cable for communicating directly with a PC.
2/2010 Dimensions and Specifications 15.6 Serial Port Communication Specifications Feature Description Baud Rate 115K Data Bits Eight Stop Bits One Parity Odd Flow Control None Connector Banner Engineering Corp.
Dimensions and Specifications 374 2/2010 Minneapolis, MN USA Banner Engineering Corp.
A A/D converter 2. The angle between the axis of observation and perpendicular to the specimen surface. aperture Acronym for Analog-to-Digital Converter, an electronic device that converts data from analog form to digital representation. The size of a lens opening. Abs (Absolute Value) ASCII Abs (Absolute value) returns Abs(X1). The absolute value of an operand is its unsigned magnitude. For example, Abs(-1.5) and Abs(1.5) both return 1.
bimodal contrast Histogram distribution of values with two peaks. The range of difference between light and dark values in an image. binary system A vision system that creates a digitized image of an object in which each pixel can have one of only two values, such as light/dark, or zero/one. Blob cronym for Binary Large OBject. A connected region in a binary image.
distortion front lighting Undesired change in the shape of an image or waveform from the original object or signal. An arrangement in which the object is illuminated and viewed from the same side. edge G A change in pixel values exceeding some threshold between two adjacent regions of relatively uniform values. Edges correspond to changes in brightness corresponding to a discontinuity in surface orientation, reflectance, or illumination.
incident light ocv The light falling directly on an object. Acronym for Optical Character Verification. Verify a string by a vision system. inverse square law The exponential relationship between increased distance and decreased light intensity. iris An adjustable aperture built into a Sensor lens to permit control of the amount of light passing through the lens. L LED Acronym for Light-Emitting Diode.
R sub-pixel resolution Any technique resulting in a measurement with a resolution (interpolated position of change) of less than one pixel. recognition A match between a description derived from an image and a description obtained from a stored model or feature set. T region of interest (ROI) template matching The Region of Interest (ROI) is the area to be analyzed inside user-defined boundaries. Comparing a template with an object in an image.
Z zoom Electronically or optically enlarging or reducing the size of an image.
Index A absolute positioning 99 absolute threshold 96, 144, 161 adaptive threshold 104, 151 adding an area tool 123, 171, 175, 188 advanced tab barcode tool 193 Blob Find tool 118 Blob tool 133 color Blob tool 181 geometric count tool 152 geometric find tool 105 string tool 293 area 119, 134, 183 area tools adding 123, 171, 175, 188 mask 113, 123, 126, 172, 175, 189 average color tool 170 average gray scale histogram 124 average gray scale tool 122 B barcode tool 190 advanced tab 193 color scheme 195 decod
Index geomtric find tool advanced tab 105 GET 60, 325 gray scale intensity 122 H histogram 116, 124, 132 horizontal gap 216, 235 HSI 172 I input tab locate tool 94 inspection storage capacity 43 L largest hole to fill 119, 134 line detect 157 Line Detect tool 155 linear tools locate tool 94 locate tool 94 filters 98, 146, 163, 165 min width 99, 147, 163, 166 ROI width 98, 146, 163, 166 sample rate 99, 147, 163, 166 smoothing 98, 147, 163, 166 input tab 94 location tool rotation enable 99 M major axis a
Index tools (continued) communication 244 coordinate 259 edge 142 geometric count 149 geometric find 101 Line 155 locate tool 94 math 263 measure 268 string 290 test 297 tools (continued) pattern find 108 tools{pattern count} 167 Trigger and Product Change error codes 58, 324 V vertical gap 216, 235 W white balancing 35 383
Index 384 PresencePLUS® P4 OMNI/OMNI 1.