Home
PresencePLUS P4 AREA/Area 1.3 User`s Manual
Contents
1. 82 6 4 Strobe Tab x aede E teeta wed 84 6 4 1 Strobe Width 2 ee eed 84 6 4 27 iu a tt edt 85 6 5 Units Tabs io Ren epe geb te 85 6 6 Reset Tab acte edet qe d ed EU ER e ROG o UU TRO DERE 86 0 7 Start Up Inspection Tab e me teen 87 6 8 NISC Tabaco RH ene m 89 6 9 Language Tab 4 25 23 dp n Urb t Dt lere Leo 90 6 10 Tools Gorfiguration 5 5 Eee Om EROR ER ERRORI aba Ix Es 91 6 10 1 Standard Mode 2 cout eir t m e Ee Mec Dee det rt deis 92 6 10 2 Enhanced Mode ueste eee ide aes 92 6 10 3 Custom Modan een c tte cii eue al ah eb emere de shia 92 6 10 4 Tool LICENSING nnii ate ene lid dees deed ee eed M de dU end 92 7 PresencePLUS Software Tools eese 95 7 1 eu TS 95 PAPI binearROl CR P 95 Tz Area ROG uide sitamet ti b De e biet 95 Als oearch ROLE t e peces ttu ee f E egere 96 4 2 location TOONS iit et ned ee tee ed eed te ed e ere ea pat tuna 96 inre PER uet e tat e de ee ds ee es 96 7 3 Vision
2. does 193 9 7 4 Command Processing iie HL et Pao tee rho Po Ier Act i Hs ct Dt eet 194 B75 RCE LOG 194 8 7 6 Frame and Field 195 De TRACK C 197 9 1 Quick Teach irre erect ret e rope ar ink eL eoe Ou ee eee 197 9 2 Ieachi ao tdt ene e ata tete tne dp tende e EHE 197 9 3 Teach SCr6CN e dd 198 9 3 1 Teaching an Inspection 198 O 4 Remote Teach ode oet tee tiic Ltda olde ease 200 9 4 1 Understanding Remote 200 9 4 2 Remotely Teaching a 201 9 4 3 Timing Seguente o etd ete eee ede ears 201 9 4 4 Remote Teach Results ette tet ees 202 10 RUN Sree Miira ar E 203 10 1 Selected ea nid ea 204 10 2 3DISplay E eie dq 204 10 3 Capture Control 205 JEU 205 TOES Inputs 206 TOO EET 206 10 7 Product Select zt tete tar deve ecu ite peer Pea Pcr tee 207 ee 207 10 9 Star oett
3. Gets the value Math tool and the Remote Command Channel Commands set mathtool foo name tool number operand 1 2 Sets the specified tool operand if it is a constant Value should be a floating number get mathtool too name tool number operand 1 operand 2 Gets the value of the specified tool operand if itis a constant String tool Commands 60 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview set stringtool too name too number operand 1 operand 2 Sets the specified tool operand if it is constant Value should be a quoted string see Character Strings 6 2 2 6 1 Character Strings on page 196 get stringtool too name tool number operand 1 operand 2 Gets the value of the specified tool operand if itis a constant OCV Tool and the Remote Command Channel Commands set ocvtool foo name tool number exp string value Sets the expected string if itis a constant The Value should be a quoted string containing printable ASCII characters see Character Strings 6 2 2 6 1 Character Strings on page 196 get ocvtool foo name tool number exp string Gets the value of the exptected string RCC Return Values RCC return values are numeric and are listed below 0 command accepted This return code is generated when a valid SET GET and EXEC command has been completely handled by the sensor It may
4. 2 19 3 2 Typical Setup and Startup 24 3 3 Starup and Troubleshooting 2 teret rte abe teen p eee ieget t aee n ege 24 3 3 1 General Troubleshooting teinte rr E dna rh enn RR uaa Pte Rana 25 3 4 Setting Up Hardware 26 3 5 Building Irispectlon i dp ec Eee tr e e ER 26 SBIUD adum 29 4 1 5 oti n cR Re PO EH P Re TUR red ea da LU e uci 29 4 2 Capturing a Reference 29 4 3 FOCUS nh tones lon re to repe doute tone det eei endete 29 4 3 1 Reference Image SOUrce iiit a ex xb ecu ME 30 4 3 2 FOCUS Value 32 3 dno 31 4 3 3 Auto EXDOSUEG xe teme eth nen ef ute deitate 31 4 4 Trigger Tabz s ERI Deme 32 4 41 Trigger Settlrigs eiie tee eterna eret o 33 4 4 2 Do Le d e dec E od eerte 34 4 5 Advanced Tab it Rm eU BO necdum eee 34 o olo aelod KETT a e 37 Em 37 5 2 Typical Build Modify 38 5 21 Choosing a lool cence eem eed nie 38 5 2 2 Anding a TOON c iit e EH nasa canes
5. 38 9 2 3 Adding a lest Tool oor eterne fess era ea reed 38 5 2 4 RENAMING dee 38 9 2 D REMOVING a coda Meade ces rege Hp iat neva RR ERR EP ee bee 39 5 3 Quick Teach EE 39 b 4 0ad Tabzs iis 39 P N 000000 PresencePLUS P4 AREA AREA 1 3 7 2009 5 4 1 Flexible Inspection 0 40 5 4 2 Inspection Storage 41 5 4 3 Opening an Inspection from the Sensor or a 42 6 System Setup Window nnns 45 6 1 Sensor Select Tab ine iti te Et Rt Mast 46 6 1 1 Change Sensor IP 48 6 1 2 PC GUI to Sensor Connection 49 621 S IP Address FISON so oen tote 50 6 2 Communication gehen peste edo de dee de hd ud ee tp dede 51 6 2 1 Communication SetUp 5 roter t et ee Ore tea ee edad 52 6 2 2 Remote Command Channel Configuration esse 56 6 2 3 PresencePLUS Kawasaki Vision Guidance and 65 6 2 4 Using Custom ASCII to Communicate with an External Device Over Ethernet 81 6 3 P4 Input Output
6. 231 14 1 Backing up Vision Sensor Data ssssssssssseeeee eene 231 14 2 Restoring Vision Sensor 235 P N 000000 PresencePLUS P4 AREA AREA 1 3 7 2009 15 Dimensions and 239 1544 Sensor Dimernsions orti ea 239 15 1 1 Right Angle Sensor 239 15 1 2 Right Angle Sensor Mounting Bracket 239 15 1 3 In Line Sensor 240 15 1 4 In Line Sensor Mounting Bracket Dimensions sse 240 15 2 Sensor 241 15 3 Monitor Specifications 9 CRT ehem meer en 243 15 4 Monitor Specifications Flat Panel 8 LCD 2 243 15 5 Ethernet Communication 244 15 6 Serial Port Communication 245 247 vi P N 000000 Product Support and Maintenance This section provides general Banner resources and specific documentation for installers and operators of this PresencePLUS Vision Sensor 5 Attention Not t
7. len Process data ID geweiegue cerura lt 0 WUBIN PRINT Wee receiving Cacap TCI error UT strenui eee well gt ELSE gt Ensure the combined return string element lengths do not exceed 255 maximum allowed length of string the multiplication allows max_recv_len to be less than 255 i elem recy site recy len lt 255 Walla Copy all of the received elements into output buffer HOR aJ dL aO num elem recy SOCSIWe SicecCenlwerr Sicsew tz ND P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 79 Tel 763 544 3164 System Setup Window Overview 7 2009 ELSE PRINT Received string too long opet val END ELSE PRINT Invalid number of elements received ret val 1 END END END daca Ovar che TCR PROGRAM tcp send ret val Sdata ret val 0 function recura code Selma Data to send buf num 1 Number of array elements timeout 60 0 Pp send Cocks SD exco ico sock scel Sexewel alex send timeout il error rert lt O oest vak i BRINI ATOS SAND error sin SEND Sici
8. i del E h Perimeter The perimeter P gives an approximate measurement of the length of the circumference of the blob Because blobs are built from individual pixels it is most practical to estimate the perimeter by counting the contributions of individual pixels on the blob s boundary The following table describes the exact values that are added to the perimeter for each possible pixel configuration In each example the description refers to the center pixel in the corresponding pictures 3 14 linear pixels to the perimeter of the blob This can only happen in a blob that has an area of one Since such small blobs W A pixel with no neighbors that belong to the same blob contributes are usually ignored this circumstance is rare A pixel with one neighbor that belongs to the same blob LI 13 contributes 2 571 linear pixels to the perimeter of the blob F A pixel with two neighbors that belong to the same blob forming a straight line contributes exactly 2 linear pixels to the perimeter 116 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools A pixel with two neighbors that belong to the same blob forming E E 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
9. 234 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 235 Tel 763 544 3164 Backing Up and Restoring Vision Sensor Data 7 2009 Vision Sensor User Information ReadMe Update Firmware 2008R System Requirements See Firmware Up rsion M atte es Tanuals Information for details h Communication Setup Instructions Firmware Update Version Information PresencePLUS PC Software PresencePLUS Update Firmware PresencePLUS Utility Programs Adobe Acrobat Reader Internet Explorer Version 6 0 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 236 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Backing Up and Restoring Vision Sensor Data Yes Br
10. Communication Tool Exportable Results OCR Tool7 4 1 7 14 Communication Tool Exportable Results OCR Tool on page 133 Communication Tool Exportable Results Tool7 4 1 7 15 Communication Tool Exportable Results OCV Tool on page 134 Analysis Tools Communication Tool Exportable Results Math Tool7 4 1 7 16 Communication Tool Exportable Results Math Tool on page 134 Communication Tool Exportable Results Measure Tool7 4 1 7 17 Communication Tool Exportable Results Measure Tool on page 135 Communication Tool Exportable Results String Tool7 4 1 7 18 Communication Tool Exportable Results String Tool on page 135 Communication Tool Exportable Results Test Tool7 4 1 7 19 Communication Tool Exportable Results Test Tool on page 135 Communication Tool Exportable Results Locate Tool Tool Name string User defined name Success 10r 0 1 Tool executed successfully 0 Tool did not find a point to use as a reference Execution Time ms Fastest recorded tool processing time since the start of the inspection or since power up Execution Time Min ms Fastest recorded tool processing time for the current inspection or since power up Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power up Edge Offset Point pixels X Y Distance from the reference edge to the current edge Edge Location Point pixels X Y X Y coordinates of the current edge Rotation degrees
11. 207 10 10 Select Tab enira ata al Pet 207 10 11 Eog Tab uut matte 209 10 122 EE AAA 211 10 13 Run tide RR ERR LS RAE HR LAR A E Eta LR NER 213 10 13 T ROCORG nct e Ee rom ipe tute Peg e Te META 215 1013 2 Playback este te o a dca Mente p etta 217 TI Product CHange eie ern tO Eus ees tme ce 221 11 1 Product Change 2422 0 0010 221 11 2 Product Select Input 222 12 Product Change and Product Select 223 12 1 One Pulse Set Overview niesen r EERE RAET APARAN EEA RE DAR R NEAR TERN MR uen ERRARE RR ER 223 12 1 1 Product Select in One Pulse 2 224 12 2 Three Pulse Set Overview oid ette e ntu e e eed be Lee e ie 225 12 2 1 Product Select in Three Pulse 225 19 5 227 13 1 Saving Inspections to a Vision Sensor 228 13 2 Saving Inspections to a PC or Network 230 14 Backing Up and Restoring Vision Sensor Data
12. 4 8 47 37 mm 7 1 87 36 1 mm 1 42 4 t 414 mm mer 01 631 45 225 6 8mm 0 27 dia 44 5 1 75 ISOMETRIC VIEW 120 1 mm 4 73 20 8 E 0 82 15 1 3 In Line Sensor Dimensions 33 4 mm 1 32 11 4 0 45 4 136 1 mm 123 2 5 36 4 85 i 1 1 inn 75mm 1 0 30 18 7 mm 0 74 074 172 mme amp 15 1 4 In Line Sensor Mounting Bracket Dimensions P N 000000 240 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 7 2009 66 9 mm 2 64 Dimensions and Specifications 33 0 mm 1 30 ISOMETRIC VIEW 136 1 mm 6 36 68mm 0 27 22 5 Sei S V ug m 15 2 Sensor Specifications Model Numbers Power Discrete I O PresencePLUS P4 AREA Right Angle Sensor P4AR P4 AREA In Line Sensor 4 PresencePLUS P4 AREA 1 3 Right Angle Sensor P4A1 3R P4 AREA 1 3 In Line Sensor P4A1 3l Voltage 10 30V dc 24V dc 10 if a light source is powered by the Sensor Current P4 AREA 500 mA maxi
13. Sensor was previously product changed to an invalid slot 3 EXEC RESET command can be successfully accepted under the following conditions Sensor is idle inspection is not loaded Inspection is Executing and is Ready 4 SET GAIN or SET EXPOSURE commands can be successfully accepted under the following conditions 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 Commands with timeouts such as EXEC TRIGGER and EXEC PRODCHANGE will block processing of additional commands while they are executing if they are invoked without the NOWAIT option Additional commands that are issued while processing is blocked will be queued and will be processed in the order that they were received when the blocking command finishes its execution 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
14. Settings IP Address Mask 20000 Ethernet RJ 45 RCC Protocol none 7 2009 Tools Configuration Units Reset Stat pinspection zl The default Ethernet port assignments are from 20000 to 20009 Note Valid user TCP IP port numbers for PresencePLUS sensors are in the range of 1024 through 65535 The PresencePLUS GUI will provide automatic notification if an attempt to use a reserved port is made Any changes to the port assignment must be reflected in the AS Language program included in this document Configure the PresencePLUS Remote Command Channel RCC 1 Click on the RCC Protocol drop down menu and select Kawasaki from the menu The default protocol configuration for Kawasaki robot is displayed 68 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 System Setup Window Overview x NTSC Language Tools Configuration Sensor Select Communication inputOutpur Product Change Select Stobe Trigger Unts Reset StatUp Inspection Communication Setup Remote Command Channel Configuration Channel RCC Protocol Selechon Ethernet Socket 1 7 RCC Protocol Kawasaki z RCC Logs Get Log Settings Connect to Channel Ethemet Socket 7 Reset Log IP Address 1 Frame Definibon Field Definibon 5 Stat Demer 21 z TCPAP P
15. 106 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 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 Usage Count pills Measure hole size Verify the number of characters in date lot code Detect LCD segments Detect missing products during packaging Fields The following are fields on the Blob Detect tool Input tab Threshold7 3 2 2 Threshold on page 109 Blob Type7 3 2 2 3 Blob Type on page 110 Blob Detect Tool Input Tab Results7 3 2 3 Blob Detect Tool Input Tab Results on page 111 Histogram7 3 2 5 Histogram on page 114 Supported Platforms Yes Yes Yes Yes Yes No No No Blob Tool Input Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 107 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Blob Tool 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 EE Use this field to rename the tool The default is tool_name_1 tool_name_2 and so on where the default foo name dep
16. B ppvs 132 168 0 1 Pro Il 1 3 2 2 0 No No 00 00 66 01 55 Refresh Change Sensor IP Address PC GUI to Sensor Connection Setup Ethemet RJ 45 Connection IP Address 132 168 0 1 Address History Information Automatically Connect To Selected IP Address Host PC IP Address 132 158 B Eon 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 50 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview 6 2 Communication Tab The Communication tab is used to configure General Communication Setup Remote Command Configuration RCC Communication Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 51 Tel 763 544 3164 System Setup Window Overview 7 2009 System Setup _ NTSC Language Tools Configur Sensor Select Communication InputOutput Product Change Select Strobe Trigger Units Reset Communication Setup Remote Command Channel RCC Configuration Channel Industrial Ethemet Protocol lt none
17. 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 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 Bright to Dark Count Dark to Bright Count Total Edge Count Location s whole number whole number whole number pixels X Y inspection or since power up Total number of bright to dark edges Total number of dark to bright edges Total number of all edges X Y coordinates of all the edges found Communication Tool Exportable Results Geometric Count Tool Tool Name string User defined name Success 10r0 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 Match Count whole number or since power up Total number of patterns above the minimum acceptance leval and below the
18. Qutput Duration Tu Open Latched Time 2 6 trem p 2 x o ms Product Select Closed E o 5 Missed 11 0 r Pin 5 4 1 OutputDelay 4 r Output Duration 3 7 General Input EN ms Latched E Closed xi za 1201 r Pin 5 Function 4 r Normally 3 r OutputDelay Dutput Duration 4 8 General Input pen 34 EY o lt Latched Time Closed 21 z P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 83 Tel 763 544 3164 System Setup Window Overview 7 2009 6 4 Strobe Tab Use the Strobe tab to set the strobe signal for a strobed light source The strobe signal is 5V dc TTL signal Fields in the System Setup window s Strobe tab are described below Strobe Tab 6 4 1 Strobe Width 84 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Strobe Width C Off C On Exposure Duration C Time Duration The strobe output never becomes active light off 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 fr
19. Stable Ambient Lighting No large quick changes in light level no direct or reflected sunlight Relative Humidity 35 90 non condensing Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Dimensions and Specifications 15 3 Monitor Specifications 9 CRT Model Number PPM9 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 Ib Operating Conditions Operating Temperature 10 to 55 C 14 to 130 F Maximum Relative Humidity 95 non condensing Electrical System NTSC compatible Picture Tube 9 measured diagonally Horizontal Resolution gt 1000 TV lines center gt 800 TV lines corners Power Requirement 110 240V ac 50 60 Hz Power Consumption 0 5A Certifications Listed TV Video Product 8K37 E133441 Controls Connectors Horizontal Hold rotary knob Vertical Hold rotary knob Brightness rotary knob Contrast rotary knob Video IN OUT BNC Impedance High Low switch 75 Ohms 15 4 Monitor Specifications Flat Panel 8 LCD Color Screen Size 8 diagonal LCD Aspect Ratio 4 3 LCD Panel Type TFT Active Matrix Display Resolution 800 H x 600 V Brightness Central 350 Nit Viewing Angle Left and Right 80 Down 35 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 243 Tel 763 544 3164 Dimensions and Specifications 7 2009 S
20. Timeout remote teach msec will occur on the next trigger If TRIGGER qualifier is specified remote teach will occur P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 57 Tel 763 544 3164 System Setup Window Overview 7 2009 Online Status ONLINESTS Ready State READYFLG GET Current INSPNUM GET Inspection Number Communications COMMTOOL Tool Results None None None None None None None CommtTool Numberor CommtTool Name immediately and the command will block until a default 30 second timeout expires If TRIGGER NOWAIT is specified remote teach will occur immediately and the command will return right away If a timeout value is specified the command will block until the specified timeout expires Retrieve the sensor online status Returns 1 if the camera is ready 0 otherwise Retrieve currently running inspection Retrieve comm tool results either by specifying its sequential number in the inspection 58 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 System Setup Window Overview 1 2 n or by 21 its name By default data for the first comm tool will be retrieved Tel 763 544 3164 Pass Fail flag PASSFAILFLG None None Retrieve the value of the Pass Fail flag 1 if pass 0 if fail System Er
21. Click the Back button 7 Cleck the Next button to exit the Test Tool configuration Save and Start Inspection In the PresencePLUS GUI click the Go To Run button When prompted to save the inspection 1 Enter a name in the Inspection Name field 2 Click on the Save button 3 Once the inspection is saved click the Start button to start the inspection L o LJ L 74 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview 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 In this example the Banner Remote Command Channel RCC has been configured to use the Kawasaki RCC Protocol with Ethernet Socket 1 all other settings are default TCP port 20000 command and response frame start delimiter is empty string lt none gt with an end delimiter of carriage return linefeed r n and the field output delimiter is comma 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 These offsets will then be obtained and stored in the following variables X offset is the offset in units set in camera along the horizontal axis of the image increases to
22. Input Trigger Signal 7 OFF Input Trigger Signal H OFF i j ON Minimum Pulse Width Minimum Pulse Width 1 10 000 ms Inspection 1 10 000 ms Inspection Idle A p Trigger Delay Trigger Delay rm 4 4 2 Resolution Increases or decreases the resolution on the displayed image A lower resolution will have a faster PC update The resolution does not change the inspection Resolution options are 1 1 4 1 16 1 and 64 1 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 34 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Setup 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 The maximum FOV is shown below To improve performance reduce the size of the FOV either vertically horizontally or both as shown below P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 35 Tel 763 544 3164 Setup 7 2009 36 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 5
23. Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Tools Screen Color sensor for Standard grayscale A dialog indicates that the None required example a Color sensor for example a image color has changed and OMNI standard OMNI the inspection loads Grayscale sensor Color sensor for A dialog indicates that the None required forexample a example a Color image color has changed and standard OMNI OMNI the inspection loads High Resolution Standard VGA sensor A dialog indicates that the Reposition image adjust ROIs and 1 3 sensor for for example a image FOV has been adjusted tools in the FOV and possibly example an standard AREA and the image loads the image acquire a new reference image AREA 1 3 sensor sensor into the upper left of the FOV Note that the image may be cropped at the right and or bottom and ROIs may be outside the image area Standard VGA High Resolution 1 3 dialog indicates that the Possibly acquire a new reference sensor for sensor for example FOV has been adjusted and image example a an AREA 1 3 sensor the inspection loads with the standard AREA image centered in the FOV sensor Sensor with 6 I O Sensor with 4 I O for A dialog indicates that the Adjust I O as appropriate for example example an OMNI inspection uses l Os not Proll available on the sensor and the inspection loads Sensor that Sensor that suppo
24. Save or Help buttons on the Main Menu toolbar changes the contents of the Configuration window accordingly 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 Connection Sensor 192 168 0 1 Connection info current sensor to which the PC is connected P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 17 Tel 763 544 3164 System Description 7 2009 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 Current zoom value works with the Zoom icon magnifying glass Current grayscale value the 0 255 gray scale value of the pixel under the cursor 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 Note that this does not affect how the sensor operates it only affects sensor to GUI image communication speed and is more useful when using Serial communication Banner Enginee
25. 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 Edge Strength detects an edge when the rate of change solid red line on the graph 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 When the Edge Strength level is adjusted both the negative and positive green dotted lines will adjust together 100 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 PresencePLUS Software Tools 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 ROls execute faster but could miss the edge Wide ROls 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 V 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
26. 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 The sequence of events in the sensor is as follows With the sensor in Run mode and Ready pulse the Remote Teach line Pin 2 gray wire The sensor recognizes that the Remote Teach line is active and waits for the next valid trigger At the next valid trigger Ready goes inactive the Green Ready LED shuts OFF and the sensor acquires a new image The sensor adjusts the ROI if the inspection uses Location tools The Vision tool learns the new pattern and performs the analysis 6 The sensor adjusts the minimums and maximums in the Test tool if the Test tool is enabled for Remote Teach WON as 200 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 7 The inspection indicates Pass if the pattern meets the requirements of the Vision tool and if the Test tool is enabled for Remote Teach if the evaluation of the Test tool s passes with the adjusted minimums and
27. 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 The sensor has sockets 1 to 10 and can send out unique sets of data to 10 different devices Valid user TCP IP port numbers are in the range of 1024 through 65535 The PresencePLUS GUI provides automatic notification if you attempt to use a reserved port To view an Ethernet connection 1 Click on the System button in the Main Menu toolbar to bring up the System Setup window 2 Click on the Communication tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 183 Tel 763 544 3164 Communication Tool Setup Communication Setup Channel Ethernet Socket 1 Ethernet Socket 1 9 Ethernet Socket 2 Ethernet Socket 3 Ethernet Socket 4 Ethernet Socket 5 Ethernet Socket 6 Ethernet Socket 7 Ethernet Socket 8 Ethernet Socket 9 Ethernet Socket 10 Serial 1 Industrial Ethernet Connector Ethernet RJ 45 7 2009 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 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 0 192 168 0 1 gt Bi WwW N gt 20000 20001 20002 20003 2000
28. connection 8 3 Overview of Testing the Communication Tool 1 Connect the Sensor to a PC using a crossover Ethernet cable STPX or the serial pins on the Sensor cable 2 Start an inspection that has a configured Communication tool For details about configuring the Communication Start HyperTerminal or Telnet Trigger the Sensor 5 Look in HyperTerminal or Telnet to see if the data has updated A O 186 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Communication Tool Setup 8 4 Detailed Steps for Testing the Communication Tool There a number of software programs such as Telnet and HyperTerminal that can test the connection with the Communication tool Telnet can test Ethernet communications and is relatively easy to set up HyperTerminal can test both serial and Ethernet communications but note that HyperTerminal for Windows NT does not have an Ethernet option 8 4 1 Testing Ethernet Communications To test Ethernet communications with Telnet 1 Start an inspection that has a configured Communication tool 2 Connect a PC to the controller using an Ethernet crossover cable 3 From the Start menu click Start gt Run 4 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 HyperTermi
29. pixel with three neighbors that belong to the same blob contributes abit 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 i 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 If the blob contains holes that have not been filled the length of the perimeter will include the points on the perimeters of these holes Compactness The compactness is high for blobs that are nearly circular and low for blobs that are elongated or complicated 400 compactness Where A is the area P is the perimeter of the Blob in question An idealized circle would have a compactness of 100 but because the perimeter is approximated see above the highest realistic value for most blobs is roughly 90 Very small blobs with just a handful of pixels may reach or even exceed the theoretical maximum of 100 again because of the approximations in the perimeter calculation Major Axis Length Minor Axis Length and Major Axis Angle To understand Major Axis Length Minor Axis Length and Major Axis Angle it is i
30. 120 183 Ethernet connection 52 183 setup 183 Communication tool error codes 61 193 compactness 117 compute statistics 116 D discard boundary blobs 116 E eccentricity 119 edge profile graph 98 99 edge strength 99 error codes Communication tool 61 193 Reset command 62 193 error codes continued Trigger and Product Change 61 193 Ethernet connection 52 183 EXEC PRODCHANGE 62 194 EXEC RESET 62 194 EXEC TRIGGER 62 194 F fill holes 116 filters 100 fixed threshold 109 Frame Tag Numbers 62 193 G GET 63 194 gray scale intensity 104 H histogram 106 114 input tab locate tool 96 inspection storage capacity 41 L largest hole to fill 116 linear tools locate tool 96 locate tool 96 100 101 filters 100 101 min width 101 ROI width 101 sample rate 101 smoothing 101 input tab 96 location tool rotation enable 101 M major axis angle 118 major axis length 118 mask 106 109 math tool 136 max radius 119 max radius position 119 Index measure tool 141 min radius 119 min radius position 119 minor axis length 118 monitor tab product select 207 ready 207 system error 207 perimeter 116 polarity 98 99 product select 207 R RCC log 63 194 RCC return values 61 192 ready 207 reject level 109 110 relative threshold 98 remote teach 165 200 Reset command error codes 62 193 ROI width 101 rotation enable 101 run screen 203 monitor tab 203 254 5 sample rat
31. 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 Serial Cable to PC serial Port or Switch DB9P06 2 m 6 STP07 2 1 m 7 DB9P15 5 m 15 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 11 Tel 763 544 3164 System Description 7 2009 STP25 7 6 m 25 DB9P30 9 m 30 The Sensor can be connected to the PC via a serial cable or an Ethernet network Ethernet provides faster communication 1 Yellow RS 232 TX Output 2 Gray Remote Teach Input 3 Orange Product Change Input 4 Pink External Trigger Input 5 Black Discrete I O 1 In Out 6 Red Discrete 2 In Out 7 White Discrete 3 In Out 8 Light Blue Discrete I O 4 In Out 9 Violet RS 232 RX Input 10 Green RS 232 Signal Ground Output 11 Blue Common Signal Ground Input 12 Brown 10 30V 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 Software Overview The PresencePLUS application window is shown below Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Description 2 2 1 Main Menu Toolbar Use the Main Menu toolbar to navigate between the
32. 301 get set tool command attempted while the inspection is not executing 302 get command issued before inspection is triggered for the first time tool results unavailable 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 the inspection 402 Reset command attempted in the middle of the product change 500 RCC commands not accepted because the sensor is in the Playback mode Timeout error codes 600 Product change timeout occurred 601 Trigger timeout occurred 00 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 completed 8 7 3 Frame Tag Numbers RCC provides user with a debug facility that
33. 6 0 3 From the list of sensors in the PresencePLUS Firmware Updater select the sensor you want to back up and click Connect P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 231 Tel 763 544 3164 Backing Up and Restoring Vision Sensor Data 7 2009 4 Click on the Sensor Backup tab Yes Brent 192 168 0 22 P4 OMNI 2 2 0 00 D0 66 01 44 7F TTE 192 168 0 22 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 232 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Backing Up and Restoring Vision Sensor Data Yes Brent 192 168 0 22 40 2 2 0 00 D0 66 01 44 7F Backup File SAVE AS 221 x Save in E Banner 3 ek E3 3 sB20080107 1354 IP192 168 0 15 bk File name 8 Save as type Sensor Backup file Cancel 6 In the Backup Content field select either of the following to backup Firmware Configuration Inspection s Configuration Inspection s P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 233 Tel 763 544 3164 Backing Up and Restoring Vision Sensor Data 7 2009 7 Optionally click on the Edit Note button to add notes for the backup operation
34. 763 544 3164 PresencePLUS Software Tools 7 2009 Click this button to add a mask to an image A mask excludes an area inside the ROI Add Mask 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 1 Reject Level Example Consider setting up an inspection for a relatively bright object that ranges from 180 to 200 in pixel intensity and takes up 15 percent of the Field of View yet the remaining 85 percent of the Field of View ranges from 230 to 255 in pixel intensity Setting a Reject Level of 220 will allow the tool to pay attention to only the bright object being inspected Further masking the bright parts of the Field of View will not be necessary as only pixels whose intensity is less than the Reject Level will contribute to bright Blobs Note that rejected pixels are colored orange in the histogram Average Gray Scale Results The Results field returns the average gray scale value of the pixels in the ROI as well as the Standard Deviation o Histogram The Average Gray Scale tool has an optional Histogram feature The histogram below corresponds to an Average Gray Scale tool ROI The horizontal axis of the histogram is the individual pixel brightness values the vertical axis is a count of how many pixels in the Average Gray Scale ROI have that brightness
35. Blob Detect Tool7 4 1 7 4 Communication Tool Exportable Results Blob Detect Tool on page 128 Communication Tool Exportable Results Edge Tool7 4 1 7 5 Communication Tool Exportable Results Edge Tool on page 129 Communication Tool Exportable Results Geometric Count Tool7 4 1 7 6 Communication Tool Exportable Results Geometric Count Tool on page 129 Communication Tool Exportable Results Object Tool7 4 1 7 7 Communication Tool Exportable Results Object Tool on page 130 Communication Tool Exportable Results Pattern Count Tool7 4 1 7 8 Communication Tool Exportable Results Pattern Count Tool on page 130 Color Tools Communication Tool Exportable Results Average Color Tool7 4 1 7 9 Communication Tool Exportable Results Average Color Tool on page 131 Communication Tool Exportable Results Color Blob Tool7 4 1 7 10 Communication Tool Exportable Results Color Blob Tool on page 131 Communication Tool Exportable Results Color Match Tool7 4 1 7 11 Communication Tool Exportable Results Color Match Tool on page 131 Premium Tools Communication Tool Exportable Results Barcode Tool7 4 1 7 12 Communication Tool Exportable Results Barcode Tool on page 132 126 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Communication Tool Exportable Results Bead Tool7 4 1 7 13 Communication Tool Exportable Results Bead Tool on page 133
36. 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 A digital camera inside the Vision sensor captures images and the sensor software analyzes the images using one or more Vision tools to pass or fail the product The PC is not required for running inspections after the inspection files have been stored in the sensor s memory Inspection setup involves focusing the camera and selecting the appropriate Location Vision and Analysis tools The full range of inspection tolerances can be established either automatically or manually The automatic Teach function eliminates the iterative process of determining correct tolerances The PresencePLUS Proll and P4 Sensor families accommodate both translational and rotational variation Parts moving down a production line or web need not be oriented in exactly the same way The Sensor is easy to operate with both basic and advanced options New users can follow the guided Setup sequence Advanced users can override automatic settings and create highly customized inspections 2 1 P4 Vision Sensors 2 1 1 Typical P4 Vision Application A typical PresencePLUS P4 application is shown below P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 System Description 7 2009 In the application shown above as each plastic formed part comes past the
37. ROI in the input tab to expand the list of ROI shapes from which to select The shapes are shown below Note An Area ROI can be as large as the entire Field of View FOV Rectangular Elliptical Circular P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 95 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 7 1 3 Search ROI Geometric Find Geometric Count Pattern Find and Pattern Count ROIs like Area ROIs can be rectangular elliptical or circular however these ROIs are also bounded by a Search ROI The Search ROI is indicated by a yellow box that is always rectanagular and by default is 20 to 30 larger than the Area ROI which is red NOTE The search area can be stretched larger than the default area gt 7 Search area is always E rectangular 7 2 Location Tools 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 Additionally the software can calculate the angle at which the Locate tool intersects the feature s edge and rotates following tools Regions of Interest ROIs accordingly Usage The Locate tool is used to align and position Vision tools consistently over the feature of interest Fields The following are fields on the Locate tool Input t
38. System Setup Window Overview 7 2009 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 System Setup l Sensor Select Communication InputOutput Strobe Units Reset Start Up Inspection Language Tools Configural Setup Mode Inspection Name 1 New ins 1 New ins 2 New ins 3 Mayonesa ins 4 Luitpold ins 5 Luitpold2 ins bolt ins Proll Start Up Inspection Tab 88 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview 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 System Setup Sensor Select Communication InputOutput Strobe Units Reset Start Up Inspection NTSC Language Tools Configurat Zoom Level 41 2 1 4 1 NTSC Overlay Enable P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 89 Tel 763 544 3164 System Setup Wi
39. Test Tool Test Tool OCV Tab Indicates where the String matches or not Test Tool OCV Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 177 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Test Tool Test Tool Math Tab Indicates where the String matches or not Test Tool MathTab 178 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Test Tool Measure Tab Indicates where the String matches or not Test Tool Measure Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 179 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Test Tool Test Tab Indicates whether the test Test Tool TestTab 180 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 181 Tel 763 544 3164 Communication Tool Setup 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
40. 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 V Note The trigger device can be any 10 30V dc photoelectric sensor PNP or NPN or a device with a similar output 10 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Description PC with PresencePLUS Software Required only for configuration and diagnostics Light Source N CAUTION The sensor power must be 24V dc x 10 if a light source is powered by the Sensot Discrete 1 0 T Power Ground RS 232 Serial ipe lg one THe Video Monitor optional Trigger Device m 2 1 3 P4 Cable Connections 12 pin Discrete VO Power Ground RS 232 Serial see pin assignments below Ethernet 4 6e Light Connector Banner lights only 1 Brown same voltage NTSC Video 12 pin discrete VO to Monitor 3 Blue ground 4 Strobe nd 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 BNCO06
41. Yes Tool7 4 3 Measure Tool on page 141 unique_158 Yes Yes Yes Yes No No Test Yes Yes Yes Yes Yes Yes Tool7 4 4 Test Tool on page 162 7 4 1 Communication Tool Yes Yes Yes No Yes 7 2009 Yes Yes Yes Yes Yes The Communication tool is used to conditionally export data from the Sensor to an external device Results from Vision tools can be selected by the Communication tool and exported to an external device The Sensor can export data over the Ethernet or via its serial channels Examples of exported results Execution times Whole number counts Input and output values from a Test tool Success from Locate and Test tools Reference point to edge and rotation distances Fields The following are fields on the Communication tool Input tab Select7 4 1 2 Select on page 122 Connections 7 4 1 3 Connections on page 122 Format7 4 1 4 Format on page 123 Output Filter7 4 1 5 Output Filter on page 123 120 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 PresencePLUS Software Tools Guidelines for Configuring the Communication Tool7 4 1 6 Guidelines for Configuring the Communication Tool on page 123 Supported Platforms Yes Yes Yes Yes Yes Yes Yes Yes Communication Tool Input Tab Communication Tool Adding a Communication Tool Important Add the Communication tool after the V
42. allows users to correlate command completion with current frame numbers This facility is enabled by issuing a SET FRAMETAG ENABLE command This command will cause P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 193 Tel 763 544 3164 Communication Tool Setup 7 2009 RCC to send the current frame number as the command acceptance code This will allow users to track when each command was issued and which frame it applies to For EXEC TRIGGER command returned number will be the frame number at the completion of the inspection execution For EXEC TRIGGER command returned number will be the frame number at the completion of the inspection execution For all other commands the returned number is the current frame number 8 7 4 Command Processing RCC commands are interpreted in the context of the running PPVS system Due to the constantly changing System state caused either by external action or by previous RCC commands certain rules are imposed on RCC command acceptance and processing Please note that command acceptance does not constitute successful completion of the command 1 EXEC TRIGGER command can be successfully accepted under the following conditions Inspection is Executing and is Ready 2 EXEC PRODCHANGE command can be successfully accepted under the following conditions Sensor is idle inspection is not loaded and the GUI is not connected Inspection is Executing and is Ready
43. an operation the user intends to perform on the OBJECT_IDENTIFIER There are three possible actions available GET used to retrieve information associated with the named object This information can be a Boolean value and unsigned or signed number a string or for complex objects like the Communications tool a field delimited record that includes other data types SET used to assign a value to a named object EXEC used to execute a pre defined functional object or activity in the sensor Activities may take object identifiers as parameter qualifiers The table below identifies objects that are supported in the current RCC release their identifiers and the corresponding actions that they will support Items highlighted in bold are command keywords Flag objects are appended with the FLG suffix status objects are appended with the STS suffix and counters are appended with the CNT suffix Trigger TRIGGER EXEC None Timeout If no qualifiers msec are specified a ae 30 second timeout is used NOWAIT Product PRODCHANGE EXEC Numeric Timeout By default a 30 Change Inspection ID msec second timeout is used NOWAIT Counter or RESET EXEC SYSERRFLG Reset either the Flag Reset r System Error Flag Pass and PASSFAILCNT Fail counters or or Missing Trigger MISSTRIGCNT count Remote Teach RTEACH EXEC None TRIGGER or Enables remote TRIGGER teach If no NOWAIT or qualifiers are TRIGGER specified
44. 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 X4 X2 Subtract Returns X4 X2 Multiply Returns X4 X2 Divide Returns X X2 138 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 PresencePLUS Software Tools Relational Operations Greater Than If X4 gt X5 returns True else False Greater Than or Equal To X gt X3 returns True else False Less Than If X4 lt X5 returns True else False Less Than or Equal To If X4 gt X3 returns True else False Equal To If X4 X3 returns True else False 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 X X2 Returns the difference absolute value of the difference between two operands Mod Modulus Returns Mod X X3 The modulus or remainder operator divides operand1 by operand2 and returns the remainder Div Integer Division Returns Div X X3 Returns the integer part of division remainder is discarded Multiple Operand Operations Multiple Operand Operations allow the user to make a long list of input data All of these pieces of information are
45. be followed by a command specific return value or a completion code If the frame tag is enabled the current frame number will be returned instead of 0 as command acceptance indicator 100 Invalid command entered by the user Trigger and Product Change error codes 201 Product change command attempted in the middle of the inspection 202 Trigger command attempted in the middle of product change 203 Trigger command is attempted when the inspection is not executing sensor is idle 204 Specified inspection slot is out of range 205 Trigger command attempted in the middle of the inspection 206 Product change command attempted in the middle of a product change 207 Product change command attempted while the sensor is in the Teach mode 208 Product change attempted when the GUI is connected and the inspection is not executing Comm tool error codes 301 get set tool command attempted while the inspection is not executing 302 get command issued before inspection is triggered for the first time tool results unavailable 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 61 Tel 763 544 3164 System Setu
46. button 48 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Select Ethernet Adapter 5 x Please Select Ethernet Adapter Connected to Same Subnet as Sensor Adapter Description ADMtek 985 10 100Mbps Fast Ethemet Adapte IP Address 132 168 0 2 Subnet Mask 255 255 255 D Default Gateway 0 0 0 Cancel 3 Click Next 4 Enter an appropriate sensor name in the New Sensor Name field Set Sensor IP Address nd Please Enter New Values Entries Initialized With Suggested Values New Sensor Name em New IP Address 192 168 1 New Subnet Mask 25 255 25b U New Gateway D uu E o W 0 Sensor MAC Address 00 D0 66 01 55 C1 Host PC IP Address fi 92 168 0 2 lt Back Cancel 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 49 Tel 763 544 3164 System Setup Window Overview 7 2009 System Setup NTSC Language Tools Configuration Sensor Select Communication InputOutput Product Change Select Strobe Trigger Units Reset Start Up Sensor Neighborhood Available Product ID Sensor Version Running Inspection Error MAC
47. character sequence backslash doublequote Backslah be specified as character sequence backslash backslash tab can be specified as character sequence t backslash t Embedded NULLL characters are not allowed 196 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 The inspection parameters 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 If the good parts can vary in appearance standard Teach is a better option Click the Quick Teach button to trigger 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 a tool s Results field includes a tolerance e g shortest distance then the additional tolerance is calculated default is 10 3 The Save window prompts the user to save the inspection on the Sensor 4 The software proceeds to the Run screen Caution Quick Teach will overwrite all the minimum and maximum values the Test
48. image evaluated while setting up or running the inspection For inspections with many Vision tools the Test tools can be linked together Usage Gather results from image processing tools and discrete inputs Establish parameters for desired inspection results 162 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Tie multiple results together with logic options Include results in the overall Pass Fail criteria Activate an output based on the inspection results Fields The following are fields on the Test tool Input tab Logic7 4 4 1 Logic on page 164 Inputs7 4 4 2 Inputs on page 164 Enabling Remote Teach7 4 4 3 Enabling Remote Teach on page 165 Pass Fail Contribution7 4 4 4 Pass Fail Contribution on page 165 Tool Tabs in the Test Tool Window7 4 4 5 Tool Tabs in the Test Tool Window on page 165 Supported Platforms Yes Yes Yes Yes Yes Yes Yes Yes Test Tool Input Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 163 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Test Tool Logic Use logic to combine multiple inputs to the Test tool The results at the inputs and the logic option selected will determine whether the Test tool is True or False Inputs Choose previous tools or external inputs that need to be evaluated to pass the Test too
49. is recognized V 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 pixel resolution 1 2 pixel resolution 1 3 pixel resolution 1 4 pixel resolution SON ES Results The Results field provides the position of the first edge found The position is expressed as X Y coordinates in pixels with the origin 0 0 at the upper left corner of the screen Select If you select Rotation Enable the software Activates the rotation compensation calculation ROIs that follow will rotate according to the difference between the reference image and the current inspection image P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 101 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 V Note ROI width must be 13 pixels or greater Advanced Tab If you have enabled the Advanced Configuration in the System setup the software displays and Advanced tab This enables you to force any location tool to Absolute Positioning v 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 g
50. lines is generated These results are The angle of intersection between the two lines The intersection point 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 Additionally the following results are generated in this operation The perpendicular line The angle of that line relative to the x axis The intersection point between the original line and the perpendicular line Measure from a Curve to a Point This operation is available if a Bead Tool has been added to the inspection prior to the particular instance of the Measure Tool being edited In this operation the software calculates the distance between a curve and a point This measurement can be from either the closest or the farthest point on the curve and is selected in the Bead tab in the Measure Tool P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 143 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool Input BEAD 1 EDGE_ Select Closest Point Farthest Point 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 be
51. method if sensor has latest version of firmware Start the PresencePLUS software version 3 2 0 2008R1 or newer Connect to the sensor with the MAC address used for key Click System on the title bar and then select the Tool Configuration tab 92 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Select the tool to activate Enter the license key received for the sensor Click on the Register button To view licenses currently registered within the sensor click the Help button on the title bar and select About from the menu The licenses are also displayed next to the product name in the title bar P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 93 Tel 763 544 3164 PresencePLUS Software Tools 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 nd Note Widening an ROI provides an average value location which results in improved repeatability 1 Pixel Wide 13 Pixels Wide 7 1 2 Area ROI An Area ROI can be rectangular elliptical or circular Click on Draw
52. to the sensor s video port Thread the lens onto the sensor Verify electrical connections V is connected to Pin 12 brown were 10 30V dc 24V dc 10 if a light is powered by the sensor V is connected to Pin 11 blue wire dc common The trigger device is connected to Pin 4 pink wire Trigger In Any additional connections are made as required Verify power Ensure that the sensor is powered by 10 30V dc 24V dc 10 if a light is powered by the sensor Verify PC configuration Ethernet connection IP address of PC is 192 168 0 2 Serial connection A dial up network has been established and the network is a point to point protocol PPP Power up the hardware and verify that the Error LED turns off 24 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Getting Started During powerup all the sensor LEDs illuminate for 15 to 20 seconds After the Red Error LED turns OFF verify that the Green power LED is flashing 7 Launch the Software Click Start PresencePLUS to start the program If the sensor has a different IP address than the default address 192 168 0 1 or if it is connected through a serial connection the following error message will display Sensor not found on specified IP address 192 168 0 1 Do you want to try another IP address Click Yes to access the System Setup window Click on the
53. tool If values were entered manually or no changes are desired go directly to Run without clicking Quick Teach 9 2 Teach Use Teach to automatically set the Pass Fail parameters based on a sample of good parts Instead of using the reference image as the good part Teach uses new good parts that are presented to the sensor under running conditions Note The Teach screen looks very similar to the Run screen Verify that the sensor is at the Run screen and not the Teach screen before running an inspection There is no limit to the sample size during the Teach process Teach will only expand the parameter window If the current tolerances were greater than the sample set shown during the Teach process then the Sensor will retain the old tolerances Use Teach when there is a large part variation between the good parts Caution Only use good parts with Teach A taught bad part will pass the inspection P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 197 Tel 763 544 3164 7 2009 9 3 Teach Screen To display the Teach screen click the Teach button on the Main Menu toolbar or click the Next button on the Tools screen Build tab Use the Teach screen to automatically set judgment tolerances to accommodate all variations of good product After teaching the inspection typically proceed to the Run screen to run it lt Note Before entering the Run screen pop up prompts the u
54. tool Input tab Math Tool Modes7 4 2 1 Math Tool Modes on page 137 Use of Constants7 4 2 2 Use of Constants on page 141 Results7 4 2 3 Results on page 141 Supported Platforms 136 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Yes Yes Yes Yes Yes Yes Yes Yes Math Tool Input Tab Math Tool Greater Then gt Greater Than Equal To gt Less Than Less Than Equal To lt Standard Deviation Variance 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 Absolute value returns Abs X The absolute value of an operand is its unsigned magnitude For example Abs 1 5 and Abs 1 5 both return 1 5 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 137 Tel 763 544 3164 PresencePLUS Software Tools Two Operand Operations 7 2009 Two Operand Operations require two inputs Operand 1 and Operand 2 For each operand you specify the vision tool or a constant E BLOB 1 BLOB_2 ens a specific attribute of interest for that tool Smallest Blob Area 1034 Smallest Location x 661 35 Smallest Location y 591 51 Areas 1 1034 The following
55. will be required one for 100 s digit of the program number one for the 10 s digit and another for the 1 s digit Corresponding sets of pulses on the Product Select line are also required as shown below duct Select Product Select Step pulses Start counting pulses on Pro The timing diagram above shows the example for the product number 211 The minimum pulse width for all the timing is 1 ms to guarantee that the vision sensor will see the transitions The valid number of pulses for each place is 0 9 If an invalid memory location is selected or one which does not store a valid inspection file the Current Inspection number will be set to 1 and the sensor will be kicked out of Run mode At this point a Product Change to a correct inspection file will get the sensor back into Run mode and inspecting 12 2 1 Product Select in Three Pulse Configuration To use the product select option in the 3 pulse configuration follow these steps 1 Select Hardware Input in the Select tab of the Run Screen 2 Configure an I O for Product Change 3 Select 3 Pulse set 4 For the Input of Inspection to be selected there are three sets of pulses and the pulses are setup in the following manner 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 sig
56. 0 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Communication Tool Exportable Results Bead Tool 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 Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power up Threshold Used Minimum Width Found Maximum Width Found Average Width Found Number of Good Regions Total Length of Good Regions Good Region Lengths Longest Good Region Length Number of Narrow Regions Total Length of Narrow Regions Narrow Region Lengths Longest Narrow Region Length Number of Wide Regions Total Length of Wide Regions Wide Region Lengths Longest Wide Region Length Communication Tool Exportable Results OCR Tool Tool Name string User defined name Success 1or0 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 133 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Execution Time Max ms Slowest recorded to
57. 0000 Tel 763 544 3164 7 2009 System Setup Window Overview 6 2 4 Using Custom ASCII to Communicate with an External Device Over Ethernet To select Custom ASCII click on the RCC Protocol pull down menu and select Custom ASCII from the menu The protocol configuration for Custom ASCII is displayed as shown below The default protocol configuration parameters are Ethernet Socket 1 configured for TCP IP 20000 as the communications channel No Frame Start Command Start Delimiter none Carriage Return Line Feed as Frame End Command End Delimiter Comma as the Output Delimiter for the Field Definition Space as the Input Delimiter for the Field Definition lt SPC gt NTSC Language Tools Configuration Sensor Select Communication InputOutput Product Change Select Strobe Trigger Units Reset Start Up Communication Setup Remote Command Channel RCC Configuration Channel RCC Protocol Selection Ethernet Socket 1 v RCC Protocol ASCII Logs Get Log Settings Connect to Channel Ethernet Socket 1 X IP ddress 2 Frame Definition Field Definition Mae Start Delimiter lt None gt Input Delimiter End Delimiter Ic CR LF gt gt Output Delimiter TCP IP Port 20000 Input Frame Example get commtool i r n Reset Log Output Frame Example data3Nr n 1 1 1 n dGatal dataz Connector Ethernet RJ 45 P N 000000 Banner Engineering Corp
58. 165 Tel 763 544 3164 PresencePLUS Software Tools Test Tool Result elect min max V 8 Tool Options Locate Pattern Find Geometric Find Average Gray Scale 2 NES NNI Not Available Not Available Not Available Average Gray Scale Min Max Tolerance 96 7 2009 BLOB Count Min Max Largest Area Min Max Tolerance Smallest Area Min Max Tolerance Total BLOB Area Min Max Tolerance Edge Bright to dark edge count Min Max Dark to bright edge count Min Max All edge count Min Max Object Count Min Max Bright object Dark object All bright or dark Width pixels Min Max Bright Dark Geometric Count Match count Min Max 166 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools 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 Gray Scale Min Max Tolerance Deviation Min Max Tolerance Test Tool Average Gray Scale Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 167 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Test Tool Blob and Color Blob Tab Indicates if the result is a MATCH or NO MATCH Test Tool Color
59. 3 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 228 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Saving Inspections Save Inspection Number Name 0 Temp 1 2 3 4 5 6 7 8 New ins 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 Note Check the Space Needed and Space Available fields to ensure there is room to save an inspection You can choose whether to save a reference image Not saving a reference image with the inspection frees up a lot of room onboard the sensor However inspections that include any of the following tools require a reference image to be saved Geometric Find Geometric Count Pattern Find Pattern Count Color Match Color BLOB P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 229 Tel 763 544 3164 Saving Inspections 7 2009 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
60. 3 Opening an Inspection from the Sensor or a Library Inspections can be stored on the sensor or to a libary of inspections stored on a PC or network drive To select and open an inspection from the sensor or a library 1 Click the Load tab 2 From the Load from drop down list select the Sensor or a location on a PC or Network 3 Select the desired inspection 4 Click the Load button The tools from the selected inspection populate the Navigation Results window At this point all tools in the inspection can be modified If new tools are to be added simply select the tool in the Tool screen If tools are to be deleted select the tool and click the Delete icon Note If you want to see the the image stored with the inspection check the Load reference image box 42 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Delete Tools Screen P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 43 System Setup Window Overview To access the System Setup window click the System button in the Main Menu toolbar on the application window To clear changes click Cancel To save changes and exit the System Setup window click OK To exit the System Setup window without changes click the X in the upper right corner of the window 1 Note To make changes to the sensor selections an inspection must not be ru
61. 4 20005 20006 20007 20008 20009 184 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 Communication Tool Setup 8 2 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 The following table shows the configuration options Baud Rate 115200 Data Bits 8 Parity None Stop Bit 1 Flow Control None To setup a serial connection 1 Click on the System button in the Main Menu toolbar to bring up the System Setup window 2 Click on the Communication tab 3 Choose Serial 1 from the Connection drop down list of the Communication Tool Setup field P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 185 Tel 763 544 3164 Communication Tool Setup 7 2009 Communication Setup Channel Serial 1 Settings Baud Rate 115200 5 Data Bits 8 zl Parity None Stop Bits 1 Flow Control Noe Connector Serial Because there is no flow control for the serial connections the sensor wil not detect or log a lost or broken
62. 44 3164 P N 000000 Tools Screen 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 The Tools screen shown below supports this inspection organization 2 Existing inspections can be obtained from the sensor with or without the reference image for execution or modification This method is very useful if the user has an existing inspection on the controller and needs to make modifications to establish a new inspection 3 Existing inspections also can be obtained from host resources using the Library In this case the sources of the inspections are the host s hard drive or network resources This method provides access to an unlimited number of existing inspections with or without the reference image for execution or modification P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 37 Tel 763 544 3164 Tools Screen 7 2009 5 2 Typical Build Modify Procedure 5 2 1 Choosing a Tool To choose the right tools for an inspection consider the tool s parameters and result options Parameters are
63. 63 544 3164 System Setup Window Overview 7 2009 Word 0 byte gj byte2 byte ras ControlLogix packing format is used to store characters into registers when the Character String Order option is set to Low Byte High Byte selection Please note that in this particular case the length of the string is still stored in one 16 bit register and only the order of characters in each 16 bit register follows the ControlLogix format Word 0 1 2 3 L eng 4 bytes oes Ll Communication Setup Channel Settings Protocol Modbus TCP C PCCC SLC PLCO5 Ethemet IP 32 Bit Format LSW MSW MSW LSW Character String Order High Byte Low Byte C Low Byte High Byte L Connector Industrial Ethernet 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 _ All commands have the following structure ACTION OBJECT_IDENTIFIER QUALIFIER S 56 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview ACTION is
64. 64 Product Change 7 2009 System Setup EEG xj Sensor Select Communication InputOutput Strobe Unis Reset StartUp Inspection NTSC Language Tools Configuration Inputs Outputs Product Select Type 6 Current Sourcing NPN Driver Requeed Curent Sinking NPN One pulte set Cistent Sinking Driver Required Cunent Sourcing PNP Thee pulse set System Inputs Pin 84 Trigger Pin 83 Product Change 2 Remote Teach VO Function OutputDeloy Output Dization 1 5 Product Select gt 43 ms 0054 VO Pinti Function Normaly r OutputDelay Output Duration Open Latched Time 2 6 General Output 7 42 gt Jo m 6 d ME VO Pint r Function Normally DutputDelay Output Duration 3 7 General Ingut 41 fi VO Pnt Function Normally DutputDelay Output Duration 4 8 Genera Input a ES ms Cos 11 2 Product Select Input Specifications ON lt 2V at 1 mA max gt 8V at 7 5 mA max OFF gt 10V at 4 mA max lt 2V at 7 5 mA max 222 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 12 P4 Product Change and Product Select 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
65. AS Language program onto robot controller to the PresencePLUS Sensor A The sample program implements the following actions sample AS program is provided to Connects to the RCC et you started TUA Triggers vision sensor and wait for inspection to complete P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 65 Tel 763 544 3164 System Setup Window Overview 7 2009 Determines pass fail condition of the inspection Gets the X Y and Rotation about Z axis offsets Closes the connection to the RCC 2 Run program Note The IP address and port number within the sample AS Language program must be modified to match the IP address and port number of the PresencePLUS sensor Overview The PresencePLUS Proll and P4 sensor families are cost effective easy to use camera systems with advanced visual inspection capability Where other vision systems can be difficult to configure the PresencePLUS software is straight forward This enables users with minimal experience with vision systems to quickly set an inspection that inspects and accurately determines product position and to integrate the PresencePLUS system into their environment To facilitate the implementation of Presence PLUS Vision Sensors with robots to provide vision guidance and or product quality tests on a production line Presence PLUS supports a user configurable ASCII based TCP IP communications interface called the Remot
66. Amount of rotation from the current edge to the reference edge Rotation Origin pixels X Y X Y coordinates of the point from which ROIs will rotate Communication Tool Exportable Results Geometric Find Tool Tool Name string User defined name Success 1 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 127 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 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 ROls will rotate Best Match Rotation degrees Rotational value of the first pattern found Best Match Location pixels X Y X Y coordinates of the first pattern found Point Best Match 96 20 100 Percent match of the first patttern found Communication Tool Exportable Results Pattern Find Tool Tool Name string User defined name Success 1 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 inspectio
67. Blob Tab 168 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Test Tool Input CM 1 Result is MATCH NO MATCH Test Tool Edge Tab Values Options Bright to Dark Min Max Dark to Bright Min Max Total Min Max P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 169 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Test Tool Edge Tab Test Tool Input EDGE 1 Bright to Dark Dark to Bright Total Test Tool Geometric Count Tab Values Options Count Min Max 170 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Test Tool Geometric Count Tab Test Tool Input GG 1 Match Count Test Tool Pattern Count Tab Test Values Options Match Count Count Min Max P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 171 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Test Tool Pattern Count Tab Test Tool 52 Esee Test Tool Object Tab 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 172 Banner Engineering Corp Minneapolis MN USA www bannerengineeri
68. EA AREA 1 3 deslant In order for the OCV OCR Vision tool to box correctly there must be a minimum of a 1 pixel wide column between characters If the characters are slanted in such a way that they overlap in ths 1 pixel wide column then the image may need to be manipulated or deslanted so that the image can box correctly diffuse The process of redirecting incident light over a range of scattered angles while reflecting from or transmitting through a material distortion Undesired change in the shape of an image or waveform from the original object or signal edge 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 f stop or f number Ratio of the focal length of a lens to the diameter of its opening Increasing or decreasing an exposure by one f stop doubles or halves the amount of light allowed through the lens feature Any characteristic descriptive of an image or a region in an image feature extraction The process of generating a set of descriptors or characteristic attributes from an image fiducial mark A mark defining a datum point or standard of positional reference used as a basis for calculation or measurement field of view FOV The area of object space imaged at the focal plane of a lens fluorescent l
69. Gray Scale Tools ce eee adden addi eee ede ee ee e da 103 7 3 1 Average Gray Scale Tool ederet etd no ehe LER ena nrbe anite 104 7 92 Blob Detect nici Pee oU pem E des 107 d Analysis TOOls i i ete Re HD Ei Re es 119 COMMUNICATION TO0li be entier i on fec foie 120 2 BUNC 136 74 9 Measure Tool xt lp tede epe 141 4 4 Test TOOL i i e eo ee e der e dte 162 8 Communication Tool Setup eeeeeseeseeeeeeeeeeeeee enne 183 8 1 Ethernet 2 1er iie abite t ope o ir e adeat 183 9 2 Serial Conriectlon zs iis c det ae laete die b n rege 185 8 3 Overview of Testing the Communication mene 186 8 4 Detailed Steps for Testing the Communication Tool 187 8 4 1 Testing Ethernet 187 8 4 2 Testing Serial eene 187 8 5 Troubleshooting Ethernet 188 8 6 Troubleshooting Serial 188 iv P N 000000 7 2009 PresencePLUS P4 AREA AREA 1 3 8 7 Remote Command Channel Configuration 189 8 7 Remote Command Sobasona opea ea iae Fra alia ead 189 8 7 2 RCC Retur Values ee ee d eti aes tee ta den deciles 192 8 7 3 Frame Tag Numbers Rl n ned ee
70. Manuals Communication Setup Instructions Firmware Update Version Information PresencePLUS PC Software PresencePLUS Update Firmware PresencePLUS Utility Programs Adobe Acrobat Reader Internet Explorer Version 6 0 Note The following instructions assume you are installing the software on Windows 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 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Getting Started Documents X My Computer Open aR Explore Bett Search For Computers Network Drive ui Disconnect Network Drive 2 i Create Shortcut m W Delete iL Rename c Properties SETAN Ae b On the Local Area Connection right click on Properties EA Local Area Connecting Disable Wizard Status Repair New Connection Bridge Connections Create Shortcut Rename Properties nd 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 21 Tel 763 544 3164 Getting Started 1 Local Area Connection 2 Prope
71. Minneapolis MN USA www bannerengineering com 81 Tel 763 544 3164 System Setup Window Overview 7 2009 6 3 P4 Input Output Tab Use this tab to set t he functionality of the four programmable I O connections Inputs and Outputs 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 Pin I O 1 through 4 in the I O column correspond to Pins 5 through 8 in the Pin column Function Options from the drop down list are General Input Input to the sensor General Ouput Output from the sensor that can be selected in a Test tool Pass Active when the entire nspection passes Fail Active when the inspection fails System Error Active when a system error occurs Ready Active when the sensor is ready to accept another trigger Product Select Used in conjunction with Product Change to select inspection locations at which to begin execution Normally Select the state open or closed that the output will take when not active Open Closed 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 tu
72. None None None None None None None None CommrTool Numberor CommrTool Name None None None None None None Retrieve currently running inspection 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 Retrieve the value of the Pass Fail flag 1 if pass O if fail Retrieve the value of the System Error either O or 1 Retrieve the current frame number Retrieve the pass count Retreive the failed count Retrieve the Iteration Count P N 000000 Tel 763 544 3164 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 191 Communication Tool Setup 7 2009 System Error SYSERRCNT GET None None Retrieve the Count system error count Missed Trigger MISSTRIGCNT GET None None Retrieve the Count missed trigger count I O Line Status lOSTS GET I O line id None Retrieve the numeric either cached status 1 through 4 or 1 of the I O line through 6 Gain GAIN GET None Retrieve the gain Gain GAIN SET Positive Integer None Set the gain Exposure EXPOSURE None Retrieve the camera exposure Exposure EXPOSURE SET Positive Number None Get the camera exposure Frame Number SET ENABLE None Enables frame Tag number as command acceptance indicator Frame Number SET DISABLE
73. None Disables frame Tag number as command acceptance indicator Frame Number FRAMETAG None None Retrieve the Tag status of the frame tag indicator 8 7 2 RCC Return Values RCC return values are numeric and are listed below 192 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Communication Tool Setup 0 accepted This return code is generated when a valid SET GET and EXEC command has been completely handled by the sensor It may be followed by a command specific return value or a completion code If the frame tag is enabled the current frame number will be returned instead of 0 as command acceptance indicator 100 Invalid command entered by the user Trigger and Product Change error codes 201 Product change command attempted in the middle of the inspection 202 Trigger command attempted the middle of product change 203 Trigger command is attempted when the inspection is not executing sensor is idle 204 Specified inspection slot is out of range 205 Trigger command attempted in the middle of the inspection 206 Product change command attempted in the middle of a product change 207 Product change command attempted while the sensor is in the Teach mode 208 Product change attempted when the GUI is connected and the inspection is not executing Comm tool error codes
74. OTO connect error ELSE Increment the retry count and try again wei Cownt sp ii Male GT I o GOTO connect END ELSE PRINT SO END Error occurred during connection attempt s 78 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview connect_error RETURN Eine TOP PROGRAM tcp close ret val 0 rhe recut val e MCP COMO Sum 15e soe 3 p TORNS Iie oret val lt 0O ESN PRINT t9 Closes TCP connececlom eui o WU val ELSE PRINT TCP Connection has been closed END END Receive data over TCP connection PROGRAM tcp recv ret val S receive ret val 0 Che carura valus Ses OGNI Cus p dmm timeout recv 60 Timeout of 60 seconds max_recv_len 255 Maximum length of single string element receive Empty the return string num elem recv 0 Number of elements received Read the TCP socket Eco Sock cl Sxecuw ele jew KSC
75. PresencePLUS P4 AREA AREA 1 3 User s Manual Banner engineering Corp P N 125439 rev D 2009R2 Table of Contents 1 Product Support 7 1 1 Product SuppOrtie ct i eee fro IE ed en ee ee ee ee 7 12 ie tet teen a A nee epe od 8 2 9yStem 9 2 1 PA Vision Sensors aie dati po Oe e ente pd 9 2 1 1 Typical Vision 9 2 1 2 PresencePLUS P4 Components o edebat a tedio td abl tn brosse 10 2 1 3 Cable 11 2 2 Software Overview o etie giten etu peso pc I e Eee Pr ce santana ted 12 2 2 1 Main Men Toolbar vs eene v dee eee n ete dne 13 2 2 2 Image WIridOW 5 1 pete tete re rs 14 2 2 3 Navigation Results 15 2 2 4 Configuration 17 2 2 5 Status WIndOW 4t en tat oh tee tals tet une 17 3 Getting Started uen eid iir utere ci co 19 3 1 Installing the PresencePLUS 19 9 1 TInstalling the Softwate nce ee arr tee en rrr Ro ER DER 19 3 1 2 Starting Up the
76. PresencePLUS Software Tools 7 2009 Sensor Select Communication InputOutput Product Change Select Strobe Trigger Units Reset St NTSC Language Tools Configuration Select or hide tools and or their enhanced features f a tool or its enhanced feature is unselected then it will be unavailable within the GUI Tool Description Select a tool to view a short description of it r Configuration Mode Standard Enhanced Enhanced El Vision Average Gray Blob Enhanced Object Pattern Count Geometric Count Barcode Bead OCR Color Match Color Average E M Color Blob Enhanced El Analysis E v Measure Enhanced Math 21 Custom NOTE Tools used in current inspection shown in bold can not be hidden OK 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 Select one of the computed statistics choices from the drop down list to use for the sort sorting Position Area 7 3 2 6 2 1 Area on page 116 Perimeter7 3 2 6 2 3 Perimeter on page 116 Compactness7 3 2 6 2 4 Compactness on page 117 Major Axis Length Minor Axis Length and Major Axis Angle7 3 2 6 2 5 Major Axis Length Minor Ax
77. 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 T Uem e The following table describes the screen associated with each button in the Main Menu 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 Run Choose which inspection file the Sensor will run and view the results of the inspection System Wide Screens System Set up the discrete inputs and outputs and communication configuration This screen also has the Sensor diagnostic tools Save Name the current inspection files and save them to the controller or a PC for future use P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 13 Tel 763 544 3164 System Description 7 2009 Help Call the Help window or the About window 2 2 2 Image Window The Image window on the left side of the screen displays images acquired from the camera or the reference image that is set for the current inspection The toolbar buttons in the Image wi
78. 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 For further assistance contact Banner Engineering Green Power LED on sensor is not ON Sensor not getting enough power Interface cannot connect to the sensor Check the connection to the power supply No image on the monitor No image on PC or monitor Ruby display gerta None Green Ready LED on sensor is OFF Ensure that the sensor is receiving trigger signals The software seems to be working correctly but the Sensor not receiving triggers image is missing f the connections are secure call a Banner Applications Engineer Error message Failed to capture a full resolution Software restart needed or there are loose image Please try again connections Image is frozen on the PC and monitor Restart the PresencePLUS software Green Ready LED on sensor is OFF Check all connections software restart does not correct the problem and the connections are secure call a Banner Applications Engineer P N 000000 Banner Engineering Corp Minne
79. Use the Sensor Select tab to establish the Sensor connection with the PC 1 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 The following describes the fields in the Sensor Neighborhood 46 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Available If the Icon is green Yes the sensor is available if yellow a connection can t be established for some reason if red No the sensor is not available V Note The sensor to which you are currently connected will sho up as unavailable red icon Name The name of the sensor IP Address The IP address assigned to the sensor Product ID The sensor model and type Sensor Version sensor version Running Indicates whether the sensor is running or not Inspection Error Indicates whether there is an error condition associated with the sensor MAC The MAC address of the sensor PC GUI to Sensor Connection Setup This selection is used to configure the communication link between the GUI Graphical User Interface and the sensor There are two possible selections Ethernet RJ45 and Serial Ethernet RJ45 This selection will configure the GUI to communicate with the sen
80. ab Threshold Type7 2 1 2 Threshold Type on page 98 Filters7 2 1 3 Filters on page 100 Results7 2 1 4 Results on page 101 Select7 2 1 5 Select on page 101 Supported Platforms Yes Yes Yes Yes Yes Yes Yes Yes Locate Tool Tabs 96 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Locate Tool Rasve B Adding 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 cC Use this field to rename the tool The default is too name 1 tool name 2 manm and so on where the default fool 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 97 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 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 de
81. ad detected by the Bead Tool within its ROI 144 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools ATE The tool returns the distance calculations for the X and Y component Additionally the following results are generated in this operation The line connecting the two points The angle of that line relative to the x axis The coordinates of the selected farthest or closest point on the curve Measure from a Curve to a Line This operation is available if a Bead Tool has been added to the inspection prior to the particular instance of the Measure Tool being edited In this operation the software calculates the distance between a curve and a line produced by other Measure Tool This measurement is made from either the closest or the farthest point on the curve It is the shortest distance from the line to the selected point and is generated by creating a line perpendicular to the original line that intersects the selected point on the curve The points are selected in the Bead tab in the Measure Tool P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 145 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool Input BEAD 1 MT 1 Select Closest Point Farthest Point The curve drawn in purple over the image of the bead is an artifact generated by the bead tool It show
82. amp A lamp that produces light by exciting a phosphor with a plasma with the phosphor re emitting the energy as light focal length The distance from a lens principal point to the corresponding focal point Also referred to as the equivalent focal length and the effective focal length front lighting An arrangement in which the object is illuminated and viewed from the same side G gradient magnitude The rate of change of pixel intensities over a small local neighborhood gray scale Standardized variations of values from white through shades of gray to black in a digitized image with black assigned the value of zero and white the value of 255 halogen A gas such as iodine placed inside an incandescent lamp to gather the evaporated filament off the bulb and redeposit it back onto the filament 249 high pass filter A processing operation that enhances high frequencies and attenuates low frequencies histogram Frequency counts of the population of pixels of each intensity gray level or other characteristic populations in an image incandescent Thermal generation of light usually through radiant filaments in a bulb incident light The light falling directly on an object 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 throug
83. apolis MN USA www bannerengineering com 25 Tel 763 544 3164 Getting Started 7 2009 Error message Failed to capture a full resolution Ethernet connection lost image Please try again Reconnect the cable Image is frozen PC but image on monitor updates Check the cable for breaks then power down and properly Image is frozen PC but image on monitor back up updates properly Replace the cable Indicator lights on RJ 45 port are OFF Attempt to close and reopen PresencePLUS software If none of these actions fix the problem call a Banner Applications Engineer Focus number does not update FTP communications is blocked QuickStart fails Disable TCP IP Firewall software on the PC Errors when saving inspections to the sensor Error code is displayed on PC A list of error codes and potential causes and solutions are available in the main help 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 Q818V6ND as the trigger device then select NPN 3 Configure the six discrete inputs outputs If the controller triggers a strobe light source set the strobe trigger options 5 If using the product selec
84. 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 This is where you can see the collection of image files the Player will be feeding to the sensor To add 218 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Run Screen a new BMP file to the Playback List click the plus button This will bring up the Add Image s window allowing you to find the relevant files on your computer 3 Click the Play button Once the Playback List is populated with image file s the Play button becomes active When the Play button is clicked the Play button becomes to the Pause button and the images in the Playback List are nspected Press the square Stop button or the Pause button to stop Other Playback Features After files have been added to the Playback List a couple of buttons become active minus button is used to remove the currently selected bitmap from the list Clear All Images button is used to erase all of the files on the list There are two Playback modes possible Single Play Mode the default In this mode the Player will run through all the files on the Playback List once and then stop Repeated Play Mode is entered by clicking on the Single Play Mode button Repeated Play puts the Player
85. asurements inches meters etc 4 Enter the pixel value obtained in step 2 in the Measurement in pixels edit box 5 Enter known dimension in the Measurement in selected units edit box Click Apply button The conversion is now complete All inspections will use the selected units for all distance measurements 6 6 Reset Tab Use the Reset tab to read sensor error codes clear system errors and reestablish Sensor communications 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 86 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Get Error Log Click to display the System Log icon in the Navigation Results window The System Log records information about all system failures such as communication errors between the PC and the Sensor Reset Tab System Setup Sensor Select Communication InputOutput Strobe Units Reset Start Up Inspection NTSC Language Tools Configurat Reset Error Flag Reset Error Log Get Error Log 6 7 Start Up Inspection Tab The options on the Start Up Inspection tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 87 Tel 763 544 3164
86. bannerengineering com 71 Tel 763 544 3164 System Setup Window Overview 7 2009 Add a Coordinat tool e SOUS i 1 In the PresencePLUS GUI click the Analysis Tools tab locational data for 2 Click the Coordinate tool button to create a Coordinate tool the Robot Coordinate Tool nput COORD 1 MiAbsolute FF Offset Only 4 Click the Next button to return to the Tools menu aj Note The X Y and Rotation selections will default to 1 72 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 P N 000000 System Setup Window Overview Add a Test tool to receive a positive 1 In the PresencePLUS GUI click the Analysis Tools tab confirmation that the 2 Click the Test tool button inspection ran 3 Select Coordinate Tool 1 from the Input 1 drop down list successfully that is the part was found Click on the Coordinate Tool 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 V 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 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 73 Tel 763 544 3164 System Setup Window Overview 7 2009 6
87. bead type is selected Reject Level Example Consider setting up an inspection for a relatively bright object that ranges from 180 to 200 in pixel intensity and takes up 15 percent of the Field of View yet the remaining 85 percent of the Field of View ranges from 230 to 255 in pixel intensity Setting a Reject Level of 220 will allow the tool to pay attention to only the bright object being inspected Further masking the bright parts of the Field of View will not be necessary as only pixels whose intensity is less than the Reject Level will contribute to bright Blobs Note that rejected pixels are colored orange in the histogram Blob Type Choose Dark if the part is darker than the background Choosing Dark with a Fixed threshold will cause the tool to fix the threshold at the level specified in the Threshold level field The tool will choose as dark Blobs all grouped pixels below the specified threshold Choosing Dark with an Adaptive threshold type will cause the tool to limit the threshold to the range specified in the Threshold level Lower and Upper Limit fields The tool will choose as dark Blobs all grouped pixels below the threshold chosen Choose Bright if the part is lighter than the background Choosing Bright with a Fixed threshold type will cause the tool to fix the threshold at the Bright level specified in the Threshold level field The tool will choose as bright Blobs all grouped pixels above the specified Brigh
88. bottom or the side Exact wording of any messages that appeared on your screen A description of what you were doing and what happened A description of how you tried to solve the problem 1 2 Maintenance Maintenance tasks include keeping the hardware free of dust and dirt and possibly updating the PresencePLUS Software as new versions become available Cleaning the Sensor Regularly remove any dust or dirt from the Sensor using a soft cloth If needed slightly dampen the cloth with a weak solution of neutral detergent Avoid getting dirt on the imager the area behind the lens If the imager is dirty use anti static compressed air to blow off the dust Cleaning the Lens Regularly remove dust dirt or fingerprints from the lens Use anti static compressed air to blow off dust If necessary use a lens cloth and lens cleaner or window cleaner to wipe off remaining debris Do not use any other chemicals for cleaning Updating the PresencePLUS Software The current version of PresencePLUS software is available for download from the Banner website See Banner Website for the software downloads link 8 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 System Description The PresencePLUS Proll 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 Proll or
89. ce The interface was configured to use no start frame delimiter and carriage return xOD and line feed as frame delimiters As soon as valid frame delimiters were received the command exec trigger was sent for processing and the command response was sent back after inspection finished executing 8 7 6 Frame and Field Delimiters The PresencePLUS GUI includes a drop down list of Frame delimiters as follows lt none gt for no delimiter Wr for carriage return CR for line feed LF r n for carriage return followed by a line feed CR LF 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 be used as a delimiter specified in ASCII hex format Frame delimiters can be multi character sequences up to 20 characters long The PresencePLUS GUI includes a drop down list of Field delimiters as follows none for no delimiter for comma for semi colon P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 195 Tel 763 544 3164 Communication Tool Setup 7 2009 for colon lt SPC gt for space X for tab In addition to the above field delimiters you can enter other delimiter types keeping in mind the following ASCII hex format be used as a delimite
90. ce between a point and a line The two inputs to the Measure tool are point a vision tool generates line another measure tool generates The shortest distance between a line and a point lies along another line This new line is perpendicular to the original line as shown below 150 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Measure Tool 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 The Results section of the Measure Tool window lists the distance between the intersection point and the Blob midpoint as 197 55 pixels The two shorter dashed lines represent the x and y components The angle between MT_2 and the horizontal plane is the curved counterclockwise arrow In the Results section of the Measure Tool window this angle is listed as 36 89 degrees Measurement Type The PresencePLUS software can perform all three Measure tool operations using the default Absolute type or the alternate Relative type The types differ in how the Rotation Enable feature of a one of the L
91. coie UL serron ite END D 2 PresencePLUS Communication Testing The RCC interface is not a true Telnet interface although you can use Telnet to test it Some of the control keys such as Back Space and Delete will not cause mistyped characters to be erased Instead they will be passed on and consumed by the RCC interface Other control characters will also be consumed by the interface without the usual Telnet actions However you can test the RCC connection by using a Telnet application to connect to the sensor using the port that you configured for the RCC 20000 by default To function correctly you must set the Newline transmit value within the Telnet application to be the same as the Command Line End delimiter that you selected in the RCC configuration menu Carriage Return Line Feed by default After you have successfully connected to the RCC you can enter RCC commands and observe responses For example you can enter get onlinests to retrieve the online status of the sensor Another example is you can type in the command exec trigger this will result in the sensor to be triggered the inspection will be executed and you should see the inspection output in the GUI For a complete list of RCC commands and return codes please refer to the PresencePLUS electronic documentation accessible through the PresencePLUS GUI 80 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 00
92. cted button Deletes the currently selected inspection from the GUI s memory Log Tab 210 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 211 Tel 763 544 3164 Run Screen 7 2009 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 If the current value falls within the Test tool s set tolerance or if the tool executed properly then a green checkmark symbol is shown beside that parameter 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 Captured Inspection tube Frame 34279 Click to expand the view to see more amp j WM The Inspection Manager information ba The Camera Click to collapse The Trigger NEN the view hides the ELOB 1 Execution time 0 3 ms Execution Time ms information that follows 9 w Inputs If time shown is 0 the w Results execution t
93. d inspection 1 Note Each of the stored inspections has its own Pass Fail registers to store the Pass Fail counts for that particular inspection 10 5 Inputs Each numbered circle represents an input and its current state The legend below applies to the colored circles in the Inputs Gray Inactive not currently available Red Active not currently available Not Visible Not selected as input output 10 6 Outputs 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 206 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Run Screen Red Active not currently available Not Visible Not selected as input output 10 7 Product Select Displays the last latched Product Select binary encoded 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 8 System KIM E System error R Ready Note The results of the discrete I O are not displayed in real time They update approximately 4 times per second 10 9 Start Stop Click the Start button to start running the inspection and click Stop to stop running the inspection 10 10 Select Tab The fields on the Select tab
94. d timing of the trigger by setting the parameters on the Trigger tab nd Note Parameters set in the Trigger tab are stored in the inspection file and can be different for each inspection Trigger tab 32 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Setup 4 4 1 Trigger Settings Trigger Divide range Sets the sequence of valid triggers If set to 1 an image is captured in response 1 10 000 triggers 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 Fixed time ms from the instant the Sensor receives a valid trigger to the instant 0 8 000 ms the Sensor captures the image Minimum Trigger Width Eliminates unwanted triggers by accepting triggers only if they are above a range 1 8 000 ms specified duration Polarity Choose Leading Edge to capture images at the leading edge of a trigger signal Choose Trailing Edge to capture images at the trailing edge of the trigger signal P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 33 Tel 763 544 3164 Setup 7 2009 Leading Edge PNP Configuration Trailing Edge PNP Configuration Input Trigger Signal ON Input Trigger Signal a ON i OFF OFF Minimum Pulse Width Minimum Pulse Width 1 10 000 ms 1 10 000 ms Inspection E Inspection Trigger Delay Trigger Delay
95. dard deviation and variance are measures of how spread out operands values Deviation and are Variance Use of Constants In general a user defined constant can be selected as one of the Operands for the Math tool This allows for a number of things including scaling the output of a vision tool in real units by dividing that output by a known conversion factor Along the same lines dynamic scaling of outputs is also possible by dividing one Operand by another and then multiplying by a constant conversion factor In this case two Math tools would be used one set for Division the other for Multiplication The output of the first Math tool would be an Operand for the second Math tool Results The output of the math operation selected for the inputs is diplayed in the results area of the Math tool Input tab Math Tool and the Remote Command Channel RCC set mathtool foo name tool number operand 1 operand 2 Sets the specified tool operand if it is constant Value should be a floating number get mathtool too name tool number operand 1 operand 2 Gets the value of the specified tool operand if itis a constant 7 4 3 Measure Tool Measure tool can be used to measure distance calculate angles and create points and lines for use as inputs to other Measure Tools There are three Measure Tool operations Measure from a point to a point Intersect two lines Measure from a line to a point Measure a curve to a po
96. dialog Save Inspection D ume 1 221386 Econs inspections installs CIInTechAddins Jjavahelp 2 0 05 MySQL InnoDB Datafiles Cnew webworks Cdpdftohtmi un d Save reference image ins Save inp bmp 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 O1 ins to save as a standard format for Vision sensors to save in an older format for compatibility with older sensors bmp to only save the current image 6 Click the Save button in the dialog 230 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 14 Backing Up and Restoring Vision Sensor 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 danner Vision Sensor User Information ReadMe Update Firmware 2008R System Re quirements See Firmwar Versio ep Manuals Information for details Communication Setup Instructions Firmware Update Version Information Installs PresencePLUS PC Software PresencePLUS Update Firmware PresencePLUS Utility Programs Adobe Acrobat Reader Internet Explorer Version
97. ds case insensitive Valid characters for commands are 7 bit ASCII alphabetic or numeric characters A Z a z 0 9 dash and underscore _ All commands have the following structure ACTION OBJECT IDENTIFIER QUALIFIER S ACTION is an operation the user intends to perform on the OBJECT_IDENTIFIER There are three possible actions available GET used to retrieve information associated with the named object This information can be a Boolean value and unsigned or signed number a string or for complex objects like the Communications tool a field delimited record that includes other data types SET used to assign a value to a named object EXEC used to execute a pre defined functional object or activity in the sensor Activities may take object identifiers as parameter qualifiers The table below identifies objects that are supported in the current RCC release their identifiers and the corresponding actions that they will support Items highlighted in bold are command keywords Flag objects are appended with the FLG suffix status objects are appended with the STS suffix and counters are appended with the CNT suffix Trigger TRIGGER EXEC None Timeout If no qualifiers msec are specified a a 30 second timeout is used NOWAIT Product PRODCHANGE EXEC Numeric Timeout By default a 30 Change Inspection ID second timeout is used NOWAIT Counter or RESET EXEC SYSERRFLG Reset eit
98. e The Location tools for example Locate track parts in the Image window and the Vision tools that follow for example Average Gray Scale and Blob Detect are relative A Vision tool that precedes all Location tools will be absolute Rules governing whether a tool is absolute or relative are as follows first Location tool is always absolute All tools following a Location tool are relative to that tool unless they are made absolute themselves in which case the chain is broken and a new chain is started For a Vision tool to be absolute it must be placed before any Location tools Navigation Results Toolbar Buttons Using the Navigation Results toolbar buttons the Navigation Results window size can be set and tools can be deleted Expand Results toggles the size of the Navigation Results window between maximum and minimum 4 21 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 15 Tel 763 544 3164 System Description 7 2009 Delete Selected Tool deletes the selected tool from the current inspection right of the selected tool B Delete Selected Tools deletes the selected tool and all the tools to the Copy Selected Tool clones the selected tool Expand Button Clicking on the Expand button toggles the size of the Navigation Results window to accommodate expanded list of inspection results files as s
99. e 101 sensor select tab 46 SET GAIN 63 194 smoothing 101 storage capacity inspections 41 system error 207 system setup sensor select tab 46 T teach 197 teach screen 198 test tool 162 threshold 98 threshold type absolute 98 edge strength 99 fixed 109 relative 98 tools average gray scale 104 Blob 107 communication 120 locate tool 96 math 136 measure 141 test 162 Trigger and Product Change error codes 61 193 PresencePLUS P4 AREA AREA 1 3
100. e Command Channel The RCC supports a Kawasaki protocol specifically designed to communicate with Kawasaki C D D robot controllers Summary of Remote Command Channel Features The RCC within the Banner PresencePLUS Sensor is configured as a Server device This means that it does not initiate connections on its own but instead waits for a client robot controller to connect to it The PresencePLUS Remote Command Channel RCC supports the following features 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 Series Controller with a 1HA Ethernet board option Kawasaki D Series Controller with a 1KN or 1QN Ethernet board option Kawasaki D Series Controller with an integrated 1RA Ethernet board Related Documentation For more information relating to Banner s Vision Sensors and Kawasaki Robot Controllers refer to the following sources Kawasaki Robot TCP IP Function Instruction Manual Kawasaki D Series Controller AS Language Reference Manual PresencePLUS electronic Help 66 Banner Engineering Cor
101. e from Line 1 to Line 2 for example differs from the angle from Line 2 to Line 1 The tool reports the smaller of the two angles formed where the lines intersect The tool detects the intersection point of two lines even if the intersection is outside of the vision sensor s field of view The order of the input affects the angle s sign The measure tool reports the smallest angle in this case it reports 45 instead of 135 How the Tool Measures Two Points The inputs to the Measure tool for measuring two points are any two points that vision tools generate These can be an Edge transition a Blob centroid or a Geo pattern The results include the total distance between the points and the x and y component distances In addition to finding these distance values the Measure 148 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools tool also calculates the line between the two endpoints The software reports the angle between this line and the camera s horizontal plane as well as the coordinates for the line s midpoint As shown below the Measure tool window shows the settings and results of the inspection In the inspection image the two points Edge 1 and Edge 2 define the dashed red line that runs from top left to bottom right The actual measured distance between the points is the solid line labeled MT 1 and the solid red triangle is
102. e 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 ClickMeasure Tool7 4 3 Measure Tool on page 141 for more information about the Measure tool Locate Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 153 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool 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 Tool7 4 3 Measure Tool on page 141 for more information about the Measure tool Geometric Find and Geometric Count Tabs 154 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Measure Tool Geometric Count Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 155 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool Measure Tool Pattern Find Count Tab On the Pattern Find tab use the drop down list to select either to Measure From the Reference Poi
103. ector P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 245 Tel 763 544 3164 A D converter Acronym for Analog to Digital Converter an electronic device that converts data from analog form to digital representation Abs Absolute Value 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 acquisition The manner in which outside information is brought into an analysis system as in an image acquisition Generally involves A D conversion adaptive threshold A control method in which a threshold is adjusted based on scene content algorithm A set of well defined rules or procedures for solving a problem in a finite number of steps or providing an output from a specific set of inputs Usually implemented as a computer program ambient light Light that is present in the environment but not provided by the sensing system angle of incidence The angle between the axis of an impinging light beam and the axis perpendicular to the sample surface angle of view 1 Theangle formed between two lines drawn from the most widely separated points in the object plane to the center of the lens 2 The angle between the axis of observation and perpendicular to the specimen surface aperture The size of a lens opening ASCII Acronym for American Standard Code for Information Interchan
104. eld provides a drop down list from which to select tools select the results to export from the selected tool s tab that appears in the configuration window mage Connections This field provides a drop down list from which to select the communication connection s to export the data 122 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools ethernet Socket 2 Ethernet Socket 2 Ethernet Socket 3 Ethernet Socket 4 Ethernet Socket 5 Ethernet Socket 6 Ethernet Socket 7 Ethernet Socket 8 Ethernet Socket 9 Ethernet Socket 10 Serial 1 MULTIPLE Industrial Ethernet RCC Format This field provides options for formatting the ASCII string of data that will be exported lt Colon gt lt Semicolon gt Win lt CR_LF gt Any lt LF_CR gt mir CR in lt LF gt lt None gt Output Filter This field provides a means to make specific output selections in order to avoid unwanted output information lt none gt Jal 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 When a tool is selected the selected tool s tab appears in the Configuration window Click on the tab to select the data to be exported 2 Select the communication connection s that will expo
105. ends 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 108 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Click this button to add a mask to an image A mask Add Mask excludes an area inside the ROI Click this button to remove an ROI or mask from an image Use this field to rotate the ROI You can manually key END in a rotation angle or you can use the up or down arrow keys to rotate the ROI Threshold Type Fixed 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 Once a threshold is chosen any pixels brighter than the threshold become pure white while those darker than the threshold become pure black Reject Level The Reject Level field is for bright Blobs only and is used to narrow the range of pixel intensities to consider in an inspection Leaving the defaults at 0 for low and 255 for high will result in the tool taking into consideration all gray scale levels in the ROI from 0 black to 255 white Note that the Reject Level field is vi
106. ent 192 168 0 22 40 2 2 0 00 D0 66 01 44 7F 21x aint Look in Banner f ex EJ 5 20080107 1354 IP192 168 0 15 bk File name Open Files of type Sensor Backup file bk Cancel Open read only 6 Optionally click the Read Note button to get more information about the restore P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 237 Backing Up and Restoring Vision Sensor Data 7 2009 T 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 238 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 Dimensions and Specifications 15 1 Sensor Dimensions 15 1 1 Right Angle Sensor Dimensions 55 6 2 19 1 21 3 mm 0 84 _ dia 28 7 mm4 1 137 112 5 124 5 mm 4 43 4 9 1 f 7 5 mm 0 30 18 7 mm 34 3 mm 0 74 1 35 15 1 2 Right Angle Sensor Mounting Bracket Dimensions P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 239 15 7 2009 Dimensions and Specifications e
107. ers r p t 124 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 PresencePLUS Software Tools Delimiter Start String End String Enable Labels lt Comma gt lt Colon gt lt Semicolon gt Wn lt CR_LF gt Carriage return and then line feed n r lt LF CR gt Line feed then carriage return r lt CR gt Carriage return only n lt LF gt Line feed only User defined ASCII characters limit of 75 characters 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 User defined ASCII characters limit of 75 characters i 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 Parameter labels The delimiter is used to separate the individual pieces of data being sent The delimiter will follow every individual segment of data including start string and end string This option is a mechanism for adding characters before a string of data This option is a mechanism for adding characters after a string of data Check this box to add a label to the data before the data itself Example Dark Count 3 where Dark Count is the label 4 Set conditions for conditionally exporting the selected data in the Outpu
108. fault and it finds an edge at a relative pixel intensity The brightest gray scale level is 100 and the darkest is 0 While Relative threshold is more tolerant of light fluctuations between inspections than other transition types it may find false edges Percent Percent is displayed when the Type is Relative Choose the percentage value at which the edge should be marked 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 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 While Absolute threshold is less likely to find a false edge than Relative Threshold it may miss edges if the light level changes between inspections 98 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools javsohte 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 t
109. g NULL will be converted to its ASCII Hex equivalent The ASCII Hex string will be preceded by character sequence x backslash lower case x The ASCII Hex string will always be two characters long For example NULL will be converted to x00 and carriage return will be converted to xOD To represent ASCII Hex digits only upper case letters A F will be used Any backslash encountered in the Barcode or String Tool data will be converted to its ASCII Hex equivalent x5C 64 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Any double quote encountered in the Barcode or String Tool will be converted to its ASCII Hex equivalent x22 For RCC input strings the formatting rules are expanded to accommodate readability as follows Carriage return can be specified as character sequence r backslash r Line feed be specified as character sequence n backslash n Double quote can be specified as character sequence backslash doublequote Backslah can be specified as character sequence backslash backslash can be specified as character sequence Xt backslash t Embedded NULLL characters are not allowed 6 2 3 PresencePLUS Kawasaki Vision Guidance and Inspection Integrating Banner Vision Sensors with Kawasaki Robot Controllers Quick Start This document describes
110. g 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 Communication Tool Exportable Results Color Blob Tool Tool Name string User defined name Success 1070 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 Threshold Threshold Min Threshold Max Count Areas Total Area pixels Total number of pixes in all the color Blobs Largest Blob Area pixels Number of pixels in the largest color Blob Largest Blob Location pixels X Y Centroid of the largest color Blob Smallest Blob Area pixels Number of pixels in the smallest color Blob Smallest Blob Location pixels X Y Centroid of the smallest color Blob Locations Communication Tool Exportable Results Color Match Tool Tool Name string User defined name P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 131 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Success 1 Execution Time ms Execution Time Mi
111. ge An 8 bit coded character set used to represent alphanumeric punctuation and certain special control characters backlighting A condition where the light reaching the image sensor does not reflect from the surface of the object but comes from behind the objects or area of interest Backlighting produces a silhouette of the work piece band eliminator filter A filter that suppresses a given range of frequencies transmitting only those above and below that band bandpass The specific range of frequencies or wavelengths passing through a device Typically measured between points equal to 5096 of maximum amplitude barrel distortions An image appearing to bulge outward on all sides like a barrel This is caused by a decrease in effective magnification as points in the image move a way from the image center beam splitter A device for dividing a light beam into two or more separate beams bimodal Histogram distribution of values with two peaks 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 blooming The smearing of regions of the image where the detected brightness is at an excessive level for the receiving element due to electronic contamination from neighboring bright pixels c mount Threaded lens mou
112. gt Settings Protocol Modbus TCP C PCCC SLC PLCO5 Ethernet IP r 32 Bit Format 6 LSW MSW MSW LSW E m Character String Order High Byte Low Byte C Low Byte High Byte Connector Industrial Ethernet 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 The sensor has sockets 1 to 10 and can send out unique sets of data to 10 different devices 52 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Valid user TCP IP port numbers are in the range of 1024 through 65535 The PresencePLUS GUI provides automatic notification if you attempt to use a reserved port To view an Ethernet connection 1 Click on the System button in the Main Menu toolbar to bring up the System Setup window 2 Click on the Communication tab Communication Setup Channel Ethernet Socket 1 Y Ethernet Socket 1 9 Ethernet Socket 2 Ethernet Socket 3 Ethernet Socket 4 Ethernet Socket 5 Ethernet S
113. h the lens LED Acronym for Light Emitting Diode 250 mask A pattern used to eliminate portions of another pattern Regions of an image at a constant value usually white or black form the mask noise Irrelevant or meaningless data resulting from various causes unrelated to the source of data being measured or inspected random undesirable video signals ocr Acronym for Optical Character Recognition Recognition of each character in a string by a vision system Acronym for Optical Character Verification Verify a string by a vision system parallax The difference in appearance or position of an object when viewed from two different locations photon A particle of light A quantum of electromagnetic energy moving at the speed of light PresencePLUS P4 AREA AREA 1 3 pincushion distortion A visual effect where the sides of an image appear to bulge inward on all sides like a pincushion Caused by an increase in effective magnification as points in the image move away from the image center pixel Acronym for picture element polarization The restriction of the vibrations of light or magnetic field vectors to one plane polarized lighting The use of polarizing filters to remove specular reflections from a scene to be viewed Typically one polarizing filter is placed in front of the light source and a second filter is placed over the receiver with the two filters offset in their po
114. he controller Go to Run 5 4 Load Tab The Load provides a way to load a saved inspection and a reference image Load Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 39 Tel 763 544 3164 Tools Screen 7 2009 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 Prior to Release 2009R1B inspections could only be loaded into PresencePLUS software that was connected to the same type of PresencePLUS vision sensor that had created the inspection In other words a Proll camera could only load inspections created by another Proll camera and an OMNI could only load an inspection saved from another OMNI etc 1 Note The one limitation that still exists occurs when trying to load an inspection that uses a tool that is unavailable or unlicensed for the currently connected sensor for example attempting to load to an inspection that uses a Geometric Count tool to a PresencePLUS AREA sensor will not work because the Geometric Count tool is not supported on the AREA sensor 40 Banner Engineering Corp
115. he 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 113 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 z 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 114 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Blob Detect Tool Advanced Tab Fields The following are fields on the Blob Detect Advanced tab Options7 3 2 6 1 Options on page 115 Blob Detect Tool Advanced Tab Results 7 3 2 6 2 Blob Detect Tool Advanced Tab Results on page 116 Blob Tool Options P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 115 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Discard Boundary Blobs The Discard Boundary Blobs checkbox if selected allows you to determine if
116. her the Flag Reset ar System Error Flag Pass and PASSFAILCNT Fail counters or or Missing Trigger count P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 189 Tel 763 544 3164 Communication Tool Setup 7 2009 MISSTRIGCNT Remote Teach RTEACH Online Status Ready State EXEC TRIGGER or TRIGGER NOWAIT or TRIGGER Timeout msec None ONLINESTS GET None None READYFLG None None Enables remote teach If no qualifiers are specified remote teach will occur on the next trigger If TRIGGER qualifier is specified remote teach will occur immediately and the command will block until a default 30 second timeout expires If TRIGGER NOWAIT is specified remote teach will occur immediately and the command will return right away If a timeout value is specified the command will block until the specified timeout expires Retrieve the sensor online status Returns 1 if the camera is 190 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 Communication Tool Setup ready 0 otherwise Current INSPNUM GET Inspection Number Communications COMMTOOL Tool Results Pass Fail flag PASSFAILFLG GET System Error SYSERRFLG Frame Number FRAMENUM Pass Count PASSCNT GET Fail Count FAILCNT GET Iteration Count ITERCNT GET None
117. how to integrate a Banner PresencePLUS sensor with Kawasaki Robot Controllers and includes instructions for establishing communications between the PresencePLUS sensor and a Kawasaki Robot Controller 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 fee ee 2 1 Install and physically connect a Banner PresencePLUS Vision Kawasaki Robot Controller See Sensor to a Kawasaki controller Establishing Sensor Robot 2 Configure PresencePLUS and Kawasaki controller IP Communication 6 2 3 3 addresses Establishing Sensor Robot 3 Configure the PresencePLUS Remote Command Channel Communication on page 67 Create and save a PresencePLUS 1 Creat i d fi Visiantaolst d Inspection See Creating the Create a new inspection and configure Vision tools to produce PresencePLUS Inspection 6 2 3 4 the desired part location data that outputs it to the RCC Creating the PresencePLUS interface The sample inspection described in this document Inspection on page 69 for more Locates a part details Tests for presence of the part Outputs X Y and Rotation about the Z axis offsets 2 Save and then start the inspection Program the Kawasaki controller to 2 and issue commands 1 Load the sample
118. hown below 7 PresencePLUS Pro Vision Sensor stopsign inp Setup Tools Teach Run BX Inspection Log Logs not saved to PC hard drive are in bold font wf test 112103 Frame 803 MI thecamera v thetrigger theinspmgr LOCATE 1 Execution time 1 1 ms 1 Execution time 0 0 ms Edge 1 Execution time 0 0 ms MT 1 Execution time 0 0 ms w TT 1 Execution time 0 1 ms test 112103 Frame 802 thecamera thetrigger theinspmar LOCATE 1 Execution time 1 1 ms 1 Execution time 0 0 ms HG Edge_t Executiontime 0 0ms MT_1 Execution time 0 0 ms w 1 Execution time 0 1 ms To expand th test 112103 Frame 801 w test 112103 Frame 800 sign oF doub lick vf test 112103 Frame 799 tree Cll wf test 112103 Frame 798 llapse an expanded To ble click s test 112103 Frame 797 sign or dou test 112103 Frame 796 on the minus 2 test 112103 Frame 795 s test 112103 Frame 794 the filename m SHBSEBRSEQRLHHS OHS e tree click on the plus le click the filename 16 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 System Description 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
119. hreshold 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 Edge Profile Graph In the Edge Profile graph displayed when the Absolute 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 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 ooto erion 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 Dark to Bright finds edges that start below the threshold value and cross above the threshold value P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 99 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Filters Bright or Dark finds any edge 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
120. ime is less TT_1 Execution tine 0 1 ms than 100 microseconds Inputs gt Input BLOB 1 gt Invert Input1 False gt Invert Input2 False gt Invert Input3 False Invert Input4 False Boolean Operation AND gt Contribute gt Remote Teachable False Resuks Passed tool Failed tool Current Inspection First None Name of currently running inspection The Camera Second Inspection Name Sensor Information Gain Exposure time ms The Trigger Second Inspection Name Trigger Input Information Divide Delay Width Polarity The Inspection Second Inspection Name General Inspection Information Manager Fail hold time ms how long a failed image is displayed on the monitor 212 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Run Screen Power up time time since last shutdown resolution second Pass count Fail count Missed trigger count total number of triggers missed because sensor was not Ready Lifetime ow long the sensor has been turned on resolution 1 hour 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 1 ms d
121. 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 As shown in the diagram below a Product Select input pulse that occurs when the Product Change input is not active is NOT counted If the Sensor is in Run mode the Product Change line should be activated only when the Sensor Green Ready LED is ON If the Product Change line is activated when the Sensor is in Run mode but performing an inspection not Ready the current inspection will be aborted and the Sensor will proceed to load the inspection at the indicated address If the Product Change line is activated when the Sensor is not in Run mode Setup mode for example then the Sensor will go to the address indicated address number four in this case and begin executing The maximum number of pulses is limited by the number of inspections possible on the Sensor P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 223 Tel 763 544 3164 P4 Product Change and Product Select Timing Start counting Stop counting pulses on pulses on Product Select line Product Select line Active Product _ Loo Change Not Active Minimum pulse width is 1 millisecond active gt 1 millisecond inactive i Input Active Product Select 1 2 3 4 Not Active Input I Pulse this line to Pulse not increment the co
122. inputs to the selected Operation For example select Min as the Operation and select an input tool A tab is created for the input tool Click on this tab to specify the attribute s of the vision tool that will be the Operands Multiple tools can contribute multiple Operands to the list as shown in the examples below P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 139 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 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 Max Maximum Count Sum Mean Median Returns Min X4 X Xp Returns the operand with the lowest value Returns Max X4 X Xy Returns the operand with the highest value Returns Count X4 Xo Xn Returns the count of operands Returns Sum X4 Xo Xy Returns the arithmetic sum of operands Returns Sum X4 Xo Xh Count X4 Xo X Returns the mean value of operands The statistical median is middle number of a group of numbers that have been arranged in order by size If there is an even number of terms the median is the mean of the two middle numbers 140 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools StdDev Standard The stan
123. int Measure a curve to a line In these operations points are generated by a variety of vision tools and lines are created by other Measure Tools Usage Determine the location of a Blob P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 141 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Determine the distance between Blobs Determine a distance between a Blob and a closest point on a bead Determine a distance between a Blob and a farthest point on a bead Fields The following are fields on the Measure tool Input tab Measure Tool Operations7 4 3 1 Measure Tool Operations on page 143 Measurement 7 4 3 2 Measurement on page 151 Supported Platforms Yes Yes Yes Yes Yes Yes Yes Yes Measure Tool Input Tab Measure Tool 142 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools 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 Along with distance the following results are generated in this operation A line from point 1 to point 2 The angle of that line relative to the x axis The midpoint of point 1 and point 2 Intersect Two Lines In this operation the results of the intersection of two
124. into a continuous loop inspecting the files on the Playback List over and over until the Stop or Pause buttons are clicked or the mode is changed back to Single Play Instead of running through all the files on the Playback List as fast as possible the Player can be made to step through each image individually Clicking on the file name in the list runs the inspection file once on that image Using the Forward or Back buttons will allow you to step through the images one at a time P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 219 Tel 763 544 3164 11 Product Change 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 Product Change input responds to the leading edge transition of a pulse greater than 1 millisecond Product Select input is pulsed to correspond to a program location For example five pulses will load program 5 11 1 Product Change Specifications ON lt 2V at 1 mA max gt 8V at 7 5 mA max OFF gt 10V at 4 mA max lt 2V at 7 5 mA max One of the four I O on the System Setup InputOutput tab must be programmed for Product Select if Product Change is to be used P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 221 Tel 763 544 31
125. ion 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 Distance pixels Total distance from the points selected for Tool One and Tool Two i 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 coordinates of the origin point Y 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 Communication Tool Exportable Results String Tool Tool Name string User defined name Success 10r0 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 Max Time Exceeded Operand 1 Operand 2 Operation Result Communication Tool Exportable Results Test Tool Tool Name string User defined name P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 135 Tel 763 544 3164 PresencePLUS Software Tool
126. is Length and Major Axis Angle on page 117 Eccentricity7 3 2 6 2 6 Eccentricity on page 119 Min Radius and Min Radius Position7 3 2 6 2 8 Min Radius and Min Radius Position on page 119 112 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Max Radius and Max Radius Position7 3 2 6 2 7 Max Radius and Max Radius Position on page 119 Mo sorting 0 Position Radius 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 Blob Filter The Blob filter allows you to more accurately select a specific Blob to locate and to use for positioning other Vision tools Filter modifies the Blob count based on Computed Statistics criteria so that for example only circular Blobs compactness or symmetric Blobs eccentricity are included in the Blob count 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 t
127. ision tools that have data to be exported The Communication tool can export results data from the first Location Vision Analysis and Test tools as follows P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 121 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 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 Customize the order of the exported data Export data from the Vision tools at different times during the inspection Customize the Start Strings control characters to unique external devices Note The Test tool can have the Communication tool as one of its inputs Therefore if a Test tool is added after the Communication tool a discrete output can be activated If the TCP IP connection is lost If the external device fails to acknowledge it received data This output could contribute to an inspection Pass Fail if it is an input to a Test tool A Communication tool without a Test tool will not contribute to the inspection Pass Fail Select This fi
128. l Tool Name string Execution Time ms Execution Time Min ms Execution Time Max ms Match Count Match Acceptance Level Range Min 20 100 Match Acceptance Level Range Min 20 100 whole number User defined name Tool processing time for the current inspection Fastest recorded tool processing time since the start of the inspection or since power up Slowest recorded tool processing time since the start of the inspection or since power up Total number of patterns above the minimum acceptance level and below the maximum acceptance level Minimum percent the current pattern must match the reference pattern to be considered a match Maximum percent the current pattern must match the reference pattern to be considered a match Rotation Origin pixels X Y X Y coordinates of the point from which ROIs will rotate First Match Rotation degrees Rotational value of the first pattern found First Match Location Point pixels X Y X Y coordinates of the first pattern found Match of Pattern s Found 15 100 Percent match of the first pattern found 130 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Communication Tool Exportable Results Average Color Tool Tool Name string User defined name Success 1 1 Tool executed successfully 0 Tool did not find a point to use as a reference Execution Time ms Tool processin
129. l VAL S rsp str IF passfail 1 GOTO notfnd error 76 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview P tine XX anc Rw Oise cats Send command to camera to acquire the Communication Tool result data Secmd str GET COORDTOOL cmd del CALL tcp send ret val S cmd str oret val lt COTO COo errot Read command response from camera Srey Si Wu CALL eo xeew siet wed Srey e JUS ieee val lt 0 COMO too error Decode command response 29120930 Site c kl 09 ret val VAL Srsp_str IT eret val lt 0 COTO cme error Get Commtool failed Steno Sicew sic Semel clei 1D Decode the X offset data Sr Str 80016 0 X_offset VAL Srsp_str Sie To SEGETES US Remove field delimiter Decode the Y offset data otr SDECODR Sew sic Seoorc_cel 10 Y offset VAL S rsp str Stem Sew SEX SeOoml cel 1 Remove field delimiter Decode the Rz offset data rotation about the Z axis Gur eere y Sti Seooxe cel 0 offset VAL S rsp str Stem SIDIECODIS Er Seoore eel 13 Remove field delimi
130. l When a tool is chosen another tab pops up in the Test tool window 164 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools lt Note The tool be evaluated must appear before the Test tool 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 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 To remotely teach an inspection the Remote Teach function must be enabled on each tool to be taught Pass Fail Contribution Check this box if the Test tool will influence the Pass Fail status of the inspection Do not check this box if the overall Pass Fail status of the inspection is not dependent on the current Test tool The Pass Fail contribution influences the following Discrete output Pass Discrete output Fail Pass Fail results counter Pass Green Fail red LEDs on the Sensor Freezing an image on the video monitor Display options on the PC 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com
131. lag 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 Commands with timeouts such as EXEC TRIGGER and EXEC PRODCHANGE will block processing of additional commands while they are executing if they are invoked without the NOWAIT option Additional commands that are issued while processing is blocked will be queued and will be processed in the order that they were received when the blocking command finishes its execution 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 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 These entries can be one of three types IN characters received in the input stream CMD commands that were extracted after the frame start and frame end delimiters have been received OUT formatted command output with frame delimiters already included Log entries are time stamped with system time and sorted in the order they were received N
132. larizing direction by 90 degrees preprocessing Enhancement transformation or filtering of images before processing R recognition A match between a description derived from an image and description obtained from a stored model or feature set region of interest ROI The Region of Interest ROI is the area to be analyzed inside user defined boundaries repeatability The degree to which repeated measurements of the same quantity vary about their mean resolution 1 The smallest detectable change in position or size of an object 2 The closest distance between two objects points in an image identifiable as two separate objects rather than one object shift register An electronic circuit consisting of a series of storage locations registers During each clock cycle the information in each location moves shifts into the adjacent location signal to noise ratio The ratio of the maximum value of an output signal to the standard deviation amplitude of the noise on the signal strobe light A pulsed illumination source that generates short bursts of high intensity light sub pixel resolution Any technique resulting in a measurement with a resolution interpolated position of change of less than one pixel T template matching Comparing a template with an object in an image Usually performed at the pixel level as with a template correlation threshold The intensity specific pixel
133. lect the entire name and type to change or replace the name Enter up to 49 characters only alphanumeric characters and underscores are valid 38 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Tools Screen button in the Navigation Results window that appears will show the first nine characters after exiting the tool 5 2 5 Removing a Tool To remove a tool 1 Choose the tool to be removed in the Navigation Results window 2 Click the Delete button in the lower left corner of the screen 5 3 Quick Teach Quick Teach provides the fastest and easiest method of establishing an inspection Quick Teach will use the reference image to establish Pass Fail parameters of the Test tools Quick Teach does the following Executes the inspection on the reference image Learns the results of the Vision tools Applies the applicable tolerances user determined but default is 10 to the selected parameters in the Test tool these parameters determine the Pass Fail criteria for each Test tool within the inspection 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 t
134. maximum number of patterns Rotation Origin pixels X Y X Y coordinates of the point from ROls will rotate Match Rotation degrees Rotational value of the first pattern found Best Match Location pixels X Y X Y coordinates of the first pattern found Point Best Match 96 20 100 Percent match of the first patttern found P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 129 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Communication Tool Exportable Results Object Tool Tool Name string Execution Time ms Execution Time Min ms Execution Time Max ms Dark Count whole number Total Object Count whole number Min Bright Object Width pixels Max Bright Object Width pixels Min Dark Object Width pixels Max Dark Object Width pixels Width s pixels Location s pixels X Y User defined name Tool processing time for the current inspection Fastest recorded tool processing time since the start of the inspection or since power up Slowest recorded tool processing time since the start of the inspection or since power up Total number of dark objects Total number of all objects Width of the smallest bright object found Width of the largest bright object found Width of the smallest dark object found Width of the largest dark object found Widths of all objects found Midpoint position of all the objects found Communication Tool Exportable Results Pattern Count Too
135. maximums 8 The inspection will Fail if the Vision tool s or the Test tool s fails If the inspection fails another Remote Teach sequence or user intervention is required 9 4 2 Remotely Teaching a Tool To remotely teach a tool the user must enable Remote Teach on each tool to be taught This can be accomplished by clicking on the Enable Remote Teach box in the tool window before running an inspection typically performed when the inspection is created To perform a Remote Teach do the following Verify that the correct tools are enabled for Remote Teach Verify that the sensor is in Run mode Verify that the Green Ready LED is ON Activate the Remote Teach input Position the target as desired 6 Trigger the Sensor O Following a Remote Teach subsequent inspections will be performed with the newly learned parameters of the Vision tool s and the Test tool dh Caution A successful Remote Teach will occur ONLY if the new target is similar in contrast to the original target The exposure time and gain are NOT modified during Remote Teach 9 4 3 Timing Sequence The timing for the Remote Teach sequence is shown below the diagram assumes Remote Teach is enabled on the tools and that all signals meet minimum times It is important to note that the remotely taught parameters are not saved to non volatile memory hence the remotely taught inspection is good only as long as Run mode is maintained and p
136. me necessary to return a sensor to the factory please do the following 1 Contact the Banner Factory Application Engineering group at the address or numbers listed below They will attempt to trouble shoot the system from your description of the problem If they conclude that a component is defective they will issue an RMA Return Merchandise Authorization number for your paperwork and give you the proper shipping address P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 7 Tel 763 544 3164 Product Support and Maintenance 7 2009 2 Pack the sensor carefully Damage which occurs during return shipping is not covered by warranty Factory Support Call e mail fax or write your local Banner representative or a Banner Applications Engineer for support Applications Engineers are available from 8 00 A M to 5 00 P M Central Time Monday through Friday excluding holidays 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 Model Number is on top of Sensor Date Code is either on the
137. mpletion of the inspection execution For EXEC TRIGGER command returned number will be the frame number at the completion of the inspection execution For all other commands the returned number is the current frame number Command Processing RCC commands are interpreted in the context of the running PPVS system Due to the constantly changing System state caused either by external action or by previous RCC commands certain rules are imposed on RCC command acceptance and processing Please note that command acceptance does not constitute successful completion of the command 1 EXEC TRIGGER command can be successfully accepted under the following conditions Inspection is Executing and is Ready 2 EXEC PRODCHANGE command can be successfully accepted under the following conditions Sensor is idle inspection is not loaded and the GUI is not connected Inspection is Executing and is Ready Sensor was previously product changed to an invalid slot 3 EXEC RESET command can be successfully accepted under the following conditions Sensor is idle inspection is not loaded 62 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Inspection is Executing and is Ready 4 SET GAIN or SET EXPOSURE commands can be successfully accepted under the following conditions Inspection is Executing and is Ready 5 GET status counter or f
138. mportant to note that these are not measurements of the Blob itself because the Blob may be an irregular shape Rather these measurements are determined by a well defined shape a best fit ellipse as shown below P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 117 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 pts i W 4 Pp ee P s d p ETT ues et pert These three results combine to give information about the elongation and orientation of a blob The equations used to compute these statistics are fairly complicated but the results usually have an intuitively useful meaning described below The first step in computing these results is to compute the 9 and M statistical moments A 2 x E Kol 20 A i l M 027 where is the area Yo the coordinates of the centroid x y 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 Major Axis Length 2 My f4M M Major Axis Length 2 lt Mu 4 2 207 M 0 2 Major Axis Angie 118 Banner Engineering Corp Minneapolis MN USA www bannerengineering c
139. mum exclusive of I O load and lights P4 AREA 1 3 550 mA maximum exclusive of I O load and lights 1 Trigger IN 1 Strobe OUT 4 Programmable I O 1 Product Change 1 Remote Teach Input Output NPN or PNP software selectable Configuration Output Rating 150 mA ON State Saturation Voltage 1V at 150 mA max NpN V 2V P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 241 Tel 763 544 3164 Dimensions and Specifications 7 2009 Communication Display Options Memory Acquisition Exposure Time Imager Pixel Size Lens Mount Construction Environmental Rating Operating Conditions Certifications OFF State Leakage Current lt 100 microamps NPN or PNP 1 RJ 45 Ethernet RS 232 flying leads or NTSC video 9 307 max cable length INS Storage Memory 8 MB Number of INS Files 500 max P4 AREA 500 max P4 AREA 1 3 26 8 max Frames Per Second P4 AREA 128 X 100 P4 AREA 1 3 1280 X 1024 Image Size Levels of Gray Scale 256 P4 AREA 0 1 to 20 47 ms P4 AREA 1 3 0 1 to 1670 ms P4 AREA 2 6 X 2 0 mm 3 3 mm diagonal 1 5 inch CMOS P4 AREA 1 3 8 576 X 6 861 mm 10 9829 mm diagonal 2 3 inch CMOS P4 AREA 20 X 20 microns P4 AREA 1 3 6 7 X 6 7 micrometers C mount Black anodized aluminum sensor housing glass lens Weight Approximately 0 29 kg 0 642 Ib IEC IP20 NEMA 1 Stable Ambient Temperature 0 to 50 C 32 to 122 F
140. n NTSC Language Tools Configuralion System Setup Select or hide tools and or ther enhanced features If a tool or ts enhanced feature is unselected then it will be unavailable within the GUI Configurabon Mode Tool Description Standard O Enhanced Select a tool to view short description of it E Edge Enhanced A Obiect Custom Pattern Court Geometric Count Barcode 28654 O Enhanced E Analysis g Measure Enhanced Meth Test Sims X mes 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 Press the Goto Tools button in the lower right corner of the Setup tab Add a Geometric Find tool to locate 1 In the PresencePLUS GUI click the Location Tools tab 70 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview the part within the field of view 2 Click the Geomtric Find button 3 Draw the tool ROI Region of Interest to select the image feature of interest as shown below Geometric Find Tool 4 Click the Apply button to accept the ROI 5 Click the Next button to return to the Tools menu P N 000000 Banner Engineering Corp Minneapolis MN USA www
141. n ms Execution Time Max ms Color Match Test Result Color Match Percent Match Percent Threshold 96 Brightness whole number Brightness Lower Limit whole number Brightness Upper Limit whole number 1 Tool executed successfully 0 Tool did not find a point to use as a reference Tool processing time for the current inspection Fastest recorded tool processing time since the start of the inspection or since power up Slowest recorded tool processing time since the start of the inspection or since power up The grayscale brightness This value ranges from 0 to 255 The grayscale brightness lower limit This value ranges from 0 to 255 The grayscale brightness upper limit This value ranges from 0 to 255 Communication Tool Exportable Results Barcode Tool Tool Name string Success Execution Time ms Execution Time Min ms Execution Time Max ms Max Time Exceeded User defined name Tool processing time for the current inspection Fastest recorded tool processing time since the start of the inspection or since power up Slowest recorded tool processing time since the start of the inspection or since power up Number Found whole number Coordinates of Barcodes Found Barcode Type Symbol Type Number of Barcode Data whole number Elements Read Barcode Data Read Barcode Read Status 2 D Symbol Dimensions 132 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 00000
142. n or since power up Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power up Match Acceptance Level 20 100 Minimum percent the current pattern must match the reference Range Min pattern to be considered a match Match Acceptance Level 20 100 Maximum percent the current pattern must match the reference Range Min pattern to be considered a match Rotation Origin pixels X Y X Y coordinates of the point from which ROIs will rotate First Match Rotation degrees Rotational value of the first pattern found First Match Location Point pixels X Y X Y coordinates of the first pattern found Match of First Pattern 15 100 Percent match of the first pattern found Found Communication Tool Exportable Results Blob Detect Tool 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 Count whole number Number of Blobs found 128 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Total Area pixels Number of pixels when combining all Blobs found Largest Blob Area pixels Number of pixels in the largest Blob
143. n s Log tab are described below Mode Pass Logs only passed inspections based on Strategy Fail Logs only failed inspections based on Strategy RT Log remotely taught inspections based on Strategy RT Fail Log failed remotely taught inspections based on Strategy Any Logs both passed and failed inspections based on Strategy None Log not updated P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 209 Run Screen 7 2009 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 Obtain button Moves the stored inspection data from the camera s memory to the GUI s memory Flush button Deletes all stored inspections from the camera s memory Save All button Enables the user to write the log files from Save Selected button Enables the user to write the current log file from the GUI s memory onto a hard drive or other storage device Load button Enables the user to load a saved file from the computer s hard drive or other storage device into the GUI to be viewed Result View Clear All button Deletes all inspections from the GUI s memory Clear Sele
144. n you click Start in Auto Exposure the exposure time and gain are optimized for the current inspection and the Status field provides feedback fisted Status The following are status possibilities Not running Auto exposure has not been activated since entering this screen P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 31 Tel 763 544 3164 7 2009 Running Auto exposure is currently running Finished Auto exposure has run and is complete Image too dark Auto exposure could not brighten the image enough Add more light to the inspection or increase the exposure manually Image too bright Auto exposure could not darken the image enough Remove light to the inspection or decrease the exposure manually Setup 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 Increasing gain that is moving the slider to the right increases image brightness without increasing exposure time V Note Gain brightens both the light pixels and dark pixels High gain values will make the image appear grainy 4 4 Trigger Tab An external trigger is used to tell the Sensor when to capture an image You can modify the validity an
145. nal 1 Start an inspection that has a configured Communication tool 2 Connect a PC to the controller using an Ethernet crossover cable 3 Start a new connection with HyperTerminal 4 Connect using TCP IP Winsock 5 Configure HyperTerminal to talk with the controller For example Host Address 192 168 0 1 Port Number 20000 Ethernet Socket 1 6 Trigger the sensor 7 View the results 8 4 2 Testing Serial Communications To test serial communications with Telnet Start an inspection that has a configured Communication tool Connect a PC to the sensor using a serial cable Start a new connection with HyperTerminal Connect using COM1 choose a serical COM port Configure HyperTerminal to talk with the sensor For example Baud rate 1155200 bits sec sensor default P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 187 Tel 763 544 3164 Communication Tool Setup 7 2009 Data bits 8 sensor default Parity None sensor default Stop Bits 1 sensor default Flow Control None 6 Trigger the sensor 7 View the results 8 5 Troubleshooting Ethernet Connections 1 Check the LEDs on teh sensor s RJ 45 connetor No LEDs are ON the cable may not be the correct type straight or crossover or it could be broken Only the yellow LED is ON the electrical connection is good but the sensor device are not exchanging data Yello
146. nal 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 225 Tel 763 544 3164 13 Saving Inspections 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 These values include gain exposure time and trigger setup Inspection parameters include Location tools Vision tools and Analysis tools as well as their associated parameters The reference image is the image selected in the Setup screen Use the Save window to save an inspection to the Sensor or to save to an Inspections folder on the PC or network To display the Save dialog click the Save button in the Menu toolbar P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 227 Tel 763 544 3164 Saving Inspections 7 2009 Save Inspection Name 0 Temp 1 2 3 4 5 6 7 8 1
147. name of the selected inspection The default is the last saved inspection 10 2 Display 204 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Run Screen 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 The display is updated continuously but because of transfer speed limits not every image will be displayed For faster image speed reduce the resolution None Display is not updated 10 3 Capture Control Latched The condition set in the Display field is displayed or latched until set Continuous The condition set in the Display field is displayed Image Enable Checked The PC displays an image of the inspection Unchecked The PC will collect the inspection information without an image V 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 205 Tel 763 544 3164 Run Screen 7 2009 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 selecte
148. nchecked are hidden Similarly a tool s enhanced feature will be available if checked and unavailable if unchecked Tools Configuration Sensor Select Communication InputOutput Strobe Units Reset Start Up Inspection NTSC Language Tools Configural Select or hide tools and or their enhanced features f a tool or its enhanced feature is unselected then it will be unavailable within the GUI r Configuration Mode Standard Enhanced Custom More Information E P4 OMNI E Location Locate Enhanced Geometric Find Enhanced E Vision Average Gray Blob Edge Object Geometric Count Barcode DCR E Analysis Measure Enhanced Math Test String Tool Description Select a tool to view a short description of il P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 91 Tel 763 544 3164 System Setup Window Overview 7 2009 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 The Tool Configuration settings
149. nd Required Add Test tool s to set the Pass Fail criteria Vision and Measure tools are inputs to the Test tool Click Quick Teach to automatically set all the selected parameters in the Test tool and to proceed to the Run screen or click Next to proceed to the Teach screen and to teach a sample set of good products 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 Chooose the sample size Click Start Trigger the controller with the external trigger device Click Stop V Note Before entering Run save inspection file to one of the memory locations on the controller Click Next to proceed to the Run screen V Note Save backup copy of the inspection to the host PC 4 Run screen Select an inspection fo run and review the results of the inspection P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 27 Tel 763 544 3164 Getting Started 7 2009 To select an inspection in the Select tab enable Software Override and select the inspection file from the list of stored inspections on the camera alternate method is to use Hardware input to select an inspection via discrete inputs to the controller 5 Begin inspection To begin inspecting click the Start button in the Run
150. ndow Overview 7 2009 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 Language Tab System Setup Sensor Select Communication InputOutput Strobe Units Reset Start Up Inspection NTSC Language Tools Configural r Select the language English Y Apply P N 000000 90 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 7 2009 6 10 Tools Configuration System Setup Window Overview 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 In this tree view all tools which have a check mark are available for use in the inspection and all tools that are u
151. ndow are explained below Note The reference image is used as a template for developing an inspection it establishes the initial values for the Vision tools The reference image also is used by Quick Teach 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 All ROIs 14 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Description 2 2 3 Navigation Results Window The Navigation Results window at the bottom of the screen displays tool navigation buttons or inspection results files Navigation Buttons Clicking on the Tools button in the Main Menu toolbar brings up the tool navigation buttons in the Navigation Results window When setting up or using tools click on any tool navigation button to get the corresponding tab in the Configuration window BLOB_1 R Biod LOCATE_1 or BLOB_1 Tool name A Absolute R Relative Locate or Blob Tool type Absolute and Relative Tools An absolute tool s Region of Interest ROI does not move in the image window A relative tool shifts the ROI from the previous tool relative to the position of th
152. ng com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Test Tool Input OBJECT 1 Count Bright Object Dark Object Total Object Toleranced Width Width test Fails if object is not Found Test Tool Average Color Tab Category Values Options Averages Hue Begin End Tolerance 96 Saturation Min Max Tolerance 96 Intensity Min Max Tolerance P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 173 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Standard Deviations Hue Min Max Tolerance Saturation Min Max Tolerance Intensity Min Max Tolerance Test Tool Average Color Tab 174 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Hide Color Map Test Tool Color Match Tab Indicates whether there is a color MATCH or NO MATCH Test Tool Color Match Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 175 PresencePLUS Software Tools 7 2009 Test Tool Input CM 1 Result is MATCH NO MATCH Test Tool OCR Tab Test Values Options String Length Count Min Max Data Read String 176 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Test Tool OCR Tab
153. nnection drop down list of the Communication Tool Setup field 54 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Communication Setup Channel Serial 1 Settings Baud Rate 115200 Data Bits 8 Parity None Stop Bits zl Flow Control Hone of Connector Serial 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 32 bit Format 32 bit Format determines how 32 bit integers and floating point values are stored in sequential 16 bit registers words least significant word first LSW MSW or most significant word first MSW LSW Character String Order For Modbus TCP and PCCC protocols characters in the string can be packed into registers according to either the Standard String format or the ControlLogix Format1 Standard String Format is used when the Character String Order option is set to High Byte Low Byte selection Please note that the length of the string is stored in one 16 bit register P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 55 Tel 7
154. nning To stop a running inspection click the Stop button in the Run tab To save changes click OK before exiting the tab or closing the window The System Setup Window includes the following tabs Sensor Select Tab6 1 Sensor Select Tab on page 46 Communication Tab6 2 Communication Tab on page 51 Input Output Tab Strobe Tab6 4 Strobe Tab on page 84 Units Tab6 5 Units Tab on page 85 Reset Tab6 6 Reset Tab on page 86 Start Up Inspection Tab6 7 Start Up Inspection Tab on page 87 NTSC Tab6 8 NTSC Tab on page 89 Language Tab6 9 Language Tab on page 90 Tools Configuration6 10 Tools Configuration on page 91 System Setup Window P4 System Setup Window P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 45 Tel 763 544 3164 System Setup Window Overview 7 2009 System Setup Sensor Select Communication InputOutput Strobe Units Reset Start Up Inspection NTSC Language Tools Configuration Sensor Neighborhood Available Name IP Address ProductID__ Sensor Version Running Inspection Error MAC Dm ppvs 132 158 0 1 P4 Color 0 220 No 00 00 66 01 Refresh Change Sensor IP Address r PC GUI to Sensor Connection Setup Connection IP Address 192 168 0 1 Address History Infor 132 168 Host PC IP Address 68 0 Automatically Connect To Selected IP Address 6 1 Sensor Select Tab
155. nt developed from 16 mm movie work used extensively for closed circuit television The threads have a major diameter of 1 and a pitch of 32 threads per inch The flange focal distance is 0 69 calibration The relationship between the output of a measuring instrument and some fiducial mark an accepted standard of 248 measurement or other reference datum for the purpose of reporting future results relative to the reference centroid The X and Y pixel coordinates of the center of mass in two dimensional Blob collimated A beam of light in which all optical rays are parallel contrast The range of difference between light and dark values in an image correlation A process whereby two image segments are compared to determine their similarity or to find the position at which optimal similarity exists D dark field An illumination technique supplying the illumination at a shallow grazing angle to the surface of the work piece Ordinarily only a negligible amount of light reflects into the Sensor Specular reflections occur off any abrupt surface irregularities and are detectable in the image depth of field The in focus range of an imaging system Measured from the distance behind an object to the distance in front of the object with all objects appearing in focus depth of focus The range of lens to image plane distance having the image formed by the lens appearing in focus PresencePLUS P4 AR
156. nt or the Current Point The Pattern Count tab shows the location of the Pattern Location used in the measurement ClickMeasure Tool7 4 3 Measure Tool on page 141 for more information about the Measure tool Pattern Find and Pattern Count Tabs 156 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Measure Tool Pattern Count Tab PresencePLUS Software Tools P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 157 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool Measure Tool Blob and Color Blob Tab From the dropdown list select the Blob Smallest or Largest Blob to measure to ClickMeasure Tool7 4 3 Measure Tool on page 141 for more information about the Measure tool Blob or Color Blob Tab 158 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Measure Tool Measure Tool Edge Tab Use the up or down arrow keys to select the Edge Number to measure to ClickMeasure Tool7 4 3 Measure Tool on page 141 for more information about the Measure tool Edge Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 159 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool Measure Tool Object Tab Use the u
157. o 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 A sensor failure or malfunction can cause either an energized or de energized sensor output condition Consult your current Banner Safety Products catalog for safety products which meet OSHA ANSI and IEC standards for personnel protection 1 1 Product Support Banner provides the following resources for quickly setting up and operating the sensor Documentation Online Help The PresencePLUS online help is available from the from the Help menu item within the PresencePLUS software You can also get targeted help while on any system tab or dialog by pressing the lt F1 gt key PDF Documentation The PresencePLUS Sensor documentation is available in a convenient printable format PDF on the installation CD or on the Banner Web site Banner Website The most current PresencePLUS information documentation and software updates are available at the following Banner website page www bannerengineering com Warranty Service The PresencePLUS Vision Sensor is designed for reliability Do not open the housing it contains no field replaceable components If repair is necessary do not attempt to repair the sensor yourself return the unit to the factory Should it beco
158. ocation tools Locate Geometric Find and Pattern Find affect the Measure tool 9 v Absolute When the measurement type is set to Absolute the x and y components of the measured distance use the absolute or fixed coordinate system of the camera s field of view FOV If a rotation enabled Location tool P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 151 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 precedes the Measure tool in the order of operation that is if the Location tool is to the left of the Measure tool in the Navigation Results window then the x and ycomponent values and the angle of the line change as rotation occurs MT 1 Execution time 0 1 ms Inputs 1 4 Results 22 Success 1 Distance 173 90 px Distance X 166 40 px Distance Y 50 40 px gt Angle 16 85 degrees The inspection on the left shows a rotation enabled Location tool followed by a pair of Edge tools The results of an Absolute measurement are on the right MT 1 Execution time 0 1 ms 8 Inputs Eh Results Success 1 Distance 174 30 px En Distance X 174 30 Distance Y 3 20 px gt Angle 1 05 degrees The part rotated The x and y components and the angle of the measurement change but the total distance remains the same Relative For the Measurement type to be set to Relative a Location type t
159. ocket 6 Ethernet Socket 7 Ethernet Socket 8 Ethernet Socket 9 Ethernet Socket 10 Serial 1 Industrial Ethernet Connector Ethernet Ru 45 3 Choose a connection from the fixed Connection drop down list of the Communication Tool Setup Each Ethernet socket has a unique TCP port number as shown below field Note The following addresses are defaults 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 53 Tel 763 544 3164 System Setup Window Overview 7 2009 7 192 168 0 1 20006 8 192 168 0 1 20007 9 192 168 0 1 20008 10 192 168 0 1 20009 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 The following table shows the configuration options Baud Rate 115200 Data Bits 8 Parity None Stop Bit 1 Flow Control None To setup a serial connection 1 Click on the System button in the Main Menu toolbar to bring up the System Setup window 2 Click on the Communication tab 3 Choose Serial 1 from the Co
160. oes not include inspection capture to PC Config timestamp when inspection was created Capturing an image on teh PC adds to the inspection time Set display settings to None to decrease the inspection time to a minimum Tools tool name Second Inspection Name Information about current tool Execution time resolution 0 1 ms Inputs parameters set for the current tool Results results of the current tool System log First None Not used 10 13 Run Player Recorder The Player Recorder is typically used for troubleshooting and is actually two features in one a bitmap Player and a bitmap Recorder The Recorder can save image files from the camera to an external hard drive for later use The Player can force the Vision sensor to run on these stored bitmaps rather than live pictures taken from the imager chip The Player Recorder feature has two states based on the status of the Start button If the Start button has not been pressed then the sensor can run on saved images Once the Start button is pressed then the sensor is evaluating live images and can t run on saved images For non color cameras the images which are saved by the Recorder feature are 8 bit grayscale bitmaps with the same resolution as the vision sensor they came from A P4 Geo would generate 128x100 resolution BMP files 13 5 kB in size while a PA Omni would make 640x480 BMPs 302 kB and a P4 BCR 1 3 make 1280x1024 BMPs 1282 kB The Player feature
161. of a circular buffer with up to 400 entries These entries can be one of three types 194 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Communication Tool Setup IN characters received in the input stream CMD commands that were extracted after the frame start and frame end delimiters have been received OUT formatted command output with frame delimiters already included Log entries are time stamped with system time and sorted in the order they were received Non displayable ASCII characters are shown in the ASCII Hex string form The ASCII Hex strings are preceded by character sequence x backslash lower case x The ASCII Hex string will always be two characters long For example NULL will be converted to x00 and carriage return will be converted to xOD To represent ASCII Hex digits only upper case letters A F are used Sample RCC log is given below 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 483 0 0 00 00 Gh x0A MD exec trigger UT O x0D x0A Pea aa Vex Wa pun pu ze Ne 9 my Wes Vm O Q H H H H H H H H H H H H HH In this example command exec trigger was sent to RCC interfa
162. of the Run screen are described below P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 207 Tel 763 544 3164 Run Screen 7 2009 Product Select Hardware Input option signals the sensor to run the product option currently selected by the Product and Product Select input lines not necessarily what is shown in the drop down list on the tab With this option selected then the Product Change and Product Select input will change the inspection when signaled to do so Software Override option is typically used for troubleshooting a specific inspection and it signals the sensor that you will manually select an inspection to run The inspection displayed in the field next to Software Override will be the inspection that runs Enter the number of seconds failed images should be displayed on the Failed Image Hold optional NTSC video monitor The default is 1 second 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 Trigger Delay Adjust nd Note Using the Trigger Delay when a part is triggered too early may be easier than moving the sensor Select Tab Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 208 Tel 763 544 3164 7 2009 Incpaction s Setting Run Screen 10 11 Log Tab Fields in the Runs scree
163. ol processing time since the start of the inspection or since power up Max Time Exceeded String Read string String Length whole number Communication Tool Exportable Results OCV Tool 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 Execution Time Max ms Slowest recorded tool processing time since the start of the inspection or since power up Max Time Exceeded String Read String Length OCV Result Expected String Communication Tool Exportable Results Math Tool Tool Name string User defined name Success 1 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 Output 134 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Communication Tool Exportable Results Measure Tool Tool Name string User defined name Execution Time ms Tool processing time for the current inspect
164. olor changes Using the Reject Level parameter the tool can be set up to ignore pixel intensities that are not pertinent to an inspection Usage Spot check for holes Check for change in surface texture Check for color quality Check for presences absence of a label or other objects Fields The following are fields on the Average Gray Scale tool Input tab Reject Level Example7 3 1 2 Reject Level Example on page 110 Average Gray Scale Results7 3 1 3 Average Gray Scale Results on page 106 Histogram7 3 1 4 Histogram on page 106 Supported Platforms Yes Yes Yes Yes Yes No No No Average Gray Scale Input Tab 104 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Average Gray Scale Tool Draw ROI 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 Use this field to rename the tool The default is tool name 1 tool name 2 and so on where the default foo 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 105 Tel
165. om P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools The table below gives a more practical perspective on how to interpret these results If the camera is configured to convert pixels to other units the major and minor axis lengths will be given in those units The major axis angle is always given in degrees Blob Shape circular no holes elliptical no holes square no holes rectangular no holes complicated shape no holes any shape with holes Eccentricity Meaning of Major Axis Length diameter of the circle length of the ellipse diameter of a circle that best approximates the square length of an ellipse that best approximates the rectangle length of an ellipse that best approximates the shape results vary depending on exact shape experiment on your particular shape Meaning of Minor Axis Length equal to the major axis length width of the ellipse equal to the major axis length width of an ellipse that best approximates the rectangle width of an ellipse that best approximates the shape results vary depending on exact shape experiment on your particular shape Meaning of Major Axis angle unstable orientation of the ellipse unstable orientation of the rectangle orientation of the shape unstable if length and with are nearly equal results vary depending on exact shape experiment on your particular shape The eccentricity of a blob is defined a
166. om 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 Level Active Low Active High Active Low When given a OV dc signal it turns on This is the default Active High When given a 5V dc signal it turns on 6 5 Units Tab Use the Units tab to scale pixels to Engineering units inches millimeters centimeters etc as shown in Units tab shown below To scale pixels folow the instruction Units Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 85 Tel 763 544 3164 System Setup Window Overview 7 2009 System Setup NTSC Language Tools Configur Sensor Select Communication InputOutput Product Change Select Strobe Trigger Units Reset Units Measurement in pixels Measurement in pixels millimeters mm Conversion factor centimeters cm Apply Conversion Process All conversions are from pixel units to the user selected units To configure unit conversion 1 Go to the Setup screen and capture an image of an object with known dimensions 2 Go to the Tools screen and use Edge Object Blob Patten Count Patten Find Locate GEO Count or GEQ Find tools along with a Measure tool to measure the distance of the known dimension in pixels Remember this pixel value 3 Return to this screen and select the desired units for the me
167. on displayable ASCII characters are shown in the ASCII Hex string form The ASCII Hex strings are preceded by character sequence x backslash lower case x The ASCII Hex string will always be two characters long For example NULL will be converted to x00 and carriage return will be converted to xOD To represent ASCII Hex digits only upper case letters A F are used Sample RCC log is given below 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 0000000118 116 o We e In Gr K HHHHHHHHHHHHHH P x ze zs pus Vu 2 V mes me Meme nn 0 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 63 Tel 763 544 3164 System Setup Window Overview 7 2009 0000000118 116 CMD exec trigger 0000000118 483 OUT 0 x0D x0A In this example command exec trigger was sent to RCC interface The interface was configured to use no start frame delimiter and carriage return xOD and line feed as frame delimiters As soon as valid frame delimiters were received the command exec trigger was sent for processing and the command response was sent back after inspection finished executing Frame and Field Delimiters The PresencePLUS GUI includes a drop down list of Frame delimiters as follow
168. ool 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 The x and y components and the angle of the measurement remain constant even if the part rotates in the camera s FOV The relative Measure tool is relative to the rotation enabled Locate tool The part has rotated but the x and y distances and the angle of the line are largely unaffected 152 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools MT 1 Execution time 0 1 ms Hw Inputs Cj wf Results i gt Success 1 i Distance 95 60 px Distance X 90 70 px Distance Y 30 20 px ES 5 Angle 18 39 degrees The relative Measure too is relative to the rotation enabled Locate tool MT 1 Execution time 0 1 ms 9 Inputs Ew Results Success 1 Distance 95 60 px Distance X 90 40 px Distance Y 31 10 px Angle 18 99 degrees The part has rotated but the x and y distances and the angle of the line are largely unaffected 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 Negativ
169. or Getting Started 6 Upon initial startup the software communication is not configured and the following error message is displayed PresencePLUS Pro EN Camera not found on IP 192 168 0 1 Do you want to try another IP address 1 7 Click Yes to open the Communication screen 8 Establish communications as follows Ethernet Choose Ethernet RJ 45 1 When the software is started for the first time the IP address is Localhost 2 Change the IP address to 192 168 0 1 default IP address of the sensor 3 Click OK P N 000000 Tel 763 544 3164 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 23 Getting Started 7 2009 Camera Select Communication InputOutput Product Change Select Strobe Trigger Reset PC GUI to Camera Setup fEthemet 8 45 Connection IP Address 192 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 The monitor if used is connected
170. ort 990 End Delenter Output Delimiter Input Frame Example nmt Nr Output Frome Example tal st t Nr Code snippet Piotocol Common Help Connector Ethemet RJ 45 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 V Note You can adjust each of these parameters as necessary but corresponding adjustments will have to be made to the sample AS Language program provided to enable successful communication Creating the PresencePLUS Inspection Enable the Coordinate Tool in 1 Click the System button in the upper right corner of the PresencePLUS GUI P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 69 Tel 763 544 3164 System Setup Window Overview 7 2009 the Tool Configuration 2 Select the Tools Configuration tab dialog 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 xi Sensor Select Communication InputQutput Product Change Select 1 Strobe Trigger Units 1 Reset Start Up Inspectio
171. ower to the Sensor is not lost To record the remotely taught inspection the logging function must be used P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 201 Tel 763 544 3164 7 2009 Existing New target New inspection must be in inspection starts here place starts here I I I Trigger LLL Remote Teach occurs here Ready _ Fi tana Teach Remote Teach activated Notice that the Remote Teach time is longer than the normal inspection time This time is inspection dependent tool dependent but a safe assumption is two times the normal inspection time in most cases 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 nd Note If the Remote Teach fails for this reason then the new pattern will not be taught and the previous inspection will still be valid If Location tools were used and they performed correctly or if Location tools were not used then the Remote Teach will attempt to update the Vision tool if enabled If the Vision tool fails then the Remote Teach will fail and the inspec
172. owing ways 30 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Setup Continuous The sensor will update continuously in Setup mode 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 From Disk If you check this option the a Trigger button allows you to browse for an image to load from disk Note The trigger options described above are used only in the Setup routine Note though that Run mode does require an external trigger 4 3 2 Focus Value The Focus value on the Focus tab is a number between 1 and 255 To focus the lens place the target object so that the area to be focused appears on the center of the displayed image You can use the image on the PC to determine when the image is sharp enough or you can use this Focus value as a guide Turn the focus ring on the lens until the Focus value is at the highest possible number between 1 and 255 Note there is no optimal value for this number but it can be used as a guide if setting up more than one camera focused on the same target 4 3 3 Auto Exposure Whe
173. p Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview Establishing Sensor Robot Communication Install and connect a PresencePLUS Vision Sensor Install Banner PresencePLUS Vision Sensor version 2009R1B or later Connect the Vision Sensor using one of the following approaches connect to an existing Ethernet network via a switch or hub using a straight through Ethernet cable with RJ45 connectors connect directly to the Kawasaki controller using a cross over Ethernet cable with RJ45 connectors Configure both the PresencePLUS sensor and the Kawasaki controller with static IP addresses Configure PresencePLUS 1 Ethernet ports The 2 PresencePLUS 3 Sensor supports user assignable TCP 4 IP ports This assignment is Start the PresencePLUS software Connect to the sensor Click on the System button in the upper right corner of the PresencePLUS GUI to display the System Setup screen Click on the Communication tab to display the Communication configuration dialog P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 67 Tel 763 544 3164 System Setup Window Overview System Setup performed from the NTSC lu System Setup Sensor Select Communication InputOutput Product Change Select Strobe Dialog 6 Communication Setup Communications tab Channel e Remote Command Control Configuration
174. p Window Overview 7 2009 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 the inspection 402 Reset command attempted in the middle of the product change 500 RCC commands not accepted because the sensor is in the Playback mode Timeout error codes 600 Product change timeout occurred 601 Trigger timeout occurred 00 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 completed Frame Tag Numbers RCC provides user with a debug facility that allows users to correlate command completion with current frame numbers This facility is enabled by issuing a SET FRAMETAG ENABLE command This command will cause RCC to send the current frame number as the command acceptance code This will allow users to track when each command was issued and which frame it applies to For EXEC TRIGGER command returned number will be the frame number at the co
175. p and down arrow keys to select the Object Number to use as a point to measure to ClickMeasure Tool7 4 3 Measure Tool on page 141 for more information about the Measure tool Object Tab 160 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Measure Tool Measure Tool Barcode Tab Use the up or down arrow keys to select the Barcode to measure to ClickMeasure Tool7 4 3 Measure Tool on page 141 for more information about the Measure tool Barcode Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 161 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool 7 4 4 Test Tool The Test tool uses Boolean logic to combine or convert tool results Its data can be used to evaluate the results of a single tool or multiple tools The output of the Test tool can be used to input to another Test tool or to generate a discrete output Additionally a discrete input can be tied to a Test tool The Test tool displays the result ranges it is using as judgement criteria Typically these ranges are automatically set by Quick Teach or by teaching the inspection Additionally they can be manually set or modified either before or after teaching or running the inspection in which case Quick Teach will discard any manually entered values The Test tool also displays the results of the last
176. r 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 or String Tool output may produce strings that contain non printable ASCII characters such as carriage returns line feeds and characters in the upper ASCII range To output these strings the following encoding rules are used Tool output strings will be enclosed in double quote characters Any non printable ASCII character including NULL will be converted to its ASCII Hex equivalent The ASCII Hex string will be preceded by character sequence x backslash lower case x The ASCII Hex string will always be two characters long For example NULL will be converted to x00 and carriage return will be converted to xOD To represent ASCII Hex digits only upper case letters A F will be used Any backslash encountered in the Barcode or String Tool data will be converted to its ASCII Hex equivalent x5C Any double quote encountered in the Barcode or String Tool will be converted to its ASCII Hex equivalent x22 For RCC input strings the formatting rules are expanded to accommodate readability as follows Carriage return can be specified as character sequence r backslash r Line feed be specified as character sequence n backslash n Double quote can be specified as
177. ray scale level across the Edge tool 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 When the Edge Strength level is adjusted both the negative and positive lines will adjust together Graph Tab 102 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools 7 3 Vision Gray Scale Tools Vision tools analyze an image and extract information used for judgment criteria P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 103 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 7 3 1 Average Gray Scale Tool The Average Gray Scale tool calculates the average pixel intensity within the selected ROI Each pixel has a gray scale intensity value from 0 to 255 where 0 is black and 255 is white The Average Gray Scale tool records the gray scale value of each pixel in an ROI and averages them With this information the Average Gray Scale tool can detect changes in intensity that can indicate several conditions such as missing objects holes texture changes and possible c
178. ring Corp Minneapolis MN USA www bannerengineering com Tel 763 544 P N 000000 3164 Getting Started 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 Insert the PresencePLUS CD into the CD ROM drive of the personal computer If you have auto start enabled the CD should automatically start If it doesn t start a Double click on the My Computer icon on the desktop b Double click on the CD Drive in the list that appears c Double click on the PresencePLUS autorun file 4 When the Install screen appears click PresencePLUS PC Software Follow the instructions on the screen 6 When the installation completes reboot the PC 3 1 2 Starting Up the Software 1 Power up the PC 2 Install the software if it has not been installed The installation screen of the PresencePLUS Pro software CD is shown below P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 19 Tel 763 544 3164 Getting Started 7 2009 Vision Sensor User Information ReadMe System Requirements
179. rns ON It is available only for general outputs Note If processing time is longer than the output delay the output will become active immediately after the processing is finished Output This option is available only for the general outputs the other outputs Pass Fail System Error Duration and Ready are latched only Latched Active until the condition changes Time Active for a specific length of time 82 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 System Setup Window Overview ON _ OFE Trigger ee ON Output FF Processing Time Output Duration o e Delay Latched Input Ouput Tab P4 Input Output Tab System Setup Sensor Select Communication InputQutput Strobe Units Reset Start Up Inspection NTSC Language Tools Configural r Inputs Outputs Product Select Current Sourcing NPN Driver Required Curent Sinking NPN Ghe pulse set Current Sinking Driver Required Current Sourcing Three pulse set System Inputs Pin 4 Trigger Pin 3 Product Change Pin 2 Remote Teach 140 Pin 5 Normally r OutputDelay r Output Duration Open 33 gt o Latched Time 1 5 ms Closed gt o 170 r Pin 84 Sr ani Ehe r Normally r QutputD elay
180. rop down menu This is where the user selects the conditions if any for saving images The choices are similar to those for the Logging feature 216 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Run Screen 3 Press Record After choosing which images to save and where to save them the last step is to press the red Record button found midway down the page As the images are saved the file names will appear in the Playback List window Press the record button or the square Stop button to stop recording 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 217 Tel 763 544 3164 Run Screen 7 2009 There are three steps to playing back bitmap images using this feature 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
181. ror SYSERRFLG GET None None Retrieve the value of the System Error either O or 1 Frame Number FRAMENUM None None Retrieve the current frame number Pass Count PASSCNT GET None None Retrieve the pass count Fail Count FAILCNT GET None None Retreive the failed count Iteration Count ITERCNT GET None None Retrieve the Iteration Count System Error SYSERRCNT None None Retrieve the Count system error count Missed Trigger MISSTRIGCNT None None Retrieve the Count missed trigger count Line Status lIOSTS GET I O line id None Retrieve the numeric either cached status 1 through 4 or 1 of the I O line through 6 Gain GAIN GET None Retrieve the gain Gain GAIN SET Positive Integer None Set the gain P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 59 System Setup Window Overview 7 2009 Exposure EXPOSURE None Retrieve the camera exposure Exposure EXPOSURE Positive Number None Get the camera exposure Frame Number FRAMETAG SET ENABLE None Enables frame Tag number as command acceptance indicator Frame Number FRAMETAG SET DISABLE None Disables frame Tag number as command acceptance indicator Frame Number FRAMETAG None None Retrieve the Tag status of the frame tag indicator Coordinate tool Commands Set coordtool foo name tool number x y angle Returns the specified Coordinate tool output get coordtool foo name too number
182. rt the data in the Connection field P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 123 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 If MULTIPLE is chosen from the drop down list then click Edit Selections to select more than one port Click View Settings to display the configuration of the connection 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 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 192 168 0 1 0 192 168 0 1 gt Cc N gt 20 000 20 001 20 002 20 003 20 004 20 005 20 006 20 007 20 008 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 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 Check the Enable Labels box to add the names for data being sent Allowable ASCII string options are shown below Note Start and End strings can now accept ASCII Hex values and the following special charact
183. rties General Authentication Advanced Connect using A File and Printer Sharing for Microsoft Networks illl QoS Packet Scheduler Internet Protocol TCP IP NETGEAR FA511 CardBus Mobile This connection uses the following items Description across diverse interconnected networks C Show icon in notification area when connected lt Transmission Control Protocol Intemet Protocol The default wide area network protocol that provides communication Notify me when this connection has limited or no connectivity 7 2009 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 P N 000000 22 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 7 2009 Internet Protocol TCP IP Properties General You can get IP settings assigned automatically if your network supports the appropriate IP settings Obtain an IP address automatically Use the following IP address IP address 192 168 0 2 Subnet mask 255 255 255 0 Default gateway Use the following DNS server addresses Preferred DNS server Alternate DNS server 5 Start the sofware this capability Otherwise you need to ask your network administrator f
184. rts a A dialog indicates that the Retest and modify timings as supports a larger smaller maximum timing was adjusted and the appropriate and possibly acquire maximum trigger trigger delay trigger inspection loads with the a new reference image delay trigger width NTSC fail hold timing s adjusted to the width NTSC time or exposure time maximum time allowed on that fail hold time or for example a sensor exposure time standard OMNI for example maximum trigger delay Proll maximum set to 8000 ms trigger delay set to 10000 ms 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 Pro 64MB P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 41 Tel 763 544 3164 Tools Screen 7 2009 Pro II Color 64MB 160 Area GEO Edge 8MB 150 500 OMNI 32MB 85 999 OMNI Color 32MB 72 999 Pro 11 1 3 64MB 44 999 OMNI 1 3 64MB 44 999 BCR 8 400 GEO Edge Area BCR 1 3 32 20 999 Not saving a reference image with the inspection frees up a lot of room onboard the sensor However inspections that include any of the following tools require a reference image to be saved Geometric Find Geometric Count Pattern Find Pattern Count Color Match Color BLOB 5 4
185. s lt none gt for no delimiter for carriage return CR for line feed LF for carriage return followed by a line feed CR LF 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 long The PresencePLUS GUI includes a drop down list of Field delimiters as follows none for no delimiter for comma e for semi colon for colon lt SPC gt for space M for tab In addition to the above field delimiters you can enter other delimiter types keeping in mind the following ASCII hex format 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 or String Tool output may produce strings that contain non printable ASCII characters such as carriage returns line feeds and characters the upper ASCII range To output these strings the following encoding rules are used Tool output strings will be enclosed in double quote characters Any non printable ASCII character includin
186. s 7 2009 Success 1or0 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 Input1 1 0 or 1 1 Input 1 results passed 0 Input 1 results failed 1 Input1 results not defined 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 7 Input3 results not defined Input4 1 0 or 1 1 Input 4 results passed 0 Input 4 results failed 1 7 Input4 results not defined Output 10r0 1 Tool overall results passed O Tool overall results failed 7 4 2 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 The Operation is the mathematical expression used to analyze the Operands Fields The following are fields on the Math
187. s the computed center spine of the bead detected by the Bead Tool within its ROI 146 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools The tool returns the distance calculations for the X and Y component Additionally the following results are generated in this operation line connecting the curve and the selected line angle of that line relative to the x axis coordinates of the selected farthest or closest point on the curve Conventions of the Measure Tool The Measure tool reports an angle associated with every line it finds according to the following conventions For the line defined by two points the tool measures the angle between the line and the horizontal plane The tool assigned a positive or negative value to the angle depending on the line s direction Angles are positive if measured clockwise and negative if measured counterclockwise P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 147 Tel 763 544 3164 7 2009 PresencePLUS Software Tools 180 A line s angle depends on the direction of the line The angle is 135 when the line points from the upper right to lower left but is 45 if the points in the opposite direction When defining the angle between two lines the Measure tool takes into account the order of the tool inputs The angl
188. s 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 Max Radius and Max Radius Position These results are equivalent to those for the minimum radius but they refer to the pixel on the perimeter of the blob that is farthest from the centroid 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 If the camera is configured to convert pixels to other units the minimum radius but not the minimum radius position will be given in those units 7 4 Analysis Tools Analysis tools analyze the information gathered with the Vision tools to create measurements and tolerances for the Vision tools Analysis Tools 119 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 PresencePLUS Software Tools Coordinate Yes Tool Camur m Yes Yes Yes Yes Yes Yes Tool7 4 1 Conmuncain Tool on page 120 Math Yes Yes Yes Yes Yes Yes Tool7 4 2 Math Tool on page 136 Measure Yes Yes Yes Yes Yes
189. screen 28 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 Setup 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 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 Most commonly what determines the quality of the image is the illumination 4 3 Focus Tab The Focus tab on the Setup screen is used to Reference Image Source4 3 1 Reference Image Source on page 30 Focus Value4 3 2 Focus Value on page 31 Auto Exposure4 3 3 Auto Exposure on page 31 Focus tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 29 Tel 763 544 3164 Setup 7 2009 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 foll
190. selected inputs for each tool for example relative threshold Results are the information returned from the tool after it has executed Some tools perform evaluations while others provide positional data for the tools that follow Test tools evaluate combine or compare the results of other tools and determine a Pass or Fail judgment ac 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 Click the button of the tool to be added to the inspection Rename the tool Draw the ROI not available for Analysis tools Set Input options to indicate the expected results not available for the Test tool Add a Test tool Configure the Test tool inputs and if desired configure the desired results Set the judgment tolerances in one of three ways Use Quick Teach Use Teach Manually set the judgment tolerances NOOR WD 5 2 3 Adding a Test Tool The following steps provide an overview for adding a Test tool to an inspection 1 Add a Test tool 2 Configure the Test tool inputs 3 Set the judgment tolerances 5 2 4 Renaming Tools The default name of each tool can be edited or replaced examples GS_1 TT_2 Each name must be unique To edit the tool name click on the Name field double click to se
191. ser 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 198 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Several Teach parameters may be selected in the Teach tool s Teach tab such as how many images to consider during a teaching session and what type of captured images to display Use All to not limit the Teach sample size All is the default Use Count to have the Sensor automatically stop the Teach process after a set number of samples Use the Count option when there is a known sample set size Use the arrows to increase or decrease the sample size When the sample size is reached the Sensor will stop the Teach process and the Start Stop button will return to displaying Start he Sensor must receive an external trigger pin 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 displa
192. sible only when Bright bead type is selected Adaptive Select Adaptive when there are lighting changes that cause the acquired image to change P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 109 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Threshold Type Lower Limit Upper Limit 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 Adaptive thresholding chooses the current threshold value by converging to a value based on the average value of the pixels above and below the previous threshold value it will not move the value of the threshold above or below the upper or lower limits Low Limit Enter a gray scale value in this field and the tool will not allow the Adaptive threshold to go below this value Upper Limit Enter a gray scale value in this field and the tool will not allow the Adaptive threshold to go above this value Reject Level The Reject Level field is for bright Blobs only and is used to narrow the range of pixel intensities to consider in an inspection Leaving the defaults at 0 for low and 255 for high will result in the tool taking into consideration all gray scale levels in the ROI from 0 black to 255 white Note that the Reject Level field is visible only when Bright
193. sor using the Ethernet RJ45 connection To establish communication you must enter the IP address of the sensor you would like to communicate with into the Connection IP Address edit box or select the desired Sensor from the Sensor Neighborhood results Then click on the OK button to connect Serial This selection will configure the GUI to communicate with a sensor via the Serial connection To establish communication you must first start Dial Up Networking DUN on the PC Then click on the OK button to connect Sensor Select Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 47 Tel 763 544 3164 System Setup Window Overview 7 2009 System Setup La NTSC Language Tools Configur Sensor Select Communication InputOutput Product Change Select Strobe Trigger Units Reset Sensor Neighborhood Available Product ID Sensor Version Running Inspection MAC Bs ppvs 132 158 0 1 Pro Il 1 3 22 0 No No 0000 Refresh Change Sensor Address PC GUI to Sensor Connection Setup Ethemet RJ 45 Connection IP Address 132 168 0 1 Address History Automatically Connect To Selected IP Address Host PC IP Address 132 168 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
194. spection to complete Scmd str EXEC TRIGGER Scmd_del CAINE aret valp s Semel Str JUS orere val lt lt 0 COMO too error Read command response from camera Srey Bu WU CALL ECO _ racy wet wed O Sa sie val lt COLO ceo error Decode command response a response of zero indicates that the command was accepted for processing a negative value ALMChL EESS chac ain error has OCC Ie Seo Stic c Srey mE ret val VAL Srsp_str veal lt 0 GOIO Gmo error Determine whether the inspection passed or failed Send command to camera to determine if the inspection passed the inspection and found the desired part SEA CALL tcp_send ret_val Scmd_str oret val lt 0 COTO tOo errot Read command response from camera JO OW Sine WW CALI ie weew iet wel Si IF ret val 0 GOTO tcp error Get command failed Decode command response str SORCODE L vom vole 0 ret val VAL Srsp_str Lie opet swell lt COTO ortor Get Pass Fail failed Semel 1 2 IJWewewes E Decode the Pass Fail status data returned by the Get command Str DECODE Sew sti Scecooxe cel 0 passfai
195. t configure the product select and product change lines to be NPN or PNP as required 6 Click on Setup in the Main Menu toolbar select Trigger tab and configure the remaining parameters A Polarity e Minimum Trigger Width Trigger delay Trigger Divide 3 5 Building an Inspection The automatic screen sequence starts with the Setup screen hich results from the first button Setup in the Main Menu toolbar Subsequent screens are shown below in the Main Menu toolbar layout 26 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Getting Started sss Setup Flow Name and save inspections Add tools to an inspection i Begin an inspection Access online help Teach good parts Set up 1 0 and communications Create a reference image 1 Setup screen 00 00 0 Setup the camera lens and lighting Choose trigger option Continuous for a live image Click Auto exposure to adjust the image brightness Focus the lens by turning the lens focusing ring until the focus value is maximized When the desired image is shown click Next to proceed to the Tools screen 2 Tools screen a o Add Location tool s to find the target to adjust the Regions of Interest ROI for translational and rotational changes Required Add Vision tool s to inspect the part Add Measure tools s to create distance measurements from points fou
196. t Filter field Select Pass to export the selected information on a passing Test tool Select Fail to export the selected information on a failing Test tool Communication Tool Exportable Results The Communication tool sends out the data in the same sequence that the tools appear in the inspection and the result of transmitting this data will increase the inspection time The following shows the data sent out for each Communication tool P N 000000 Tel 763 544 3164 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 125 PresencePLUS Software Tools 7 2009 Success 1 The connection is valid and Checks the connection Ethernet data will be sent only Execution time Given in ms Processing time for the Sensor to send the data out The table below shows the format of the data Point X Y Decimal 0 00 00 00 23 41 156 52 Distance Decimal 00 00 99 00 Count Whole 0 4 Available data is tool and model dependent Location Tools Communication Tool Exportable Results Locate Tool7 4 1 7 1 Communication Tool Exportable Results Locate Tool on page 127 Communication Tool Exportable Results Geometric Find Tool7 4 1 7 2 Communication Tool Exportable Results Geometric Find Tool on page 127 Communication Tool Exportable Results Pattern Find Tool7 4 1 7 3 Communication Tool Exportable Results Pattern Find Tool on page 128 Gray Scale Tools Communication Tool Exportable Results
197. t threshold and less than or equal to the Reject level Note Pixels in the ROI which are brighter than the specified Reject level will turn orange in the Image window and be ignored during inspection Choosing Bright with an Adaptive threshold type will cause the tool to limit the threshold to the range specified in the Threshold level Lower and Upper Limit fields The tool will choose as bright Blobs all grouped pixels above the specified Lower Limit and less than or equal to the Upper Limit 110 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 PresencePLUS Software Tools Note Pixels in the ROI which are brighter than the specified Reject level will turn orange in the Image window and be ignored during inspection Blob Detect Tool Input Tab Results Blob 1 463 31 234 84 Blob 2 507 24 y 250 44 Largest Blob 84 Blob 1 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 Configura System dialog P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 111 Tel 763 544 3164
198. ter Handle new coordinate offsets HE kE e iS em SEES GS IS C9 LAPPRO 100 LMOVE pick CLAMP 1 LDEPART 100 HOME LH p Parc nor error notfnd_error part was nor Coume GOTO all done P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 77 Tel 763 544 3164 System Setup Window Overview 7 2009 p AP Quito TED errors PRINT Error during send or via Wes Tret val GOTO all_done RCC Command error eeepc PRINT Error during command to camera ret val GOTO all done Done with program all done CALL tcp close END Open a TCP connection to the RCC using specified TCP port number PROGRAM tcp_open ret_val port ret val 0 recura valis retry count 0 2 Tailcialize the retry Count che co 192 168 01 ajo 192 168 tals 0 ip 4 1 connect COMM Cem NI ois TE Hoel acl sei Check whether connection was established Als 420679 Sock acl lt 9 THEN JUS COulime gt 5 infini Number of retries exceeds 5 exit with error PRINT Unable to establish connection with camera ret val 1 G
199. the line s midpoint MT 1 s direction is the direction of the measurement operation from Edge 1 to Edge 2 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 Measure Tool 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 This angle gives the ability to measure two lines for parallelism P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 149 Tel 763 544 3164 PresencePLUS Software Tools 7 2009 Measure Tool MT 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 The only other piece of information reported is the intersection point of the two best fit lines marked by a solid red triangle How the Tool Measures a Line and a Point This mode finds the shortest distan
200. the right Y offsetis the offset in units set in camera along the vertical axis of the image increases downward Rz offset is the angular offset in degrees about the Z axis increases clockwise This program implements the following actions 1 Connect to the RCC 2 Issue EXEC TRIGGER and wait for inspection to complete 3 Determine pass fail condition of the inspection 4 Get the X Y and Rotation about Z axis offsets 5 Close the connection to the RCC If any failure occurs such as a TCP communications failure or a RCC command error then the connection to the RCC will be severed within this example program PROGRAM banner vision Global variables cmd del SCHR 13 SCHR 10 Geop WW Eco mole aol 1 HUI ME koz che canera Local variables ret val 1 rie WU Used for commands to camera Sie WU Used for incoming data from camera Site WW Used for response parsing from camera Open socket connect to RCC P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 75 Tel 763 544 3164 System Setup Window Overview 7 2009 CALL tcp_open ret_val 20000 otep val lt 0 DECEM consect GO INCCW RETURN END Trigger the camera and wait for the inspection to complete Send Trigger to camera and wait for the in
201. tion will indicate Fail nd Note If the Remote Teach fails for this reason then the existing inspection is not valid The Remote Teach inspection will continue to fail until a new inspection is taught or selected via Product Change or until the Sensor is taken out of Run mode f the Remote Teach is successful the inspection will indicate Pass and the new inspection will perform with the new parameters 202 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 10 Run Screen 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 While running an inspection you can monitor the following Pass Fail counts The status of inputs outputs Product Select System errors and whether the Sensor is Ready Next Pass Next Fail Next Remote Teach Next Remote Teach Fail Next None To run an inspection set options and preferences and click the Start button Fields in the Monitor tab are explained below Run Screen Monitor Tab P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 203 Tel 763 544 3164 Run Screen 7 2009 10 1 Selected Inspection Displays the file
202. unted inspection address In this example the Sensor will stop executing the inspection it is currently running go to address number four because there are four pulses load the inspection at location four enter Run mode and execute the inspection on the next valid trigger 12 1 1 Product Select in One Pulse Configuration To use the product select option in the one pulse configuration follow these steps 1 The selected inspection is displayed in the Product Select box in the Monitor under the Run screen Select Hardware Input in the Select tab of the Run Screen 2 Configure an for Product Change in the System Input Output screen 3 4 Assert the Product Change signal and then assert the number of pulse representing the inspection Set the Product Select Type to One Pulse Set 7 2009 number to go to To do this the Product Change signal must be asserted and held while the pulses representing the digit 1 Note Note Ifthe GUI is connected to the sensor there must be an inspection running to perform Product Change 224 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 P4 Product Change and Product Select Timing 12 2 Three Pulse Set Overview The Three Pulse Set uses the same I O configuration as the standard One Pulse Set but requires a different timing scheme Instead of a single product change pulse three product change pulses
203. upply Voltage Current Draw Connections Operating Temperature Storage Temperature Video System Control Net Weight Up 15 12 24V dc Red Wire V Black Wire V 0 6 A 12V dc Flying leads for power BNC for Video BNC adaptor provided 0 C to 50 C 32 F to 122 F 20 C to 60 C 4 F to 140 F NTCS PAL Auto Switching Selectable on monitor or via remote control included On screen control Bright contrast color tint 1 2 Ib 15 5 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 Protocol Data Transfer Rate Max Cable Length Recommended PC IP Address PC Subnet Mask Factory Default Sensor IP Address Connector Connector Pinout 10 100 Mbps 120 m 393 192 168 0 2 255 255 255 0 192 168 0 1 Use RJ 45 network crossover cable for direct connection to Pin Name Pin 1 2 TXD 244 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Dimensions and Specifications Controller End of Cable Pin 3 RXD Pin 4 Not used Pin 5 Not used Pin 6 RXD Pin 7 Not used Pin 8 Not used PC End of Cable 15 6 Serial Port Communication Specifications Baud Rate 115K Data Bits Eight Stop Bits One Parity Odd Flow Control None Conn
204. value below which a stimulus produces no effect or response Often used to convert a gray scale or analog image into a binary image 251 thresholding A scene segmentation process based on converting a gray scale image into a binary image by reassigning pixel gray levels to only two values Regions of the binary image are separated based on whether pixel values in the gray scale image were above or below a chosen intensity level throughput The total capability of equipment to process or transmit data during a specified time period tolerance The established range upon which to base the differentiation between good and bad products 252 translation Movement left or right up or down but not rotated a geometrical operation that shifts the position of an image from its original position 2 zoom Electronically or optically enlarging or reducing the size of an image PresencePLUS P4 AREA AREA 1 3 Index A absolute positioning 102 absolute threshold 98 adding an area tool 105 advanced tab Blob tool 115 area 116 area tools adding 105 mask 106 109 average gray scale histogram 106 average gray scale tool 104 B binary large object s 107 Blob 107 Blob tool 107 114 115 advanced tab 115 histogram 114 centroid 116 character strings 64 196 command processing EXEC PRODCHANGE 62 194 EXEC RESET 62 194 EXEC TRIGGER 62 194 GET 63 194 SET EXPOSURE 63 194 communication tool 52
205. w LED is ON and the green LED is ON or flashing data are being exchanged between the PC and the sensor Verify that the Communication tool is configured correctly The connection should be Ethernet socket 1 10 Verify that you have selected the desired result data in the Tool tab 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 Verify that the Communication tool is configured correctly Verify that the desired result data has been checked Check the receiving device setup Check the receiving device setup Check that the COM port properties on teh receiving device matches the System parameters in the sensor baud rate data bits parity stop bits and flow control 188 Banner Engineering Corp Minneapolis MN USA www bannerengineering com P N 000000 Tel 763 544 3164 7 2009 Communication Tool Setup 8 7 Remote Command Channel Configuration This section describes the commands that are supported to communicate with a Vision sensor All commands are case insensitive 8 7 1 Remote Command Set All RCC comman
206. will only affect the sensor that the PresencePLUS software is connected these settings are stored with the sensor Therefore if the PresencePLUS software connects to a different sensor then that sensor s tool configuration will be reflected within the PresencePLUS software This feature is available when connected to sensors with 2008R1 or newer versions of firmware 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 To purchase a license key contact Banner with the following information MAC address of the sensor you wish to license Product Type of the sensor The tool s you wish to purchase licenses Your company information An e mail address to receive the Key Please use caution when providing this information as a license issued for one sensor cannot be registered on a different sensor After receiving a license key you may register the license key using two different methods Method 1 Use the Firmware Updater recommended Run the Firmware Updater version 2 0 4 2008R1 or newer Select the Licensing tab Connect to the sensor with the MAC address used for key Enter the license key received for the sensor or browse for the license file Click on the Register button If necessary select the Update tab and update the firmware to the latest version Method 2 Use the PresencePLUS GUI software Use this
207. will work only for the correct resolution images but it does not care where those images come from originally Anything that can generate an 8 bit grayscale bitmap of the correct resolution can be a source for Player images a digital camera a photo editing software package an image from another sensor etc P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 213 Tel 763 544 3164 Run Screen 7 2009 Playback Tab 214 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 P N 000000 7 2009 Run Screen Record Tab 1001_D 1001 1001 1001 D 109235 1001 6 bmp 1001 D 57 bmp 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 P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com Tel 763 544 3164 215 Run Screen 7 2009 1001 1001 1001 1001 1 1001 1001 There 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 d
208. y inspections Capture Control determines how often information is updated on the PC Latched Sets the Display option to None after an inspection is displayed to prevent displaying additional inspections Continuous Continuously updates the inspection information according to the display option Note The display may not capture every inspection Image Enable Determines if the image is included in the result information If checked the inspection image and results will update upon capture If unchecked only the results will update upon capture nd Note Displaying the image on the PC will add to the inspection time P N 000000 Banner Engineering Corp Minneapolis MN USA www bannerengineering com 199 Tel 763 544 3164 7 2009 each Counts tracks the number of samples sed in each Teach process Teach ignores amples that fail Samples fail for the following easons Edge tool before the Test tool fails A Locate tool before the Test tool fails Measure tool fails to find two points Time out error An ROI rotates or translates off the screen Click the Reset Teach button to clear all previously gathered data Start Click the Start button to start the Teach routine Stop Click the Start button to stop the Teach routine Next When you click the Next button the software prompts you to save the inspection and then it continues on to the Run screen 9 4 Remote Teach
209. 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 If you select this option you can specify the size of the largest hole to fill in the Largest Hole to Fill field 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 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 For complicated shapes especially shapes with unfilled holes the centroid might lie outside the shape The x coordinate of the centroid is calculated by adding up the x coordinates of each pixel in the blob and dividing by the area The y coordinate is similar A JX
Download Pdf Manuals
Related Search
Related Contents
ADVERTÊNCIA! Resolução de problemas : Télécharger le pdf User Manual - PIC 40 and PIC 50 Portable Intensive HQ WB1 Approx APPCRIPV2 card reader A guide to the decontamination of reusable 精密騒音計 TYPE6238 Copyright © All rights reserved.
Failed to retrieve file