background image

Содержание Allen-Bradley VIM 2803

Страница 1: ...t Service Center Repairs Experienced Engineers and Technicians on staff in our State of the art Full Service In House Service Center Facility InstraView Remote Inspection Remotely inspect equipment be...

Страница 2: ......

Страница 3: ...vent will Allen Bradley Company be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are incl...

Страница 4: ...2801 N7 Camera Cat 2801 YB Camera Cables VIM Power Supply Cat 2801 Pl Video Monitor Cat 2801 N6 Video Monitor Cables Applying the VIM Vision Tools Chapter Summary 2 l 2 l 2 2 2 3 2 7 2 7 2 8 2 10 2 1...

Страница 5: ...Applications ChapterObjectives Forming the Image Focus Image Contrast The importance of Illumination Different Types of Illumination Methods of Illumination Direct Illumination Indirect Illumination L...

Страница 6: ...LC BlockTransfers Configuration Blocks ResultsBlock Addressing the Discrete Bits From a PLC Program PLC Control of the VIM System Bit Manipulation Bit Manipulation Example 1 Bit Manipulation Example 2...

Страница 7: ...h Tasks The Brightness Main Menu The Probe Move Menu The Probe Hi Lo Range Menu The Threshold Adjust Menu The Line Gauge Menu Branch The Line Gauge Tasks The Line Gauge Main Menu The ETC Line Gauge Me...

Страница 8: ...__ 2 l 2 4 2 5 2 6 2 6 2 7 2 8 2 9 2 10 2 11 2 12 2 7 2 8 2 9 2 10 2 11 2 11 2 12 2 14 2 13 2 14 2 14 2 15 2 15 2 16 3 1 3 2 Pixels Arranged in Rows and Columns Image Scanning Pattern and Image Coord...

Страница 9: ...l Features Camera I O Locations VIM Power Supply 12lnchMonitor Swingarm Field Wiring Terminals ___ __ ___ __ Installation of the Swingarm Swingarm Latch Connection Instruction Addressing Terminology I...

Страница 10: ...Used to Change Window Size _________ 6 5 The Three Main Branches of the VIM Menu _ 6 6 Menu Branching Diagram _ _ __ _ _ 6 9 l A List of Tables VIM Module User s Manual Organization l l 4 A Lens Selec...

Страница 11: ......

Страница 12: ...r overviews audience definition major terms cautions related publications and revision information 2 Introduction to the This chapter introduces you to the Vision Input Module software and hardware fe...

Страница 13: ...e The line gauges in the VIM module make edge center and width measurements for blobs A complete explanation of blob measurement is provided in Chapter 3 VIM System Theory of Operation l Block Transfe...

Страница 14: ...eft to the right edge of the visible space l Field Video A single scan of the video camera image The camera produces a steady stream of video fields each consisting of a series of scan lines rasters l...

Страница 15: ...tatus is communicated through the results block and or by a discrete output master range alarm via the swingarm or backplane Note Each Vision Tool brightness probe windows and line gauges has a range...

Страница 16: ...s are shapes which define localized image areas to be used for measurement operations The user defines the window size shape and location The vision operation used in VIM windows is area measurement b...

Страница 17: ...assis and Power Supply Publication Number 1771 4 5 PLC 5 15 Processor Manual Publication Number 1785 6 8 1 PLC 5 15 Assembly and Installation Manual Publication Number 1785 6 6 1 Solid State Control G...

Страница 18: ...family of products It gives you the ability to make non contact inspections and communicate the data to your PLC system The VIM module can inspect areas in a scene for information such as workpiece pr...

Страница 19: ...set up and controlled through icons displayed on the screen You simply pick the icon that corresponds to the function you want to activate by pressing the tip of the Light pen against it The icons app...

Страница 20: ...for inspection tasks This versatility allows you to enhance features that appear at different gray levels Automatic Part Position Variation Adjustment Two line gauges are used to automatically adjust...

Страница 21: ...able in a 1771 I O rack and adequate power you may install a VIM module for the incremental cost of the VIM and accessories see Chapter 5 The VIM module eliminates the hardware costs associated with t...

Страница 22: ...le when needed The configuration and results data may be remotely managed through a Data Highway The Allen Bradley Data Highway extends the capabilities of programmable controllers by letting them exc...

Страница 23: ...Paths Pictures xl5 Setup data Llght Pen VIM module PLC RESULTS BLOCK Vision analysis results Measurements decisions Stored in volatile RAM CONFIGURATION BLOCK Setup data window positions line gage fun...

Страница 24: ...ble bulkhead with screw type terminals The swingarm connections provide easy access to wiring terminations and is easily installed see Figure 2 5 Figure 2 5 Easv Installation of Swinaarm Field Termina...

Страница 25: ...odule continued peripheral devices This includes the light pen monitor and camera connections Figure 2 7 Light Pen The Light Pen is used in combination with the video screen t 2801 A 7 to complete the...

