Datasensor SCS1 Series Instruction Manual

Smart camera sensor

Advertisement

Quick Links

SCS1 SERIES
Smart Camera Sensor
INSTRUCTION MANUAL
Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Advertisement

Table of Contents
loading

Summary of Contents for Datasensor SCS1 Series

  • Page 1 SCS1 SERIES Smart Camera Sensor INSTRUCTION MANUAL Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 2 DATASENSOR S.p.A. Via Lavino, 265 40050 Monte San Pietro Bologna - Italy declare under our sole responsibility that the product(s) SCS1 XXXX MART AMERA ENSOR AND ALL ITS MODELS To which this declaration relates in conformity with the following standard(s) or other normative document(s)
  • Page 3: General Information

    Instruction Manual SCS1 Series 1. GENERAL INFORMATION 1.1. General description of SCS1 Smart Camera Sensor SCS1 is an user-friendly vision sensor equipped with advanced inspection capability that assures very precise quality controls on industrial manufacturing and automatic materials handling lines.
  • Page 4 SCS1 Series Instruction Manual 1.3. Typical applications Typical SCS1 applications consist in quality and integrity controls of assembled products on an industrial manufacturing line. Some examples: Label presence on phials / bottles Presence of mechanical parts Marking control Contour control (contour match)
  • Page 5 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); 16 mm C-mount lens with 5 mm adapter ring to make it compatible with the sensor’s CS- mount;...
  • Page 6: Electrical Connection

    SCS1 Series Instruction Manual 2. ELECTRICAL CONNECTION M12 connector OUTPUT 2 RS232 RX / RS485 + / OUTPUT 1 INPUT2 CONFIGURABLE INPUT + 24 Vdc RS232 TX / RS485 - / INPUT1 EXTERNAL TRIGGER 1 = white = RS232 TX / RS485 -/ Input1...
  • Page 7: Installation

    Instruction Manual SCS1 Series 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;...
  • Page 8 SCS1 Series Instruction Manual 6) Optional: connect external illuminator to the sensor using the M8 4-pole connector. Optional: connect the sensor to the PC using the Ethernet 10/100 Mbps cable. Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 9 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...
  • Page 10 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.
  • Page 11 Instruction Manual SCS1 Series Select “TCP/IP protocol” in the visualised window and click “Properties” (Figure 4). Configure the requested fields as follows (Figure Figure 4 IP address: 172.27.101.1 Subnet mask: 255.255.0.0 Figure 5 Click “OK” to confirm. Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 12 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.
  • Page 13 Instruction Manual SCS1 Series The PC and sensor connection can be established directly or using a LAN network. 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...
  • Page 14 Start the SCS1 graphic interface using a double click on the desktop icon. Otherwise select SCS1 from the programme menu following the route: Start > Programmes > Datasensor > SCS1. The following window appears: Important: the SCS1 graphic interface can function either connected to the sensor in on-line mode, or not connected in off-line mode.
  • Page 15 Instruction Manual SCS1 Series 3.4.2. 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.
  • Page 16: Sensor Configuration

    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;...
  • Page 17 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 –...
  • Page 18 SCS1 Series Instruction Manual 4.2.2. Sensor configuration diagram Sensor Status Configuration Menu S_IN Registers Setup Teach-in Network Display BKGD Illuminator - Ip Address - Direct - reg0 Acquisition - reg1 - Net Mask Reverse -Autoexposure - reg2 - Save - Esc...
  • Page 19 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: • Light • Autoexposure • Focus • Resolution • Trigger • Mode • Save • Exit The following are only the basic instructions necessary for inspection configuration.
  • Page 20 SCS1 Series Instruction Manual Scroll down the options using + and –. Press SET to select option. Select to choose inspection method. The possibilities are given below: • Blob count • Pattern count • Contour match • Exit Scroll down the options using + and –. Press SET to select option.
  • Page 21 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: 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).
  • Page 22 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 using the SCS1 integrated interface (numeric button).
  • Page 23 Instruction Manual SCS1 Series Note: the user configuring the inspection has to remember the association between the particular register and the relative parameter as this 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.
  • Page 24 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.
  • Page 25 Instruction Manual SCS1 Series 4.3. Inspection 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).
  • Page 26 SCS1 Series Instruction Manual 4.3.1. 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...
  • Page 27 Instruction Manual SCS1 Series 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. Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 28 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 Once the “New Inspection” is selected, the system enters automatically in the Live mode. The images acquired by the sensor are visualised in this mode.
  • Page 29 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 accessories.
  • Page 30 SCS1 Series Instruction Manual 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.
  • Page 31 Instruction Manual SCS1 Series 10. Reference image saving and Setup Mode When the image quality is acceptable, click on “Set reference image” and the image visualised is saved. It is then available as a reference image in the inspection Setup phase. The programme enters automatically in the Setup mode.
  • Page 32 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.
  • Page 33 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.
  • Page 34 SCS1 Series Instruction Manual moves up or down, the edge position changes and the Blob count rectangle is consequently modified. Blob count Figure 13 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.
  • Page 35 Instruction Manual SCS1 Series Limit setting can be made in two different modes: Manual configuration Right-click on one of the blobs to visualise the relative technical data, including the area. In the example provided, the selected blob refers to a tablet with a 5808 pixel area.
  • Page 36 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.
  • Page 37 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.
  • Page 38 SCS1 Series 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 operating phases, insert new tools and remove others.
  • Page 39 Instruction Manual SCS1 Series 4.3.2. Guided new inspection creation: Wizard The creation of a inspection guided by the Wizard allows even 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.
  • Page 40 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.
  • Page 41 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.
  • Page 42 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. Figure 18 The user has three choices: Continuous trigger: the images are acquired and elaborated in the fastest speed possible.
  • Page 43 Instruction Manual SCS1 Series Step 4 – Locator selection Locators track objects with respect to the template position and compensates for translation and rotation. Figure 19 This step requires only the selection of the locator. The graph positioning is carried-out in a successive phase.
  • Page 44 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 The Wizard provides instructions for locator positioning. At the...
  • Page 45 Instruction Manual SCS1 Series 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.
  • Page 46 SCS1 Series Instruction Manual Step 7 – Output selection This last operation consists in associating the inspection result to one of the available outputs. Select the Digital output tool from the Toolbox The guided creation is ending by clicking on “Next” and the user can save the inspection obtained.
  • Page 47 Instruction Manual SCS1 Series 5. 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 + push-button - push-button push-button the SET, + and – push-buttons are used for sensor configuration...
  • Page 48 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; run1, run2, run3, run4: 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;...
  • Page 49 Instruction Manual SCS1 Series 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.
  • Page 50 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. • Setup (display visualises the SETP text): menu that visualises sensor functioning and inspection running parameters.
  • Page 51 Instruction Manual SCS1 Series 5.6. Setup menu The Setup menu options are visualised by pressing the + and – push-buttons: • Light • Autoexposure • Focus • Resolution • Trigger • Mode • Save • Exit: returns to main menu without changing previous configuration The option visualised on the display is selected by pressing the SET push-button.
  • Page 52 SCS1 Series Instruction Manual 5.6.1. Light Activates and deactivates the sensor integrated illuminator. 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.
  • Page 53 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.
  • Page 54 SCS1 Series Instruction Manual 5.6.5. Trigger The trigger mode establishes the image acquisition instant. Two different triggers are available: • Continuous: the sensor functions at maximum speed, starting a new elaboration as soon as the previous one is completed. •...
  • Page 55 Instruction Manual SCS1 Series Another submenu is visualised by selecting “POL_”: • Direct polarity (“DIR_”): trigger on rise front. • Inverse polarity (“REV_”): trigger on fall front. • Exit: returns to previous menu without changing configuration. 5.6.6. Mode The algorithm to be used during inspection is selected as follows: •...
  • Page 56 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 visualises A number automatically appears on the display representing the number of objects to find during inspection.
  • Page 57 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 . To save press again (or to leave the value unchanged repress without making changes).
  • Page 58 SCS1 Series Instruction Manual 5.8. 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.
  • Page 59 Instruction Manual SCS1 Series 5.9. Save Press SET to save the present configuration and pass automatically in Run mode. The inspection will be automatically saved in the first sensor’s memory slot. 5.10. Network Configures the sensor’s IP address and Subnet mask.
  • Page 60 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.
  • Page 61 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.
  • Page 62 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 Toolbox Parameters Graph Operation list Status bar The main window contains the following panels: Main menu: includes all the programme management options divided in categories.
  • Page 63 Instruction Manual SCS1 Series 6.1. Functioning mode 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.
  • Page 64 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...
  • Page 65 Instruction Manual SCS1 Series Live mode parameters Resolution: VGA (640x480 pixels) and ¼ VGA (320x240 pixels) resolutions are available. Exposure time: the duration of light exposure during the image acquisition phase. The exposure time can be set both manually (modifying the number corresponding to the duration in ms and clicking on “Apply”) or automatically (clicking on “Autoexpose”).
  • Page 66 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.
  • Page 67 Instruction Manual SCS1 Series 6.2.2. 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. 6.2.3. Test mode This mode analyses the images acquired and elaborated during inspection.
  • Page 68 SCS1 Series Instruction Manual A new window appears requesting if the images saved with the inspection have to be opened. Click on “Yes” to confirm. At this point the images available for the test are available. The user can pass to the Test mode using the toolbar icon.
  • Page 69 Instruction Manual SCS1 Series 6.2.5. Test Mode from telecamera 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.
  • Page 70 SCS1 Series Instruction Manual 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.
  • Page 71 Instruction Manual SCS1 Series 6.2.6. Monitor mode 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.
  • Page 72 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. The menu options are listed below. “*” indicates the toolbar options while “**”indicates the toolbox options.
  • Page 73 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.
  • Page 74 SCS1 Series Instruction Manual Tools • Trigger mode *: list of Trigger modes available. • Locators **: list of locators. • Measurements **: list of measurements. • Analysis **: list of analyses. • Outputs **: list of outputs. • Cancel operation *: cancels option selected.
  • Page 75 Instruction Manual SCS1 Series Preferences: 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.
  • Page 76 SCS1 Series Instruction Manual Lastly, a control on the bitstream version of the FPGA has been included. If the user tries to install an “older” bitstream, the updating procedure will be warned with a notice similar to the one previously described: Note: Beginning from this new Graphic Interface version, the package extension of the firmware updated will no longer have the “.fw”...
  • Page 77 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.
  • Page 78 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.
  • Page 79 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.
  • Page 80 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...
  • Page 81 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. 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.
  • Page 82 SCS1 Series Instruction Manual Parameters X: coordinate that identifies the horizontal position of the first locator end. Y: coordinate that identifies the vertical position of the first locator end. Length: ROI length. Thickness: elaboration area thickness. Angle: expressed in degrees, calculated according to the tool rotation respect to the X axis.
  • Page 83 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. Tool parameters The tool icons are...
  • Page 84 SCS1 Series Instruction Manual 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.
  • Page 85 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 have the same orientation as the absolute system.
  • Page 86 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 “Point” 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.
  • Page 87 Instruction Manual SCS1 Series 6.7. Locators Locators determine the position of objects inside the sensor’s field of view (FOV). Generally, locators distinguish 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.
  • Page 88 SCS1 Series Instruction Manual Parameters Apply: to confirm parameter changes the user has to simply click on “Apply”. Reference system: absolute or relative. coordinate that identifies the horizontal position of the first locator end (opposite to the arrow point) with respect to the selected reference system.
  • Page 89 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.
  • Page 90 SCS1 Series Instruction Manual 6.7.2. 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).
  • Page 91 Instruction Manual SCS1 Series 6.7.3. Blob locator 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.
  • Page 92 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. Positioning: click on left mouse button to set the rectangle vertex; drag the mouse (keeping button pressed) to set rectangle dimension;...
  • Page 93 Instruction Manual SCS1 Series Selezione soglia automatica Selezione soglia manuale 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.
  • Page 94 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.
  • Page 95 Instruction Manual SCS1 Series 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.
  • Page 96 SCS1 Series Instruction Manual 6.7.4. 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).
  • Page 97 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 precision.
  • Page 98 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;...
  • Page 99 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 inclinometer 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.
  • Page 100 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.
  • Page 101 Instruction Manual SCS1 Series 6.7.6. 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.
  • Page 102 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. 6.8.1. Edge Description: similar to the Edge locator, as it tracks an edge position. Refer to Edge locator for further details.
  • Page 103 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. Corresponds to the pixel elaboration beginning.
  • Page 104 SCS1 Series Instruction Manual Tool name Angle in degrees Y value X value Elaboration area length Selected reference system Elaboration area Variation type thickness considered Elaboration direction Filter on edge count 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.
  • Page 105 Instruction Manual SCS1 Series 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.
  • Page 106 SCS1 Series Instruction Manual 6.8.5. 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).
  • Page 107 Instruction Manual SCS1 Series 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).
  • Page 108 SCS1 Series Instruction Manual 6.8.7. 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.
  • Page 109 Instruction Manual SCS1 Series Choosing again Manual threshold selection Automatic threshold selection 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.
  • Page 110 SCS1 Series Instruction Manual 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.
  • Page 111 Instruction Manual SCS1 Series 6.8.8. 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).
  • Page 112 SCS1 Series Instruction Manual 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.
  • Page 113 Instruction Manual SCS1 Series 6.8.9. 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.
  • Page 114 SCS1 Series Instruction Manual 6.9. Analysis Tools used to set further inspection specifications. 6.9.1. 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.
  • Page 115 Instruction Manual SCS1 Series 6.9.2. 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.
  • Page 116 SCS1 Series Instruction Manual Example: the comparator can be used as follows: 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 “NumericValue”. The values of parameters not associated to registers can be also compared.
  • Page 117 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. Not status Tool status Failure Failure And: restores an OK status only if all the tool status are OK.
  • Page 118 SCS1 Series Instruction Manual Nor: restores an OK status when all tools have a FAILURE status. Operator I Operator II status status status Failure Failure Failure Failure Failure Failure Failure Xnor: restores an OK status when the tools all have an OK status or all have a FAILURE status.
  • Page 119 Instruction Manual SCS1 Series 6.9.5. 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 =...
  • Page 120 SCS1 Series Instruction Manual Parameters: X: abscissa on the top left side of the ROI. Y: ordinate on the top left side of the ROI. Width: ROI width. Height: ROI height. Reference system: absolute (origin) or relative (other tool) reference system.
  • Page 121 Instruction Manual SCS1 Series 6.10. Output Tools used to configure result transmission on output interface. 6.10.1. Serial output 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”...
  • Page 122 SCS1 Series Instruction Manual 6.10.2. 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.
  • Page 123: Communication Protocols

    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.
  • Page 124 SCS1 Series Instruction Manual SCS1 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. 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.
  • Page 125 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: 24 V 7.4.
  • Page 126 SCS1 Series Instruction Manual The parameters can be set both for the RS232 serial port as well as for the RS485 serial port: Baud Rate: transmission speed in bit/s (1200 ÷ 115200 bit/s). Number of Data Bits: bit number that form a word (7,8 bit).
  • Page 127 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. 7.5.1. RS485 serial communication protocol The RS485 serial protocol is a half-duplex.
  • Page 128 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 Figure 19 –...
  • Page 129 Instruction Manual SCS1 Series Example: Transmission of command message :GETCURINSP- Receipt of answer message :OK&3 (hypothetically considering that SCS1 is carrying-out inspection 3 during the receipt of the aforementioned message) Figure 20 - GETCURINSP- application example :GETINSPRESULT- Function = requests to SCS1 the results of the last inspection carried-out.
  • Page 130 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 message :Oper00001,5,349.93,257.30,63.77; Figure 21 - GETINSPRESULT- application example :GETNEXTINSPRESULT- Function = requests to SCS1 the results of the next inspection to carry-out.
  • Page 131 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; Figure 22 - GETNEXTINSPRESULT- application example 7.5.5.
  • Page 132 SCS1 Series Instruction Manual Example: Transmission of command message :SETCURINSP&1- Receipt of answer message Action SCS1 carries-out inspection 1 after command and response receipt Figure 23 -SETCURINSP&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: •...
  • Page 133 Instruction Manual SCS1 Series format from <prologue> “:”, from’ <idCommandWithParameters> SETCURINSP, from’<ampersand> &, from <inspectionnumber> 4 and from <epilogue> “-”. While for example, the following command message cannot be generated :SETNEXTCURINSP- as it would be formed from the <prologue> “:”, from’ <idCommandWithoutParameters>, and from <epilogue>...
  • Page 134 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: •...
  • Page 135 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 an inspection (refer to section 6.10.1).
  • Page 136 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.
  • Page 137 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.
  • Page 138: Technical Data

    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): Outputs: 2 PNP outputs...
  • Page 139 Instruction Manual SCS1 Series Quantum efficiency Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 140 SCS1 Series Instruction Manual 10. DIMENSIONS 10.1. SCS1 dimensions without illuminator 84.5 (ottica 1.4/6mm) Obiettivo CS-Mount oppure Obiettivo C-Mount + adapter sp.=5mm M3 N°.4 fori M4 N°.4 fori profondità 6mm profondità 6mm 23.6 M12x1 M8x1 4 poli 8 poli Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 141 Instruction Manual SCS1 Series 10.2. SCS1 dimensions with illuminator 84.5 CS-Mount Objective or Obiettivo CS-Mount oppure C-Mount Objective + 5mm adapter (ottica 1.4/6mm) 1,4/6mm objective Obiettivo C-Mount + adapter sp.=5mm M3 N°.4 fori holes M4 N°.4 fori profondità 6mm 6mm depth profondità...
  • Page 142 SCS1 Series Instruction Manual 10.3. Fixing bracket dimensions ST-5047 Ø4.2 4.2 N°.6 fori ST-5048 +0.4 75.4 Ø3.2 Ø49.2 Ø4.2 Ø45 Ø3.2 70° 14.5 36.5 23.5 Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 143 Instruction Manual SCS1 Series 11. ACCESSORIES 11.1. Illuminators Model Description 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...
  • Page 144 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 Lens Field of view The following table lists the available DATASENSOR lenses: Model Description SCS-LE-V06-C-V 6 mm lens...
  • Page 145 Instruction Manual SCS1 Series 11.3. Fixing brackets According to the application and sensor support, the user can use different rigid brackets available as accessories. 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.
  • Page 146 SCS1 Series Instruction Manual 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. Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - e.mail: info@ctiautomation.net Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com...
  • Page 147: Appendix A: Image Elaboration Techniques

    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).
  • Page 148 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.
  • Page 149 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.
  • Page 150 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.
  • Page 151 Instruction Manual SCS1 Series Dividing per three these values and placing them on one single line we will obtain the projection of the area: The projection consists practically in obtaining an average of the brightness values of an area and listing them on a line.
  • Page 152 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.
  • Page 153 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).
  • Page 154: Appendix B: Lenses

    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.
  • Page 155 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 Θ: angle...
  • Page 156 SCS1 Series Instruction Manual 13.7. Operating distance table Operating distance in millimetres FOV in mm 12 mm 16 mm 25 mm 50 mm 75 mm (height x 4 mm lens 8 mm lens lens lens lens lens lens width) 10x8...
  • Page 157 Instruction Manual SCS1 Series Operating distance in inches FOV in inches 12 mm 16 mm 25 mm 50 mm 75 mm (height x 4 mm lens 8 mm lens lens lens lens lens lens width) 0.00 0.00 0.2 x 0.2 0.00...
  • Page 158: Appendix C: Illuminators

    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.
  • Page 159 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.
  • Page 160 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.
  • Page 161 Instruction Manual SCS1 Series 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.

Table of Contents