Page 2
WARNING . . . Not to be Used for Personnel Protection Never use these products as sensing devices for personnel 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. A sensor failure or malfunction can cause either an energized or de-energized sensor output condition.
Page 3
This User’s Manual reflects Sensor Firmware Version 1.0.0 and GUI Software Version 2.0.2.
Warnings and Cautions Read all warnings and cautions in this section before working with the PresencePLUS P4 system (also referred to as the Sensor). ------------------------------ ------------------------------ Safety Warnings Observe the following warnings to avoid personal injury: • Never use the Sensor as a sensing device for personnel protection. Such use could create an unsafe condition that could lead to serious bodily injury or death.
1. Product Support and Maintenance This section provides general Banner resources and specific documentation, warnings, and cautions for installers and operators of the PresencePLUS P4 Sensor. Product Support ................2 Documentation .
Documentation The following documentation is available in PDF format on the PresencePLUS P4 software CD and on the Banner website. A compatible version of Acrobat Reader is provided on the CD. PresencePLUS P4 documentation is in the Vision Product Line list on the following Banner website page: www.bannerengineering.com/literature_resources/product_literature...
Banner Engineering Corp. assumes no liability for damages resulting from the use of this manual. Content of printed manuals and online help subject to change without notice. Maintenance Maintenance tasks include keeping the hardware free of dust and dirt and updating the PresencePLUS P4 software as new versions become available. Cleaning the Sensor Regularly remove any dust or dirt from the Sensor using a soft cloth.
Page 12
Product Support and Maintenance PresencePLUS ® P4 EDGE Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164 01/05 P/N 120413...
Sensor Description The PresencePLUS P4 EDGE Sensor is an easy-to-use vision sensor with advanced visual inspection capabilities. With minimal knowledge of vision systems, a user can quickly set up the Sensor and run an inspection that tests all products and accurately rejects bad products on a production line.
9 and the Installation section of the PresencePLUS P4 EDGE help files. Components The PresencePLUS P4 system consists of the Sensor and a PC with PresencePLUS P4 software and the appropriate connections. The Sensor requires lighting and a trigger device, and an optional video monitor can be connected.
System Overview PresencePLUS ® P4 EDGE Cable Connections The PC, external light source, and optional video monitor are attached to the Sensor hookups shown in the following diagram. External Light 1 = Brown (same voltage as Pin 12 of discrete I/O)
20 seconds (see below). 8. Install PresencePLUS P4 software on the host PC (see Software Installation on page 19). 9. Start the PresencePLUS P4 program and verify system connections (see Startup and Troubleshooting on page 20). Green = Ready...
Before installing any hardware, read Warnings and Cautions on page i. --------------------------------- Mounting the Sensor Mount the Sensor securely. Optional Banner mounting brackets for PresencePLUS P4 Sensors are available. See Right-Angle Sensor Mounting Bracket (shown on page 153) and In-Line Sensor Mounting Bracket...
Section 4, Getting Started) on page 29 for details on focusing and locking the lens. NOTE: Any C-mount lens may by used with PresencePLUS P4 Sensors. For non-Banner lenses, follow the lens manufacturer’s unpacking and installation instructions. --------------------------------------------------------------------------- Grip silver lens base.
User’s Manual Installation Sensor Connections Supply Voltage (Brown and Blue Wires), Pins 12 and 13 The Sensor requires a 10 to 30V dc power supply with 500 mA maximum current. ----------------------------------------------------------- The Sensor alone will operate properly with input voltage of 10-30V dc; however, if a light source is CAUTION powered by the Sensor, input voltage must be 24V dc ±...
Input from an external triggering device is needed to signal the Sensor to acquire images. • The Sensor can be set to respond to either the leading or trailing edge of the trigger pulse. • Trigger pulse width can be set from 1 millisecond to 8 seconds. The default is 1 millisecond.
User’s Manual Installation Strobe Out Strobe Out is Pin 4 of the light connector. When Strobe Out is enabled, the Sensor generates a strobed output signal upon receiving a valid trigger. The type of signal may be configured as shown below: Level (default: Active High) Active High: Use if the light is enabled at 5V Active Low: Use if the light is enabled at 0V...
Installation PresencePLUS P4 EDGE ® Programmable I/O, Pins 5 through 8 The Sensor provides four discrete programmable I/O connections as listed in the table below. Each I/O type can be configured as follows: • Input current sinking mode (external PNP driver, default) or input current sourcing mode (external NPN driver), and •...
The inspection loaded will be executed upon receiving 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.
Installation PresencePLUS P4 EDGE ® Product Change and Product Select Timing 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.
1. Close all active programs. 2. Uninstall previous installations of PresencePLUS (see below). 3. Insert the PresencePLUS P4 CD into the CD ROM drive. The CD will auto-start. NOTE: If the install screen does not appear: a) Double-click on the My Computer icon.
6) Launch the software. Click Start > PresencePLUS to start the program. If PresencePLUS P4 has a different IP address than the default address (192.168.0.1), or if it is connected through a serial connection, the message shown below will appear.
Page 29
User’s Manual Installation Sensor Select Tab Sensor Select Tab Change the connection setup as follows: Ethernet Connection: a) Select Ethernet (RJ 45) in the pull-down menu. b) Change the IP address to the address of the Sensor. c) Click OK. Serial Connection: a) Select PC Serial in the pull-down menu.
Does the software find the Sensor? Yes: Start working with the software. No: Go to step e. e) Verify that the IP address of the PC is configured to work with PresencePLUS P4. Is the PC configured as follows? IP address = 192.168.0.2 Subnet mask = 255.255.255.0...
Page 31
Choose Serial Connection in the Sensor Select screen. ------------------------------------------------------------------------------ NOTE: A list of error codes and potential causes and solutions are available under Help/About on the PresencePLUS P4 software CD. “Failed to capture a full-resolution image. Please try again.”...
Installation PresencePLUS P4 EDGE ® Troubleshooting Table This table contains solutions to the most common problems in using the PresencePLUS P4 program. For further assistance, contact Banner. Problem Cause / Solution - Green Power LED on Sensor is not ON.
Overview) on page 7. Starting Up the Software 1. Power up the PC. 2. Install the software if it has not been installed. The Installation screen of a typical PresencePLUS P4 software CD is shown below. -------------------------------------------------------------------------------------------- PresencePLUS Software Installation Screen Banner Engineering Corp.
User’s Manual Getting Started 3. Configure the IP address as follows: NOTE: The following screens depict Windows NT and Windows ME. Other Windows versions may vary. -------------- --------------------------------------------------------------------------- a) Open the Network Windows NT Screen Windows ME Screen Properties on the PC (right- click the Network Neighborhood icon).
5. If the Product Select line is being used, configure the Product Select and Product Change lines. 6. Click on Setup in the Main Menu toolbar, select the Trigger tab, and configure the remaining parameters: - Edge type - Minimum pulse width...
Page 37
User’s Manual Getting Started Follow these basic steps to build and run a new inspection: 1. Setup screen: a) Set up the Sensor, lens, and lighting. b) Choose trigger option Continuous for a live image. c) Click Auto Exposure to adjust the image brightness. d) Focus the lens by turning the lens focusing ring (shown below) until the focus value is maximized.
5. Begin inspection: To begin inspecting, click the Start button in the Run screen. Navigating in PresencePLUS P4 The application follows typical navigational sequences (example: Setup > Tools > Teach > Run) when Next is clicked to finish each step. Experienced users may prefer to work in some other sequence (Setup > Tools > Run, for example) by selecting the preferred destination from the Main Menu toolbar.
User’s Manual Getting Started Software Overview The Setup screen, shown below, provides the Main Menu. ----------------------------------------------------------------------------- Image Toolbar Main Menu Toolbar Image Window Allows manipulation of the Image window Arranged from left to right, steps through Displays Sensor image or reference image properties and contents.
Getting Started PresencePLUS ® P4 EDGE Main Menu Toolbar Use the Main Menu toolbar to navigate between the Sensor options. Proceeding from left to right, the buttons in the Main Menu toolbar step through the process of creating and controlling an inspection. Each button is explained in the illustration below and in the table that follows.
User’s Manual Getting Started Image Window The Image window displays images acquired from the Sensor or the reference image that is set for the current inspection. The toolbar buttons in the Image window are explained in the illustration below. NOTE: The reference image is used as a template for developing an inspection; it establishes initial values. The reference image also is used by Quick Teach.
Page 42
Getting Started PresencePLUS ® P4 EDGE Navigation/Results Toolbar Buttons Using the Navigation/Results toolbar buttons, the Navigation/Results window size can be set, and tools can be deleted. The toolbar buttons are explained in the illustration below. ------------------------------------------------------------- Delete Selected Tools Delete the selected tool and all other tools to the right.
User’s Manual Getting Started Configuration Window The Configuration window displays the currently selected options with multiple tabs. Clicking the Setup, Tools, Teach, Run, System, Save, or Help buttons on the Main Menu toolbar (see Main Menu Toolbar on page 32) changes the contents of the Configuration window accordingly.
Getting Started PresencePLUS ® P4 EDGE Status Window The Status window, shown below, provides the following Sensor feedback. ------------------------------------------------------------------------------------- Zoom Level Connection Address/Status Cursor Position Gray Scale Value Image Update Completion Cursor Position Current Image Display Resolution Status Window Layout...
User’s Manual Setup 5. Setup This section explains how to capture a reference image and set trigger options. Setup Screen ................38 Capturing a Reference Image .
Setup PresencePLUS ® P4 EDGE Setup Screen On initial startup, the Sensor displays the Setup screen, which is shown below. To return to the Setup screen after passing it, click the Setup button in the Main Menu toolbar. Setup Screen Banner Engineering Corp.
User’s Manual Setup 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. Acquiring a quality image is crucial for a successful inspection. A quality image shows a measurable and repeatable difference between good products (which pass inspection) and bad products (which fail inspection).
Setup PresencePLUS ® P4 EDGE Choosing a Trigger Type The first step in capturing an image is determining when the Sensor should capture an image. This Setup option determines how the sensor initiates an image capture. The Sensor can be triggered to capture an image in one of four ways. These trigger options are used only in Setup. See...
Page 49
Shortest exposure time = 0.01 ms Longest exposure time = 20.47 ms Lowest gain = 0 Highest gain = 100 Auto Exposure Window for PresencePLUS P4 Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164 01/05 P/N 120413...
Setup PresencePLUS ® P4 EDGE Exposure Time Considerations Consider the following when setting the exposure time: • Exposure time affects how much light is needed to illuminate the part. • Exposure time affects how fast a part can pass by the Sensor as its image is captured: - Short exposure times require bright light sources.
User’s Manual Setup Focusing the Lens To focus the lens, place the target object so that the area to be focused appears in the center of the displayed image. Turn the lens focus ring in small increments. There are two ways to determine whether optimal focus has been achieved: 1.
Trigger parameters shown in the Trigger tab are stored in the inspection file and can be different for each inspection. Polarity Choose Leading Edge to capture images at the leading edge of the trigger signal. Choose Trailing Edge to capture images at the trailing edge of the trigger signal.
Page 53
Input Trigger Signal Minimum Pulse Width Minimum Pulse Width 1-8,000 ms 1-8,000 ms Inspection Inspection Idle Idle Trigger Delay Trigger Delay Timing Diagram: Leading-Edge and Trailing-Edge Trigger Inputs Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164 01/05 P/N 120413...
Page 54
Setup PresencePLUS ® P4 EDGE Trigger Timing Options The validity and timing of the trigger may be modified through three settings: Trigger Divide, Trigger Delay, and Minimum Trigger Width. Enter the appropriate values, or set the values by using the arrows.
User’s Manual Tools Screen 6. Tools Screen This section explains how to build, open, modify, manage, and save inspection files. Typical Build/Modify Procedure ............. . .48 Building and Modifying an Inspection.
Tools Screen PresencePLUS ® P4 EDGE Typical Build/Modify Procedure Establishing an Inspection Using the Tools screen, shown below, 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 supports this inspection organization and is designed to aid the user in building an inspection.
User’s Manual Tools Screen Building and Modifying an Inspection An inspection consists of both a reference image and an inspection script. • The reference image is used as a template for building the inspection. • The inspection script contains all the necessary information to run the inspection. NOTE: A reference image must be captured or selected before building a new inspection.
Tools Screen PresencePLUS ® P4 EDGE The typical procedure for building or modifying an inspection is outlined below and explained in more detail later in this section. 1. Choose a tool. 2. Add a Region of Interest (ROI). 3. Set tool parameters.
User’s Manual Tools Screen Adding and Removing Tools To add a tool: The following steps provide an overview for setting up Vision tools in an inspection. Steps not available for some of the Location or Analysis tools are noted. 1. Click the button of the tool to be added to the inspection. 2.
Image window. An ROI must be drawn for all Vision tools. ---------------------------------------------------------------------- ROI Types ROI types include Area, Search and Pattern Area, and Linear. Availability depends on the P4 Model. The following table lists the ROI type for each PresencePLUS P4 EDGE tool: ---------------------------------------------- ROI Types P4 EDGE Tool...
(in pixels) along the ROI. The curve on the graph (red line on the screen) represents the edge profile, and the horizontal dashed line (green on the screen) represents the threshold level.
Tools Screen PresencePLUS ® P4 EDGE To Move, Edit, or Delete an ROI Clicking on the tool in the Navigation window selects an ROI so it can be moved, edited, or deleted. Selection points indicate that the ROI is active.
User’s Manual Tools Screen Selecting or Deleting Inspections from the Sensor Up to 12 inspection files can be stored on the Sensor. Stored inspections can be modified, run, or deleted. To select and open an inspection from the Sensor: 1. Click the Sensor tab. 2.
Tools Screen PresencePLUS ® P4 EDGE Selecting Inspections from the Library Inspection files may be archived into a library on the PC or on a network connected to the PC. After opening an inspection from the PC or network, modify it or save it to the Sensor.
60 for information on setting up this tool. The Locate tool locates the absolute or relative position of a target in a Field of View (FOV). This special edge detection tool detects the first transition between bright or dark pixels. This tool is initially set up around a feature that is in a repeatable position with respect to other features being inspected.
Execution times • Whole-number counts • Input and output values from Test tool • Success from Locate, Edge, Object, and Test tools • Reference point-to-edge and rotation distances Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164 01/05...
® P4 EDGE Locate Tool Setup The Locate tool is an edge-based tool that finds the absolute or relative position of the target in an image by finding its first edge. Tools that follow the Locate tool do the following: •...
• Locate the position of a battery plate • Locate the edge of a box on a conveyor Name (default: LOCATE_1, LOCATE_2) - Used to rename the tool. - The name can have only alphanumeric characters or underscores and no spaces.
Page 70
Threshold Percent (default: 50) Threshold Value (default: 128) Threshold Edge Strength (default: 20) This option sets the threshold value (moves the dotted green line on the Edge Profile graphs). - Percent is displayed when the Transition Type is Relative Threshold.
Page 71
The dotted (green on the screen) line crossing the graph through the middle is the threshold. The solid (red on the screen) line is the pixel intensity along the ROI. An edge is found each time the pixel intensity (solid line) crosses the threshold (dotted line).
Page 72
® P4 EDGE When Edge Strength is selected, the Graph tab appears on the tool window. The graph for the previous tab (in this case, 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.
Page 73
The following image shows how a narrow ROI could miss the part if the part shifts up or down. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Widening the ROI, as shown below, makes it wide enough to always detect the thin bars. This wider line results in the tool consistently finding one edge every time. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ More About Widened ROIs If the width of the ROI is greater than 1, the gray scale levels of the pixels are averaged along the width of the ROI.
Page 74
-------------------------------------------------------------- Bright-to-Dark Edge Dark-to-Bright Edge ---------------------------------------------------- --------------------------------------------------------- The Locate tool will find all bright-to-dark edges and all the dark-to-bright edges. Using Edge Polarity helps to filter out unwanted edges. --------------------------------------------------------- Edge Profile of Bright-to-Dark Edge Edge Profile of Dark-to-Bright Edge ----------------------------------------------------------------------- Banner Engineering Corp.
Page 75
--------------------------------------------------------- --------------------------------------------------------------------------------------- More About the Filter The smooth filter calculates a rolling average of the edge profile; the rolling average width increases with the smooth number. ----------------------------------------------------------------------- Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164...
Page 76
- Filters out narrow dark or bright bands. - 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 (see the following Minimum Width Example).
When Enable Rotation is activated, all subsequent ROIs will rotate relative to the edge found. During Setup, the Locate tool calculates the angle of the edge found. During inspection, the new angle is compared to the original angle. If there is any rotational change between the original angle and the new angle, all ROIs after the Locate tool will rotate by that amount.
PresencePLUS ® P4 EDGE Edge Tool Setup The Edge tool identifies edges along a selected linear ROI by finding transitions between bright and dark pixels. Information captured by the Edge tool can be used to: • Count edge transitions •...
- The name can have only alphanumeric characters or underscores and no spaces. Draw ROI button - Allows an ROI to be added. - Edge tool uses a linear ROI. See Region of Interest (ROI) Section 6, Tools Screen) on page 52.
Page 80
- Edge Strength is displayed when the Transition Type is Edge Strength. --------------------------------------------------- ------------------------------ Threshold Example The following screen image shows an Edge tool, scanning five bars from left to right with Relative Threshold selected. Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164 01/05...
Page 81
User’s Manual Edge Tool Setup In the Edge tool pixel graph below, the horizontal axis is the position, in pixels, along the Edge tool’s linear ROI, and the vertical axis is the brightness level. The dotted line (green on the screen) crossing the graph through the middle is the threshold. The solid (red on the screen) line is the pixel intensity along the ROI.
Page 82
The graph for the previous tab (in this case, 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.
Page 83
- Width can be increased in increments of 4 pixels (1, 5, 9, 13, ...) up to the total FOV size. - Narrow ROIs execute faster but could miss the part (see below). - Wide ROIs are more consistent but don’t execute as fast. - A high filter number may miss the edge of a narrow line. ------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------- Example: The images below show how a narrow ROI could miss the part if the part shifts up or down.
Page 84
Edge Profile of Bright-to-Dark Edge Edge Profile of Dark-to-Bright Edge ------------------------------------------------------------------------------------- The Edge tool will find all bright-to-dark edges and all dark-to-bright edges. Using Edge Polarity helps to filter out unwanted edges. Smooth Filter Smooth Filter (default: None, range: None to 5) - Runs a rolling average along the ROI length.
Page 85
In the following image, the Smooth filter is set to 3. The Smooth filter averages a segment of pixels along the ROI, which smoothes the sharp spikes of the dark lines. After the lines are smoothed, the Edge tool ignores them because they do not cross the threshold.
- A high filter number may miss the edge of a narrow line. Minimum Width Example When the Minimum Width is set to 4, the Edge tool ignores the dark lines, because each line is only 3 pixels wide. 3 pixels wide...
User’s Manual Object Tool Setup Object Tool Setup The Object tool finds objects along a linear ROI. Two edge transitions form an object. Data returned by the Object tool include the following: • Number of objects • Size of each object •...
Object Tool Setup PresencePLUS ® P4 EDGE Object Tool Configuration Object Tool Applications: • Measure width of label • Locate center of box on conveyor • Measure pitch and gap of pins on an IC • Measure gaps between stamped parts on a web...
Page 89
- May find false edges. Absolute Threshold - Finds an edge at a specific gray scale level. - Is less likely to find a false edge than other transition types. - May miss edges if the light level changes between inspections. Edge Strength Threshold - Detects edges on surfaces that are not uniformly illuminated.
Page 90
The dotted (green on the screen) line crossing the graph through the middle is the threshold. The solid (red on the screen) line is the pixel intensity along the ROI. An edge is found each time the pixel intensity (solid line) crosses the threshold (dotted line).
Page 91
The graph for the previous tab (in this case, 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.
Page 92
Object Tool Setup PresencePLUS ® P4 EDGE ROI Width ROI Width (default: 1) - Width can be increased in increments of 4 pixels (1, 5, 9, 13, ...) up to the total FOV size. - Narrow ROIs execute faster but could miss the part (see below).
Page 93
Smooth Filter (default: None, range: None to 5) - Filters out small sharp changes in the edge profile. - A high filter number may miss the edge of a narrow line. Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164...
Page 94
Object Tool Setup PresencePLUS ® P4 EDGE In the following image, the Smooth filter is not selected, so the Object tool finds the first object with narrow lines. ---------------------------------------------------------------------------------------- In the following image, the Smooth filter is selected, so the lines act brighter, making thin objects easier to ignore.
Page 95
An object will be filtered out if the distance from the Object Ignored edge of the object to the end of the Object tool is less than the minimum width. In this example, the minimum width is 6 pixels. Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com •...
User’s Manual Measure Tool Setup Measure Tool Setup The Measure tool measures the distance between two points found by previous tools; it calculates the distance from one point to another. Measure Tool Distance Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com •...
Measure Tool Setup PresencePLUS ® P4 EDGE Measure Tool Configuration Measure Tool Examples: • Measure part width • Measure label position • Detect bent pins Name (default: MT_1, MT_2) - Used to rename the tool. - The name can have only alphanumeric characters or underscores and no spaces.
User’s Manual Measure Tool Setup Tool Tabs Tool One and Tool Two have tabs in the Tool window. Clicking on each tool’s tab will bring up information for that tool, as shown at left. ------------------------------------------------- Measure Tool Results Name Value Description Distance Distance (total), Distance X, and...
Test Tool Setup PresencePLUS ® P4 EDGE Test Tool Setup The Test tool is used to set tolerances to the results of the Vision and Analysis tools and to activate the discrete outputs. Typically, these tolerances are set automatically during Quick Teach or Teach. See...
Page 101
User’s Manual Test Tool Setup The following table shows the Test tool results for various logic functions. For each function, Input 1 and Input 2 are sampled in four different combinations. Examples of Logic Results Test Tool Logic Function Input 1 Input 2 Result Description...
Page 102
Min/Max - All (bright or dark) Min/Max Width (pixels) - Bright Min/Max/Tolerance percent* - Dark Min/Max/Tolerance percent* Edge - Bright-to-dark (edge count) Min/Max - Dark-to-bright (edge count) Min/Max - All (edge count) Min/Max Measure Distance (pixels) Min/Max/Tolerance percent* Distance X (pixels)
User’s Manual Test Tool Setup Tolerance Percent Formula: The software uses this formula to calculate Max(R) + Min(R) Tolerance Toleranced Minimum = Min(R) – each Toleranced Distance, shown previously. Max(R) + Min(R) Tolerance Toleranced Maximum = Max(R) + Tolerance Percent Example: The example at right uses the formula above 80 + 60 and the values entered for Distance (Pixels)
Input and output values from Test tool • Success rates from Locate tool, Vision tools, and Test tools • Reference point-to-edge and rotation distances ------------------------------------------------------- Ethernet Communication Channel Specifications The Sensor can export data over the Ethernet. The tables below provide specifications for the communications channels.
User’s Manual Communication Tool Setup Adding a Communication Tool IMPORTANT Add the Communication tool AFTER the Vision tools that have data to be exported. Information can be exported Location Vision Analysis Test Communication Tool Tool Tool Tool Tool Tool Navigation ----------------------------------------------------- As shown above, the Communication tool can export results data from the first Location, Vision, Analysis, and Test tools as follows:...
Communication Tool Setup PresencePLUS ® P4 EDGE Configuring the Communication Tool ------------------------------------------------------------------------------------------- There are four main steps in configuring the Communication tool: A. Select the Vision tools and their results to export. See below. B. Select the communication connection(s) that will export the data.
Page 107
User’s Manual Communication Tool Setup When a tool is selected, a tab appears at the top of the window. Click on the tab to select the data to be exported. Tab list of selected Scroll buttons for tools selecting tabs beyond the width of the window Selects all data Check boxes for...
Page 108
Communication Tool Setup PresencePLUS ® P4 EDGE When Multiple is chosen, click Edit Selections to select more than one port. The Connection Selection window will pop up. Check the desired ports, as shown by the checked boxes below. ------------------------------------------------------------------------------------------- Connection Selection Window ------------------------------------------------------- Clicking View Settings pops up the Connection Detail window.
Page 109
User’s Manual Communication Tool Setup Data can be sent through 11 different communication connections: one connector for the serial connection, and 10 sockets (1 to 10) through the Ethernet connector. The 10 Ethernet sockets are comprised of the Sensor IP address and port number. The table below lists the default Ethernet socket addresses: Socket Default IP Address...
Page 110
Communication Tool Setup PresencePLUS ® P4 EDGE Allowable ASCII string options are given in the following table: ASCII String Format Options Option Name Values Description Delimiter Comma , The delimiter is used to separate the individual pieces of data being sent. The delimiter will follow every individual segment Colon : of data, including the start string and end string.
User’s Manual Communication Tool Setup From the screens shown in the preceding Format Example, the Communication tool will export the following: • Tool name • Success flag • Execution time • Input 1 • Input 2 • A comma (,) delimiter •...
Slowest recorded tool processing time since the start of the inspection or since power-up. Edge Offset Point pixels (X, Y) (–0.11, 4.11) Distance from the reference edge to the current edge. Edge Location Point pixels (X, Y) (140.89, 49.11) X, Y coordinates of the current edge.
Page 113
User’s Manual Communication Tool Setup Communication Tool Exportable Results Tool Data Label Value Example Description Object Tool Name string OBJECT_1 User-defined name. Execution Time Tool processing time for the current inspection. Execution Time Min Fastest recorded tool processing time since the start of the inspection or since power-up.
Page 114
Communication Tool Setup PresencePLUS ® P4 EDGE Communication Tool Exportable Results Tool Data Label Value Example Description Test Tool Name string TT_1 User-defined name. Success 1 or 0 1 = Tool overall results passed. 0 = Tool overall results failed.
User’s Manual Exporting with the Communication Tool 8. Exporting with the Communication Tool This section explains how the Communication tool is used to export data from the Sensor to an external device. Communication Tab in the System Setup Window ..........108 Ethernet Connection .
Exporting with the Communication Tool PresencePLUS ® P4 EDGE Communication Tab in the System Setup Window For Communication tool setup, click on the System button in the Main Menu toolbar to bring up the System Setup window, then click on the Communication tab.
User’s Manual Exporting with the Communication Tool Each Ethernet Socket has a unique TCP port number, as shown in the following table. TCP Port Numbers Ethernet Default IP Ethernet Default IP Socket Address Port Numbers Socket Address Port Number 192.168.0.1 20000 192.168.0.1 20005...
Exporting with the Communication Tool PresencePLUS ® P4 EDGE Set up the serial communication options to match the receiving device. The following table shows the configuration options: Communication Tool Configuration Options Option Value Default Baud Rate 110 to 115200 bps...
Page 119
User’s Manual Exporting with the Communication Tool Telnet Command Window Testing Ethernet or Serial Communications with HyperTerminal The following table provides HyperTerminal testing instructions for both Ethernet and Serial communications. HyperTerminal Testing for Ethernet and Serial Ethernet Serial Start an inspection that has a configured Communication tool. Connect a PC to the Sensor using an Ethernet crossover cable.
Exporting with the Communication Tool PresencePLUS ® P4 EDGE Troubleshooting Tips Refer to the following troubleshooting tips when not receiving data from the Sensor. Ethernet Connection 1. Check the LEDs on the Sensor’s RJ-45 connector. - No LEDs are ON: The cable may not be the correct type (straight or crossover), or it could be broken.
User’s Manual Teach 9. Teach This section explains setting judgment tolerances by teaching inspections on good product..............114 Teach Overview .
Teach PresencePLUS ® P4 EDGE Teach Overview The inspection parameters can be taught automatically by using the Teach function. There are two Teach options: Quick Teach and Teach. Quick Teach The Quick Teach button is in the Tools window, as shown below.
Page 123
User’s Manual Teach Selecting Quick Teach triggers the following events: 1. The results calculated from the reference image are transferred to the minimum and maximum fields in the Test tool. 2. If the Results field includes a tolerance (like the shortest distance), then the additional tolerance is calculated (default is 10%).
Teach PresencePLUS ® P4 EDGE Teach Screen Use the Teach screen to automatically set judgment tolerances to accommodate all variations of good product. ------------------------------------------------------------------------------------- Teach Screen ------------------------------------------------------------------------ After teaching the inspection, typically proceed to the Run screen to run it.
User’s Manual Teach 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. Several Teach parameters may be selected in the Teach Tool tab, such as how many images to consider during a teaching session and what type of captured images to display.
Page 126
Tracks the number of samples used in each Teach process. Teach ignores samples that fail. Samples fail for the following reasons: - An Edge tool before the Test tool fails. - A Locate tool before the Test tool fails. - Measure tool fails to find two points.
User’s Manual Teach Reviewing Results Results of the inspection are displayed in the Results window, shown below. In this window, access such statistics as tool execution status and time, Test tool results, and any errors. Enlarge the window to the size shown below by clicking on the Expand button. ----------------------------------------------------------------------------------------- Expand Button Results Window...
User’s Manual Remote Teach 10. Remote Teach This section explains teaching inspections on good product using the Remote Teach line............... 121 Overview .
Page 130
Remote Teach PresencePLUS ® P4 EDGE Vision tools and the Test tool are shown below: Vision Tool and Test Tool Examples ------------------------------------------------------- Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164 01/05 P/N 120413...
User’s Manual Remote Teach To perform a Remote Teach, do the following: 1. Ensure that the correct tools are enabled for Remote Teach. 2. Ensure that the Sensor is in Run mode. 3. Ensure that the Sensor is indicating Ready (Green Ready LED is ON). 4.
• If Location tools were used in the inspection, then they must perform correctly; that is, the Locate tool must find an edge, and the Location tool(s) must find a pattern. If they do not perform correctly, the Remote Teach will fail, and the inspection will indicate Fail.
PresencePLUS ® P4 EDGE Run Screen Use the Run screen to start, stop, monitor, and log an inspection. To display the Monitor tab on the Run screen (shown below), click Run in the Main Menu toolbar. The Monitor tab is the default tab in the window.
User’s Manual Run Monitor Tab ----------------------------------------------------------------------------------------------------- While running an inspection, the following can be viewed: • Pass and Fail counts • The status of inputs, outputs, Product Select System errors, and whether Sensor is Ready • Next Pass, Next Fail, Next Remote Teach, Next Remote Teach Fail, Next, None Run Screen Monitor Tab ------------------------------------------------------------------------------------------------------------------...
Page 136
PresencePLUS ® P4 EDGE Image Enable (default: checked) Checked: The PC displays an image of the inspection. Unchecked: The PC will collect the inspection information without an image. NOTE: Capturing images impacts the Sensor response speed. For high-speed applications where the PC remains connected to the Sensor, Image Enable should be unchecked unless absolutely required.
User’s Manual Results Window 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 the following information: Capture: All available information about the last displayed inspection Click to expand the view to see more information.
PresencePLUS ® P4 EDGE Run Results Name Level Parent Level Description Current Inspection First None Name of current running inspection. The Camera Second Inspection Sensor Information: Name - Gain; see Setting Exposure and Gain Section 5, Setup) on page 40.
User’s Manual Run Select Tab ---------------------------------- The Select tab on the Run screen enables the user to specify Product Select lines and Image Hold and Trigger Delay times. Option descriptions follow. Run Screen Select Tab Product Select Line - The Hardware Input option signals the Sensor to run the option currently selected by the Product Change and Product Select line.
Page 140
PresencePLUS ® P4 EDGE Stop counting pulses on Start counting pulses on Product Select line. Product Select line. Active Product Change Input Not Active Pulse Pulse Pulse Pulse Active Product Select Input Not Active Pulse this line to increment Pulse not counted the inspection address.
User’s Manual Run Log Tab The Log tab on the Run screen enables the user to select logging modes, specify how many inspections to log and where, and specify what to do with current results. Option descriptions follow. Run Screen Log Tab Mode (default: None) Pass: Log only passed inspections based on Strategy.
Page 142
PresencePLUS ® P4 EDGE Sensor Shows the number of stored inspections currently in the Sensor’s memory. Obtain: Moves the stored inspection data from the Sensor’s memory to the GUI’s memory. Flush: Deletes all stored inspections from the Sensor’s memory. Saved Selected: Allows the user to write the current log file from the GUI’s memory onto a hard drive or other storage device.
User’s Manual System Setup 12. System Setup This section explains how to configure the Sensor and diagnose system errors in the System Setup window..............136 Sensor Select Tab .
System Setup PresencePLUS ® P4 EDGE 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 location selected.
User’s Manual System Setup PC (GUI) to Sensor Connection Setup Use this field to select whether the Sensor will communicate via the Ethernet port or a serial connection. Choose to use an IP address if the Ethernet port will be used. ---------------------------------------- Ethernet (RJ 45) ...
System Setup PresencePLUS ® P4 EDGE IP Address History Use this button to view previous IP Addresses and Subnet Masks. IP Address History Window Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com • Tel: 763.544.3164 01/05 P/N 120413...
User’s Manual System Setup Communication Tab Use the Communication tab to modify the IP address and subnet of the Sensor connected to the PC. NOTE: An option box to open the Communication tab is automatically displayed if the Sensor either is not connected or is connected but with the wrong location selected.
System Setup PresencePLUS ® P4 EDGE InputOutput Tab Use this screen to set the functionality of the 4 programmable I/O connections. Defaults are shown. ------------------------------------------------------- System Setup Window InputOutput Tab --------------------------------------------------------- ----------------------------------------- Inputs (default: Current Sourcing) Outputs (default: Current Sinking) Trigger, Product Change, Remote Teach, and Discrete inputs and outputs can be selected as either NPN (current sourcing) or PNP (current sinking).
Page 149
User’s Manual System Setup I / O #1, Pin #5 I / O #2, Pin #6 I / O #3, Pin #7 I / O #4, Pin #8 I/O 1 through 4 in the I/O column correspond to Pins 5 through 8 in the Pin # column.
System Setup PresencePLUS ® P4 EDGE Strobe Tab The Strobe option in the System Setup window is shown below. Use the Strobe tab to set the strobe signal (Pin 4 on the external light connector) for a strobed light source. The strobe signal is a +5V dc TTL signal.
User’s Manual System Setup Reset Tab Use the Reset tab to clear System errors and reestablish Sensor communications. --------------------------------------------------------------------------------------------------- System Setup Window Reset Tab --------------------------------------------------------------------------------------------------------------- Selections in the Reset Tab of the System Setup Window Selection Description Reset Error Flag Click to clear the Red Error LED on the Sensor.
System Setup PresencePLUS ® P4 EDGE Start-Up Inspection Select Tab ---------------------------------------------------------------------------------------------------- System Setup Window Start-Up Inspection Select Tab Choose Inspection Name, then click on the down arrow for a drop-down list of up to 12 inspections saved on the Sensor.
User’s Manual System Setup NTSC Tab ---------------------------------------------------------------------------------------------------- Default System Setup Window NTSC Tab ------------------------------------------ ------------------------------------------ Choose the desired zoom level of the image window as it will appear on the optional NTSC video monitor. The default Zoom Level is 4:1. Banner Engineering Corp.
System Setup PresencePLUS ® P4 EDGE Language Tab ---------------------------------------------------------------------------------------------------- System Setup Window Language 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.
• 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.
Product Change PresencePLUS ® P4 EDGE Product Change and Product Select Timing 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.
User’s Manual Saving Inspections 14. Saving Inspections This section explains how to store inspection files on the Sensor or PC..............149 Save Window .
Saving Inspections PresencePLUS ® P4 EDGE To display the Save window: Click the Save button in the Menu toolbar. Options are explained in the following table. NOTE: The Save window is also displayed whenever the Sensor prompts the user to save something.
15. Dimensions, Specifications, and Parts This section provides PresencePLUS P4 dimensions, component specifications, and a list of available parts..........152...
Dimensions, Specifications, and Parts PresencePLUS ® P4 EDGE Sensor and Mounting Bracket Dimensions Right-Angle PresencePLUS P4 Sensor 55.6 mm (2.19") 66.8 mm C C L L 21.3 mm (2.63") (0.84") dia. 28.7 mm C C L L (1.13") 112.5 mm 124.5 mm...
User’s Manual Dimensions, Specifications, and Parts Right-Angle Sensor Mounting Bracket 4.1 mm (0.16") 66.9 mm (2.64") 2x 8.9 mm dia. 3.81 mm (0.35") (0.15") 4° 8° 47.37 mm (1.87") 36.1 mm 90° 27.2 mm (1.42") R 112.5 mm (1.07") (4.43") 41.4 mm (1.63") 1/4-20 PEM Nut...
Dimensions, Specifications, and Parts PresencePLUS ® P4 EDGE In-Line PresencePLUS P4 Sensor 66.8 mm (2.63") 17.1 mm (0.68") 34.3 mm C C L L (1.35") 33.4 mm C C L L (1.32") 11.4 mm (0.45") C C L L 147.5 mm 136.1 mm...
User’s Manual Dimensions, Specifications, and Parts In-Line Sensor Mounting Bracket 10.2 mm (0.40") 4.1 mm (0.16") 66.9 mm (2.64") dia. 3.81 mm (0.15") 4° 49.8 mm 8° (1.96") 33.0 mm R 123.2 mm (1.30") 16.8 mm (4.85") (0.66") 5.1 mm 1/4-20 PEM Nut (0.20") Press Fit...
Dimensions, Specifications, and Parts PresencePLUS ® P4 EDGE Sensor Specifications Model Numbers Right Angle: P4ER In-Line: P4EI Power Voltage: 10–30V dc (24V dc ± 10% if a light source is powered by the Sensor) Current: 500 mA maximum Discrete I/O...
User’s Manual Dimensions, Specifications, and Parts Monitor Specifications 9" CRT Model Number PPM9 Mechanical Construction: Metal case Dimensions: 220 x 240 x 267 mm (8.66" x 9.45" x 10.51") Weight: 6 kg (13.2 lb.) Operating Temperature: –10° to +55° C (+14° to 130° F) Maximum Relative Humidity: 95%, non-condensing Electrical System: NTSC compatible...
Dimensions, Specifications, and Parts PresencePLUS ® P4 EDGE 7" LCD Model Number PPM7 Mechanical Construction: Black plastic case Dimensions: 189 x 117 x 30.3 mm (7.46" x 4.6" x 1.2") Weight: 450 grams (15.8 ounces) Operating Temperature: 0° to +50° C (+32° to 122° F)
User’s Manual Dimensions, Specifications, and Parts Serial Port Communication Specifications Baud Rate 115K Data Bits Eight Stop Bits Parity Flow Control None Connector See pin descriptions in Cable Connections Section 2, System Overview) on page 8. Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com •...
Dimensions, Specifications, and Parts PresencePLUS ® P4 EDGE Ethernet Communication Specifications Use a crossover Ethernet cable for communicating directly with a PC. Use a straight Ethernet cable for communicating with a network device, such as an Ethernet hub or switch.
User’s Manual Dimensions, Specifications, and Parts Parts Description Model Sensors Right-Angle Sensor P4ER In-Line Sensor P4EI Standard C-Mount Lenses 4 mm LCF04 8 mm LCF08 12 mm, focus locking LCF12 16 mm, focus locking LCF16 25 mm, adjustable aperture LCF25R 25 mm, focus locking, adjustable aperture LCF25LR 50 mm, focus locking, plastic, adjustable aperture...
Page 170
Dimensions, Specifications, and Parts PresencePLUS ® P4 EDGE Description Model LED ring light, red, male pigtail, 62 mm x 62 mm LEDRR62X62M LED ring light, white, male pigtail, 62 mm x 62 mm LEDWR62X62M LED ring light, green, male pigtail, 62 mm x 62 mm...
Page 171
User’s Manual Dimensions, Specifications, and Parts Description Model High-Frequency Fluorescent Lights and Brackets 203 mm (8") light, 24V dc HFFW8DC 203 mm (8") light, 110V ac, 60 Hz HFFW8AC110 203 mm (8") light, 230V ac, 50 Hz HFFW8AC230 305 mm (12") light, 24V dc HFFW12DC 305 mm (12") light, 110–230V ac, 50/60 Hz HFFW12AC...
Page 172
Green filter kit FLTG Blue filter kit FLTB Software and Documentation PresencePLUS CD PresencePLUS P4 EDGE User’s Manual (printed) P4LITPKG PresencePLUS P4 QuickStart Guide (printed) PresencePLUS Lens Selection Guide (printed) PresencePLUS Lighting Guide (printed) Banner Engineering Corp. • Minneapolis, MN USA www.bannerengineering.com •...
User’s Manual Glossary Glossary of Vision Terms acquisition backlighting The manner in which outside information is brought into an A condition where the light reaching the image sensor does analysis system, as in image acquisition. Generally involves not reflect from the surface of the object, but comes from A/D conversion.
Page 174
Glossary PresencePLUS ® P4 EDGE diffuse The process of redirecting incident light over a range of C-mount scattered angles, while reflecting from or transmitting through a material. Threaded lens mount developed from 16 mm movie work; used extensively for closed-circuit television. The threads distortion have a major diameter of 1"...
Page 175
User’s Manual Glossary f/stop (or f/number) iris Ratio of the focal length of a lens to the diameter of its An adjustable aperture built into a Sensor lens to permit opening. Increasing or decreasing an exposure by one f/stop control of the amount of light passing through the lens. doubles or halves the amount of light allowed through the lens.
Page 176
Glossary PresencePLUS ® P4 EDGE pixel strobe light Acronym for picture element. A pulsed illumination source that generates short bursts of high-intensity light. polarization sub-pixel resolution The restriction of the vibrations of light or magnetic field vectors to one plane.
Page 178
Index PresencePLUS ® P4 EDGE language selection quality of image lens Quick Teach aperture lock screw filters focus lock screw reference image focus value capturing 29, 43 focusing template installing Region of Interest (ROI) light source relative tools Locate tool...
Page 179
Telnet error messages Test tool table timing options typical application tools absolute adding choosing updates, software Communication Edge Locate video monitor Measure as an optional component Object connection to Sensor relative voltage removing input renaming output Test...
Page 182
WARRANTY: Banner Engineering Corp. warrants its products to be free from defects for one year. Banner Engineering Corp. will repair or replace, free of charge, any product of its manufacture found to be defective at the time it is returned to the factory during the warranty period. This warranty does not cover damage or liability for the improper application of Banner products.
Need help?
Do you have a question about the PresencePlus P4 and is the answer not in the manual?
Questions and answers