Страница 26: ...roduction to the Vision Input Module VIM 2 9 Light Pen Cat 2801 N7 continued Figure 2 7 VIM Front Panel Features Light Pen Jack Monitor Connection Camera Connection 5 wing arm Field Niring T ermi nals...

Страница 27: ...h a variety of lenses to suit individual application needs Figure 2 8 Camera and Lens Camera Cables The camera is available with a variety of cable lengths They are 2 meter Cat 2801 NC4 5 meter Cat 28...

Страница 28: ...odule using a BNC type coaxial cable from the VIM module front panel connector to the monitor s VIDEO IN connector see Figure 2 10 Figure 2 9 Video Monitor Monitor Connection 1 Connect Monitor Cable t...

Страница 29: ...aherals and Cables 1 WARNING Disconnect all power before assembling 1 4 I LIGHT PEN 2801 N7 MONITOR CABLE 2801 NC2 5M 2801 NC3 I OM I VIDEO MONITOR 2801 N6 I I I I I L POWER CORD 2803 VIM1 LPOWER CORD...

Страница 30: ...el color you want to count then set an acceptance range that checks the measurement and makes an accept reject decision Application Example 1 Window Used to Test Punched Holes Punched hole presence ab...

Страница 31: ...ut Module VIM Applying the VIM Vision Tools con timed Figure 2 12 Hole Presence Verification Using a Circular Window lmaae of a Properlv PllnrhPd Figure 2 13 Hole Presence Verification Using a Circula...

Страница 32: ...ure 2 14 window not shown Line Gauge Measurements Line gauges are used to measure black and white pixel groupings along the rows and columns of pixels in the image The line gauges find features such a...

Страница 33: ...ine Gauge 2 In this application a single stripped wire end is silhouetted back lit in front of a camera so that the entire bare conductor strand and part of the insulation are visible In Figure 2 15 l...

Страница 34: ...e middle gauges 3 and 4 have ranges consistent with stripped wires The bottom gauge line gauge 5 varifies that the conductor has not been pulled out of the insulation It verifies that the largest whit...

Страница 35: ......

Страница 36: ...eo camera The camera collects light using thousands of light sensitive elements Collectively the light seen in these elements forms the image You ll see many references to these images throughout this...

Страница 37: ...left side and scans across line two This raster scanning process continues until all of the lines are scanned Figure 3 2 lmaae Scannina Pattern and lmaae Coordinates Scan Row 11 Scan Row 12 Y SCAN SCA...

Страница 38: ...cale This term refers to the fact that the conversion process creates classifications for black pixel values through a wide range of gray values all the way to white The gray scale is characterized by...

Страница 39: ...vel Analoa lmaae h7dfh Ofl Of Binarization of images greatly reduces the complexity of the Gray Level Images image processing tasks The term binary refers to the two states which may be given to a sin...

Страница 40: ...n the 0 black value As the threshold is decreased the image becomes lighter more gray values fall above the threshold and take on the 1 white value This difference in image appearance at different thr...

Страница 41: ...d its surroundings to be the opposite value We ll use two gray objects as an example The object of interest is light gray and the background upon which it is located is dark gray By setting the thresh...

Страница 42: ...k on lighting variation that is used to adjust the thresholds in proportion to the lighting shift This feature allows the VIM module to maintain high accuracy while tolerating some lighting variation...

Страница 43: ...hapter 3 VIM System Theory of Operation The Probe Reference Patch continued Figure 3 7 The Probe as Seen in the Video Monitor Durina Setuo Figure 3 8 The Probe Reference Patch Seen in the Live Video l...

Страница 44: ...surement tools Line Gauges operate by taking a predefined sample from a row or column in the image The line gauge is referred to as a horizontal line gauge when taken from a row or as a vertical line...

Страница 45: ...w locations Edges are the row or column location of the first pixel at the beginning of a blob Edges may be detected for either end of a blob Figure 3 10 Black and White Blobs White White Blob Blob v...

Страница 46: ...s apply to the top and bottom edges respectively Line Gauge The line gauge measurements are grouped into pairs You Measurement Pairs may select one of nine different icons each with a different measur...

Страница 47: ...s that fall within the acceptance range high and low limits are good Measurements that exceed these limits are out of range and a REJECT decision is communicated The principles behind these line gauge...

Страница 48: ...the value is read as a blob edge A single pixel may be read as a blob In this case both edges would have the same value and the width would be one 1 Note The edge location reported is that of the firs...

Страница 49: ...in the positive direction and four in the negative direction There are three steps to setting the range limit Step 1 Set the workpiece in the nominal expected position and set the line gauge to the a...

Страница 50: ...ring the Center of the Largest Blob Figure 3 15 Line Gauge Function Five Measuring the Center of the Left top Blob The icon displays a set of either two or three linear blobs The three blob set indica...

Страница 51: ...tting Hi Lo Range Limits Setting a range limit for a blob center limits the amount of position variation that is tolerated before a reject decision is made This tolerance is expressed in pixel counts...

