Home
DataSensor SCS1 Series Smart Camera Sensors
Contents
1. Edge locos Ads ance Tagga bie eee Edge Locator apm l Q bie i j wa paia amo Them E gt AS A Fat Lyon lic mp Corenobr toalla oe Dicta be blanch S irsko Fio tat tt E AE a Pa MN ig A SETUP O Lire DE 1 a Se Results located edge coordinates X Y graphic representation of the reference system relative with origin in the edge point relative reference system angle Angle always 0 for the Edge locator Status Result X 333 Y 160 Angle 0 Number 1 Edge locator Blob count Operation Name Blob USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual USE Parameters Apply to confirm parameter changes the user has to simply click on Apply Reference system absolute or relative X coordinate that identifies the horizontal position of the first locator end opposite to the arrow point with respect to the selected reference system Lee Corresponds to the pixel elaboration beginning Accepted values 0 640 Y coordinate that identifies the vertical position of the first locator end with respect to the selected reference system Accepted values 0 480 Length ROI length Accepted values 0 640 Thickness elaboration area thickness The edge is located along a line linear ROI but to make the result more reli
2. Open Explore Search for Computers Who Am Map Network Drive Disconnect Network Drive Create Shortcut Rename Properties Figure 2 or alternatively use the following route Start gt settings gt control panel Double click Networks and Dial up connections and the following window will show up 3 Network and Dial up Connections File Edit View Favorites Tools Advanced Help Gba EN Search LA Folders gH RS Se ee Ej ddress a Network and Dial up Connections Mame fs Lal Make Hew Connection E INTERNET LAN Disabled LAN Enabled Disable Status Create Shortcut Delete Rename Properties Figure 3 Right click the LAN icon and then select Properties USE 8 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 2 Select TCP IP protocol in the visualised window s itisaite and click Properties Figure 4 General O Connect using 83 Netelligent 10 1007 PCI Embedded UTPYAUI Controller Components checked are used by this connection CI NWLink NetBIOS M S A Link PSY SPs NetBlOS Compatible Transport Proto EE nternet Protocol TCP IP Install Uninstall Properties Description Transmission Control Protocol Internet Protocol The default wide area network protocol that provides communication across diverse interconnected ne
3. Parity Hone COMMAND Bit per Data GETNESTINSPRESULT E WER Stop Bit f m tout El Tracing break cts ded der fer ring m te Logging Besgeatk sa Figure 22 GETNEXTINSPRESULT application example 7 5 5 Command messages for sensor configuration SETCURINSP8 lt Inspection index to carry out gt lt Inspection index to carry out gt 1 4 Answer OK or Answer ERR amp lt Error Code gt lt Error Code gt PARAMNOTVALID INVALIDSTATUS sensor already connected via Ethernet to another device incompatible status Function consents the configuration of the inspection to carry out 1 4 Action inspection currently carried out is configured according to command parameter request 129 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Example Transmission of command message Receipt of answer message OK Action Mis Scs1 R5232 R5485 Serial Port Tester Command Type Command SETCURINSP amp or Chooseit SETCURINSP amp 1 i Add Command COMMAND Datasensor 5 p A Delete Command Instruction Manual SETCURINSP41 SCS1 carries out inspection 1 after command and response receipt ie Capture Output log Save Log Baud Rate ji 15200 Parity None Bit per Data Ss gt NSN SETCURINSP amp 1 la e Stop Bit f fe A5485 Emu STSL RS232 R485 serial p
4. SCS1 Series Instruction Manual Positioning click on left mouse button on the point that will become the first central Edge Locator point drag the mouse keeping the button pressed to set the Edge locator length release the button and use the mouse to change rectangle dimensions click again on the left mouse button to confirm The edges tracked are graphically visualised by a green cross Not all locators may track an edge and moreover some edges may not form a segment In the latter if an edge is outside the segment tracked by the majority it will be visualised by a red Cross Results angle between the line parallel to X axis of the absolute reference system passing through the edge tracked by the central Edge locator and the line identified by the segment interpolated by the tracked edges Angle Please refer to example given below coordinates of the edge tracked by the central Edge locator reference system graphic representation with origin in the central edge point and angle respect to the absolute angle tracked by the inclinometer Angle Status USE 96 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 97 Instruction Manual SCS1 Series Example The angle is determined as follows An hypothetic observer is positioned in correspondence to the edge tracked by the central Edge locator in the direction indicated by the inclino
5. SUCC FAIL Depending on the success or failure of the acquisition the SUCC or FAIL text is visualised In case of failure press SET and return to main menu In case of a positive result press SET to pass to next step Step 4 Threshold Regulation of the acceptance threshold The value visualised represents the acceptance threshold that will be visualised during inspection The lower the threshold the a o ERA Ubare e per passare a tra SET iL iit ti alee SET E more template and target object have to correspond to reach a successful inspection Use or to USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual change the threshold Press SET to reconfirm the Teach in sequence The lower the threshold the more template and target object have to correspond to reach a successful inspection User or to change the threshold Press SET to reconfirm the Teach in sequence Step 5 Confirm Press SET to confirm Teach in sequence The inspection can now be saved or exit from the menu pressing respectively SAVE or ESC using or The sensor is now configured and inspection can begin If it s necessary press S_In to make the inspection run USE 22 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 4 3 Insp
6. a The following window is visualised fs Select inspection position for save p xj Inspection 1 Prova 04 08 2004 15 23 30 nspection o E New Scripta 17 06 2004 11 56 47 Inspection 3 2 A A K prova 27 05 2004 12 39 03 RA t C Undefined 12121000 Pan Cancel Select the memory slot where the inspection saving is desired and click on OK USE s 76 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 6 5 Trigger mode In presence of moving objects inspections the image acquisition instants have to be defined to guarantee the presence of objects to detect in the inspection area during acquisition The system has three Trigger modes in order to best suit the different application needs 6 5 1 a gt Hardware trigger An external device e g photocell sends the trigger that establishes the image acquisition instant and thus runs the inspection cycle 6 5 2 Continuous mode The images are acquired and elaborated at the highest rate possible The sensor acquires a first image and elaborates it then a second image is immediately acquired and elaborated When ready starts another acquisition repeating the cycle continuously The acquisition of the current image acquisition is made at the end of the previous inspection cycle The Continuous mode thanks to the Run mode
7. DATASE SOR SCS1 SERIES Smart Camera Sensor INSTRUCTION MANUAL Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net DECLARATION OF CONFORMITY volue through detection DATASENSOR S p A Via Lavino 265 40050 Monte San Pietro Bologna Italy declare under our sole responsibility that the product s SCS1 xXx XXXX XXX SMART CAMERA SENSOR AND ALL ITS MODELS To which this declaration relates in conformity with the following standard s or other normative document s CEI EN 55011 may 1999 INDUSTRIAL SCIENTIFIC AND MEDICAL ISM RADIO FREQUENCY EQUIPMENT RADIO DISTURBANCE CHARACTERISTICS LIMITS AND METHODS OF MEASUREMENT CEI EN 50082 2 JUNE 1997 ELECTROMAGNETIC COMPATIBILITY GENERIC IMMUNITY STANDARD PART 2 INDUSTRIAL ENVIRONMENT CEI IEC 60947 5 2 MARCH 1999 LOW VOLTAGE SWITCHGEAR AND CONTROLGEAR PART 5 CONTROL CIRCUIT DEVICES AND SWITCHING SECTION 2 PROXIMITY SWITCHES Following the provision of the Directive s 89 336 CEE AND SUCCESSIVE AMENDMENTS 92 31 CEE 93 68 CEE Monte San Pietro 12 10 2004 UNI EN 150 9001 UNI EN ISO 14001 ete C Gianni Stradiotti LE Le Quality Assurance Manager Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 1 GENERAL INFORMATION 1 1 General description of SCS1 Smart Camera Sensor SCS1 is an user frie
8. Firmware Version 2 1 0 standard Ostandard FPGA Yersion 16 0 0 standard 3 3 3 nuovoipga Update Cancel The specifications of the installed firmware can be controlled and compared with the new version to be saved The new SCS1 version offers new controls to ease the firmware update procedure The new controls concern the impossibility to update a particular SCS1 model e g RS232 with a different firmware model e g RS485 as shown in the following image Informazioni Downlo ad Firmwa re xj Parametri Firmware Attuale Firmware Nuovo Descrizione Upload for slo Upload for 551 Dispositivo Modello Versione Main Versione FPGA x E U standard Fi 3 3 3 nuovotpga Modello incompatibile Aggior E A control on the same firmware version has been added including a warning during the update of a SCS with a firmware version previous to the default version or previous to the firmware currently installed USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual SES1UI _ xl EN Firms AN Dio you really want to update the Firmware with an older version Param Descr poe Device Model Type Firmware Yersio 2 1 0 standard 1 1 0 standard FPGA Yersion HU standard 3 3 nuovotpg Lastly a control on the bitstream version of the FPGA has been included If the user tries to install an older b
9. The syntax of the CHKSERLINE GETCURINSP and SETCURINSP response command messages is the following lt response message gt lt prologue gt lt type gt lt epilogue gt lt prologue gt 0x3A in hexadecimal lt type gt lt success gt lt failure gt lt SUCCESS gt 31 lt SuccessID gt lt ampersand gt lt SuccessParameter gt lt failure gt lt FailurelD gt lt ampersand gt lt FailureParameter gt lt SuccessiD gt iis OK lt FailureID gt ERR lt ampersand gt amp 0x26 in hexadecimal lt SuccessParameter gt lt InspectionNumber gt lt FailureParameter gt lt ErrorCode gt lt InspectionNumber gt 1 2 3 4 lt ErrorCode gt BADCOMMAND INVALIDSTATUS PARAMNOTVALID NOSERIALOUTPUT lt epilogue gt 10 0x00 in hexadecimal Figure 25 Grammar of the CHKSERLINE GETCURINSP SETCURINSP response command messages USE 132 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series The response messages to the GETINSPRESULT and GETNEXTINSPRESULT command messages are slightly different as the SCS1 has to return the results of the current inspection which depend on the inspection type In particular the responses of these commands depend on the number and type of operators configured in a
10. USE 80 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 6 6 Tools What is a tool A tool is a software means used to carry out a specific operation on the acquired image The insertion of each tool represents an inspection operating step AGatesensur 5051 Configuration Tecla sare imagen A ar fap liein ah Aol Off Heb The tool icons are I eb bi SA e Gx 5 E Tool parameters inside the toolbox e i l are found on the on the left side of Qos right side panel the screen Mu tats oe ie ae flee Ht baer er ii i H E a aa 1 E ti i ti ow q PrE VARTE SS o piepje o A graphic visualises tool characteristics k i a yu J H rr la an DO mA a Pon SEE ipi PSS ap GS TEGMRECTED OK CERET Positioning most tools are graphically positioned using the mouse The position and dimensions can be changed either graphically or by modifying the parameters Parameters each tool has different parameters that regulate position operations carried out project specifications The parameters have default values that can however be modified according to specific requirements More detailed parameter information can be found under the Edge locator and Blob locator paragraphs Measurement unit coordinates and distances are expressed in pixels Results all tools supply both a nu
11. in case of positive edge or of the minimum value negative edge of the brightness derivative The threshold that determines if a brightness variation can be considered as an edge or not is calculated in percentage of this value Variations inferior to this threshold are not considered edges Accepted values 0 100 Default value 60 Absolute threshold refers to the brightness derivative The threshold sets a criteria to filter small noise variations during the edge s search It is expressed in grey levels and establishes the minimum variation value Accepted values 0 255 Default value 5 Barycentre threshold the reference barycentre is referred to the area under the curve individuated by the peak value of the brightness derivative profile The barycentre position determines the edge position The threshold is expressed in percentage of the peak value and determines the area considered to calculate the barycentre According to the threshold value a line parallel to the abscissa axis is drawn The area considered for the barycentre calculation is included between the line and the curve Maximum peak Derivative intensity Barycentre Derivative profile ross Barycentre position gt Edge position Elaboration direction E g peak value 100 barycentre threshold 40 A line parallel to the X axis at a 40 height is drawn The area included between the line and the curve is used to calculate the barycentre U
12. Autoexpose Gan 20 The higher the exposure time the brighter the image Autoexp Gain electronic enhance of the image signal Gain increases image brightness without increasing exposure time A larger gain corresponds to major noise and consequently the image quality decreases Note the lens presents two rings one for shutter regulation and the other for focus Between the rings there is a white notch that acts as reference point The focus ring is characterised by near text and e symbol Turning the ring making closer the reference notch and near the sensor will progressively focus a closer plane Turning the ring making closer the notch and e the sensor will progressively focus a further plane Acquisition mode configures the reference image using the Modalit di acquisizione trigger hardware if set in the trigger mode For example if f Continuo C Trigger a dynamic scene is controlled a particular phase is difficult to obtain by pressing the saving the reference image icon The acquisition of the reference image in the trigger mode and using a trigger hardware has to be set and then save the singular phases of the inspected scene until reaching the necessary configuration In this case pressing saving the reference image and providing another trigger pulse a particular image can be saved as our template Reference image the image used to configure inspection Set reference The ima
13. DB25 SCS1 GND pin 7 blue 121 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual CS1 with RS485 serial protocol pin 1 of the 8 pole M12 connector dedicated to the transmission of data from the SCS1 to PC and pin 6 to the data receipt Host PC The standard protocol implemented on the PC is RS232 If the SCS1 smart camera has to be used with the RS485 serial protocol a RS232 RS485 serial adapter has to be used to guarantee interfacing with the sensor s receiver The following figure shows a typical RS232 RS485 conversion scheme DB9 RS232 DB25 side RS485 side DB D pint white DB25 RS232 DB25 side RS485 side DB D pint white USE 122 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series SCS1 with supplementary digital inputs pin 1 and 6 are used as supplementary digital inputs able to select one of the four available inspections that can be saved on the sensor The figure represents one of the four possible input configurations 24V 7 4 Sensor serial communication parameters The sensor serial communication parameters are configured using the SCS1 graphic interface Ensure PC and sensor connection and select Parameters from the sensor menu E Datasensor 5051 Configuration File Sensore Immagine Ispe
14. ES Cn oa og od as e seno Output protocol Custom Serial Data Bits Parity k E ka m ti ti Deb De urent inspection ebug Stop Bits 3 Inspection 1 Debug level Inspection 2 cr aes 1 485 parameters j nspection aA Coedo Switching delay ms a USE s 70 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 71 Instruction Manual SCS1 Series Selecting Diagnostics the following window appears enabling the control of the digital inputs status trigger configurable input input 1 and input 2 as well as the digital outputs output 1 and output 2 The control of the correct activation deactivation of the digital outputs using the specific ON OFF ICONS nput Trigger input Configurable input nipit 1 Input 2 Output Output a in or Output 2 a in LH The sensor parameters such as device name model type digital input RS485 RS232 firmware version and the MAC Address of the device network interface can be controlled by selecting Information xl Model e Je Firmware version amp 1 0 standard FPGA Version 16 0 0 standard MAC Address 00 50 62 32 00 01 Image e Load image for test load the image inside the group of images available for test The image can be an acquired image or a Bitmap file with 648x480 or 320x240 resolution grey scale image Load image for test Sav
15. Esc Trigger Mode Output Save Esc Esc S U B M E N U Run Figure 8 USE m Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 4 2 3 Inspection parameter regulation The options that control the sensor and inspection mode parameters are present in the Setup menu EEA Light EEA Autoexposure FOS Focus PESE Resolution AS Trigger o E Mode E Save EA The following are only the basic instructions necessary for inspection configuration For a more detailed explanation of each option refer to paragraph 5 4 1 Select Sh to activate A or deactivate EA the integrated illuminator 2 Select H509 to begin sensor autoexposure Assure that during the autoexposure process the target object and background to inspect are in front of the sensor At the end of the process the display will visualise in case of a successful result or A in case of failure In both cases press SET to return to previous menu Select EDES to focus the image The user has to act on the sensor optics to increase the number that appears on the display Press SET to return to previous menu Select ES to choose the necessary resolution The possible resolutions are given below nw Wo A Y VGA 320x240 pixels EEA full VGA 640x480 pixels 2589 exit from resolution setting submenu Scroll down the optio
16. Light on integrated illuminator activation Light off integrated illuminator deactivation Exit returns to main menu without changing configuration 5 6 2 Autoexposure Regulates automatically the sensor exposure time adapting it to ambient light conditions a ae l press SET when display visualises EMES to run autoexposure process during process the display text blinks terminated the autoexposure phase the display visualises if the operation has been a success SUCC or a failure FAIL press SET to confirm and return to Setup menu or to try again if the operation failed Note to carry out correctly the autoexposure process the target object must be placed in the inspection area simulating the operating conditions USE 50 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 5 6 3 Focus A numeric value is visualised on the display representing the focus quality The focus can be regulated turning the shutter positioned on the sensor lens The value on the display is updated automatically Higher the value the better the focus Press SET again to return to the Setup menu Shutter Focus Note the lens presents two rings one for shutter regulation and the other for focus Between the rings there is a white notch that acts as reference point The focus ring is characterised by near
17. Positioning none the user just has to assign the name of the two reference operators Results coordinates of intersection point X Y reference system graphic representation with origin in the intersection point relative reference system angle equal to the first operator angle Angle Parameters Only the parameters identifying the two reference locators can be specified Intersection locator Name Intersection Apply f Operatori Operator 1 Edge Locator bl Operator 2 Composite Locator USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 6 8 Controls Control tools are used to determine the inspection specifications The control tools supply a numeric result as well as a status necessary for the successive operating phases S Edge Description similar to the Edge locator as it tracks an edge position Refer to Edge locator for further details The result obtained however can not be used as a relative reference system for the successive phases differently from Edge locator result Parameters Refer to Edge locator 6 8 2 Edge count Description similar to the Edge locator but this tool is able to detect all edges present in the control direction refer to Edge locator at page Errore Il segnalibro non definito for more detailed information The result obtained howe
18. Refer to ntersection locator 6 8 4 E Inclinometer Description similar to the nclinometer locator as it evaluates the object angle respect to the X axis Refer to nclinometer locator for further details The result obtained however can not be used as a relative reference system for the successive phases differently from nclinometer locator result Parameters Refer to nclinometer locator USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 6 8 5 Ye Internal caliper Description the internal caliper measures distances between two edges The tools is represented graphically by a line and carries out measurements with the following criteria starting from the middle point of the line it tracks an edge in both directions towards end The elaboration result is the distance between the two edges 9 Datasensor EEL Configuration Totla Sle Fie Sensor Image Inspection Tools Mode Option Help E 0231800 iB hd a ERKA rE k 65 a Tr EN l y Internal calibre Advanced igo ua Hane Caine sal ROJ Q a gt af y Ana TRN ir 220 pT 2 pr r Length Thckrer KF aa a ie iz Fiel System Drign nieno Yanabon hype Black bo sahati x Distance E O r lo i j e Tale 57 Arabia p Output Mari Ei Osi ee Sij jF DERNE Note ensure that the caliper s medium
19. SCS1 Series Instruction Manual 14 APPENDIX C ILLUMINATORS 14 1 General lighting considerations Keep lighting constant Keep lighting consistent avoid shadows or very bright spots Acquire the shape and form of the target object with lighting that optimises its contrast but separates it from the background Minimise the variations due to ambient light sunlight or other ambient light sources Select a lighting technique appropriate for the shape dimension colour reflectivity transparency and heat tolerance of the target object Adjust the best distance between target object and light source Adjust the best sensor exposure time Consider all inspection area constraints 14 2 Ambient light minimisation To ensure consistent lighting the amount of ambient light hitting the object has to be minimised If ambient light is not minimised external light sources can generate inspection failure Such failures can be prevented by suppressing ambient light with brighter lights or by shrouding inspection area to block ambient light Suppressing ambient light with a brighter more consistent and more controllable light Advantages hardware positioning is flexible as not restricted by light blocking barriers Disadvantages lighting must be very bright and close to target object Suppressing ambient light with physical barriers Advantages light brightness is not critical Lights and camera are protected a
20. focus the image if the image obtained is not acceptable refine the exposure time manually and repeat focusing e when a acceptable image is obtained click on Set reference image to continue Resolution this parameter identifies the resolution used in the inspection elaboration phase Two different inspection resolutions can be selected 640x480 or 320x240 that respectively favour the dimensions of the area acquired by the sensor and the elaboration speed Autoexposure click on Autoexpose to run the automatic regulation process of the sensor exposure time Focussing to maximise focus turn the sensor lens ring The focus level is visualised on the right side of the image in a numeric value or bar Exposure time regulation change manually the exposure time to improve image quality The longer the exposure time the brighter the image Note the ambient light must be the most constant possible 0 0 o 10 10 Ko O lt lt Liver y Some pman parameter have to be nel before cremhng he raperos in onde fo guacundies the bed a x Tune l cur minos images padia The palamata an hocabed on b pared con de nghiode o thi mereen Cancal Auca Pulg Fe mana Canal on thee opbori al e dei ds dl hea card pare he et pin obian a Ana dition of ihe apayan bo cayat PE et Re i Saleci the neschution 3 Fiun te LAE DODO Charge port pirmie oc tha ices j Wet Jemo praem Epara rre jia lon Gum 20 Fr
21. is useful to test a recently configured inspection guaranteeing constant updating of the results obtained independently from the information contents of the acquired images Hence the number of acquired images per second is limited to the current inspection duration and the images are not connected to the object s position 6 5 3 a Software trigger The Software trigger inserts graphically a software tool that conditions the elaboration of the acquired images The image acquisition and elaboration cycle is similar to the Continuous mode but with one difference Acquired the image the sensor has to be satisfy the condition established by the Software trigger before completing the elaboration The condition is usually connected to the position of the target object In this manner inspection is more reliable and time is optimised as only meaningful inspections are carried out Description the Software trigger can be compared to a photocell sensitive to light variations of the acquired image The Software trigger is represented graphically by a dashed line where an arrow indicates the elaboration direction This line identifies also the part of image elaborated The elaboration runs when a light variation appears along the line due to the passage from white zones to black zones and vice versa Typically this condition occurs when the target object passes through object must have a sufficient contrast with the background The Software trigg
22. moments necessary to describe asymmetric object orientation convex perimeter Figure 31 approximates the real perimeter nearer to the bounding box Figure 28 Figure 29 area 2 perimeter 6 area 3 perimeter 6 SQRT 2 Figure 30 Figure 31 bounding box rectangle with object height and width USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual The advantages offered by the Blob analysis consist in high elaboration speed and possibility of tolerating and measuring object orientation and dimension variations While the constraints consist mainly in the difficulty of distinguishing objects from backgrounds with low contrasts objects in touch with each other or overlapped objects as well as the difficulty of recognising similar objects 12 6 Contour match Contour match recognised objects comparing the contour characteristics The analysis is carried out on binary images with a specific threshold The group of black pixels defines the image BinarylmageSet BIS E TTIILILILTIELILilil TTT ane TIT E E AE TS uu pop rp L a a ii a E d z i dl i a a i i l y E 6 yu a a a t el _ 7 e Si 2 7 x sL 139 A 4 2S eee R 1 dl e e wee A A e e Ld coll d A ee ee ee ee SS A A O A ee L Figure 32 The contour
23. near text and e symbol Turning the ring making closer the reference notch and near the sensor will progressively focus a closer plane Turning the ring making closer the notch and the sensor will progressively focus a further plane The shutter is characterised by C and O letters The shutter opens turning the ring making closer the reference notch and O and closes turning making closer the notch and C The larger the opening the more light passes through the lens during acquisition and the image appears brighter depending on the exposure time and smaller the depth of field Reference Point USE 152 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 13 3 Field of view The field of view FOV is the area acquired by the image sensor which forms the image to inspect The FOV and image sensor dimensions condition directly the resolution Lenses H FOV height h image height O angle L operating distance f focal length 13 4 Operating distance The operating distance is the distance between the lens back side and the object The operating distance is limited by lenses used have a minimum functioning distance lenses may have to be positioned close to the object to avoid light variations physical sensor positioning constraints may exist 13 5 Focal length The focal len
24. www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 10 3 Fixing bracket dimensions ST 5047 60 56 45 45 5 7 7 30 5 O4 2 55 25 15 25 4 i 2 N o 6 f O ri ra R2 ST 5048 R45 R10 7 49 2 O Li 30 60 SN i O70 poe GA 7 5 E R10 145 _ 36 5 235 USE 140 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 11 ACCESSORIES 11 1 Illuminators Model Description Model Descripti m _______ gt gt gt gt gt gt gt SCS IL R635 22C 024 1012 back illuminator 24 Vdc continuous red light SCS IL R635 22P 024 1012 back illuminator 24 Vdc pulsed red light SCS IL R635 31C 024 1012 top illuminator 24 Vdc continuous red light SCS IL R635 31P 024 1012 top illuminator 24 Vdc pulsed red light SCS IL R660 12P 024 0007 T ring illuminator 24 Vdc pulsed red light SCS PS IL 024 strobe power supply unit 24 Vdc Ring light SCS IL R660 12C 024 0007 T SCS IL R660 12P 024 0007 T provides diffused continuous or pulsed red light over a small area in front of the sensor The illuminator has a circular shape with a hole in middle The sensor lens is mounted directly on the op
25. 5 2 Factory configuration reloading During initialisation there is the chance to reload the factory configuration Press and PON at the same time when the display visualises S658 text Keep them pressed until text is visualised and then for 3 seconds at lest to start the factory configuration reloading process When the system reset is over the display will visualise text 45 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 5 3 Sensor status During the functioning the sensor can be in one of the following status e2pr sensor not configured ER E AS E an inspection is being carried out The number indicated the memory slot occupied by the inspection The sensor has four memory slots that can contain four different inspections Ii 3 Eeth sensor connected to PC A new inspection can be in the Setup phase or the sensor is acquiring images for the inspection elaborated on the PC Eee error presence Note during functioning the sensor automatically carries out a selected inspection As default this inspection is the one in the first memory slot All the inspections stored in the sensor can be selected but only using the SCS1 Graphic User Interface via PC USE AG Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Ser
26. FA Operation list Trigger Mode Continuous AssociatedOperatar Edge locator OK lt 109 Y 80 Angle 687 Status bar DigitalO utput Diagital output OK Edge locator X 24 Y 105 Angle 119 E j T N iE f 2 i SETUP ma G 6 Oupa CONNECTED aK CEEE The main window contains the following panels Main menu includes all the programme management options divided in categories Toolbar contains all the most frequently used functions present in the menu The toolbar is pre defined and can not be programmed by the user Toolbox part of the window containing the square icons of the image elaboration tools divided in categories Triggers Locators Controls Analysis Output Image panel that visualises the images acquired by the sensor Thanks to the Off line mode disconnected sensor and PC the images visualised can be loaded on PC Status bar panel containing some general information such as the system operating status selected tool status cursor coordinates Operating steps this table indicates all the operating steps belonging to an inspection The tool name tool type operating status OK Failure Error and the numeric result are highlighted for each operating step Parameters panel containing parameters relative to the selected tool during Setup or relative to the template focus and acquisition in Live mode Graph represents the bri
27. Figure 25 Positioning Click on left mouse button to set the rectangle vertex drag the mouse keeping button pressed to set the first rectangle side the rectangle near the first side is automatically drawn moving the mouse Click again left mouse button to confirm position We recommend to position horizontally the object to locate in the reference image Results top left vertex coordinates of the located object status relative reference system graphic representation with origin in the top left side of the object Parameters X Y top left ROI coordinates Composite Locato Apply Height rectangle height delimiting the ROI Name fompostelocao Aeeb ROI Thickness thickness of each locator ALEA E Angle a 293 24 1132 Width rectangle width delimiting the ROI Length ee Width Variation type edge type tracked by the locators that form the 280 E 159 8 Composite locator from white to black tracks a black object on a white Ve background eee nl from black to white tracks a black object on a white Direction From start to end y background both considers both automatic tool selects automatically which variation to distinguish Direction determines the direction of the elaboration beginning end or end beginning USE s 88 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instructio
28. Image saving Description saves on the SCS the image currently acquired according to the status OK FAIL of the associated tool Positioning None the user just has to assign the name of the reference tool Parameter Tool reference tool whose status commands image saving Name of the tool associated to the digital output Salva immagine Home peratore Tool Note this tool can be used together with the logic tool in order to condition the image saving of an inspection according to particular events refer to section 6 2 5 USE 120 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 7 COMMUNICATION PROTOCOLS 7 1 Ethernet The SCS1 smart camera presents a 100 Mb s communication port that can be used for HOST PC and configuration interface communication Please contact DATASENSOR for further technical specifications 7 2 Serial protocols and digital inputs The SCS1 series offers three models presenting different communication protocols and supplementary digital inputs 1 RS232 serial protocol 2 RS485 serial protocol 3 Digital input protocol 7 3 Electrical connections SCS1 with RS232 serial protocol pin 1 of the 8 pole M12 connector dedicated to the transmission of data from SCS1 to PC and pin 6 to the data receipt Host PC 9 RXD Pin 1 white 3 TXD Pin 6 pink 5 CNO Pin 7 blue DB9 M12 DB9
29. Installation Instruction Manual Quick Operation Guide Mt A Bey D Copright 2006 Dota eso SpA Alright reserred Figure 1 Note if the CD ROM does not automatically run choose Run from the Start menu and type D setup exe substitute the appropriate drive letter of your CD ROM drive for D and press Enter The guided installation of the software will begin selecting Install SCS1 Graphic User Interface Follow then the installation instructions provided on the window 7 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 3 3 Communicating with the sensor The PC and sensor communicate using the Ethernet network and require compatible IP addresses Note an IP address is equivalent to a telephone number The PC connects itself to the sensor only when the sensor s IP address is known just like the phone number of the person to contact Differently from a telephone number not all IP addresses are compatible among themselves and a few rules illustrated successively must be respected All SCS1 present the following default standard communication parameters IP address 172 27 101 209 Subnet mask 255 255 0 0 3 3 1 PC configuration The following steps have to be followed to configure correctly the PC 1 Open the Network Neighbourhood clicking the desktop icon Figure 2 and select Properties
30. Step 4 Threshold Acceptance threshold regulation The value visualised represents the acceptance threshold used during inspection The lower the threshold the more the sample and imagine have to correspond in order to obtain a successful result Use the or push buttons to change the threshold During threshold regulation the sensor outputs are activated Practically the same conditions of the inspection running are present Run mode with however the possibility of changing the sensor sensitivity to distinguish or not an object Once acquired the information relative to the target object the sensor recognises the object and consequently the yellow Output 1 LED turns on indicating inspection success The threshold can now be lowered until the LED turns off The threshold has become so narrow that even the target object is no longer recognised A safety margin can be thus established increasing the threshold with respect to the constraint found The use of an integral target object and a damaged one can allow the user to configure the threshold in order to recognise the integral target object from the damaged one Step 5 Confirmation Press SET to confirm the Teach in sequence The user returns ee Se to the main menu The inspection can be saved by scrolling down the options until reaching and selecting it The sensor enters automatically in Run mode Otherwise select to run the inspection 96 Phone 800 894 0
31. brightness difference between pixels in different positions is calculated and the sum of the values provides the difference between the two images The image will be considered valid only if the distance results to be inferior to the set threshold 151 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 13 APPENDIX B LENSES 13 1 C and CS mounting The focal length is the only difference between the C and CS mounting In C mounting the distance is 17 526 mm and 12 5 mm in the CS The mounting border and opening are the same A CS mount camera can function with CS mount lenses but also with C mount lenses The C mount lenses form a longer image 5 mm respect to CS mount lenses and so the user just has to add a 5 mm spacer between the camera and lens to achieve complete compatibility On the contrary C mount cameras can function only with C mount lenses and not with CS mount lenses The SCS1 device has CS mounting and thus guarantees maximum flexibility in choosing the lens C ae camera camera C mount lens OK OK with adaptor CS mount lens Table 2 different mounting compatibility 13 2 Shutter and focus The lenses purchased as SCS1 s accessory present two rings one for shutter regulation and the other for focus Shutter Focus Between the rings there is a white notch that acts as reference point The focus ring is characterised by
32. digital inputs for inspection selection SCS1 without integrated illuminator with RS232 serial protocol with RS485 serial protocol without serial protocol with two supplementary digital inputs for inspection selection 1 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 1 3 Typical applications Typical SCS1 applications consist in quality and integrity controls of assembled products on an industrial manufacturing line Some examples Contour control contour match Component control on PCBs Similarity check with a template USE sy 2 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 1 4 Components The system is composed of compact sensor housing with reduced dimensions and weight standard industrial connectors M8 M12 16mm C mount lens with 5 mm adapter ring to make it compatible with the sensor s CS mount RJ45 connector with Ethernet PC connection LED function indicators and 4 digit display fixing bracket set to facilitate sensor positioning integrated ring light illuminator with deactivation option composed of coloured LEDs able to generate both continuous as well as pulsed light with adjustable interval to obtain maximum efficiency external illuminators powered through an M8 connector are available to gene
33. functioning Different saving a modes can be selected saving all elaborated images only those which have generated an inspection failure or none Up to 10 images can be saved Surpassed this limit the new images are saved over the existing ones following a FIFO logic the oldest image is replaced by the latest image Outputs Two digital outputs offer inspection information These outputs can be configured as follows Dutput mode 5y Normal functioning output switches according to Output 1 Normal inspection results OK Failure if tools have been Output 2 Tooge y gt correctly configured a Toggle mode output switches at each inspection cycle completion Image saving The currently visualised image can be saved in the Live mode in a Bitmap format by simply clicking on the toolbar icon or selecting Save image in the Image menu USE 64 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 6 2 2 N Setup mode The image elaboration tools can be included in this mode Each tool represents operating phases that form the inspection Please refer to paragraphs 6 4 and 6 5 for more complete tool details Test mode H alia S This mode analyses the images acquired and elaborated during inspection The user can save the images elaborated during inspection using the advanced parameters of the Live mo
34. is defined as a pixel sequence that follows the binary image border This sequence is obtained setting relations between adjacent pixels The contour does not belong to the BIS The algorithm can detect both external contours indicated in red as well as internal contours indicated in green A template and some relative information position pixel number dimensions etc has to be acquired before recognising a target object This information is normalised and entered in a vector and then stored in a database Object recognition is obtained comparing the target object s vector and the template s vector previously stored The distance between the vectors has to be defined to carry out the comparison The vector in the database closer to the target object is selected This method guarantees a discrete elaboration speed and can tolerate and measure object orientation and dimension variations Moreover it offers a higher accuracy respect to Blob analysis but has difficulty in distinguishing objects from backgrounds with low contrasts as well as objects in touch with each other or overlapped objects 12 7 Edge detection A brief introduction to projection is necessary Edge detection functions on 256 grey tone values and not on binary images Considering that a specific image area can be represented by a matrix of lines and columns Each matrix element contains a brightness value associated to each pixel The following example has three l
35. lighting used Lighting changes generate an offset on the absolute values maintaining the same contrast This method is slower and require major memory It is recommended when the lighting can not be maintained constant The threshold values are lower as they are referred only to variation and not to the absolute value Edge detection is generally used to track the position of an object and make different measurements It is a very fast and accurate elaboration Applications 1 Accurate measurement of keys labels mechanical parts etc 2 Object tracking 3 Search of elements inside complex objects 4 Quality control on surfaces with dust flaws 5 Position control USE 150 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 12 8 Pattern match Pattern match consists in locating similar patterns between a template and a target object to inspect The light characteristics inside a specific area have been saved Each template pixel corresponds to a specific brightness value represented by a grey level 0 255 This value is saved in order to form a numeric matrix corresponding to a specific image region During elaboration a rectangle with dimensions similar to the template passes over the area searching the target object At each rectangle position the distance between the enclosed target object and the template is calculated as follows the
36. precision Patternmatch locator Advanced PERE R ERE E EEE E ENON ERE H ERE E ES m Quality Speed 100 400 600 Max speed Max quality Difference threshold parameter that takes in account the difference between the template and object to inspect The lower this value the more the two objects have to resemble each other to guarantee a positive result Difference 0 gt the two objects have to be identical Difference 1000 gt differences are tolerated Difference O BOO 1000 6 7 5 he Inclinometer locator Description the nclinometer locator determines the angle of an object or part and supplies a reference to the successive inspection phases The locator is positioned on the window drawing a line which represents a reference Edge locator around which a rectangle is designed dimensions can be changed using the mouse The rectangle represents the elaborated area around the reference Edge Locator a certain number of parallel Edge locators is positioned automatically but not graphically visualised The number of Edge locators depends on the rectangle width and can be changed either graphically or manually modifying the Points parameters The points tracked by each Edge locator are interpolated to form a segment characterised by a certain angle which is the result of nclinometer locator 95 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net
37. set up the hardware trigger you must give trigger impulses in order to process images USE s 66 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 6 2 5 X Test Mode from telecamera je Ce Mode that analyses the last image acquired and elaborated during inspection This tool can be used in two different modes 1 First mode The same as per Test Mode and it is thus necessary to set the inspection image saving as described in paragraphs 1 and 2 of section 6 2 3 describing the Test Mode 2 Second mode This mode uses the mage Conditioned Memorisation tool refer to section 6 10 This tool allows to save during inspection an image currently acquired and elaborated according to the tool status For example if the mage Conditioned Memorisation tool is configured in order to save the image when a tool fails When the device is reconnected the user can control the image of the last inspection which has caused the tool error by clicking the Test Mode from Telecamera icon The following example should better clarify this mode 1 An inspection is set even without saving the images in the Advanced menu of the Live mode using a Locator or Control tool If the images has to be saved only when the tool chosen fails as in the example a logic tool has to be used to carry out the not status of the operator tool Logic tool for th
38. to image elaboration e g area evaluation 30ms 5ms 65ms acquisition SW trigger elaboration e a A II The same inspection carried out in Continuous mode would last 95 ms 30ms 65ms acquisition elaboration e Fh FS IA IE Supposing to detect a black object moving from left to right on a white background and to calculate its area During acquisition the object has to be included completely in the inspection area in order to guarantee a correct inspection USE 78 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Software trigger mode The Software trigger analyses the acquired image and tracks a light variation along the dashed line This condition is necessary to complete elaboration o o a During the first three inspection cycles referred to the first three photograms the sensor acquires the image but the elaboration is immediately blocked as the Software trigger condition is not respected At the fourth cycle the object interrupts the line and consequently the elaboration is completed In this manner the image analysed is the right image to inspect 2 Continuous mode No elaboration condition has to be respected and the images are all acquired and elaborated Obviously not all the images acquired are meaningful For example the first and the third would generate an inspection failure even in presence of a valid obj
39. to save the configured inspection e Network display visualises the NETS text allows to access the sensor communication parameters e Display display visualises the DISP text allows to change display text orientation e Start inspection display visualises the S_IN text allows to start inspection The user can scroll down the other options using the and push buttons The submenus are visualised pressing the SET push button USE 48 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 5 6 Setup menu The Setup menu options are visualised by pressing the and push buttons e Light e Autoexposure e Focus e Resolution e Trigger Piet Uc VIA a e Mode Bales Ai e Save e Exit returns to main menu without changing previous configuration The option visualised on the display is selected by pressing the SET push button Some options are connected to a submenu while others carry out functions The user can exit from the submenus in two manners pressing SET while display visualises ESC Exit The configuration is left unchanged pressing SET on any other option the selection is saved 49 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 5 6 1 Light Activates and deactivates the sensor integrated illuminator
40. 25 Left side screen ae Observer Inclinometer direction Line parallel to X axis Angle measured by the inclinometer_ mm Right side screen Central edge Figura 27 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Parameters The X Y angle and reference system parameters refer to the central Edge locator Length thickness variation type direction thresholds and constraints are relative to all the locators that form the inclinometer X coordinate that identifies the horizontal position of the first locator point Y coordinate that identifies the vertical position of the first locator point Length ROI length Thickness elaboration area thickness Angle expressed in degrees calculated according to the tool rotation respect to the X axis Variation type from white to black only negative edges are considered from black to white only positive edges are considered both both edges are considered automatic tool selects automatically which variation to distinguish Direction determines the direction of the elaboration from start to end elaboration starts from the first end and continues towards the arrow from end to start elaboration starts from the arrow and continues towards the first end opposite to the arrow s direction Points thi
41. 412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 5 9 Save Press SET to save the present configuration and pass automatically in Run WH mode The inspection will be automatically saved in the first sensor s memory A slot 5 10 Network Configures the sensor s P address and Subnet mask e IP Address e Net mask e Save saves the changes made and returns to main menu e Exit returns to previous menu without changing configuration lt _ lt _ lt _ lt gt 5 10 1 IP address The sensor s IP address can be visualised and configured by pressing SET while on IP_A to change the number 57 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual The display visualises a 3 digit number which represents the first field of the sensor IP address The 4 fields of the IP address can be visualised using and The field currently visualised can be selected by pressing SET Pressing again and the numeric value of the selected field can be changed A continuous pressure on the push button allows to proceed more rapidly Press SET to confirm changes Press SET when text is visualised to return to the Network menu and decide whether save the new configuration or not Note the changes mad
42. 55 50 357 52 nome_op result X Y angle inclinometer_locator 0 245 04 265 38 272 66 nome_op result X Y angle intersection_locator 0 154 05 184 97 271 10 nome_op result X Y angle blob_locator 0 202 00 255 00 181 00 nome_op result X Y angle pattern_match 0 158 00 221 00 00 00 NIN NE N intersection 0 432 52 242 81 68 20 inclinometer 0 160 32 223 79 283 98 name op es number a blob count 0 001 EA found name_op result difference contour_match 0 02 00 name_op result number of pattern_match_count 0 001 objects found sis SSS Note please consider that the operator result is given in a negative logic i e 0 for positive results and a number different from 0 for negative results The angle must not be considered and is zero by default 119 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual ams py 6 10 2 s Digital output Description Activates the digital outputs output 1 or output 2 according to the status OK FAIL of the associated tool Positioning None the user just has to assign the name of the reference tool Parameter Tool reference tool whose status commands the activation of the associated digital output Name of the tool associated to the digital output Output digitale Mome E per 000z Operatore OE Uscita Uscita Output 6 10 3
43. BB Width BB Height Positioning Click on left mouse button to set the rectangle vertex drag the mouse keeping button pressed to set rectangle dimension release button to confirm the position and dimensions can be changed graphically Results barycentre coordinates of the blob with larger dimensions X Y relative reference system graphic representation with origin in the barycentre of the blob with larger dimensions relative reference system angle Angle Status Parameters X Y top left ROI coordinates Height rectangle height delimiting the ROI Width rectangle width delimiting the ROI Object type specifies the blob type to locate black object white object Binarization threshold value of the threshold used to distinguish Haoa Blob cinta Apo light coloured pixels from the dark ones during image passage from greyscale in black and white Pixels with a value superior to the threshold result to be white after binarizzation those with an inferior value black The threshold is calculated automatically when the tools are inserted To fix it manually the user has to click on the icon on the left of the numeric threshold value al then click on Numeric Value ject Bright object x and the A disappears The value of the Threshold can be now hreshol 128 Y Auto changed Choosing again Automatic the device returns to the automatic
44. Distance SETUP OK x 545 Y 401 Positioning none the user just has to assign the name of the two reference tools Results distance Status Parameters Operator first reference tool Operator2 second reference tool Note one operator can be the origin of the absolute reference system In this manner position controls can be carried out using for example a distance locator and tool and setting accordingly the minimum and maximum distance parameters Minimum maximum distance minimum maximum value accepted If the distance is bigger the operating status is Failure Tolerance parameter that can be used as an alternative to the distance constraints The tool is positioned graphically on the image during Setup and a distance is calculated The tolerance is a percentage that determines the range values accepted during inspection USE 112 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 6 9 2 6 9 3 113 Angle Description calculates the angle between two lines Similar to the Intersection locator but provides an angle as the result instead of a point Positioning none the user just has to assign the name of the two reference tools Minimum maximum angles minimum maximum value accepted If the angle is bigger the operating status is Failure Tolerance parameter that can be used as an alternative t
45. Ethernet 10 100 Mbps cable if the SCS1 graphic interface is used Thread optics onto the sensor Power the cable with the M12 8 pole connector Assure that the brown wire pin 2 is connected to the positive 24 Vdc pole and the blue wire pin 7 to the negative pole GND 5 Connect the cable with M12 8 pole connector to the sensor 5 USE sy Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 6 Optional connect external illuminator to the sensor using the M8 4 pole connector ta EE S Ca ht led Optional connect the sensor to the PC using the Ethernet 10 100 Mbps cable USE sy 6 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 3 2 Installation and activation of SCS1 graphic interface 3 2 1 Minimum system requirements Celeron 700 Mhz processor 128 MB RAM super VGA monitor 800x600 pixel Ethernet 10 100 Mbps card 20 MB of available space on hard disc CD ROM drive Recommended system Pentium 4 2 Ghz processor 256 MB RAM monitor with 1024x768 pixel resolution Ethernet 10 100 Mbps card 20 MB of available space on hard disc CD ROM drive 3 2 2 SCS1 graphic interface installation To install the SCS1 graphic interface insert the CD ROM supplied with the sensor The following window will appear automatically User Interface
46. Inspection on PC Cancel Wizard Save inspection Test mode Test mode from aa cia on the sensor telecamera p g step 75 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 6 4 Inspection saving and configuration The inspections configured through the SCS1 graphic interface can be saved The sensor can store up to four inspections that can be recalled easily and quickly 6 4 1 PC saving To save the inspection on PC the user has to simply click on the toolbar icon or select Save from the File menu and assign a name when requested Toolbar Menu E Datasensor SC51 Configuration Tools EA Datasensor 5051 Con File Sensor Image Inspec New inspection New inspection Wizard Open Trigger Mode Q gt 6 4 2 Inspection transfer and sensor saving Save os Exit The sensor has four memory slots that can store four different inspections To save the inspection on the sensor the user has to simply click on the toolbar icon or select Save from the sensor menu The program will request PC saving if not previously done This procedure is recommended but not compulsory Toolbar Menu t Datasensor SCS1 Configuration Tools MM Datasensor 5051 Configuration Tools File Sensor Image a Tools Mode File Sensor Image Inspection Tools Mode Disconnect f O 18 ai Open Parameters Diagnostic Trigg Q Sensor info
47. SE 102 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 103 Constraints the Edge locator is characterised by a specific ROI The elaboration can be limited to a certain ROI part Beginning first elaboration starting point End first elaboration ending point Note the threshold refers to the highest value that remains the entire Edge locator area Distance sets the measurement filter control on the distance value between the edges The tool status depends if selected also by the distance between the different edges tracked by the control In particular if the distance between consecutive edges is inside the minimum and maximum values set in this filter the control will then present an OK status otherwise a FAILURE status TES ERS bt Search threshold a e A A Barycentre threshold a ha q A s gt MA N Elaboration limits Absolute threshold is in yee h S WREEF HETE e TR Filter on the distance PR ok between consecutive thee ec 5 edges a ae Description similar to the ntersection locator as it tracks the intersection determined by the result of two previously used tools Refer to ntersection locator for further details The result obtained however can not be used as a relative reference system for the successive phases differently from ntersection locator result Intersection Parameters
48. TED OF X 633 305 Figure 17 Contour match Recognises an object analysing the contour Saved the target object contour an object with a similar contour is tracked inside the working area Area analysis Recognises an object checking area perimeter and other geometrical characteristics Pattern match Recognises an object comparing it with the target object The comparison involves each single pixel evaluating brightness differences between the template and the target object Object count Counts objects inside a specific area The object type white or black and dimensions in pixel have to be specified Measurements Carries out length measurements 39 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Step 3 Trigger selection The trigger starts the inspection cycle image acquisition elaboration and result The trigger is selected by clicking on the toolbox icon ala xi e mm O tor mion O e 0 0 Trigger selection a The Tnggai ii ha agal bal shati ha mabecton opcie image kauniin data proseteng cup x Caprese made ac twpboril Cancel Hardwer aguas Selec hoii the Tools one of Gre hioa awadable Spas ES Enfiraar hgga Lii Ma batiin it oriras WIZARD CONNECTED Oe 5 Soy 185 Figure 18 The user has three choices Continuous trigger the images are acquired and elaborated in the fastest speed pos
49. The menu options can be visualised using the and push buttons Press SET to select an option and the relative submenu is opened At powering the device initialisation process lasts approximately 25 sec during which the SCS1 text is visualised At the end the display visualises the system status The main menu is accessed by pressing SET Figure 8 offering the following options Setup allows to access the parameters that control sensor functioning and inspection process Registers visualises and modifies the numeric values of the tool parameters set using the PC interface in the 16 sensor registers Teach in self acquisition process necessary to acquire the template used for comparison during inspection Save allows to save inspection and automatically enter in the Run mode Network allows to access communication parameters Display allows to change text orientation on the display Start inspection allows to return to the Run mode carrying out the previously active inspection without memorising new settings 15 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 4 2 2 Sensor configuration diagram Sensor Configuration Menu M Q Q A eo oo gt O M E N ES U Illuminator regO lp Address Direct Run inn i EL Net Mask Reverse Focus reg3 Save Esc Resolution 7
50. Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Example Transmission of command message GETCURINSP Receipt of answer message OK83 hypothetically considering that SCS1 is carrying out inspection 3 during the receipt of the aforementioned message 1 t4 Scsl R5232 R5485 Serial Port Tester Datasensor 5 p A Help Port Setup M Capture Output log Save Log Type Command GE TCURINSP E Baud Rate PEE TEE or Choose it GETCURINSP 115200 Parity None Bit per Data GETCURINSP ANSWER 8 OKR Stop Bit 1 a St a a Se a Cae a val E Tracing break cts ded der fer fing m tx ae _ T loig j SBE SBEBee Figure 20 GETCURINSP application example GETINSPRESULT Function requests to SCS1 the results of the last inspection carried out Answer returns the results of the configured operators to the serial output according to the syntax previously described or Answer ERR amp lt Error Code gt lt Error Code gt INVALIDSTATUS NOSERIALOUTPUT Action none 127 USE gt Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Example Hypothesis consider an inspection configured with an Edge locator and the result on a serial output refer to paragraph 6 7 1 and 6 10 1 Transmission of command message GETINSPRESULT Receipt of answer messa
51. a template to determine the specifications to be respected by the images acquired during the inspection It is thus very important to acquire a high quality image where the target object presents well defined edges and evident main characteristics choose carefully the tools to use for the elaboration to guarantee the best result possible in the easiest manner particularly in the software inspection where a wider range of tools is available regulate precisely the parameters of the tools selected test the inspection choices made on different variations of the same object trying to carefully distinguish the constraints within which inspection results can be considered correct and which tolerance can be accepted without passing the constraints compare results to discover any incongruence re configure tools to reduce incongruence run inspection USE 14 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 4 2 Inspection configuration using the sensor integrated interface The sensor integrated interface consists in 3 push buttons SET and a 4 digit display presenting four LEDs The important steps to configure an inspection using the display are three 1 inspection parameter regulation 2 background and reference image acquisition Teach in 3 inspection saving and starting 4 2 1 Sensor configuration menu
52. able the brightness values of the surrounding pixels are taken in account by means of a projection operation Please refer to Projection Appendix A 12 7 for further details Accepted values 0 640 Angle expressed in degrees calculated according to the tool rotation respect to the X axis Variation type two edge types can appear one due to the transition from a dark to a bright area positive edge and one due to the transition from a bright to a dark area negative edge from white to black only negative edges are considered from black to white only positive edges area considered both both edges are considered automatic tool selects automatically which variation to distinguish Direction determines the direction of the elaboration from start to end elaboration starts from the first end and continues towards the arrow from end to start elaboration starts from the arrow and continues towards the first end opposite to the arrow s direction a Tool name __ i Name Edge Locator Apply Angle in degrees Y value ROI Y Angle X value neS gt 75 ws Length Thickness Elaboration area 756 a 15 dl A zl length Selected reference Rel System Origin 7 system Elaboration area Variation type White to black v Variation type thickness ys i Direction From starttoend considered Elaboration direction 86 P
53. adecimal Figure 24 Command message grammar 131 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 7 5 8 Response Message format SCS1 responds positively or negatively to each command if it can or can not satisfy the received request An error notice is given in case of a negative response Possible responses are given below e OK command carried out correctly ERR amp BADCOMMAND command string not identified correctly ERR amp PARAMNOTVALID command string identified but operating parameter is outside range ERRSINVALIDSTATUS command correct but not compatible with the current system status ERRSNOSERIALOUTPUT results of an inspection without serial output configuration are requested to the SCS1 The response format varies according to the command transmitted In all cases the response is a null terminated string of ASCII characters and foresees a response beginning character prologue ASCII character Ox3A If the response requires a return value this value is transmitted as a parameter in the same command message format refer to paragraph 7 5 7 i e the response contains an error identifier and a amp 0x26 separation character 0x26 followed by the parameters of the results requested or an error code Response example without errors OK amp 1 Response example with errors ERR amp INVALIDSTATUS
54. al application used for serial communication between a PC with the SCS1 gt For a more detailed description please refer to sections 7 5 4 and 7 5 5 125 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 7 5 4 Command messages for information request CHKSERLINE Answer OK Function consents the status control of the serial communication between Master PC PLC and Slave SCS Action none Example Transmission of command message CHKSERLINE Receipt of answer message OK A A Al Ouro ee orm Help 1015 EAT Datasensor S p A mi gt f Capture Dutput log Save Log Type Command CHKSERLINE Baud Rate gt sl Erosestonmend Y aoa 15200 y Choose tt Choose Command ka Parity Add Command Delete Command None one COMMAND Bit per Data CHESERLINE b Stop Bit 1 F fv AS485 Emu Tesi Podad RS4e5 memea o ee ial port E Serial FL FF Tracing break cts ded der jer fing re te Ea T logn AAA Figure 19 CHKSERLINE application example GETCURINSP Answer OK amp lt Inspection index being carried out gt lt Inspection index being carried out gt 1 4 or Answer ERR amp lt Error Code gt lt Error Code gt PARAMNOTVALID Function identifies the inspection number 1 4 currently being carried out Action none USE s 126 Phone 800 894 0412 Fax 208 368 0415
55. ames nea 48 UNE CONNECTED CEST 2D Figure 16 USE 38 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Step 2 Inspection type selection The user must select one of the predefined Wizard inspections A brief description of each description facilitates the user in selecting the inspection that best suits the application To visualise the description the user has to position the cursor over the desired inspection To select an inspection the user has to simply click on the icon of the specific inspection next to the inspection title No other operations are required Just click on Next to continue The selection made affects the successive steps Not all inspections require all steps and so the Wizard might skip automatically some steps all x f y PA a OD O iein oe cancion E 0 nS Om 9 Inspection type selection Desoptaa Th user sust select one of the predefined Waard mapectona A bial deccrption ol eath dsiaipton x e Cordias match 8 Dipl iad isce the uner in pelecing the niipecton thet best m y the application To wirustre the descrgten C j Prt Later tere to portion De Custer over the rere expect To riac an rapecton the inet has in Ca Arsa anami Y Merit smoly cick on the kon of he ipeche ripacton neat lo the mip chon title Chet Ned badton to contre z Pahan matt f i a a E PA WIZARD CONNEC
56. automation net e mail info ctiautomation net SCS1 Series Instruction Manual EY Select inspection position for save E X Inspection 1 Prova 04 08 2004 15 23 30 Inspection 2 e New Script2 17 06 2004 11 56 47 i Inspection 3 C prova 27 05 2004 12 39 03 Inspection 4 C Undefined 12 12 1000 Cancel A new window appears requesting if the images saved with the inspection have to be opened Click on Yes to confirm 7 Do you want load stored image from sensor Si No At this point the images available for the test are available The user can pass to the Test mode using the toolbar icon Once in Test mode two light blue arrows on the toolbar allow the user to scroll through the images Maximum 10 images can be saved in a FIFO logic the oldest image is replaced by the latest image Test mode icon 310 HB ha eXQ gt Me gt 05 Image scrolling Note once the SCS1 graphic interface is closed the images are automatically cancelled To access them again for future needs the current inspection must be saved on file after loading the images from the sensor In this manner the user can access the test images each time the inspection is re opened 6 2 4 L Run mode The PC processes in real time the images acquired by the sensor In this operating mode the sensor only acquires images The operating steps can not be selected or modified NOTE if you
57. ax quality Difference threshold parameter that takes in account the difference between the template and target object to inspect The lower this value the more the two objects have to resemble each other to guarantee a positive result Difference 0 gt the two objects have to be identical Difference 1000 gt differences are tolerated Difference O 600 1000 111 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 6 9 Analysis Tools used to set further inspection specifications 6 9 1 y Distance Description calculates the distance between two points using two tools as reference The reference tools must have as result the coordinates of a point All locators some controls such as Edge Intersection and Inclinometer can be used as operators 3 Datasensor SCS1 Configuration Tools File Sensor Image Inspection Tools Mode Option Help O0R18 a da 2x2 M x 6 J 181x Distance Name Distance Apply Trigger Mode r Operatori Operator 1 Edgel X Operator 2 Edge2 gt m Distance Min Mar C Range Toller y 3 ES E A A i a 8 3 PIT Dak ERES oe Analysis fe er 2 Qutput sono A Edgel Edge OK X 181 Y 24 Ange 0 Edge2 Edge OK X 378 Y 431 Angle 0 Distance Distance Distance 453 Adding
58. be explicitly requested to the SCS1 using the following command messages GETINSPRESULT and GETNEXTINSPRESULT Due to the RS232 s full duplex specifications SCS1 continuously awaits all other command messages Also in this case the Master in order to communicate with the Slave sends a command according to the syntax described in Figure 24 refer to paragraph paragraphs 7 5 4 and 7 5 5 for a detailed description of the command messages The Slave SCS1 interprets the command received carries out the action requested and sends a success response to the Master always according to the syntax described in Figure 25 and Figure 26 If the Slave is unable to interpret the command received or if the request needs an action that cannot be activated the Slave will reply with a failure notice as described in Figure 25 and in Figure 26 Application examples of serial protocol command messages The following protocol commands are available sent from Master to Slave The protocol command messages are divided into two categories 1 Command messages for information request 2 Command messages for sensor configuration The following command messages belong to the first category CHKSERLINE GETCURINSP GETINSPRESULT GETNEXTINSPRESUL T The following to the second category SETCURINSP amp lt inspection number gt The images presented in this section concerning the serial protocol application examples show the graphic interface of a typic
59. by pressing first end and then releasing the left button of the mouse second end Select the variation type that has to be tracked from white to black in the example provided it J Eyni Pi iar lage Peper foo ie pidh teip 13100 fee 0H ox Edge locator Figure 12 The Edge locator similarly to the Software trigger seeks an edge along the line distinguishing the exact vertical position of the top side of the blister 13 Control insertion In the following example the Blob count tool is used for tablet counting After selecting the tool the user has to draw a rectangle around the blister What is a Blob The image has 256 possible grey shades O black 255 white The Blob count sets automatically a threshold denominated Binarization and distinguishes white pixels brightness higher than the threshold from black pixels brightness lower than the threshold The Blob is a group of adjacent pixels of the same colour white or black Select the tool clicking on the toolbox icon Figure 13 or from the menu Operators gt Controls gt Blob Count Position the tool graphically on the image by moving the cursor with the mouse Set the corners of the rectangle representing the Blob count by pressing and then releasing the left button of the mouse Select the blob type that has to be tracked white in the example provided Select the Edge locator used previously as the reference system Figure 14 In this
60. cally in the Live mode The images acquired by the sensor are visualised in this mode An application example is herein provided The application consists in the counting of tablets in a blister and integrity control Figure 10 shows the image visualised during the Live mode phase Figure 10 The user can control what the sensor acquires during Live mode and so all aspects concerning the quality of the acquired image have to be optimised This is a key operation to guarantee the success of the application 2 Positioning Position the target object inside the field of view 3 Resolution Live Select the resolution of the image to visualise Different resolutions are available VGA 640x480 pixel and Y Resolution VGA 320x240 pixel C B2240 640x480 A larger working field is obtained by selecting VGA while Y VGA favours inspection speed reducing the image acquisition time USE s 26 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 4 Lighting Ensure that lighting is uniformly distributed on the entire field of view FOV paying attention to reflective surfaces The integrated illuminator can be activated or deactivated selecting or not the option External illuminators are available as Integrated lv Strobe accessories External lv Strobe 5 Exposure time Start the sensor autoexposure process c
61. can modify the locator parameters present on the panel on the right side of the Name Blob Count Apply window ROI i a Y Width Click on Next to continue 182 20 566 Y Height mn 49731 427 137 421 Ref System Edge Locator a Binarization Object type Bright object Threshold 128 Auto Count Number of object p 153 USE 42 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Step 6 Control positioning Each inspection is associated to a control which has to be carried out on the target object This step requires the insertion of the specific control To position graphically the control on the template the user has to first select it clicking on the toolbox icon The Wizard provides instructions for control positioning At the end of the sequence the user can modify the control parameters present on the panel on the right side of the window Click on Next to continue Contour match Area analysis Pattern match Object count Measurement th E P pli Trigger Mode Trigger Mode Trigger Mode Trigger Mode Trigger Mode Q gt 3 Q gt 4 Q gt Q gt S Q gt 4 Locators Locators Locators Locators TEER SL US Es Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Step 7 Output selecti
62. ddresses must be configured I Crossover Ethernet Cable 3 3 4 LAN network connection A traditional Ethernet cable has to be used in presence of a PC and sensor connection using a LAN network Assure that the sensor IP address is compatible with the existing network lf PC and sensor are connected directly the user has more freedom in configuring the IP address On the contrary if the PC is connected to the sensor using a i local LAN network intrinsic constraints regarding the e existing network configuration have to be respected For this reason the sensor s IP address can be changed using push buttons and thus guaranteeing improved system flexibility If the PC s IP address is unknown the user can find it as follows 1 open a DOS window from the start OK 2 type ipconfig 3 press Enter menu and select Run type cmd and click on The necessary information is then shown T PY AA a STA ACA oe SOR SLE MIN EG CL AE SOAR ATAN NA A AA AAA Cates Tl DR AE i AA 0 l a a Trara a a Se SH ver a sa Bh Sh SA AE Ml TL They AA EEE A a a a a A Figure 7 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 3 4 Software activation and sensor connection Start the SCS1 graphic interface using a double click on the desktop icon Otherwise select SCS1 from the programm
63. de or selecting Inspection parameters from the Inspection menu The user can save all elaborated images only images that have generated an inspection failure or none at all The images are stored in the sensor memory and are available for the Test mode The following steps indicate how to access the images once saved Ensure that during the Setup phase the image saving option has been selected E AEREE xj Ay an Cec Lights 320240 7 Integrated Y Strobe je Integrated e Strobe 640x480 External Y Strobe External fe Strobe Inspection Sensor parameter i Trigger parameters parameters Exposure time ms 100 01 Delay ms Trager parameters l A Delapimsl ES Gan sa Se ne in length ms a Divide tore Images 0 00 F O il Rij E7 Min length ms 0 00 2 ras oh ES E a 1 n gt Polarity 2 Rising i Fall Live mode C Al images a woe Tiogertosout me ml parameters Output mode m Image storing Output 1 Normal Dutput 2 Normal None i On failure E C Allimages Cancel Run inspection on the sensor disconnected from PC to elaborate images Re connect sensor and upload the inspection from the sensor clicking on the toolbar icon or select Open from the sensor menu Select the desired inspection from the new window and click on OK 65 USE Phone 800 894 0412 Fax 208 368 0415 Web www cti
64. dust for periodical maintenance or when necessary The latest SCS1 software release is available on the website www datasensor com E The Smart Camera Sensor SCS1 does not require particular maintenance with the exception of the cleaning of the protective surfaces of the optics Use a cotton cloth dampened with water for cleaning Do not use under any circumstances e alcohol or solvents e wool cloths or synthetic fabric 8 1 Warranty The Smart Camera Sensor SCS1 has a 36 month guarantee from the manufacturing date DATASENSOR will not be liable for any damages to persons and things caused by the non observance of the correct installation modes and device use CS The warranty will not cover damages caused by incorrect installation incorrect use and accidental causes such as bumps or falls In presence of problems please contact the DATASENSOR SpA Technical Support Technical Support Tel 0039 051 6765611 Fax 0039 051 6759324 E mail service datasensor com 135 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 9 TECHNICAL DATA SCS1 Power supply 24 Vdc 10 Ripple 1 Vpp max with illuminator 2 Vpp max without illuminator Consumption output current and 120 mA at 24 Vdc illuminator excluded short circuit protection External illuminator interface M8 4 pole connector 24 Vdc illuminator power supply st
65. e are effective only after sensor re booting 5 10 2 Net mask The Net mask can be configured by selecting configuration SET The process is similar to the IP address to change the number USE 58 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 99 Instruction Manual SCS1 Series 5 10 3 Display Changes the orientation of the text visualised on the display Direct Inverse Exit returns to previous menu without changing configuration Example Direct Inverse 5 10 4 Start inspection Press SET to enter in Run mode without saving the parameter changes USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 6 SCS1 GRAPHIC INTERFACE The SCS1 graphic interface allows sensor configuration through PC The following figure shows the main window Main menu Image Toolbar BSiDatasensor S5CS1 Configuration Tools save_im lt e s ul 15 x File Sgensor Image Inspection Tools Mode Options Help 4 08 80 0 8 ld y xQ QM x os D Edge locator Advanced Trigger Mode Name Locatore Toolbox _ Teto ES gt x Y Angle 734 18 J 2 4 Parameters Lenath Thickness mI al Ref System Variation type Black to white y w at Direction From start to end Graph yA lt p Dutput
66. e image e Save image saves current image on file in a Bitmap format Inspection Load reference image e Load reference image a previously acquired and saved image can be used as a reference image Inspection parameters ee e Inspection parameters provide access to inspection parameters The parameters available also in Live mode can be accessed and in some cases modified by selecting Inspection parameters refer to paragraph 6 2 1 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual ro hh lhl x Jesolo Lights 320x240 7 Integrated Y Strobe 640x480 External IV Strobe Sensor parameter y Trigger parameters Exposure time ms 100 01 Delay ms ET Gein 20 Divide Min length ms 000 Store Images aed f None Polarity Rising Fall p aH pene Trigger to out time ms i C All images q Output mode Output 1 Normal v Output 2 N ormal cancel _ Tools Trigger Mode Locators d e Trigger mode list of Trigger modes available Controls dl e Locators list of locators oe e Measurements list of measurements utpu l SS e Analysis list of analyses Delete operation e Outputs list of outputs e Cancel operation cancels option selected Mode A SSE a gt O a TENEN o A A ATT AREA ATEO a Options Prefer
67. e menu following the route Start gt Programmes gt Datasensor gt SCS1 The following window appears is EL h an alii x Jae Bo 2x2 43 Important the SCS1 graphic interface can function either connected to the sensor in on line mode or not connected in off line mode 3 4 1 On line mode To connect the sensor set the communication parameters and then click Connect The default parameters are IP Address 172 ef 101 209 Off Line The IP address refers to the IP address associated to the sensor The programme will try to connect itself to the sensor Two situations can occur correctly connected sensor the main programme window is visualised and the operating functions of the on line mode are activated connected sensor and wrong communication parameters the sensor does not respond USE s 12 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 13 Instruction Manual SCS1 Series 3 4 2 3 4 3 Solution of connection problems If the connection between the sensor and PC is not established correctly an error message is visualised on the screen Click OK to continue Before changing the communication parameters please assure that the sensor is powered and the physical connection between the sensor and PC is correct If properly installed the sensor s IP address compatibility with the PC s IP address has to be then checked ref
68. e not status of Edge locator Tool for image Tool that saving manages image saving SSE PEER AO MNES po 7 Ta AN A so me ness T g i UE STE osas morbosa ne acres TES o Fa TEL A E smut A S A A A 2 The Image saving tool can be set associating it the tool used or to the not status logic tool depending if the image has to be saved in the OK or FAIL status AA a 3 The inspection is sent to the device according to the procedure described in page Errore Il segnalibro non e definito 67 USE sy Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 4 When the image saving condition is satisfied the image can be visualised reconnecting the device and clicking on Test Mode from telecamera icon The last image saved by the SCS is thus visualised on the main screen of the graphic interface Risultato Trigger Mode Continua ERRORE Not Edge Locator Operatore Logico OK SavelF NotEdge Locator Salva immagine EE The images show what the device visualises clicking on the Test Mode from telecamera icon In this case the inspected object has been moved and thus the Edge locator fails and the logic operator enters in the OK status The image currently elaborated and visualised is saved clicking on the icon USE sy 68 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail i
69. e of currently acquired image The correction factor is used as a multiplicative factor to calculate the reference threshold for the binarizzation algorithm of the Blob Count Blob Locator Contour Match tools see pages Errore Il segnalibro non e definito Errore ll segnalibro non e definito Errore ll segnalibro non e definito Reference threshold correction factor x threshold value calculated on the current image The tool is represented by a rectangle representing the ROI where the current light value is calculated referred to the image present The light value calculation can be carried out in the following modes refer to Figure 18 e Median value the intermediate value central of the grey ROI tool levels when ordered in an ascending descending order e Average value the value obtained from the mathematic average of the grey ROL tool levels e Minimum value the inferior value of the grey ROL tool levels e Maximum value the highest value of the grey ROL tool levels e Average percentage value the value obtained from the arithmetic average of the grey levels once eliminated the grey levels around the minimum and maximum values per a percentage value set as parameter e Automatic threshold threshold value obtained from the binarizzation algorithm used by the device The Threshold terms defines the light value i e the grey level value calculated with the methods explained in this section 117 USE P
70. each operating status Setup mode 7 5 Image focussing 5 Test insertion Visualises the last image saved showing the tool status Inspection saving Visualises the last image saved showing the tool status 8 Reference image saving ooo __ Table 1 Output configuration 6 Test image saving 6 Serial Output Insertion Test mode from telecamera l 7 Note the SCS1 graphic interface is only a means that enables the user to fully exploit all the more advanced sensor functions Once configured and saved the inspection on the sensor the 24 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net device can function in the stand alone mode and can be disconnected from the PC Moreover the digital outputs can be activated only if the sensor is disconnected from the PC or runs in Monitor mode 25 USE sy Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 1 Opening a new inspection The creation of a new inspection can be selected either from the menu or from the toolbar Toolbar Menu ES Datasensor SCS1 Configuration Tools E Datasensor 5251 Con le Sensor Image Inspection Tools Mode File Sensor Image Inspec es To Ta Mew inspection New inspection Wizard a Open Save Trigger Mode Save dis o gt E Once the New Inspection is selected the system enters automati
71. ect However the Continuous mode is very useful during functioning verification of a recently configured inspection 79 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Parameters X coordinate that identifies the horizontal position of the first Software tigger Advanced locator end Name Trigger Apply Y coordinate that identifies the vertical position of the first ROI locator end g y Ande m nal 4502 Length ROI length A Length Thickness Thickness elaboration area thickness 205 por 15 Angle expressed in degrees calculated according to the tool rotation respect to the X axis Variation type White to black v Direction From stattoend Y Variation type from white to black only negative edges are considered from black to white only positive edges are considered both both edges are considered automatic tool selects automatically which variation to distinguish Direction determines the direction of the elaboration from start to end elaboration starts from the first end and continues towards the arrow from end to start elaboration starts from the arrow and continues towards the first end opposite to the arrow s direction Please refer to Edge locators paragraph for further details
72. ection configuration using the SCS1 graphic interface The SCS1 graphic interface can be used to configure an inspection Then the user has to choose Connect in the window to enter in the system s on line mode Paragraph 3 4 The main window of the SCS1 graphic interface is visualised Figure 9 and the system enters in an IDLE status awaiting instructions Main menu Toolbar Y Datasensor SCS1 Configuration Tools save_image lt g x Sensor Image Inspection Tools Mode Options Help 2008 8x0 AM x a ra Edge locator Advanced Parameters Trigger Mode Name Locatore e ROI Toolbox Q gt x Y Ange 73 18 24 sis SA Length Thickness a e Ei Rel System AssociatedO perato Variation type Black to white S e Direction From start to end y PEE Graph Analysis os t 30 D 25 AAA 20 Dutput 1 15 o Operation J ve B 10 Ls list y 5 Result Trigger Mode Continuous 4 AssociatedOperator Edge locator OK 109 Y 80 Angle 87 DigitalO utput Diagital output OK Status bar ocatore Edge locator l 241 Y 105 Angle 119 E t l SETUP Input SOAS Output 06 CONNECTED OK 1 400 Y 349 Figure 9 The inspection configuration can now begin in one of the following ways 1 Free new inspection creation for advanced users all the available options are active and the user has complete freedom in dev
73. eloping inspections Wizard guided new inspection creation recommended to new users the SCS1 graphic interface suggests some steps to follow and guides the user in the creation of a new inspection 23 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 4 3 1 USE Free new inspection creation The SCS1 graphic interface functioning is characterized by different operating steps Live mode Setup mode Test mode Run mode Monitor mode Each operation carries out specific functions Please refer to chapter 6 for complete details of each function The creation of a new inspection follows a logic order that can be summarised as follows Open a new inspection Target positioning Resolution selection Lighting check Exposure time setting E Image focussing Discarded image selection Output configuration Saving of reference images Live mode 10 Trigger selection 11 Locator insertion 12 Control insertion 13 Analysis tool insertion E Setup mode 14 Test tool insertion 15 Inspection saving 16 Functioning check of tools used b Run mode 17 Inspection time check Monitor mode 18 Visualises the last 10 images elaborated by the a Test Mode the current scritp 19 Visualises the last image saved showing the tool status A Test Mode da telecamera Table 1 summarises the actions to carry out during
74. en a new user to configure an inspection The Wizard supplies a series of guided steps Each step requests the user to select a specific inspection feature Each choice conditions the successive choices The Wizard guided inspection creation can be selected from the toolbar or from the menu Toolbar Menu EM Datasensor SC51 Configuration Tools E Datasensor 5L51 Con File Sensor Image Inspection Tools Mode File Sensor Image Inspec Trigger Mode QD New inspection Wizard Seven steps have to be carried out Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Live regulation of parameters relative to image acquisition and saving of reference image Inspection type selection Trigger selection Locator selection Locator positioning Control positioning Output selection USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Step 1 Live The images acquired by the sensor can be visualised on the image panel Some sensor parameters have to be set before creating the inspection in order to guarantee the best reference image possible The parameters are located on the panel on the right side of the window The user can obtain a description of the operations to carry out by positioning the mouse cursor on the options of the left side of the Wizard panel select the resolution run the autoexposure process
75. ences Update Firmware Download debug log Language USE Live programme enters in the Live mode Setup programme enters in the Setup mode Test programme enters in the Test mode Run programme enters in the Run mode Test mode from telecamera programme enters in the Test mode from telecamera Monitor programme enters in the Monitor mode Preferences provides access to preference menu Update Firmware runs firmware update Debug file download saves the debug file on the PC according to the debug set Language selects graphic interface language 72 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 73 Instruction Manual SCS1 Series Preferences Output folder C Program E atasensorn SES1Ul W2kmages Ed Activate image saving clicking on this option the user can save the images acquired by the device on your PC in the Folder specified in the text box Setting the Run Mode using the graphic interface the device can store up to 10 000 images The successive images saved by e device will overwrite the images previously saved This supplies another analysis tool if anomalies occur during inspection Firmware update The following information is visualised clicking on Firmware Update ES Firmware Download Information Actual Firmware Mew Firmware Description Upload for SES Upload for SS Device Type SL Sa Model Type ede Je
76. er detects brightness variation due to the black object passage on the white background 77 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Positioning The Software trigger is represented graphically by selecting two points on the image the first set pressing the left mouse button and the second releasing the button Once positioned the trigger can be moved and rotated along one of its vertex The movement is carried out using the left mouse button in correspondence to the object s field of view and dragging it to the new position The movement is represented by a dashed line that identifies the new object position The definite drawing is obtained only when the button is released If the dragging begins from one of the arrow s vertex only the position of one vertex is changed and the entire object remains in the same position The movement is represented again by a dashed line that follows the mouse movements During rotation the object length can change The user can use one Software trigger that automatically becomes the first inspection operating step Example Continuous mode Software trigger comparison Supposing to configure an inspection that lasts 100 ms using the Software trigger The time necessary to acquire an image is about 30 ms The Software trigger elaboration time is about 5 ms The remaining 65 ms are dedicated
77. er to paragraph 3 2 2 Off line mode The program is set to function also in the off line mode operating on images previously saved by the sensor and saved on the PC or on any other compatible image bitmap format with 256 grey levels 640x480 or 320x240 resolution The off line mode can be accessed by clicking on Off line instead of Connect after starting the programme The off line mode offers all the options necessary for an inspection configuration naturally with the exception of acquiring new images and checking the correct functioning that are available only in the on line mode USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 4 SENSOR CONFIGURATION The term inspection refers to all the operations the sensor carries out to control object characteristics and control the respect of specific conditions The user has two possibilities to set correctly the sensor for inspection configuration sensor integrated interface SCS1 graphic interface 4 1 General considerations Some general conditions have to be respected when configuring an inspection decide exactly what to detect assure correct and constant lighting minimising ambient light conditioning on working area assure a good contrast between target object and background acquire a good reference image The reference image is used as
78. ersion of a grey tone image to a two level image obtaining an image composed of black and white pixels Blob Acronym for Binary Large Object A Blob e defined as a group of adjacent pixels with brightness higher or lower than a specific threshold Typically blobs are extracted from binary images C mount CS mount Two different lens mounting with the same mounting thread and slots but with different focal lengths 17 526 mm for C mount and 12 5 for CS mount Edge Brightness variation between two adjacent pixels with values exceeding a specific threshold Exposure time The period of time in which the image acquiring device is exposed to light The longer the exposure times the more light enters into the device and consequently the image is brighter Focal length The focal length is the distance between the rear nodal point of the lens the point where the light beams leave the rear of the lens and the image sensor Field of View FOV Visible field focussed by the sensor Greyscale Standard grey tone variations of values from white 255 to black 0 Inspection A set of operation steps carried out by the sensor to control the target objects LED Acronym for Light Emitting Diode Noise Irrelevant data that cause disturbance on the data to measure or inspect Operating distance The operating distance is the distance between the lens back side and the object USE 158 Phone 800 894 0412 Fax 208 368 0415 Web ww
79. es Instruction Manual YY 6 8 7 LM Blob count Description tool used for blob counting inside a specific area The tool is represented graphically by a rectangle that delimits the ROI where the blobs are tracked Setting the number of expected blobs parameter Number of object the OK failure status is therefore obtained Specification Results Operation Name Type Status Result Operation Name Type Status Result Blob Blob count FAIL Number 4 Blob Blob count OK Number 4 Results number of blobs found Status Parameters X Y coordinates of the top left rectangle vertex that delimits the ROI Height rectangle height delimiting the ROI Width rectangle width delimiting the ROI Object type specifies the blob type to track black object white object Binarization threshold value of the threshold used to distinguish light coloured pixels from the dark ones during image passage from greyscale in black and white Pixels with a value superior to the threshold result to be white after binarizzation those with an inferior value black The threshold is calculated automatically when the tools are inserted To fix it manually the user has to click on the icon on the left of the numeric threshold value Al then click on Numeric Value and the A disappears The value of the Threshold can be now changed USE 106 Phone 800 894 0412 Fax 208 368 0415 Web ww
80. eyscale in black and white o Pixels with a value superior to the threshold result to be white 3 after binarizzation those with an inferior value black The threshold is calculated automatically when the tools are inserted AE yo Bh To fix it manually the user has to click on the icon on the left of the numeric threshold value Al then click on Numeric Value and the A disappears The value of the Threshold can be now changed Choosing again B inant gary aaa Binarization Object type Bright object hd Object type Bright object 7 Threshold Threshold Automatic Aegi Regl Rega Regs OT Ia Reg4 ieee eee Manual threshold selection Automatic threshold selection USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Binarization Object type Bright object ad Threshold Numeric Value Automatic Ta A Register threshold association Moreover as already explained in the Regist section the threshold is a parameter and so it can be associated to a sensor register The threshold can be thus recalled and modified using the device integrated interface Difference threshold parameter that takes in account the difference between the template and target object The lower this value the more the two objects have to resemble each other to guarantee a positive resul
81. figuration Tools File Sensor Image Inspection Tools Mode Option Help The menu options are listed below indicates the toolbar options while indicates the toolbox options File New inspection e New inspection creates a new inspection New inspection Wizard e Guided inspection creation creates a new Wizard guided inspection pen e Open opens an existing inspection Save e Save saves a inspection on file memorising images Save As e Save as saves a inspection assigning a different name respect to the one specified Exit e Exit closes the SCS1 graphic interface Sensor Disconnect e Connect Disconnect connects disconnects sensor from PC Open e Open opens an existing inspection Save e Save saves a inspection on sensor memory e Parameters provides access to sensor parameters Parameters l l l l l l e Diagnostics provides access to the sensor diagnostics Diagnostic e Sensor info provides access to default sensor information Sensor info The current inspection inspection that also runs automatically at powering and serial port can be configured by selecting Parameters Here you can also configuring the Debug level required if you want to download on the PC the debug log See the Option menu below for more details fs Sensor parameters E x r HNetwork _ _ er IP Address 172 E io 205 Output Tor time ma Subnet mest 255 255 To To Dutput an time
82. form the RGB value Red Green Blue of the pixel Each colour can be represented theoretically by a specific combination of these three basic colours The pixel part inside the image is identified by the coordinates X Y The system origin is positioned conventionally in the top right angle above the image Origin X axis direction 0 0 lt N X M 3 O 0053 a 12 2 Machine vision Machine vision refers to a machine equipped with a set of visible tools These machines exploiting their sight inspect an object tracking defects and missing parts as well as making measurements reading codes and other similar applications The machine eye is a sensor that according to the user instructions acquires object images and gathers all the information necessary to carry out the elaboration 145 USE s Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 12 3 Binarization Operation that converts a greyscale image into a monochrome one An image formed by black and white pixels is obtained Only the most essential information of the initial image is maintained In most cases pixels belonging to the same object have very similar grey values and after the binarization operation are gathered together in a white or black area Different operations can be thus carried out with only a reduced memory load The setting
83. gainst physical damages Disadvantages more hardware is required and necessary and inspection area is less accessible 14 3 Lighting options 14 3 1 Ring light USE A technique with many application possibilities The illuminator is mounted directly on the sensor and illuminates any object in front of it A ring light provides diffused lighting over a small area Advantages provides correct lighting also for small objects Reduces shadows on images with protrusions Centres the light on the image Disadvantages with large objects the corners of the image may lose brightness creating a halo of black pixels along the external image edge With highly reflective objects the image may contain a circular glare of reflected light Check of dates codes on labels or control of label presence are only some of the possible applications 156 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 14 3 2 Top light This technique generates even light in a concentrated area The illuminator is positioned behind the sensor and if oriented correctly can carry out very precise inspections Advantages the light beam is outside the axis respect to sensor optics allowing the highlight of specific target areas and not others Disadvantages difficulty in lighting evenly the entire object especially in presence of protruding parts that c
84. ge Oper00001 5 349 93 257 30 63 77 fli_Scst R5232 R5485 Serial Port Tester Help 0 pion O OAOK O KA A AXA A KXKXKX 7 Fort Sahu he Capture Dutput log Sawe Log Type Command GETINSPRESULT Baud Rate Results Dutra or i i Chooseit GETINSPRESULT s0 E Oper00001 5 349 93 257 30 63 77 Parity Hone Bit per Data GETINSPRESULT b Stop Bit 1 E le AS485 Emu i touk El Tracing _ break cts ded der fer mng m tx F Logging EEEREN EEN Figure 21 GETINSPRESULT application example GETNEXTINSPRESULT Function requests to SCS1 the results of the next inspection to carry out Answer returns the results of the configured operators to the serial output according to the syntax previously described or Answer ERR amp lt Error Code gt lt Error Code gt INVALIDSTATUS NOSERIALOUTPUT Action none USEc s 128 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Example Hypothesis consider an inspection configured with an Edge locator and the result on a serial output refer to paragraph 6 7 1 and 6 10 1 Transmission of command message GETNEXTINSPRESULT Receipt of answer message Oper00001 5 349 93 257 30 63 77 Mis Scs1 R5232 R5485 Serial Port Tester ae H Options amas E wv Capture Output log Save Log Type Command e i i Baud Rate Results Outpu or
85. ge visualised on the window is saved by pressing Set reference image image The image will be available during the Setup phase Advanced parameters Advanced llluminators an external illuminator can be activated or Lights deactivated The strobe function can also be activated or 7 Integrated Strobe deactivated External 4 Strobe Trigger parameters parameters that refer to the external trigger Trigger parameters and that do not affect the Continuous mode and Software Belay imal zd trigger EE FO Minimum trigger pulse duration short pulses due to Min length ms 0 00 disturbances can appear and can be confused with Polarity Rising Fall trigger signals To avoid unwanted acquisitions the user Trigger to out time ene can set a minimum trigger pulse duration and so shorter pulses will not be considered USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Polarity the trigger signal consists in an input voltage variation This variation can vary from a high to a low level fall or from a low to a high level rise Selecting fall or rise the variation type to consider as trigger is chosen Image saving the elaborated images can be stored in the Boe i l LES SIC sensor memory during inspection and visualised successively in None COn failure Test mode to check tool elaboration
86. ghtness distribution and its derivative USE 60 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual 6 1 Functioning mode SCS1 Series The SCS1 graphic interface functions elaborating acquired images as well as operating on images saved on PC Consequently On line and Off line modes are available On line Sensor and PC are connected Images acquired by the sensor can be visualised elaborated and saved on disk Off line Sensor and PC are disconnected Previously saved images can be loaded and elaborated The functioning mode is selected at programming running through the following window Ets cere atti tuhan jah a Jau but T 3 mn The On line mode is selected by clicking on Connect IP Address 18 Xi The Off line mode is selected by clicking on Off line pie ar rar Jas IP Address Please refer to paragraphs 3 3 3 4 for further details concerning the IP Address and connection problems The user can change mode at any time using the toolbar or menu EM Datasensor SCS1 Configuration Tools File Sensor Image Ir Inspection Tools ja E ag E lla EM Datasensor 5051 Configuration Tools File Sensor Image Inspection Tools Mode io eee Open Save Parameters Diagnostic Sensor inf 61 USE as Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation
87. gth is the distance between the rear nodal point of the lens the point where the light beams leave the rear of the lens and the image sensor If more than one focal length is required for the application the user has to consider the following Cost a lens with a shorter focal length is less expensive Depth of focus the depth of focus focus tolerance is the area in front of and beyond the best focus point in which the image quality remains acceptable A longer focal length provides less depth of focus a shorter focal length provides more depth of focus Distortion a lens with larger focal length provides a less distorted image 13 6 FOV inspection resolution The inspection area has to be measured considering a margin for object movements in order to determine the FOV dimension To check if the FOV is sufficient the user can proceed as follows estimate the necessary resolution use the FOV formula to determine the maximum vertical and horizontal FOV dimensions able to maintain the necessary resolution Max horizontal FOV Max vertical FOV FOV formula necessary resolution x 640 pixel Necessary resolution x 480 pixel Example Inspection area 300 x 350 mm Necessary resolution 1 mm Max horizontal FOV Max vertical FOV 1mm x 640 640 mm 1mm x 480 480 mm The FOV constraint calculated 640x480 is the largest inspection area and so a 350x300 FOV can be accepted If the FOV calculated is inferior t
88. has to be remembered by the user that has set the current inspection To change the value of a register press The current register value is visualised To change the value press or TO save press S or to leave unchanged the value press S once and re press it without modifying anything The sequence has to be repeated to modify each single value register To save the new configuration press E or press E989 to cancel modifications made USE 18 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series To associate a parameter to a register the following 4 simple steps have to be followed using the graphic interface provided 198 1 Click on the grey box on the left of each parameter A window appears Select the register to be associated to the parameter e g register 2 198 e 4 7 The R2 text will appear inside the grey box signalling that the parameter has been associated to register 2 19 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Example An example is provided of how to use parameters in order to better understand their functioning An inspection will be created using the Edge locator tool and some parameters will be associated to different register tools Then the control and change of the register values will be shown usi
89. have the same orientation as the absolute system Graph a graph visualising information relative to the image s brightness distribution is associated to some tools based on edge detection Software trigger Edge locator Edge Internal caliper and External caliper and blob analysis Blob locator Blob count and Contour match The graph can be interpreted differently according to the elaboration techniques see below Position the mouse cursor on the graph to visualise a tooltip window containing the relative information Edge detection graph Figure 21 and 22 represent respectively an Edge locator and the associated graph The graph is divided as follows Red profile pixel s brightness distribution along the elaboration line The tooltip parameter Absolute supplies the brightness numeric value Green profile noise filtered brightness distribution The tooltip parameter Filtered supplies the filtered brightness numeric value Blue profile brightness derivative The tooltip parameter Derivative supplies the numeric value of the brightness derivative Tooltip 400 saison Sy qa Wess ERS Ene gt i 600 oo biii Figure 16 Edge locator graph 83 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Abscissa axis the offset values are indicated along the X axis with respect to the tool first end The value of the Poi
90. hem the caliper returns OK failure status Tolerance parameter that can be used as an alternative to the distance constraints The tool is positioned graphically on the image during Setup and measures the distance between detected edges The tolerance is a percentage value that determines on the calculated distance basis the range of values accepted during inspection Example Position the nternal caliper on the reference image during Setup The tool carries out the elaboration and calculates a distance In our example the distance is 100 pixel and the tolerance is 10 During inspection the range of accepted distance values is Value range Setup distance 10 Setup distance Setup distance 10 Setup distance Value range 100 10 100 10 90 110 Internal caliper Mame Caliper Apply Rol Es Angle 266 aif ma Abszolute Length Thickness 222158 158 Ref System Origin Variation type Black to white Distance Mi Mas C Range i f Toller oller 5 6 8 6 Xx External caliper Description similar to the Internal caliper but with one difference Edge tracking begins from the end and continues towards the caliper centre Positioning refer to Internal caliper Results distance Status Parameters Refer to Internal caliper USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Seri
91. his information is not given in the display of the integrated interface Once save the inspection on the device the register values can be then controlled without using the graphic interface setting the sensor in the Run mode The values can be modified using the integrated device interface in the following manner 1 In Run mode press 2 Using QO and choose the BESS menu 3 Select the menu using 4 The name ofthe first Ea register will appear 5 Using and choose the register amongst the 16 available ER EEN 6 Once chosen the register e g E press to visualise value in this case EE the Y parameter value of the Edge locator tool 7 To modify the value press Using and set the new value Re press to confirm to leave the value unchanged press anything once and re press it without modifying 8 Repeat 5 6 and 7 steps when changing the registers 9 To save each change choose E or to cancel changes choose E909 and so return to main menu Teach in setting The device self acquisition or Teach in is activated by selecting TEAC The following operations are sequential The user proceeds step by step pressing SET Step 1 BAC Background acquisition Press SET to acquire background and pass to next step Step 2 TARG Reference image acquisition Position target object in front of the sensor and press SET to acquire and then pass to next step Step 3
92. hite pixel positive edge The following paragraphs offer two different criteria to track and edge and determine the position 12 7 1 Threshold detection The first point is detected following the intensity profile along a specific direction and the intensity value varies The point detected will track the edge and its position This method is simple and fast but it is very dependent on the lighting used and thus must be avoided in presence of non constant lighting while representing an advantage with back light sources Intensit a g Negative Sa edge V A E A F Positive ae edge Direction USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 12 7 2 Contrast detection The detection is not based on the intensity flow but on its derivative The edge is tracked analysing the brightness difference between two adjacent pixels The edge is associated to the point where the derivative curve assumes a maximum positive edge or a minimum negative edge value The following figures indicate an object and graphs relative to the intensity flow red and its derivative blue Figure 33 1600 4 4400 13200 3000 agg Bad 400 240 9 absolute values indicated on the y axis on the left derivative values on the right The advantage offered by this method is that it is relatively independent from the
93. hone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Advanced parameters Search threshold refers to the highest value maximum peak in case of positive edge or of the minimum value negative edge of the brightness derivative The threshold that determines if a brightness variation can be considered as an edge or not is calculated in percentage of this value Variations inferior to this threshold are not considered edges Accepted values 0 100 Default value 60 Absolute threshold refers to the brightness derivative The threshold sets a criteria to filter small noise variations during the edge s search It is expressed in grey levels and establishes the minimum variation value Accepted values 0 255 Default value 5 Barycentre threshold the reference barycentre is referred to the area under the curve individuated by the peak value of the brightness derivative profile The barycentre position determines the edge position The threshold is expressed in percentage of the peak value and determines the area considered to calculate the barycentre According to the threshold value a line parallel to the abscissa axis is drawn The area considered for the barycentre calculation is included between the line and the curve eas Peak value Derivative intensity Barycentre Derivative profile Threshold Barycentre position gt Edge p
94. hone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Parameters Exposimeter X abscissa on the top left side of the ROI Y ordinate on the top left side of the ROI Name Opergo001 MOI Width ROI width y Width J 245 H 193 4 Height ROI height Ni mi ae Y Height Reference system absolute origin or relative other 38 E WA tool reference system Ref System Origin al Method calculation mode of the reference threshold Exposure parameter Mode Median T Min Max Threshold wa 244 Percentile i a Positioning Click on the left mouse button to position the top left peak of the tool ROI drag to mouse to set tool dimension release left button to end operation ASEO A A SS ES ee Pe 7 1 1 I I Threshold range filter to set the control on the acquired image threshold value Percentage percentage usedin the average percentage mode of the threshold value i minimum 144 maximum 232 average 194 median 195 automatic threshold 193 f rey levels t 0 255 5 average min 5 max 95 194 Figure 18 Calculation mode of the ROI light value This tool is a valid support in applications characterised by environmental conditions with a high light variation on the controlled area These situations tools using binarizzation algorithms are not very effective a
95. ies 5 4 Sensor configuration menu Pressing the SET push button for 1 second the user enters the sensor configuration menu The menu is divided in two levels each presenting different options that configure the system parameters The user can scroll down the other options using the and push buttons The submenus are visualised pressing the SET push button Sensor Configuration Menu M A I N M E N Ip Add i y Illuminator regd Ip Address Direct Sun e regl Net Mask Reverse reg2 S E Focus reg3 Save Esc Resolution j Esc Trigger Mode Output Save ei Esc Esc S U B M E N U 47 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 5 5 Main menu The first menu level represents the main menu which is divided in seven categories each accessing specific sensor parameters e Setup display visualises the SETP text menu that visualises sensor functioning and inspection running parameters e Registers display visualises the REG text menu that visualises and modifies the sensor s register values representing a specific inspection parameter e Teach in display visualises the TEAC text self setting process that allows the sensor to acquire the necessary information relative to the target object e Save display visualises the SAVE text allows the user
96. in the Register menu but has to be remembered by the operator during inspection USE 54 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 99 Instruction Manual SCS1 Series To modify the value of a register press In this manner the current register value is visualised To change it press WW or To save press again or to leave the value unchanged repress without making changes To save each modification in the register value SAJE otherwise to discard changes press The sequence is repeated for each value register to be modified Q O to modify the value USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 9 8 USE Teach in Self setting process that allows the sensor to acquire the information relative to the target object and Its background The Teach in process follows the phases listed below Step 1 BAC Background acquisition Press SET to acquire background and to pass to next phase Step 2 TARG Acquisition of the object to detect Position the sample in front of the sensor and press SET to acquire it and pass to next phase Step 3 SUCC P FAIL According to the acquisition result the SUCC or FAIL text is visualised In case of failure press SET and return to main menu In case of success press SET to pass to next phase
97. ines and ten columns USE 69 75 78 85 98 120 128 135 133 135 66 69 76 81 88 102 118 129 134 136 68 74 81 87 101 119 128 136 134 135 The sum of each column value is 203 218 235 253 287 341 374 400 401 406 148 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 149 Dividing per three these values and placing them on one single line we will obtain the projection of the area 68 73 78 84 96 114 125 133 133 135 The projection consists practically in obtaining an average of the brightness values of an area and listing them on a line More image information is thus obtained respect to considering only the pixels and a more accurate analysis can be made The area is represented as an arrow and so determining the projection direction of a specific length corresponding to the number of columns associated to a specific width number of lines When all values are listed along the line the average intensity flow profile is obtained and the edges can be tracked What is an Edge a variation of the brightness between adjacent pixels that presents higher values respect to a specific threshold Two different edge types can be found one due to the transition from a white to a black pixels negative edge and one due to the transition from a black to a w
98. info ctiautomation net Instruction Manual SCS1 Series Operating distance in inches FOV in inches 75 mm po jen 02x02 000 ooo ooo 000 000 273 3 33 0 3x0 2 ooo 000 ooo 000 107 347 467 p4xo3 ooo 000 000 000 140 413 533 05x04 ooo 000 000 18 178 487 6 00 oxo8s ooo ooo 167 220 347 833 11 33 5x114 ooo 167 258 338 520 1180 17 33 0x15 ooo 220 333 447 698 1533 22 67 0 00 0 00 OO 5x19 420 553 867 18 67 26 67 0x23 5x2 6 3 87 5 87 7 80 12 13 26 00 36 0 0x3 0 41 3 5x34 46 6 0x3 8 51 3 5x4 56 6 QIN 0x4 5 62 0 5x49 67 3 0x53 7 80 11 67 15 33 24 00 50 00 72 0 5x5 6 77 3 0x 6 0 8 87 1333 18 00 28 00 56 67 82 6 5x6 80 6 0x68 92 6 5x71 98 0 OJN 0 0x7 5 103 3 0 5x7 9 11 67 17 33 23 33 36 67 74 00 108 0 1 0x8 3 113 3 1 5x 8 6 12801 19 33 25 33 40 00 81 33 118 6 2 0 x 9 0 124 0 2 5x 9 4 128 6 3 0x 9 8 134 0 3 5 x 10 1 139 3 4 0 x 10 5 144 0 4 5 x 10 9 149 3 5 0x 11 3 16 67 25 33 33 33 52 00 105 33 154 6 5 5 x 11 6 160 0 6 0 x 12 0 18 00 26 67 35 33 55 33 112 671 164 6 6 5 x 12 4 170 0 7 0 x 12 8 175 3 7 5 x 13 1 180 6 8 0 x 13 5 185 3 8 5 x 13 9 21 33 30 67 41 33 64 00 130 00 190 6 9 0 x 14 3 196 0 9 5x 14 6 22 00 32 67 43 33 68 00 136 67 201 3 0 0 x 15 0 69 33 140 00 206 0 Table 4 Focal length FOV Operating distance in inches m 155 US Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net
99. intercepts the top side of the blister Thus the border that characterise the background does not enclose completely the blister and pills also white are not internal perimeters anymore In this way pills can be tracked as blobs Area all the characteristics of the same coloured pixel groups have to be considered to form a blob The internal parts are also tracked This method provides major precision respect to the previous perimeter method but requires longer elaboration times Example USE 92 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net The images are referred to the same situation analysed using the perimeter method The blobs are well tracked in all four images The method has to be selected according to inspection timing as well as the results to reach 93 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net peta 6 7 4 B Pattern match locator Description Pattern matching compares the similarity between a template and a target object to inspect This locator tracks the target object inside a given area and sets its position The locator is graphically represented by two rectangles one inside the other that respectively form the research area ROI external one marked in blue and the template internal one marked in orange The target object characteristics are saved during Setup with the following crite
100. istinguish one point and supply the coordinates to use in the successive phases as references The locator s result is also highlighted graphically on the window with a cross presenting two long and two short sides which represents a possible relative reference system for the successive operators The locators supply two parameters of the relative reference system the origin point found by the tool and the angle respect to the absolute reference system 6 7 1 R Edge locator What is an Edge A brightness variation between adjacent pixels with a value higher than a given threshold Description the Edge locator distinguishes a transition point from bright areas to dark areas negative edge and from dark areas to bright areas positive edge of the image to inspect The edge point is practically the boundary between two areas characterised by different brightness e g white objects on black background Once located the edge position it can be used as a reference for other locators or measurement tools Positioning refers to Software trigger The Edge locator differently from the Software trigger is represented by a continuous line Once specified the edge type to be located positive or negative the tool elaborates the ROI individuated from the line and stops at the first edge that respects the assigned specifications Edge position Edge locator AE z LE Ej Fle Serer aag ponhen Took Made Opeon Hap S83 eH Bele Sa gt mw x
101. isualise the relative technical data including the area In the example provided the selected blob refers to a tablet with a 5808 pixel area TA AE Select the advanced options and click on Area then set the minimum and maximum constraints of the blob area In the example 4000 and 6000 pixels are set Se o EES SS ae NS Ssa Lee remain green and the background and noise blobs are marked in red they are still recognised as blobs but they are discarded as they do not respect specifications The counting result is thus 12 Automatic configuration A double click on a blob area allows the user to set xi automatically the constraints according to the selected blob area 2 Set area filter based on selected object The constraints are activated by clicking on Yes 10 of selected area The blobs generated by Sj No the background and noise are marked in red they pce are still recognised as blobs but they are discarded as they do not respect specifications The counting result is thus 12 During this process the operating status is a Failure as the operating status OK failure omitting Error for the moment is determined comparing the counting result 12 and the Count parameter value 1 by default Count is the parameter that indicates how many blobs of a specific type are expected to be found The user just has to set Count 12 and click on Apply and the operati
102. itstream the updating procedure will be warned with a notice similar to the one previously described sestur O OO a xi Parar Descr Devic AN Do vou really want to update the FPGA with an older version Model 5 Firmware Version d1 fetancdarc MAPPER FPGA Version 16 0 0 standard 3 3 3 nuowoipga Note Beginning from this new Graphic Interface version the package extension of the firmware updated will no longer have the fw ending but the dfu extension Mome Dimensione Tipo Data ultin 5231 digio dfu 552 KB File DFU 06 12 20 E 5051 485 dFu 852 KE File DFU 06 12 20 E 551 232 dfu 577KB File DFU 15 12 20 H Tipo file Firmware 5551 df tel Annulla i Help Help Guide opens programme s help on line About Information contextual information 6 3 2 Toolbar USE 74 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series The toolbar contains icons for quick access to all the most frequently used functions The toolbar must not be confused with the toolbox The former provides access to the system s general functions while the latter is used to select the image elaboration tools Monitor mode Save image New Inspection Open inspection Setup mode 9 Open inspection from sensor Connect from PC disconnect Run mode ld Ea SkA gt QM x om Save inspection Live mode New
103. licking on the sensor parameter Autoexpose push button The user can control the period in Ss which the image acquiring device CMOS is exposed to light Exposure time ms 1 The longer the exposure times the more light enters into the Gan 20 device and consequently the image is brighter If the result obtained is not satisfying the regulation can be made manually changing the Exposure parameter Autoexp The results obtained by increasing the exposure time are obtained also by increasing the sensor s gain value The user must be careful as gain increase generates electric noise increase in the amplifying circuit and the image quality is reduced Correct exposure time High exposure time 6 Image focusing Correct focusing is indicated by numeric value To maximise focus turn the sensor lens ring trying to increase the focus value or level indicator Modalita di acquisizione f Continua Trigger 7 Acquisition mode Configures the reference image using the trigger hardware if set in the trigger mode For example if a dynamic scene is controlled a particular phase is difficult to obtain by pressing the saving the reference image icon The acquisition of the reference image in the trigger mode and using a trigger hardware has to be set and then save the singular phases of the inspected scene until reaching the necessary configuration In this case pressing saving the refere
104. lob abbreviation for Binary Large Object A Blob is a group of adjacent pixels each with a brightness higher than a specific threshold Blobs are typically extracted from binary images Areas with black or white pixels of an image are gathered in connected regions defined blobs A blob is recognised examining the image line by line and not each single pixel At each interval characterised by the same pixel type white or black the initial and final coordinates of each line are saved These objects are formed examining contiguous lines and gathering intervals with the same pixel type This approach speeds up the operations respect to the algorithm based on each pixel The objects examined can have any shape and complexity and can also contain different holes which are counted as objects Different parameters are available to improve performances Filters that an object has to respect in order to be considered a blob can be introduced For example a threshold can be set concerning the minimum number of pixels an object has to contain and so excluding small pixels groups due to noise Objects touching the border of the inspected area can be suppressed Moreover a maximum pixel number belonging to a blob can be set to filter the background Target object parameters can be calculated when the necessary information has been gathered area pixel number perimeter X transitions Y transitions diagonal transitions x JI bounding box Figure 30
105. lowed in most cases The only really fundamental tool is the Test tool The Test result in fact guides the device outputs 29 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 11 Trigger selection Trigger available Continuous trigger Hardware trigger Software trigger The following example uses the Software trigger to start image elaboration The Software trigger is represented by a dashed line and the insertion is made graphically on the reference image The functioning can be compared to a photocell functioning The elaboration runs when a light variation appears along the line due to the passage from white zones to black zones and vice versa Typically this condition occurs when the target object passes through object must have a sufficient contrast with the background Select the tool clicking on the toolbox icon Figure 11 or from the menu Operators gt Snap mode gt Software Position the trigger graphically on the image by moving the cursor with the mouse Set the ends of the dashed line by pressing first end and then releasing the left button of the mouse second end Select the variation type that has to be tracked from white to black in the example provided To begin inspection the Software trigger has to find an edge on the dashed line What is an Edge a variation of the brightness between adjacent pixels that
106. manner the Blob count position is relative to the edge position identified by the Edge locator If the blister USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual moves up or down the edge position changes and the Blob count rectangle is consequently modified T rat aa aa SCS Candia pur el bor MP all xj Fle Sam i impera Tona Macks tinig ae LOKA Exa Figure 13 Blob count Advanced Name Blob Count Apply ix K oo y Width ae 182 566 Y Height _ 170 421 Ref System Edge Locator y Binarization i Object type Bright object al 70 J Threshold 128 Auto Count Number of object J Figure 14 The Blob count tracks white blobs and in our example finds 18 12 are tablets the remaining are blobs generated by background also white coloured and noise The blobs found are coloured green To overcome this situation the user can limit the blob size By doing this unwanted blobs are discarded and the tablets usually of the same size are counted USEc 32 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 33 The constraints are activated by clicking on Apply The tablet blobs Instruction Manual SCS1 Series Limit setting can be made in two different modes Manual configuration Right click on one of the blobs to v
107. matically appears on the display representing the number of objects to find during inspection During Teach in when target object acquisition is requested the user must position in the sensor inspection area a number of objects equal to the saved number Example 3 is set as the number of objects to count The inspection parameters are configured and user enters in Teach in The background is acquired and then the target object Supposing that the object to count is a tap and 3 are the taps that expect to find then 3 have to be the taps to position in the inspection area during the target object acquisition phase The number can be changed by pressing on the and push buttons Press SET to confirm USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Pattern count Algorithm that counts parts according to Pattern matching comparing the similarity between the template and target object Algorithm is selected by pressing SET when display visualise AA A number automatically appears on the display representing the number of objects to find during inspection Differently from Blob count during Teach in only one object has to be placed in the sensor inspection area when target object is acquired independently from the number of objects to be counted Reached the acceptance threshold regulation phase the user must position in
108. meric result as well as a status result The latter indicates the success OK or failure Failure Error of the inspection Each tool carries out specific operations and the user can configure the relative specifications e g distance measurement area surface If the specifications are not respected the tool status generates Failure If the measurement is not carried out the tool status generates an Error The Error status can have different causes Position the cursor using the mouse on the Error text Figure 20 to visualise the code factor that has generated the error Important in the new graphic interface version the Apply icon is no longer available and the changes are made automatically when the parameters are modified or pressing Enter 81 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Operation Name Type Status Result 5 oftware tigger Blob Blob count ERROR mo 222 fF SS Trig Jer eror gnn D Figure 20 Some possible error causes are listed below Software trigger error the Software trigger is not able to find the elaboration running condition and consequently all successive tools are blocked Reference error the tool reference system indicates another tool which has generated an error Operating error the tool is unable to carry out the operation Operator generated error some tools e g Test
109. meter arrow The line identified by the Edge locator divides the window in two parts One on the left side of the observer and the other on the right side The angle between the line parallel to the X axis passing through the observer s position central edge and the segment part obtained interpolating the edges on the left side has to be calculated in order to reach the inclinometer result Right side screen Observer 4 P Line parallel to X axis An Angle measured by lt the inclinometer Inclinometer direction A o A a i Central edge war ers ee AT Left side screen Figura 26 The figure 26 represents Inclinometer locator blue Object to track black line line parallel to the X axis passing through central edge red observer red angle tracked red The red elements are useful to understand the inspection but are not visualised during the application In this example the window part on the left side of the observer is the bottom one The measured angle is 45 To complete the example figure 27 represents the same object and the nclinometer is rotated by 180 The part of the window that was on the left side of the observer is now on his right side and vice versa Starting form the line parallel to the X axis the locator has to arrive to the segment part on the top part of the window before ending the angle measurement The measured angle is 225 note 45 180 2
110. mode the letter A has to appear in the box USE sy 90 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Binarizatian Binarization Object type Bright object Object type Bright object Threshold Threshold E eee ME Selezione soglia manuale Selezione soglia automatica Blnarization Object type Bright object i Threshold Numeric ale Automatic ess Associazione soglia registro Moreover as already explained in the Regist section the threshold is a parameter and so it can be associated to a sensor register The threshold can be thus recalled and modified using the device integrated interface Advanced parameters Minimum and maximum areas refers to the minimum maximum number of pixels that can form a blob Smaller and larger objects area discarded The minimum value is used for example to filter noise and other non relevant object characteristics while the maximum value can be used to filter the background Note a double click on the left mouse button on one of the coloured areas highlighting a blob sets automatically the minimum and maximum areas The minimum area will be equal to the selected blob area minus 10 The maximum area will be equal to the selected blob area plus 10 Blob formation selects the method used to form blobs Two options are po
111. n Filter short pulses due to disturbances can appear and can be confused with trigger signals To avoid unwanted acquisitions the user can set a minimum trigger pulse duration and so shorter pulses will not be considered A number representing the minimum trigger pulse duration will appear by selecting FILT in ms The minimum trigger duration can be varied using the and push buttons The user returns to the previous menu by pressing SET Polarity the trigger signal consists in an input voltage variation This variation can vary from a high to a low level fall or from a low to a high level rise USE 52 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Another submenu is visualised by selecting POL_ e Direct polarity DIR_ trigger on rise front e Inverse polarity REV_ trigger on fall front e Exit returns to previous menu without changing configuration 5 6 6 Mode The algorithm to be used during inspection is selected as follows e Blob count e Pattern count Contour match e Exit returns to previous menu without changing configuration Blob count Algorithm that counts objects according to the Blob analysis able to distinguish black objects on white backgrounds or vice versa 93 Algorithm is selected by pressing SET when display visualiso AAA A number auto
112. n Manual SCS1 Series What is a Blob A group of adjacent same coloured pixels white or black Description the Blob locator tracks inside a specific area the largest blob Blob locators basically carry out two functions an initial binarization and a successive blob identification Binarization allows the user to pass from a grey tone image to a black and white image Same coloured pixel groups are gathered together and form blobs The locator is represented graphically by a rectangle that forms the ROI Region of Interest where the blobs are tracked Blobs consist in white or black pixels After the selection of the blob type to isolate the locator tracks inside the ROI the larger blobs Initial image Largest blob Discarded blobs The figure indicates how the locator starting from the top image locates blobs with dark pixels selected previously The largest blob is highlighted in green while smaller blobs in red are discarded Established the binarization threshold and pixel type to consider white or black the image part that does not respect the criteria remains visualised with no variations 89 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Note the main characteristics of the selected blob are visualised by clicking on the right mouse button on the coloured area identifying a blob Area Perimeter Circularity Graylevel
113. n inspection refer to section 6 10 1 The syntax of the GETINSPRESULT and GETNEXTINSPRESULT response command messages is the following lt response gt lt result gt lt result gt lt epilogue gt lt result gt lt prologue gt lt OperatorName gt lt comma gt lt OperatorResult gt lt OperatorParameter gt lt semicolon gt Wen e lt prologue gt Ox3A in hexadecimal lt OperatorName gt NULL terminated string lt comma gt Ox2C in hexadecimal AA rr l lt OperatorResult gt 0 1 lt OperatorParameter gt lt OperatorParameter gt lt OperatorParameter gt lt OperatorParameter gt lt digit gt lt digit gt lt dot gt lt digit gt lt digit gt lt Ongits 22 OY AH Ze i Soe if Vee So er ee SEGRE Vor lt digit gt 0x2E in hexadecimal lt semicolon gt 0x3B in hexadecimal lt epilogue gt lt line feed gt lt NULL gt lt line feed gt Ox0A in hexadecimal lt NULL gt 10 0x00 in hexadecimal Figure 26 Grammar of the GETINSPRESULT GETNEXTINSPRESULT response command messages Note A time out period is available Consequently if the terminating message character is not read by the Slave within 5 seconds from the reading of the beginning message character the partially received command is aborted and the Slave is put in stand by for other Master requests Moreover a sta
114. nce image and providing another trigger pulse a particular image can be saved as our template 8 Image saving The elaborated images can be stored in the sensor memory image stoning during inspection and visualised successively in Test mode to None check tool elaboration functioning Different saving modes can waa be selected saving all elaborated images only those which have generated an inspection failure or none Up to 10 images can be saved Surpassed this limit the new images are saved over the existing ones following a FIFO logic the oldest image is replaced by the latest image On failure 27 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series 9 Output configuration Two digital outputs are available to gather inspection information The outputs can be configured as follows Normal functioning the output switches according to the inspection results OK Failure if the tools have been configured correctly Toggle mode the output switches each time the inspection cycle is completed Live mode panel parameters Integrated Instruction Manual Output mode Output 1 Normal y Output 2 Toggle 7 nerea ana tat external e M Se illuminator lluminatori Resolution N C GEINA G Ea activation AA Iv Integrate Iv Strobe E OA ceda Strobe xposure __y SON ee Enano vee activation time
115. ndard response message is available to signal a command which correctly formatted according to the syntax previously described but unidentified by the serial protocol In this case the following message is obtained as the command response ERR amp BADPARAM Example of command which is syntactically correct but unidentified CHKBAUDRATE 133 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 7 6 Digital input communication protocol The models presenting this function allow the selection of the inspection to be carried out by correctly setting the electric levels of the pin 1 and 6 of the 8 pole connector These models do not have a serial interface The correspondence between the input status and the inspection carried out is summarised in the following table Input 1 pin 1 Input 2 pin 2 Selected USE 134 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 8 PERIODICAL CHECKS AND MAINTENANCE For correct system maintenance the hardware must be kept free from dust and the SCS1 software must be updated when new releases are issued Remove dust or dirt accumulated on the sensor using a soft cloth dampened with a neutral detergent solution if necessary E Avoid dirt on the imager area behind lenses Use anti static compressed air to remove
116. ndly vision sensor equipped with advanced inspection capability that assures very precise quality controls on industrial manufacturing and automatic materials handling lines Quality control is based on vision techniques that consist in acquiring a reference image of the target object and configure the sensor in order to compare the template with the target object images SCS1 can be configured either using the sensor integrated user interface based on display and push buttons or using the SCS1 graphic interface with PC connection The SCS1 sensor has been developed to function in a stand alone mode Even with PC configuration the digital outputs are activated only when the inspection is performed by the sensor SCS1 mounting and positioning are easy and immediate thanks to a fixing bracket set that guarantees precise regulation Interchangeable optics are supplied as accessories together with integrated and external illuminators that make SCS1 extremely flexible and suitable to many different applications The sensor integrated interface guarantees quick and easy setting of the main basic sensor functions The PC interface allows the user to fully exploit all the more advanced functions of the SCS1 sensor 1 2 Available models Six SCS1 models are available with the following characteristics SCS1 with integrated illuminator with RS232 serial protocol with RS485 serial protocol Without serial protocol with two supplementary
117. net SCS1 Series Instruction Manual 6 2 System operating status The system offers five different operating status each carrying out specific operations aimed at inspection configuration and optimisation Each operating status is associated to an icon on the toolbar System operating status 1 Live mode i 2 Setup mode 3 Test mode 4 Run mode p 5 Test mode from telecamera A 6 Monitor mode m 6 2 1 5 Live mode During Live mode the images acquired by the sensor are visualised on the image panel in real time In this operating mode the user can modify all the image parameters in order to optimise quality al xl live Ateos Duma Frerchon des SE 7 ey tur mk ay Y Live mode options Outputs A AA Illuminators Output1 mode Image saving IAS Focuslevel S O Reference image SSS lo y O USE 62 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 63 Instruction Manual SCS1 Series Live mode parameters Resolution VGA 640x480 pixels and VGA 320x240 pixels Live resolutions are available i Resolution C 320x240 7 640x490 Exposure time the duration of light exposure during the image Sensor parameter acquisition phase The exposure time can be set both manually modifying the number corresponding to the duration in ms and Epse tene i LON eg clicking on Apply or automatically clicking on
118. net e mail info ctiautomation net Instruction Manual SCS1 Series 7 5 Serial communication protocols RS232 RS485 The serial communication protocol is based on a Master Slave structure and the information exchange is carried out in a query response mode RS485 serial communication protocol The RS485 serial protocol is a half duplex At powering the SCS1 Slave awaits the Master s commands PC PLC The Master sends to the Slave a command according to a syntax described in Figure 24 refer to paragraphs 7 5 4 and 7 5 5 for a detailed description of these messages The Slave SCS1 interprets the command received carries out the action requested and sends a success response to the Master always according to the syntax described in Figure 25 and Figure 26 If the Slave is unable to interpret the command received or if the request needs an action that cannot be activated the Slave will reply with a failure notice as described in Figure 25 and in Figure 26 In particular the inspection results have to be explicitly requested to the SCS1 through the GETINSPRESULT and GETNEXTINSPRESULT command messages RS232 serial communication protocol The RS232 serial protocol is a e full duplex At powering the SCS1 Slave sends to the Master PC PLC the inspection results selected through the graphic interface refer to paragraph 6 10 1 on the serial output Differently from the RS485 serial protocol the inspection result do not have to
119. nfo ctiautomation net Instruction Manual SCS1 Series 6 2 6 wl Monitor mode H B th a OQ The Monitor mode is used to evaluate the current inspection performance The sensor elaborates the acquired images and transmits the results obtained to the PC The images acquired are not visualised on the window but the results are given in a text format During sensor functioning tool information such as status results and execution time is visualised EB datasensor SC51 Tools zlej xj Fle Sensor Image Inspection 70 Mode Option Help ON ea Bah SX Q gt mM Fesi 1 Bieb blobCourt OR Execution Time 11 06 nis Number T Edge edpeMeazure OF Execution Time 2 31 mi 172 Y 193 Angolo 0 Tngget Mode Calibro JextemalCalibre i OF Execution Time 1 70 ms Dietanza 64 fe Pass ftes DE Execution Time 0 00 ma Locators E Y E Corthals O gt A a NA Analyt ae Output The user has to save an inspection on the sensor before passing to the Monitor mode and so activate the elaboration NOTE if you set up the hardware trigger you must give trigger impulses in order to process images 69 USE as Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 6 3 Menu and toolbar 6 3 1 Main menu The main menu is divided in eight categories each accessing specific sensor parameters E Datasensor 5051 Con
120. ng status becomes OK 14 Analysis tool insertion Analysis tools are able to elaborate the results of all the other tools used in the previous operating phases In our example no Analysis tools are necessary USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 15 Inspection saving Once inserted all the necessary tools the inspection can be saved either on the PC or on the sensor PC saving To save the inspection on PC the user has to simply click on the toolbar icon or select Save from the File menu and assign a name when requested Toolbar Menu E Datasensor SCS1 Con File Sensor Image Inspec New inspection New inspection Wizard Open Trigger Mode CEEI Save 45 Exit USE 34 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Sensor saving The sensor has four memory slots that can store four different inspections To save the inspection on the sensor the user has to simply click on the toolbar icon or select Save from the Sensor menu The program will request PC saving if not previously done This procedure is recommended but not compulsory Toolbar Menu E Datasensor SCS1 Configuration Tools EM Datasensor SCS1 Configuration Tools File Sensor Image Inspection Tools Mode File Sensor Image Inspec
121. ng the SCS1 integrated interface numeric button Barycentre in register Y in register 1 Search threshold in register 5 X in register 0 Anale in register 2 Edge locator Advan Thresholds Search bu ai Bar 40 E so Absolute 15 ki Limits Stark Stop Measurem f _ ent range gt y em Thickness in register 4 Length in register 3 Absolute threshold in register 7 Parameter not associated tn anv reaister The above images show the configuration of an inspection containing an Edge locator and how the parameters are associated to the different SCS registers In particular the following associations have been made e The ordinate value of the intersection point of the position vector with the edge to register 0 The value of the intersection point of the position vector with the edge to register 1 The angle value formed by the direction vector of the shape tool with the horizontal axis to register 2 The ength value of the tool vector to register 3 The thickness value to register 4 The search threshold value to register 5 The barycentre value to register 6 The absolute threshold value to register 7 USE sy 20 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 21 Instruction Manual SCS1 Series Note the user configuring the inspection has to remember the association between the particular register and the relative parameter as t
122. ns using and Press SET to select the option Select ESMS to choose the Trigger mode The possible modes are given below e Ema continuous e eae external e E from trigger mode selection submenu 17 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Scroll down the options using and Press SET to select option Select dE to choose inspection method The possibilities are given below bio Blob count prag Pattern count i i i eee Contour match WA Scroll down the options using and Press SET to select option Selecting Blob count and Pattern count a number appears on the display that can be changed using and The number corresponds to the number of objects expected to be found during inspection Press SET to return to previous menu Select E to save present configuration or E309 to exit without saving 4 2 4 Registers The Register menu consents the configuration through the PC interface of the value associated to the 24 registers representing the parameter tool values set for the current inspection These values can be modified in the Register menu refer to specific section at page 54 The numeric value can be modified choosing the specific register The lt register gt lt parameter type gt association e g reg1 blob count threshold is not expressed in the register menu but
123. nt parameter refers to this offset Example in figure 17 the Point is equal to 69 This means that the cursor referred to the Edge locator is positioned 69 pixels away from the first end All the other tooltip parameters refer to a value relative to this point Ordinate axis has a double scale The values indicated on the left side refer to the intensity distribution and filtered intensity Each value is associated to a grey tone The value accepted range between 0 black and 255 white The values indicated on the right refer to the intensity derivative Blob analysis graph Figure 23 and 24 represent respectively a Blob count and the associated graph The graph is divided are follows Abscissa axis indicates the entire greyscale 0 255 The tooltip parameter Brightness refers to the grey tone of the mouse cursor s position Ordinate axis indicates the number of pixels with a certain grey tone This number is visualised in the tooltip pixel parameters Tooltip Grey tone Pixels Brightness 74 Pixels O Tr en a enseaheawahaaad q m noad Brightness 83 Pixels 0 p Figure 24 USE 84 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual 6 7 Locators SCS1 Series Locators determine the position of objects inside the sensor s field of view FOV Generally locators d
124. o the angle constraints The tool is positioned graphically on the image during Setup and an angle is calculated The tolerance is a percentage that determines the range values accepted during inspection Comparatore Description compares the results of the other tools e g Caliper or the numeric values through a major minor or equal comparison control Positioning none the user just has to assign the name of the two reference tools Parameters Operator first reference tool value Operator2 second reference tool value Function Comparison of operator respect to operator2 Scalar compare Name CaliperComparator Operators Operator 1 SecondCaliper 7 Operatorl Function Operator2 Function A gt B Caliper1 lt Caliper2 Reference operator 1 Reference operator 2 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Example the comparator can be used as follows gels Bue gt Ss sua ee J OOO NE miera y TS PE A A T T mm i TEE s ae eel te ea th gt EE sh pe a qar ppe a E ae Nc a is SMS Leta Nk Nera SS UO EA Ta eee SS Nabe A SR SLSR AS 2d A E SA iver iio pts na caesar gt FAC To set the numeric value of a tool the user has to click on the grey box on the left side of the parameter tools and choose Numeric Value The value
125. o the desired inspected area the user can proceed as follows use more telecameras inspect a smaller area reduce resolution requirements 153 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 13 7 Operating distance table Operating distance in millimetres FOV in mm 75 mm height x lene width s4 J Q AA AY dg df g v sxs YY dg _Q df Qg w 153 0 0 0 92 15x11 0 78 121 278 397 sy 19 313 427 33 0x53 155 243 521 721 0x60 45 133 17e 278 590 825 00x75 10x83 20x90 123 30x98 134 40x105 155 233 311 486 1007 144 50x113 154 60x120 89 178 267 355 555 1146 164 70x128 175 80x135 185 90x143 tos 214 317 422 60 1354 195 00x150 206 25x169 231 50x188 139 2783 417 555 868 1771 257 75x206 153 305 459 611 955 1945 283 00x225 25x244 181 50x263 15x281 309 542 722 11290 2292 335 1219 2465 360 1302 2639 386 00x300 1389 2813 412 25x319 1476 2986 438 50x338 250 500 750 1000 1563 3160 463 75x356 1649 3333 489 00x375 278 555 833 1111 1736 3507 515 25x394 1823 3681 541 50x413 1910 3854 567 75x431 1997 4028 592 00x450 2083 4201 618 25x469 1042 1389 2170 4375 644 50x488 361 722 1083 1445 2257 4549 670 Table 3 Focal length FOV Operating distance in millimetres USE 154 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail
126. of the most appropriate threshold is fundamental The figure given above shows the same object on two different backgrounds In the first image the image background contrast is very evident whereas in the second image the distinction is less evident Let s consider an histogram with an abscissa indicating the 256 possible grey tones 0 corresponds to black 255 to white and an ordinate with the corresponding pixel number of each value In the first case two distinct distributions will be generated as far as the object and the background pixels are concerned whereas in the second case the pixel distributions will be overlap partially The best solution is to carefully set the threshold between the peak values of both distributions 12 4 Inspection timing To determine the elaboration time necessary for an inspection three factors have to be considered These factors correspond to the three inspection phases exposure acquisition and inspection time The exposure time indicates the period of time the device remains exposed to light during image acquisition Longer the exposure time the more light enters into the device Exposure time is determined by three factors Overall speed of the parts to inspect in presence of high speed a low exposure time is recommended to avoid obtaining a blurred image Overall inspection rhythm a high inspection rhythm requires necessarily a low exposure time Available light optimum lighting req
127. ommand gt used doesn t exist in the grammar 7 5 7 Command message format TREE The message format foresees a command beginning character prologue ASCII character Ox3A and a command end character epilogue ASCII character 0x2D A generic command presents the following form Message example Command Where Command represents a null terminated string of ASCII characters composed of a command identifier and amp separation character 0x26 followed by the parameters to be transmitted Command example SETCURINSP amp 2 The general syntax of the command message is given below lt Command message gt lt prologue gt lt command gt lt epilogue gt lt prologue gt 0x3A in hexadecimal lt command gt lt CommandWithParameters gt lt CommandWithoutParameters gt lt CommandwithParameters gt lt idCommandWithParameters gt lt ampersand gt lt parameter gt lt CommandWithParamters gt lt idCommandWithParameters gt lt idCommandWithParameters gt SETCURINSP lt idCommandWithoutParameters gt CHKSERLINE GETCURINSP GETINSPRESULT GETNEXTINSPRESULT lt ampersand gt amp 0x26 in hexadecimal lt parameter gt lt inspection number gt lt inspection nunber gt lt 71 2 3 a lt epilogue gt lt minus gt lt NULL gt lt minus gt 0x2D in hexadecimal lt NULL gt z O 0x00 in hex
128. on This last operation consists in associating the inspection result to one of the available outputs Select the Digital output tool from the Toolbox rt J Trigger Mode Q gt 3 Locators A od ES aS amp ine Controls Z NA K N DA Dutput digitale E a Nome Dper00002 Analysis yA AK lt Operatore perdi m r 7 S Uscita Out Uscita Output 1 4 ye The guided creation is ending by clicking on Next and the user can save the inspection obtained USE 44 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 9 SENSOR INTEGRATED USER INTERFACE The sensor integrated user interface presents three push buttons SET 4 digit display and 4 signalling LEDs External Configuration trigger input Output 2 Output 1 AR El MA push button a et ae A as push button push button the SET and push buttons are used for sensor configuration the yellow LED indicates the sensor Output 1 status the three green LEDs are connected respectively to from left to right Output 2 External trigger Configurable input 5 1 Powering At powering the sensor enters in an initialisation phase that lasts for 25 seconds and then automatically carries out an inspection During initialisation the display visualises the following texts SCS1 INIT boot
129. or until the E is visualised then press SET 5 The display visualises a 3 digit number which represents the first field of the sensor IP address The 4 fields of the IP address can be visualised by using and The field currently visualised can be selected by pressing SET Pressing again and the numeric value of the selected field can be changed A continuous pressure on the push button allows to proceed more rapidly Press SET to confirm changes Figure 6 6 Once checked all 4 fields of the sensor s IP address scroll down the menu until the 2989 text is visualised on the display Press SET to return to communication parameter configuration menu 7 Scroll down menu using or until the text is visualised Press SET to return to general menu Alternatively if the new configuration does not have to be saved continue to scroll the down aiaa the menu until reaching AA and press SET to exit without saving Note the changes made are effective only after sensor re booting to change the number Figure 6 USE 10 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series The PC and sensor connection can be established directly or using a LAN network 11 3 3 3 Direct connection An Ethernet crossover cable with TX and RX crossed wires has to be used in presence of a direct PC and sensor connection and the sensor and PC IP a
130. ort tester tout break cts ded der err fing tm te Tracing Logging e u o o o aa Figure 23 SETCURINSP amp 1 application example 7 5 6 Grammar legend BNF note The command and response messages are written in a BNF Backus and Naur form syntax The different meanings are given below means is defined as means logic or e lt gt used to enclose the name of a macrocategory or a non terminal symbol e f used to enclose optional terms e 1 used to enclose repeated terms 663 used to enclose terminal symbols Example The grammar of command messages given in Figure 24 can generate the following command message GETNEXTINSPRESULT format from lt prologue gt from lt idCommandWithoutParameters gt GETNEXTINSPRESULT and from lt epilogue gt or the following command message SETCURINSP4 4 USE 130 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series format from lt prologue gt from lt idCommandWithParameters gt SETCURINSP from lt ampersand gt amp from lt inspectionnumber gt 4 and from lt epilogue gt While for example the following command message cannot be generated SETNE RINSP as it would be formed from the lt prologue gt from lt idCommandWithoutParameters gt and from lt epilogue gt but as shown in Figure 24 the lt id c
131. osition Elaboration direction E g peak value 100 barycentre threshold 40 A line parallel to the X axis at a 40 height is drawn The area included between the line and the curve is used to calculate the barycentre Constraints the Edge locator is characterised by a specific ROI The elaboration can be limited to a certain ROI part Beginning first elaboration starting point End first elaboration ending point Note the threshold refers to the highest value that remains the entire Edge locator area Pte Pree serene rer ree Edge locator Search threshold m Thresholds a a Search 60 0 zj 40 0 Elaboration limits Barycentre threshold Absolute Sta Measure El ES threshold E arb i Apply 87 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 17 Composite locator The Composite locator identifies the position of objects having approximately a rectangular shape and a certain background contrast The tool also has a rectangular shape and is positioned to include the target object For a correct functioning the locator has to be larger than the target object refer to figure 25 The Composite locator is composed of different Edge and Inclinometer locators that determine the top left vertex position of the located object Location result top left object vertex FRA fi
132. point is included between the edges of the object to measure USE Positioning click on the left mouse button to position the first segment end drag to mouse to set tool dimension release left button to end operation Results distance Status Parameters X coordinate that identifies the horizontal position of the first locator point Y coordinate that identifies the vertical position of the first locator point Length ROI length Thickness elaboration area thickness Angle expressed in degrees calculated according to the tool rotation respect to the X axis Variation type from white to black only negative edges are considered from black to white only positive edges are considered both both edges are considered automatic tool selects automatically which variation to distinguish 104 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 105 Direction determines the direction of the elaboration from start to end elaboration starts from the first end and continues towards the arrow from end to start elaboration starts from the arrow and continues towards the first end opposite to the arrow s direction Minimum maximum distance minimum maximum caliper measurement value accepted The range of accepted measurement is set by specifying these values and according with t
133. presents higher values respect to a given threshold In the following example the variation occurs when the blister black object on white background intercepts the Software trigger s dashed line What is a Pixel the smallest image part picture s element Fla Serene eige impactos Tools Merde Cntr Hii 13100 UWSSA Ee Software trigger ME EJE EMET Figure 11 USEc 30 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 31 Instruction Manual SCS1 Series 12 Locator insertion The position of the target object has to be properly identified in order to carry out an inspection considering also that with respect to the template the object can move inside the field of view FOV during device functioning Different locators are available in the following example an Edge locator is used The check of the blister s horizontal position is ensured by the Software trigger that switches only when the object reaches the desired position In this manner only the variations in the vertical position have to be avoided using an Edge locator we will simply consider that the object will not rotate Select the locator clicking on the toolbox icon Figure 12 or from the menu Operators gt Locators gt Edge Locator Position the locator graphically on the image by moving the cursor with the mouse Set the ends of the continuous line representing the locator
134. process the result of other tools used previously If a previous tool generated an Error the new tool will generate Error Region of interest ROI indicates the image part that is analysed by a specific tool The area outside the ROI is ignored during elaboration but remains visualised The ROI can be linear e g Edge locator or area e g Blob locator Linear ROI in the Edge locator indicated in the Area ROI the Blob locator shown in the figure is figure the ROI consists in a blue line that represented by a blue rectangle The ROI in this represents the locator case is the entire surface included in the rectangle Reference system all tools are referred either to an absolute reference system or to a relative reference system connected to the tool used previously Absolute reference system its origin is positioned in the top left corner of the image panel The X and Y coordinates of the Edge ocator refer to this origin The axis orientation is shown in the figure Origin X axis direction 0 0 pr 0 A Pixel Y l 3 1 rila a e X CF y I t s i O n USE 82 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Relative reference system the system uses the result of tools used previously e g position of an edge to set its origin The coordinates are referred to the relative reference system s origin The axes
135. rate pulsed light ring light spot light back light and laser light Illuminators dedicated to particular applications can be developed upon request 3 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 2 ELECTRICAL CONNECTION M12 connector OUTPUT 2 RS232 RX RS485 OUTPUT 1 INPUT2 CONFIGURABLE AN INPUT RS232 TX RS485 24 Vdc INPUT1 EXTERNAL TRIGGER 1 white RS232 TX RS485 Input 2 brown 24 Vdc power supply 3 green Configurable input 4 yellow Output 1 5 grey Output 2 6 pink RS232 RX RS485 Input2 7 blue GND 8 red External trigger signal input M8 connector Strobe N C 1 brown 24Vdc 2 white Not connected 3 blue GND 4 black Strobe TTL signal RJ45 connector This connector is used for sensor and PC communication using Ethernet 10 100 Mbps network USE 4 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 3 INSTALLATION 3 1 Hardware connection Check the following necessary components SCS1 sensor 16mm C mount lens and adapter compatible with the sensor s CS mount Alternatively any optics with CS mounting or C mounting with adapter cable with M12 8 pole connector 24 Vdc power supply And if necessary cable with M8 4 pole connector if an external illuminator is used
136. rea may have different parameters an e O pa S he r k ic EX Ts nm Ms a Ta Ta ys T Area perimeter minimum and maximum value accepted in the area perimeter ratio Grey level minimum and maximum value of the medium grey level of the blob USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual USE Blobs are tracked on binary images and consequently tone information is lost Everything is either black or white This information is recovered calculating the medium grey blob level on the original greyscale image Maximum and minimum grey level values can be specified in order to distinguish objects with the same shape but with a different colour Example a green and a blue pills have the same shape and dimensions but have two different grey levels Binarization may convert all blobs in black The blobs can be distinguished by setting the maximum and minimum medium grey levels Accepted values 0 255 Bounding box width height BB this is a rectangle with a top left vertex has coordinates that coincide with the minimum X and minimum Y and a bottom right vertex has coordinates that coincide with the maximum X and maximum Y It is practically a rectangle with the smallest area possible able to contain the entire blob A control on the object position is made by setting the acceptance constraints on these coordinates Accep
137. reate unwanted shadows 14 3 3 Back light The illuminator is positioned behind the target object aimed directly back towards the sensor and the resulting silhouette can be inspected for dimension and shape control The brightness is low Advantages does not supply surface characteristics Facilitates the diameter measurement of round objects Shows presence or absence of holes Disadvantages illuminator positioning behind object may result difficult Does not analyse object surfaces The illumination area must be larger than then inspection area Typical applications include object sorting according to shape and dimensions measurement of spacing between chip leads inspection of object holes or cracks 157 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 15 GLOSSARY Acquisition The manner in which information is made available to an analysis system as in image acquisition Algorithm A set of rules or procedures used for the solution of problems through the carrying out of a specific number of steps Ambient light Light present in the environment but not generated by the vision system Autoexposure Process that allows to automatically adjust the exposition time Backlighting Condition where the light reaching the image sensor comes from behind the object to inspect Binarization Process that consists in the conv
138. respect to the X axis Variation type two edge types can appear one due to the transition from a dark to a bright area positive edge and one due to the transition from a bright to a dark area negative edge from white to black only negative edges are considered from black to white only positive edges area considered both both edges are considered automatic tool selects automatically which variation to distinguish Direction determines the direction of the elaboration from start to end elaboration starts from the first end and continues towards the arrow from end to start elaboration starts from the arrow and continues towards the first end opposite to the arrow s direction Count sets the control on the number of edges that have to be counted inside the range delimited by the minimum and maximum values 101 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual a SAS SE ec ea Tool eee Moa SERGE Angle in degrees X value S Po En E SD ya o as ON eee olaa aboration area Oe ery a E NCA Selected reference SSS system tua Variation type considered Elaboration ar thickness SOME RATA AE Elaboration direction Filter on edge count a ee o WN a Advanced parameters Search threshold refers to the highest value maximum peak
139. ria the brightness value 0 255 is stored for each pixel The locator tracks the target object inside the ROI during inspection and sets its position The similarity threshold and accuracy parameters can be modified according to the different inspection requirements Positioning draw a rectangle enclosing the target object after confirming the position by clicking on the left mouse button an external rectangle will appear automatically representing the tracking area The position and dimension of the two rectangles can be changed but not the rotation direction Results rectangle s top left vertex coordinates enclosing the target object X Y Status ROI Target image Parameters The parameter area is divided in ROI and image The parameters are always the same and refer to the rectangle of the ROI or image X Y top left vertex coordinates Height rectangle height Width rectangle width Reference system selects the reference system available only for the ROI USEasy 94 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Advanced parameters Quality Speed inspection precision and timing can be changed by using the mouse cursor Higher the quality the higher the inspection accuracy but the longer the inspection time Higher the speed and shorter the elaboration time but the lower the inspection
140. ries Two types of fixing brackets are available Linear adjustable fixing bracket This is a rigid fixing bracket composed of two parts rotated at 90 respect to each other Side holes for screw mounting Slots for sensor movement Figura 27 143 USE s y Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Angled adjustable fixing bracket Fixing bracket that allows sensor rotation and inclination Note consider very carefully the use of fixing brackets in presence of strong vibrations USE sy 144 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 12 APPENDIX A IMAGE ELABORATION TECHNIQUES 12 1 General concepts digital image What is a digital image A digital image is simply a matrix of numbers Each matrix element is called picture s element or pixel e g SCS1 resolution is 640x480 and consequently the image is composed of 640 columns and 480 lines forming a total of more than 300000 pixels Each pixel can be considered a source of information In greyscale systems each pixel provides a numeric value included between O and 255 corresponding to the brightness of the selected pixel O corresponds to black 255 to white In colour systems each pixel supplies three different brightness values one relative to red one to blue and one to green These three values
141. rige be than vay beanalabor or totaiora of tha object aia een in betount balore spphang fhe E menan pela Fahan maidh kiaka aie pee 2 Masquer looong Died Med baton in cent i P Figure 19 This step requires only the selection of the locator The graph positioning is carried out in a successive phase The selection is made clicking on the icon of the Wizard panel using the description supplied Click on Next to continue Blob locator What is a Blob A group of adjacent pixels of the same colour white or black Description The Blob locator tracks inside a specific area the largest blob Blob locators basically carry out two functions an initial binarization and a successive blob identification Binarization allows the user to pass from a grey tone image to a black and white image Same coloured pixel groups are gathered together and form blobs The locator is represented graphically by a rectangle that forms the ROI Region of Interest where the blobs are tracked After the selection of the blob type to isolate the locator tracks inside the ROI the largest blob locating its barycentre coordinates to be used in the successive steps as relative reference system s origin Pattern match locator Pattern match consists in checking the similarity between a template and a target object The Pattern match locator tracks a target object inside a specific area and sets the position The locator is represented graphically by t
142. robe signal TTL Output current 100 mA max Saturation voltage lt 2V CMOS 6 61mm x 4 97mm 4 format 640 x 480 pixel resolution VGA 9 9 micrometer pixel dimension 112 4 mm x 75 mm x 40 mm without illuminator 112 4 mm x 75 mm x 55 mm with illuminator Indicators 4 digit display 3 green LEDs 1 yellow OUTPUT LED Setting SET push button and push buttons Auxiliary Ethernet PC graphic user interface Vibrations OOOO Shock resistance gt IP40 RJ45 M12 8 pole M8 4 pole Weight lenses excluded 300 g without illuminator 385 g with illuminator Image sensor Micron MT9V403 Technology CMOS Power supply inch 6 61 mm x4 97mm Array format 659 x 494 with windowing capability 9 9 um x 9 9 um po GMX BIUM ________ 1x 18x USE 136 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Quantum efficiency Lt EZ ql i ra Lu E y Fo o Wavelength nmi 137 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 10 DIMENSIONS 10 1 SCS1 dimensions without illuminator Ic 84 5 ottica 1 4 6mm 1 49 Obiettivo CS Mount oppure 41 Obiettivo C Mount adapter sp 5mm 75 l g
143. s of parameters not associated to registers can be also compared In this case the user must choose the specific register If a tool has to be replaced in one of the two previous alternatives the user has to click on Link Operators Selection of numeric value set manually Operator 1 Tool selection Uperator 2 yerge senie Value selection of a register previously associated to a parameter Functor gt 6 9 4 4 Operatore logico Description carries out logic operations on results obtained from the tools used in the previous steps The foreseen functions are and or nand nor xore xnor The Logic tool replaces the Test tool and extends the and or logic functions offering upto 5 inputs Differently from the Test tool this tool doesn t consent the association of the result with one of the sensor outputs due to the presence of a specific function refer to section relative to the digital output Positioning none the user just has to assign the name of the reference tools USE 114 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series The truth tables relative to 2 tool inputs not and or xor nand nor Not unary function that restores the complementary status opposite to the associated tool status Notstatus Tool status And restores an OK status only if all the tool stat
144. s parameter specifies the number of edge points the tool tracks and will be used to obtain the interpolated segment Consequently the parameter establishes the number of Edge locators used If the number is even the reference Edge locator is not considered while it is considered if the result is an odd number Half of Edge locators are positioned on the left side of the reference Edge locator located and the other half on the right side The distance between the locators is equal to half of the thickness of each USE 98 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 99 Intersection locator Description calculates the intersection point between two lines The locator has two operators that supply the data necessary to calculate the intersection The operators can be selected amongst the tools used in the previous operating steps The ntersection locator calculates the angle between the two lines that pass through the points tracked by the operators having an angle equal to the angle specified by the operators Example intersection between the lines tracked by two nclinometer locators Result peration Name Inclinometer Inclinometer locator OK 4 132 Y 370 Angle 45 Inclinometer2 Inclinometer locator OK 4 420 Y 312 Angle 45 Intersection Intersection locator OK 305 Y 197 Angle 45
145. s they function in absence of light variation Consequently if this tool is used together with the Blob Count Blob Locator Contour Match tools the inspections become more reliable Note the use of this tool becomes useless if used with tools unconditioned by light variations such as Eage locators or similar USE 118 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 6 10 Output Tools used to configure result transmission on output interface 6 10 1 A Serial output TE Eoi i 1 Description consents message transmission on the serial interface of the sensor output used containing the associated tool results Positioning no graphic positioning available The reference tool name has to be simply specified in the Operator field Parameters Operators reference tool The results are transmitted to the serial port Output su serale Nome SeralDut Applica Operatore Nessun y lt 4 Operator The results which are transmitted to the serial port can be of different typologies please refer to section 7 5 to check message grammar and parameters of the response string Different result typologies can be obtained for each tool configurable in the Operator parameter Response string Examples nome_op result X Y angle edge_locator 0 282 96 335 55 326 81 nome_op result X Y angle composite_locator 0 275 35 1
146. sible Elaborated the first image a second image is immediately acquired and elaborated And so on Hardware trigger the trigger signal is sent by an external device e g a photocell Software trigger similar to the Continuous mode but with one difference This tool verifies a condition on the acquired image before carrying out the complete elaboration The Software trigger is represented graphically by a dashed line where an arrow indicates the elaboration direction This line identifies also the part of image elaborated The full inspection runs only when a light variation appears along the line due to the passage from white zones to black zones and vice versa Typically this condition occurs when the target object passes through object must have a sufficient contrast with the background If the Software trigger is selected the tool must be positioned graphically on the window Click on Next to continue USE 40 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 41 Instruction Manual SCS1 Series Step 4 Locator selection Locators track objects with respect to the template position and compensates for translation and rotation FS catasersor 5051 Configuration fools ll xj O Q iso meen lO ME Locator soloction Demper Tha leads demi jmena mareren r ihe opc him pe prada r ach dr plan e a j LA Bish ineator g Ler one teleterca
147. ssible Perimeter tool carries out binarization inside Blob locator Advanced the tracking area and follows the border of the selected objects white or black The borders characterised by closed lines are considered valid and the entire internal area forms the blob Internal perimeters are not considered For example if the black target object is covered with holes or white spots the located blob remains just one and includes the whole area Exposimeter More inside the external perimeter This methods reduces elaboration time even if some image Method Perimeter information is lost 91 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Blob formation SCS1 Series Instruction Manual Example grey blister with white pills The initial image is always the one on the top left The result changes modifying tool position and parameters Top right image in this case a black object has to be tracked The object is correctly tracked but the pills forming internal perimeters are not considered Bottom left image in this case a white object has to be tracked The tool follows the white object s background including completely the blister and the blob tracked is formed by the area enclosed by the tool Blister and pills form internal perimeters and so are not considered Bottom right image a white object has to be tracked The tool has been drawn to
148. t LO o Ga IN El R ji A H El MN eae OH 2 Wipe A l LO A LO oO I wz O 1 H H A M3 N 4 fori Y s A profondita 6mm M4 N 4 fori wore A profondit 6mm ee eee LY ES A KY pu J I 23 6 o lt E N M12x1 i E M8x1 8 poli A poli 40 USE 138 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 10 2 SCS1 dimensions with illuminator 84 5 CS Mount Objective or 3 A Alemmnvdbiective C Mount Objective 5mm adapter er 55 75 E z i LO 49 o 5 va S Ma Vie O i TED ol gt A N N 2 a oD i Ik E o Ji i gt lt I 10 O ji L 2 G63 x o Ml M3 N 4holes M4 N 4 fori A 6mm depth 6mm depth L 7 i LA UE ES I al 23 6 f 7 N M12 x1 A _ M8x1 AA 8poles 4 poles 40 139 USE Phone 800 894 0412 Fax 208 368 0415 Web
149. t Difference 0 gt the two objects have to be identical Difference 1000 gt differences are tolerated Note if the difference constraints are both zero the result is always OK USE 110 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 6 8 9 izi Pattern match count Description counts objects inside a specific area Similar to the Pattern match locator the Pattern match count is formed by two rectangles an orange one that encloses the template and an external blue one that forms the ROI During elaboration all objects similar to the template are counted Results number of objects found status Parameters Counting specifies the number of objects to track in the ROI If the blob number is different the status is a Failure X Y coordinates of the top left rectangle vertex that delimits the ROI Height rectangle height delimiting the ROI Width rectangle width delimiting the ROI Reference system selects the reference system Advanced parameters Quality speed inspection precision and timing can be changed by using the mouse cursor Higher the quality the higher the inspection precision but the longer the inspection time Higher the speed and shorter the elaboration time but the lower the inspection precision Pattemmatch locator Advanced Qualty Speed 100 400 600 Pei op bP yh nh la A Max speed M
150. ted values 0 255 108 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 109 Contour match Description compares a template with a target object according to the contour characteristics The Contour match is represented graphically by a rectangle that identifies a ROI where to track the target object The target object is tracked through a Blob analysis aimed at finding the largest inside the ROI similar to Blob locator The contour characteristics of the blob tracked are saved and used during inspection to compare the template and target object The contour found during Setup is highlighted in yellow The inspection tolerance can be increased or reduced setting the parameter Difference Positioning refer to Blob locator Results comparison reliability Difference status Parameters X Y coordinates of the top left rectangle vertex that delimits the REPROD Ge Se Ar ROI INE Sa gS Te an Width rectangle width delimiting the ROI ES AN Height rectangle height delimiting the ROI a ae QE o Te Object type specifies the blob type to track black object it white object O Sa vey a z on oe Shy a hs Se es wi ik Binarization threshold value of the threshold used to _ distinguish light coloured pixels from the dark ones during image passage from gr
151. text and symbol Turning the ring making closer the reference notch and near the sensor will progressively focus a closer plane Turning the ring making closer the notch and e the sensor will progressively focus a further plane Reference Point 5 6 4 Resolution Two resolutions are available Full VGA 640x480 pixels 1a VGA 320x240 pixels 1 CD HE I e 14 VGA e Full VGA e Exit returns to previous menu without changing configuration lt _ lt gt 51 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 5 6 5 Trigger The trigger mode establishes the image acquisition instant Two different triggers are available Jaa Sea a e Continuous the sensor functions at maximum speed starting a new elaboration as soon as the previous one is completed e External trigger is supplied by an external device e Exit returns to previous menu without changing configuration External trigger The External trigger is characterised by the following configurable parameters e Filter minimum duration requested for the trigger pulse e Polarity low high level transition or high low level transition e Save saves the present configuration and exits from the trigger menu activating the External trigger e Exit returns to previous menu without changing configuratio
152. the sensor inspection area a number of objects equal to the saved number Example 3 is set as the number of objects to count The inspection parameters are configured and user enters in Teach in The background is acquired and then the target object Supposing that the object to count is a postage stamp and 3 are the postage stamps that expect to find just 1 is the stamp to position in the inspection area during the target object acquisition phase During the acceptance threshold regulation phase the output will be deactivated as the sensor expects to find 3 stamps If 3 stamps are instead positioned in the inspection area only during the threshold regulation not during the acquisition phase the output is activated and can thus switch The number can be changed by pressing on the and push buttons Press SET to confirm Contour match Compares the template with the target object according to the contour characteristics Algorithm is selected by pressing SET when display visualises 5 7 Registers In the Register menu the value associated to the 16 registers representing the tool parameter current inspection values can be configured using the PC interface and that can be modified successively using the Register menu The numeric value can be modified in the Register menu choosing the appropriate register The lt register gt lt parameter type gt association e g reg1 blob count threshold is not indicated
153. tics Back light SCS IL R635 22C 024 1012 SCS IL R635 22P 024 1012 provides low intensity continuous or pulsed light behind the target object Object contour and shape are highlighted but not the surface characteristics Top light SCS IL R635 31C 024 1012 SCS IL R635 31P 024 1012 provides uniform continuous or pulsed light Ey in a concentrated area The illuminator is ie positioned behind the sensor and if oriented a correctly very precise inspections can be a carried out ot EF 141 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 11 2 Lenses The lenses available as accessories present a shutter and adjustable focus The different focal lengths 6 mm 8 mm 12 mm 16 mm guarantee flexibility in terms of operating distance and field of view dimensions Smaller the focal length the smaller the operating distance allowed and the larger the field of view For a more details refer to Appendix B Focal length Field of view The following table lists the available DATASENSOR lenses SCS LE V06 C V SCS LE V08 C V SCS LE V12 C V SCS LE V16 C V USE 142 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net 11 3 Fixing brackets According to the application and sensor support the user can use different rigid brackets available as accesso
154. ting phases insert new tools and remove others When results are acceptable the inspection can be saved again either on PC or on the sensor 17 Inspection time check The Monitor mode allows to check the inspection time The sensor elaborates the acquired images and transmits the results obtained to the PC The images acquired are not visualised on the screen but the results are given in a text format During sensor functioning tool information about status results and execution time is visualised 3 Datasensor 5051 Configuration Tools File Sensor Image Inspection foo Mode Option Help NASHE a cee mas rm Operation Name Type Siw Renh Blob blobC ount OK Execubon Time 11 06 ms Number 1 Edge edosHMeszure OF Execubon Time 2 31 m Self T8153 ngolo 0 Trigger Mode Calibro exemalCabbre AJA Execubon Time 1 70 ms Distanza 64 F test fie Execution Time 0 00 m3 Q gt i K es l Execution Time UUU ms Locatore N F em The user has to save an inspection on the sensor before passing to the Monitor mode and so activating the elaboration The Monitor mode can be selected from the toolbar or from the menu Toolbar Menu Option Help Mode Option Help SLA Roe Mx as Mesi TENES TD AGO GSS AIRES FE A 36 Instruction Manual SCS1 Series 4 3 2 37 Guided new inspection creation Wizard The creation of a inspection guided by the Wizard allows ev
155. tion Tools Mode a8 24 aja Y Trigger Mode Qu The following window is visualised 2 Select inspection position for save x Inspection 1 C Prova 04 08 2004 15 23 30 New Scripta 17 06 2004 11 56 47 Inspection 3 C prova 27 05 2004 12 39 03 Inspection 4 C Undefined 12 12 1000 Cancel Select the memory slot where the inspection saving is desired and click on OK E Disconnect a UTA l Parameters Trigg Diagnostic Sensor info Wz aT 16 Functioning check of tools used Terminated the Setup phase the user can pass in Run mode and control if the inspection is carried out correctly To access the Run mode the user has to select the toolbar icon or select Run from the Mode menu Toolbar Menu Mode Option Help Live Setup Test w Run Test mode from camera Monitor 35 USE ms Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual During the Run mode the sensor acquires images that are elaborated by the PC The tools status changes according to the image acquired In this manner the correct functioning of each tool can be verified If inspection functioning is not acceptable the user can return to the Setup mode clicking on toolbar icon and correct the parameters of the opera
156. tworks M Show icon in taskbar when connected 3 Configure the requested fields as follows Figure Figure 4 5 Internet Protocol TCP 1P Properties General You can get IP settings assigned automatically if your network supports this capability Otherwise pou need to ask your network administrator for the appropriate IP settings IP address 172 27 101 1 C Obtain an IP address automatically E Use the following IP address IP address y bs Subnet mask Default gateway CO fibtain ONS semeraddress automatically Subnet mask 255 255 0 0 Use the following DNS server addresses Preferred DNS server i i Altemate DNS server Advanced Cancel Figure 5 4 Click OK to confirm 9 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual 3 3 2 Sensor configuration The integrated push button interface has to be used to configure the sensor s IP address The display options can be visualised using the and push buttons while SET is used to confirm the selected option 1 Press SET to access the sensor configuration menu The display visualises the SEE text press SET again to access the Setup menu 2 Scroll down using or until the EES text is visualised 3 Press SET to access the communication parameters Wo 4 Scroll down using
157. uires a low exposure time and vice versa At times the reduction of the exposure time may be required but the overall image brightness has to be maintained If necessary proceed as follows Increase the light aimed on the inspection area Increase the CMOS gain the gain is the output input ratio and in this situation coincides with the overall brightness increase Please acknowledge that a high gain can generate a decrease of image quality USE os 146 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Use lenses with variable slots the slot is a hole that allows light passage The light passes through the lens and hits the surface and acquires the image Larger the hole the more light passes and the minor image depth The focussing of an object with a variable lens distance may result to be difficult Acquisition time the time necessary for the sensor to acquire an image After the exposure of the CMOS to light for the set exposure time the image has to be stored in the sensor memory The transfer of a complete image requires approximately 30 ms The time can be reduced selecting the acquisition of only a certain part of the image Inspection time the inspection time depends on the operations and the tools used For example line tools e g Edge require a shorter time respect to area tools e g Blob 12 5 Blob analysis 147 B
158. us are OK Operator Operator Il status status Or restores an OK status only if one tool has an OK status Operator Operator Il status status Xor restores an OK status only if one tool has an OK status XOR Operator Operator Il status status status Nand restores an OK status when not all tools has an OK status Operator Operator Il status status 115 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Nor restores an OK status when all tools have a FAILURE status Nor Operator Operator Il status status status Xnor Operator Operator Il status status status Positioning none the user just has to assign the name of the reference tools and the operation to carry out Parameters Operator 1 5 first reference tool s Functions logic tool selected SCRUM RRR oh EE Sy cmp Seger SRE SNe DS Function m OE e GN ANS em NS osas pia x X Tools USE 116 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series a 6 9 5 oct Esposimetro Description corrects the image light that depends on the light variations in a sample area The light correction used an index denominated Correction Factor defined as follows Light value of sample image Correction factor Light valu
159. ver can not be used as a relative reference system for the successive phases differently from Edge locator result Specified the edge type to track positive or negative or both the tool elaborated the ROI detected by the line and tracks all edges respecting the specifications Results number of edges tracked in the control direction ie NS Sn k pT Th a T a as 1 is i ac Tani Shes AS USE 100 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series Parameters Reference system absolute or relative X coordinate that identifies the horizontal position of the first locator end opposite to the arrow point with respect to the selected reference system oor Corresponds to the pixel elaboration beginning a Accepted values 0 640 Y coordinate that identifies the vertical position of the first locator end with respect to the selected reference system Accepted values 0 480 Length ROI length Accepted values 0 640 Thickness elaboration area thickness The edge is located along a line linear ROI but to make the result more reliable the brightness values of the surrounding pixels are taken in account by means of a projection operation Please refer to Projection Appendix A 1 6 for further details Accepted values 0 640 4 Ed Angle expressed in degrees calculated according to the tool rotation angolo
160. w ctiautomation net e mail info ctiautomation net Instruction Manual Choosing again Binarization Object type Threshold Bright object bl SCS1 Series Binarization Bright object 7 Object type Threshold 107 Automatic Reg ion eres e eaqeee sees Manual threshold selection Automatic threshold selection Binarization Object type Threshold Bright object z A Threshold register association Moreover as already explained in the Regist section the threshold is a parameter and so it can be associated to a sensor register The threshold can be thus recalled and modified using the device integrated interface Object number specifies the number of blobs to track inside the ROI If the blob number is different the status is a Failure Default parameter value is 1 Advanced parameters Minimum and maximum areas refer to the pixel minimum maximum number constraint that form a blob Smaller and larger objects are discarded The minimum value is used for example to filter noise and other non relevant object characteristics while the maximum value can be used to filter the background Perimeter minimum and maximum accepted perimeters The parameter is calculated as follows Transitions along X axis transitions along Y axis diagonal transition x J2 The perimeter supplies additional information on the target object Objects with the same a
161. w ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 159 Pattern matching Comparison technique between digital images that considers the brightness value of each single pixel Pixel A digital image can be represented by a numeric matrix Each matrix element is denominated pixel picture s element Each pixel can be considered as an information source regarding image greyscale or colour composition Region of Interest ROI The area analysed by a specific tool during inspection Teach in Process that allows inspection configuration using the sensor s control panel Template Image used to for inspection configuration and used as a comparison during elaboration Tolerance Established value range upon which to differentiate good and bad products Toolbar Panel presenting the push buttons of the most frequently used functions of the SCS1 graphic interface Toolbox Panel presenting the push buttons of the available inspection configuration tools of the SCS1 graphic interface Tool Image elaboration software instrument Trigger Mode that defines the image acquisition instant USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net
162. wo rectangles one inside the other that respectively form the tracking area external one marked in blue and the target object internal one marked in orange During inspection the locator tracks inside the blue rectangle an image similar to the target object in the orange rectangle Measurement location Location is carried out by a Composite locator The Composite locator isolates the position of rectangular shaped objects that have a specific contrast with the background The tool has also a rectangular shape and has to be positioned enclosing the object to be tracked For correct functioning the locator must be slightly bigger that the target object USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual Step 5 Locator positioning To graphically position the locator on the template the user has to first select it clicking on the toolbox icon Blob Composite Pattern Es Ry D Trigger Mode Trigger Mode Trigger Mode Qu Q gt 4 Q gt 4 Locators Locatass Locators Controls EA cgi a ai g m Hen Sen Analysis Analysis Analysis we OK da ok OK lt YA A E D4 D EE Output Output Output ado pal en ad rona daily J I 3 ve a Iyem aa Blob count The Wizard provides instructions for locator positioning At the end of the sequence the user
163. xo AS NS eee mM l Trigger Parametri di tigger L o mna N ss n parameters Bitarde J N ON gt i lt 4 Si Gain lt 4 __ Autoexposure a ON Nea ON Ts A 7 A T ura OS Polarita Salta Focussing SSS SSS Hitadoa cull weds mel indicators EIA SSS SSS Z Z______ Elaborated on Salvatagaio immaaini MASUR Reference Nes Pcp anne age Saving lt __ image saving F Tote le immagini mra F Modalita uscite 3 Uscita 1 Normale Outputs gt Uscita 2 Toggle gt USE 28 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net Instruction Manual SCS1 Series 10 Reference image saving and Setup Mode When the image quality is acceptable click on Set reference image and the TA AA image visualised is saved It is then available as a reference image in the image inspection Setup phase The programme enters automatically in the Setup mode The real inspection is developed in the Setup mode The SCS1 graphic interface offers a series of tools necessary to recognise the characteristics that the object has to respect to be considered valid Each tool carries out an inspection operating step and the entry order establishes the execution order during the elaboration The tools are divided in three groups Locators Control and Analysis Theoretically this should also represent the insertion order even if it is only a logical sequence fol
164. zione Oj D LTA 7 Disconnetti Apri Salva Trig Parametri The following window appears and the user can configure the sensor parameters for serial communication I x m Network setup m Wott IP Address 172 27 101 203 Cuipul Toytime fs a Subnet mask 255 255 0 1 Output on ime Gateway D l y D senal port parameters Baud Fate 9600 Output protocol Custom Serial m E Data Bits e Parity E C Inspection 1 Debug level Debug Stop Bits i f Inspection 2 the 485 t Inspection 3 1 la Cae Switching delay ms 5 M Curent inspection 123 USE Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation net e mail info ctiautomation net SCS1 Series Instruction Manual The parameters can be set both for the RS232 serial port as well as for the RS485 serial port v Baud Rate transmission speed in bit s 1200 115200 bit s Y Number of Data Bits bit number that form a word 7 8 bit v Type of Parity used optional bit used to verify the integrity of the word transmitted even odd none v Number of Stop Bits number of bits used to separate two consecutive words 1 2 bits The RS485 serial port consents the configuration of only the following parameter Y Switching Delay switching delay of the tx rx or rx tx communication direction USE 124 Phone 800 894 0412 Fax 208 368 0415 Web www ctiautomation
Download Pdf Manuals
Related Search
Related Contents
Stage mode d`emploi NEW - JAE Fisher & Paykel OB60N8DTX User's Manual La Crosse Technology WS-9032U User's Manual Graco PD162159B User's Manual Copyright © All rights reserved.
Failed to retrieve file