Страница 52: ...y noting the location of the bottom arrows in the icon The arrows are located under the blob being measured 1 Figure 3 17 Line Gauge Function Two Measuring the Width of the Largest Blob Figure 3 18 Li...

Страница 53: ...enough line off both edges of the blob being measured to allow for position variation and filtering 4 to 8 pixels suggested Setting Hi Lo Range Limits Setting a range limit for blob width limits the a...

Страница 54: ...ue Note one method of determining this value is to find a workpiece that is barely acceptable Then set the high or low range limit to the barely acceptable reading Two workpieces may be necessary one...

Страница 55: ...imit to this value Note One method of determining this value is to use the reading from a barely acceptable workpiece Determine the amount of pixel variation that can be tolerated less than the nomina...

Страница 56: ...Lo Range menu and take a reading of the blob count Step 2 Determine the largest number of blobs that can be tolerated Set the high range limit to this value Step 3 Determine the least amount of blobs...

Страница 57: ...count Set the high range limit to this value Determine the amount of edge count variation that can be tolerated Subtract this value from the nominal count Set the low range limit to this value An acce...

Страница 58: ...t to ignore these small variations by removing them Line Filter One disregards single pixel variations When single pixel filtering is selected the line would then be interpreted as 1111000000000000111...

Страница 59: ...o measure either white or black areas Each window may also be set to float for workpiece position compensation Setting Windows Enable Disable Window The windows may be enabled and disabled individuall...

Страница 60: ...Step 1 Place a nominal workpiece in the workstage Take a reading of the pixel count in the window Step 2 Determine the amount of variation that can be tolerated in additional pixels and add this value...

Страница 61: ...nce range tests fail Additional discrete bits are used to communicate trigger signals results block format and to signal busy status Block Transfer Block transfers communicate both numeric measurement...

Страница 62: ...asics include vision image coordinates gray level image collection binarization of images and setting binary thresholds These techniques help to understand the operating principles of the vision tools...

Страница 63: ......

Страница 64: ...minate irrelevant features from the image This chapter discusses specific tools and techniques to achieve these objectives Forming the Image To use the VIM vision system effectively a well formed imag...

Страница 65: ...ion of the VIM module An ideal contrast situation can be created through the use of backlighting Back lighting illuminates the object from the rear The workpiece blocks the light and appears as a soli...

Страница 66: ...absorb very little light and reflect most of it away l Transmitted Light Light passes through many types of glasses and plastics The light path is often radically modified by this transmission This li...

Страница 67: ...lamps yet produce the same amount of light Some fluorescent lamps in multiple lamp fixtures provide large diffuse illumination Circular fluorescent bulbs are excellent for illuminating small objects S...

Страница 68: ...n Front Lighting Light is reflected from the object to the camera lens making surface features visible This technique is often referred to as front lighting Front lighting allows you to see normally v...

Страница 69: ...ield lighting because it offers a wider range of gray values for image analysis This is because the image is the result of the light absorbing and diffusing qualities of the features not the reflectin...

Страница 70: ...workpiece and its background simply by providing an appropriate backdrop For example a medium gray object appears light against a black background and dark against a white background You can also pla...

Страница 71: ...nd projected onto the image array when the image is in focus There may be several lenses capable of meeting your field of view requirements Each of the lenses has a different standoff distance Figure...

Страница 72: ...red by their focal length A lens with a short focal length such as a 12 5 mm lens has a shorter standoff for a given field of view than a 25 mm lens This is illustrated in Figure 4 4 The camera should...

Страница 73: ...he greatest amount of light and the 16 setting collects the least amount of light For each step up in F stop value e g going from 2 8 to 41 the image brightness decreases by l 2 Note Always switch the...

Страница 74: ...e the standoff distance that is simply the most convenient for setup and maintenance l Determine Accuracy Determine the accuracy to which the object must be measured l Determine the Need for Extension...

Страница 75: ...be measured at each FOV The third column gives the pixel size Lens Selection if To use the LENS SELECTION TABLE if the desired Accuracy is Known accuracy of the measurement is known find the desired a...

Страница 76: ...9 None mm 19 21 None None 24 3 1 0 331 0 375 0 103 0 125 45 None 91 None No extension tubes are required with the 55mm lens This lens is recommer 105mm 2801 NL4 Dist to Obj h Dist Exten to Obj sion 21...

Страница 77: ...ted the amount of object positional variation must be added to the size of the object inspection area to determine the FOV For example an object that is two by three inches and positioned to within on...

Страница 78: ...s A colored lens filter can be useful in an application situation that requires a certain colored item to stand out If you are inspecting shiny transparent or translucent workpieces polarizing filters...

Страница 79: ...s and shadows from interfering with the automatic operation of your system Shrouding also provides a dark black background which always increases the contrast It is also good practice to have any fixt...

Страница 80: ...two options 1 acquire a larger rack 2 acquire an additional rack See your local Allen Bradley representative for details Availability of Sufficient Power If your existing PLC I O rack has the require...

Страница 81: ...he VIM module For information on the installation of specific power supplies refer to the documentation accompanying that power supply as well as Cat No 1770 4 1 Grounding and Wiring Guidelines VIM Mo...

Страница 82: ...LC controller slot Set the configuration plug to the right position N if you use an external chassis power supply such as 1771 Pl Set the configuration plug to the left position Y if you use a power s...

Страница 83: ...the top and bottom of each slot permit the module to be easily slid into the rack see Figure 5 3 Do not force the module into its backplane socket Apply firm and even pressure to seat it firmly into i...

Страница 84: ...ponent configurations Connector Cable The video camera Cat No 2801 YB is attached to the VIM module by a la pin connector cable 2801 NC4 2M 2810 NC5 5M 2801 NC6 10M or 2801 NC7 25M To connect the came...

Страница 85: ...Figure 5 4 fnmwn Cnnfinuratinnc C MOUNT LENS VIDEO CAMERA _ _ _ _ _ _ EXTENSION TUBE 2801 Nl OPTIONAL C MOUNT LENS 2801 NLl 25 mm 2801 NL2 12 5 mm 2801 NL5 12 75 mm Zoom PHOTOGRAPHIC LENS C MOUNTTO P...

Страница 86: ...er 5 installation and Integration 5 7 Camera Component nstaIlation con timed Figure 5 5 Front Panel Features Light Pen Jack Monitor Connection Camera Connection Status LED s Swingarm Field Wiring Term...

Страница 87: ...erse the above steps However to unlock the cable from its connection slide the collar of the connector back towards you while pulling the cable out of its jack Lenses When you receive your video camer...

Страница 88: ...es are used to alter the image focal length This allows you to use the lenses at shorter distances See Chapter 4 Staging for Vision Applications Installation instructions are provided with each unit s...

Страница 89: ...he VIM module see Figure 5 5 If resistance is encountered check the alignment the release tab may not be properly seated in the slot To remove the light pen press the release tab while pulling the plu...

Страница 90: ...or should be set to underscan This allows you to see all the way to the edges of the image The Brightness and Contrast controls should be set for normal viewing If set too dim the light pen will not b...

Страница 91: ...o do so may 0 result in electrical shock Do not use the Busy output to directly energize external equipment the Busy output is energized during power up and reset to indicate that the module is not ye...

Страница 92: ...T LED OFF high impedance REJECT LED ON low impedance to common Busy Output The Busy signal indicates that the module is busy and a decision is pending It comes on as soon as the Trigger has been recei...

Страница 93: ...may occur Grounding Sufficient and proper grounding is extremely important to Considerations the performance of your VIM module Your images will show signs of interference or noise if the system is i...

Страница 94: ...a train through the lens mask due to a power outage When this light is ON the module will not respond to triggers The LED is held on at power up until the reset sequence is complete 4 AC ERROR Indica...

Страница 95: ...transfer approach communi cates a wide range of information including configuration and results data directly to the PLC controller This approach requires PLC ladder logic and block transfer programm...

Страница 96: ...er these in detail later is this chapter Block Transfer Feedback Numerical measurement data is communicated through block transfer to a PLC controller A block transfer can be used to send a Results Bl...

Страница 97: ...es The state of this output will be the same as the BUSY LED Terminal 9 is the output terminal and terminal 10 is common Other swingarm terminals accept input signals for triggering and output strobe...

Страница 98: ...obe Out of Range X Y float Error 0 OK Normal Operation 1 Error Out of Range Reserved for Future Expansion Reserved for Future Expansion FUNCTION 10 11 12 13 14 15 16 17 Unlock 0 Lock the Module Disabl...

Страница 99: ...ogramming Configuration Blocks Configuration blocks communicate more data than discrete bits The three blocks are outlined below Configuration Block One 30 Words Trigger status Strobe status Run time...

Страница 100: ...brightness probe Windows 1 through 4 X and Y Float line gauges Line gauges 1 through 22 Actual Measurement Values words 6 through 58 for Brightness probe luminance level Pixel counts for windows 1 thr...

Страница 101: ...the VIM Module There are several ways to control the operation of the module using programming tools in the PLC controller This includes the ability to manipulate bits in the discrete bit communicati...

Страница 102: ...d Unlocking the VIM Module Move the cursor to the Unlock bit number 10 Press 1 to unlock the module and enable light pen programming The video monitor will display the unlock banner Press 0 to lock th...

Страница 103: ...module is unlocked by rung 1 due to an ACQ ERROR brightness probe out of range The Low Range Limit for the brightness probe should be set to a number greater than 10 to enable the shut off To test th...

Страница 104: ...ta length of the transfer request If a block transfer read or write request is sent with a data length of exactly 30 words the module will assume that configuration block 1 Setup and Windows is being...

Страница 105: ...ist of measurement results for each inspection performed Triggering is accomplished through the swingarm you may also use triggering circuits shown later in this chapter Figure 5 16 Free Rllnninn T ir...

Страница 106: ...Y signal It responds by dropping the TRIGGER bit It waits for BUSY to go low 5 The module completes the inspection Since TRIGGER is now low it places the DECISION output to the appropriate level eithe...

Страница 107: ...tion Cyde Time Inspection Cycle Time is the elapsed time from the trigger until the inspection is complete The inspection cycle time depends upon the configuration setup the controller and the image A...

Страница 108: ...Inspection cycle times increase as more Line gauges are enabled or as the length of the Line gauges is increased In the absolute worst case enabling and floating all four 4 windows enabling all twent...

Страница 109: ...long medium l PIXEL FILTER filter option and simple image The two X and Y source of float gages are not included in number 3 Case only applies to continuous inspections 4 Mode 2 Lighting Compensation...

Страница 110: ...8 00000000 00000001 009 00001000 00001111 010 00000000 00010000 011 00000000 00000000 012 00000000 00000000 013 00000000 10111111 014 00000000 00100101 015 00000000 10111000 RUN PROGRAM MODE Results B...

Страница 111: ...OAD 018 0010 019 002F 020 1013 RUN PROGRAM MODE Block Transfer Numbering Systems There are four numbering systems used with programmable controllers They are Binary Decimal Octal Hexadecimal These num...

Страница 112: ...digits the numbers 0 and 1 All information in memory is stored as an arrangement of O s and 1 s Each digit in a binary number has a certain place value expressed as a power of two The decimal equival...

Страница 113: ...mbers that are 10 and 100 times greater than the three digit value represented in the three digit BCD value The format of the BCD word is shown in figure 5 22 The Scaling factors represented by the fo...

Страница 114: ...ful for lab testing and system integration Two examples of triggering circuits will be provided here One is a single shot trigger which initiates a single inspection cycle and the other is a continuou...

Страница 115: ...The module must be set to SWG TRIG mode The Busy output is used to loop back a Trigger signal Figure 5 24 Continuous Push button Circuit 01 Pwr 02 03 Trigger 04 05 Strobe 06 07 Decision 08 09 Busy 10...

Страница 116: ...Line Gauge 4 0 Accept 1 Reject or Error 11 Lower Function Status of Line Gauge 4 0 Accept 1 Reject or Error 12 Upper Function Status of Line Gauge 5 0 Accept 1 Reject or Error 13 Lower Function Statu...

Страница 117: ...Error 0 Accept 1 Reject or Error 0 Accept 1 Reject or Error 0 Accept 1 Reject or Error 0 Accept 1 Reject or Error 0 Accept 1 Reject or Error 0 Accept 1 Reject or Error Reserved for Future Expansion Z...

Страница 118: ...of Line Gauge 9 Value of 0 to 255 Lower Function Result of Line Gauge 9 Value of 0 to 255 Upper Function Result of Line Gauge 10 Value of 0 to 255 Lower Function Result of Line Gauge 10 Value of 0 to...

Страница 119: ...O 15 o 15 Reserved for Future Expansion Table 5 B RESULTS BLOCK 1 OF 1 Block Lenqth of 59 Words FUNCTION Upper Function Result of Line Gauge 20 Lower Function Result of Line Gauge 20 Upper Function Re...

Страница 120: ...Window 1 Base Y Axis Position Row Value of 11 to 252 6 o 15 Window Lo Acceptance Range Limit Value of 0 to 62 464 7 o 15 Window Hi Acceptance Range Limit Value of 0 to 62 464 8 o 3 Window Shape 0 Rect...

Страница 121: ...mal o 15 o 15 Configuration Revision Level O 15 Table 5 C CONFIGURATION BLOCK 1 OF 3 Block Lenqth of 30 Words FUNCTION Window area in Square Pixels Window 2 Data Same as Words 5 l 0 Window 3 Data Same...

Страница 122: ...t Edge Width of Largest Blob 1 Right Edge Width of Largest Blob 2 Center Width of Largest Blob 3 Left Edge Width of Leftmost Blob 4 Center Width of Leftmost Blob 5 Right Edge 81Width of Rightmost Blob...

Страница 123: ...ck Lenath of 62 Words FUNCTION Configuration Data For Line Gauge 8 Configuration Data For Line Gauge 9 Configuration Data For Line Gauge 10 Configuration Revision Level Block Checksum VALUES Same Assi...

Страница 124: ...nction Code ValueofOto8 0 Left Edge Width of Largest Blob 1 Right Edge Width of Largest Blob 2 Center Width of Largest Blob 3 Left Edge 81Width of Leftmost Blob 4 Center Width of Leftmost Blob 5 Right...

Страница 125: ...uration Revision Level o 15 Block Checksum o 15 Reserved for Future Expansion Table 5 E CONFIGURATION BLOCK 3 OF 3 Block Lenqth of 63 Words FUNCTION VALUES Configuration Data For Line Gauge 21 Same As...

Страница 126: ...The VIM module has been designed for easy operation using icons Icons are small symbols that can be selected to activate a function perform a task or move through selections of options The icons are e...

Страница 127: ...e on the VIM module video monitor Figure 6 2 The Main Menu Shown as aTypical Icon Menu Icon Symbolism Each icon is designed to symbolically represent the function which it controls For example a shini...

Страница 128: ...ns are seen in several menus The OK ETC and Arrow icons appear on many menus We can use these icons to illustrate how the icon and menu combination works to make the VIM module interface easy to use O...

Страница 129: ...Main Menu Figure 6 9 Figure 6 9 ETC icon as Seen on the Line GaugeMain Menu The ETC Icon also appears on the ETC Line Gauge Main Menu shown in Figure 6 10 Picking the ETC Icon here returns you to the...

Страница 130: ...the top half of the screen prompts the following results Pick 1 The menu strip disappears from the screen the full digital image is displayed Pick 2 the live video image is displayed this is also call...

Страница 131: ...Window 4 displayed over threshold image 4 5 All four windows displayed over threshold image l 6 The live analog image The Menu Branching Map The menus and icons guide you through tasks a step at a ti...

Страница 132: ...ement output options The Window Branch The Window Branch is used to set up the four windows Each window is set to a size and location that highlights a feature of interest The windows are set to detec...

Страница 133: ...technology This chapter has introduced you to the basics of the icon interface The following chapter provides you with the specific functions and operations of each of the menus and icons in the VIM m...

Страница 134: ...ace 6 9 THE WINDOW HI LO RANGE MENU THE WINDOW SIZE MENU ismxw iI z OK THE WINDOW MOVE MENU THE LINE HI LO RANGE MENU THE LINE SIZE MENU THE LINE MOVE MENU THE THRESHOLD ADJUST MENU THE PROBE HI LO RA...

Страница 135: ......

Страница 136: ...ule interface Read and use the Vision Input Module Self Teach Manual for instructions on how to apply the VIM module The Self Teach manual leads you through application examples and demonstrates how t...

Страница 137: ...at the Main menu are listed below Select the source of the trigger 1 PLC triggered or 2 Swingarm Triggered Select the Troubleshooting Mode 1 NormalRun GO 2 Freeze Picture on Reject 3 Halt on Reject S...

Страница 138: ...enu Access Icon Picking this icon moves you to the Brightness Main Menu The Line Gauge Menu Access Icon Picking this icon moves you to the Line Gauge Main Menu The Window Menu Access Icon Picking this...

Страница 139: ...his icon toggles it to the PLC trigger state Note Swingarm triggering must be used when no PLC controller is present Stand alone mode The Troubleshooting Icons The VIM module has three troubleshooting...

Страница 140: ...hen a reject occurs All four of the thresholded images are saved and the system stops collecting and processing images in response to the trigger You may then inspect the images to determine the cause...

Страница 141: ...et to one 1 If the unlock output bit is set to zero O the VIM module enters the Active Run mode In Stand alone mode the system goes directly into the Run mode A t CAUTION The configuration memory will...

Страница 142: ...camera lens size and aperture setting and reflectivity whiteness of the workpiece being inspected The VIM module can compensate for variations in lighting and resultant image brightness The compensat...

Страница 143: ...compensation function to Immediate compensation same video frame compensation starting next video frame l Set the Brightness probe location l Set the brightness range Hi Lo limits l Enable or disable...

Страница 144: ...all of the four thresholded images This compensates for variation due to aging of light bulbs power fluctuations and inconsistent strobe light flashes Note A reference patch is required when the prob...

Страница 145: ...ote In the Immediate Brightness Compensation mode the probe must be positioned within the top 40 lines on the screen All other vision tools must be positioned below line 48 This mode should be used wh...

Страница 146: ...signal is disabled The display screen shows live video images This is the normally recommended mode when using regular incandescent lights The Strobe Enabled Icon In this mode a strobe fire signal is...

Страница 147: ...7 12 Chapter 7 User interface Reference Section This page intentionally left blank...

Страница 148: ...the Arrow Icon corresponding to the direction you want to move Each pick with the light pen moves the probe an increment of eight pixels Holding the light pen against the icon causes a rapid movement...

Страница 149: ...erface Reference Section The Probe The OK Icon Move Menu Picking this icon returns you to the Brightness Main Menu continued Note The probe unlike the windows is permanently anchored and cannot have i...

Страница 150: ...ng varies beyond the limits reject decisions are signaled regardless of the measurements made by other tools Be sure that the probe is in the proper location before setting the high and low acceptance...

Страница 151: ...increment each time this icon is picked Use the Select Increment Icon if a larger or smaller increment is desired Holding the light pen against the icon causes it to decrease continuously The Select I...

Страница 152: ...aults which cause the reading to be zero The Low Range Limit must be less than or equal to the High Limit The Brightness Reading The Brightness Reading is the brightness value detected by the probe It...

Страница 153: ...ing 0 compensation the reference brightness level is resampled at three points the Probe Move Menu the Probe Hi Lo Range Menu and when the strobe is enabled or disabled After performing one of these f...

Страница 154: ...e reference threshold gray level Experiment with the threshold adjustments until you learn their effect on the features of interest and can decide upon the best settings The Image Number Icon Picking...

Страница 155: ...on This is the recommended setting for applications with stable workstages The Brightness Float Enabled Floating Icon This icon indicates that the Brightness Float function is enabled for the image nu...

Страница 156: ...ight pen on the icon blackens the image rapidly The icon flashes upon reaching the limit of change The threshold value can be set anywhere in the full gray scale range of 0 to 255 The threshold gray s...

Страница 157: ...7 22 Chapter 7 User Interface Reference Section This page intentionally left blank...

Страница 158: ...X Y position offsets of the workpiece The twenty two general purpose line gauges are used to make measurements You select one of nine measurement pairs for use in each general purpose line gauge you a...

Страница 159: ...1 through 22 Enable line gauges Set line gauge direction horizontal or vertical Enable disable X Y float compensation Select image to be measured 1 2 3 or 4 l Set Line Gauge Position l Set Line Gauge...

Страница 160: ...ine Size and Line Hi Lo Range menus These menus are accessed through the ETC Line Gauge Main Menu and the corresponding menu access icons The Line Number Icons This icon identifies the number or name...

Страница 161: ...entification numbers for gauges 1 through 22 The active line gauge number is displayed Only one line gauge may be setup or modified at a time I The Line Gauge Enable Disable Icons The X and Y float ga...

Страница 162: ...or horizontally X axis This icon toggles the line gauge between the vertical and horizontal directions The icon will not respond to light pen picks if the line gauge is disabled The Horizontal Line Ga...

Страница 163: ...on the screen The anchor symbol indicates that its location will not change Picking this icon will toggle it to the enabled floating status Note You must enable the X or Y line gauge or both before a...

Страница 164: ...ur thresholded images Each line gauge should be set to use the image that provides the sharpest image of the feature of interest and the best measurement results Each image is displayed as you pick th...

Страница 165: ...7 30 Chapter 7 User Interface Reference Section This page intentionally left blank...

Страница 166: ...ve Menu Access Icon Picking this icon will move you to the Line Movement Menu The Line Size Menu Access Icon Picking this icon will move you to the Line Size Menu The Select Line Function Icons The li...

Страница 167: ...2 width of the largest blob The Line Function Two Icon This function finds the 1 right bottom edge of the largest blob 2 width of the largest blob The Line Function Three Icon This function finds the...

Страница 168: ...t bottom blob 2 width of the right bottom blob The Line Function Seven Icon This function finds the 1 center of the right bottom blob 2 width of the right bottom blob L E l The Line Function Eight Ico...

Страница 169: ...ng with function number one the left or top edge and width of the largest black blob is measured If white blob color is selected the same measurements is made on the largest white blob See Chapter 3 V...

Страница 170: ...graininess around the edges of indistinct objects This graininess may also be due to shadows or poor contrast between objects Black pixels in white areas and white pixels in black areas may be caused...

Страница 171: ...e filtered out The pixel string 1110111 is interpreted as 1111111 The Line Filter Two Icon Line Filter Two filters out double pixel blobs as well as single pixel blobs Two adjacent pixels surrounded b...

Страница 172: ...Icons The line gauges are moved by using the Light pen to pick the Arrow icon corresponding to the direction you want to move in Each pick with the Light pen moves the line gauge one pixel Holding th...

Страница 173: ...he Line The Line Size Menu Access Icon Move Menu Picking this icon moves you directly to the Line Size Menu continued without having to return to the ETC Line Gauge Main Menu The OK Icon Picking this...

Страница 174: ...ge of the image It is recommended that you leave at least a small border between the line and the edge of the image The arrows in the icon will be oriented to the horizontal or vertical axis of the li...

Страница 175: ...7 40 Chapter 7 User Interface Reference Section The Line The OK Icon Size Menu Picking this icon returns you to the ETC Line Gauge Main continued Menu...

Страница 176: ...measurement type clearly in mind while setting the range limits Note The values are expressed in pixels only If you wish to transform these values into standard units inches centimeters etc the host...

Страница 177: ...o toggle to the desired increment The Upper Lower Function Select Icon This icon is used to select which measurement in the measurement pair will be displayed either upper or lower Both of the measure...

Страница 178: ...he Actual Measurement Reading This is the actual measurement made by the line gauge When the reading falls within the acceptance range the corresponding alarm bit in the results block is set to zero 0...

Страница 179: ...Menu anchored nominal position Their position is not floated continued The readings are taken from this anchored position If you use the Hi Lo display to troubleshoot after a Stop on Reject you may se...

Страница 180: ...ecked to make an accept reject decision This type of inspection is ideal for presence absence verification and for checking variations in area related features The windows may be set to a variety of s...

Страница 181: ...sks that may be performed in the window branch are _ listed below Set Windows Enable disable window Set window shape Enable disable X Y float position compensation Set Window Position Set Window Size...

Страница 182: ...dows 1 through 4 Stop when the desired window is displayed The Window Enable Disable Icon The four windows may be enabled disabled individually The Window Enable Disable icon toggles between the enabl...

Страница 183: ...ape that best fits the shape of the feature of interest The window shapes are rectangle triangles a circle and train through the lens This icon will not respond to light pen picks if the displayed win...

Страница 184: ...w Move or Window Size menus The train through the lens feature is only available on windows 1 2 and 3 The X Y Float Icons The windows can be set to accommodate workpiece position variation The positio...

Страница 185: ...the window position is adjusted according to the measurements made by the X and Y Float line gauges The three lines symbolize water and float functions Picking this icon toggles it to the disabled sta...

Страница 186: ...indow Size Menu Access Icon Picking this icon moves you to the Window Size menu The Measure White Black Areas Icons Windows function by counting pixel area within the windowed area The window may be s...

Страница 187: ...rea The total number of black pixels within the window is counted and the resultant number used as the measurement value for the window Picking this icon toggles it to the measure white area state The...

Страница 188: ...Arrow icon corresponding to the direction you want to move in Each pick with the Light pen moves the window one pixel Holding the Light pen against the icon causes a rapid movement of the window in th...

Страница 189: ...indow The Window Size Menu Access Icon Move Menu Picking this icon moves you directly to the Window Size continued menu without having to return to the ETC Window Main Menu I I La dl The OK Icon Picki...

Страница 190: ...ne Window grows and shrinks horizontally from the right grows and shrinks vertically from the top The Triangle Two Window grows and shrinks horizontally from the left grows and shrinks vertically from...

Страница 191: ...ow Horizon1ta 11 Icon This icon increases window size horizontally X axis The Shrink Horizontally Icon This icon decreases window size horizontally X axis The Window Move Menu Access icon Picking this...

Страница 192: ...d of the possible range or become equal to each other The Increase Value Icon The active underlined range limit is increased by one increment each time this icon is picked Use the Select Increment ico...

Страница 193: ...g alarm bit in the results block is set to zero 0 The reading may change slightly as you observe live video images this is due to real time variations in the picture The High Range Limit The High Rang...

Страница 194: ...and Brightness Main Menu branches The following diagram shows the relationship of all the branches built into the menu tree Each menu shown is labeled by name You can see how the menus are arranged to...

Страница 195: ...A 2 Appendix A Menu Branching Diagram THE MAIN MENU I I I I I I I I THE LINE GAUGE MAIN MENU THE ETC LINE GAUGE MAIN MENU a t S ETC I THE BRIGHTNESS MAIN MENU...

Страница 196: ...THE WINDOW HliLO RANGE MENU THE WINDOW SIZE MENU ic mB 4 OK THE WINDOW MOVE MENU THE LINE HI LO RANGE MENU THE LINE SIZE MENU THE LINE MOVE MENU THE THRESHOLD ADJUST MENU s m OK THE PROBE HI LO RANGE...

Страница 197: ......

Страница 198: ...4 0 Accept 1 Reject or Error 11 Lower Function Status of Line Gauge 4 0 Accept 1 Reject or Error 12 Upper Function Status of Line Gauge 5 0 Accept 1 Reject or Error 13 Lower Function Status of Line G...

Страница 199: ...Reject or Error 13 Lower Function Status of Line Gauge 21 0 Accept 1 Reject or Error 14 Upper Function Status of Line Gauge 22 0 Accept 1 Reject or Error 15 Lower Function Status of Line Gauge 22 0 Ac...

Страница 200: ...e Gauge 11 Value of 0 to 255 36 O l Lower Function Result of Line Gauge 11 Value of 0 to 255 37 O 15 Upper Function Result of Line Gauge 12 Value of 0 to 255 38 O 15 Lower Function Result of Line Gaug...

Страница 201: ...tion Result of Line Gauge 20 ValueofOto255 54 o 15 Lower Function Result of Line Gauge 20 Value of 0 to 255 55 o 15 Upper Function Result of Line Gauge 21 Value of 0 to 255 56 o 15 Lower Function Resu...

Страница 202: ......

Страница 203: ...trademark of the Allen Bradley Co Inc o Allen Bradley Company Inc 1987 RLLE A ROCKWELL N BRADLEY INTERhATlOhAL COMPAILY Industrial Control Group Milwaukee Wisconsin 53204 Publication 2803 800 October...

Страница 204: ...t Service Center Repairs Experienced Engineers and Technicians on staff in our State of the art Full Service In House Service Center Facility InstraView Remote Inspection Remotely inspect equipment be...

Отзывы: