Table of Contents

Advertisement

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SBSi and is the answer not in the manual?

Questions and answers

Summary of Contents for Festo SBSi

  • Page 2 We accept no responsibility for printing errors and mistakes which occurred in drafting these document. Subject to delivery and technical alterations. First publication February 2011 Festo AG & Co. KG D-73726 Esslingen Internet: http://www.festo.com E-Mail: service_international@de.festo.com Page 2 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 3 Dropbear License which is a MIT/X Consortium style open source license. Please find this license in this software installation in \FESTO\SBS \Eula\OpenSourceLicenses Vision Sensor Configuration Studio software is based in part on the work of the Qwt project (http://qwt.sf.net). Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 3...
  • Page 4: Table Of Contents

    4.2.2 Vision Sensor Device Manager: Open sensors or sensor simulation / Passwords 4.2.3 Passwords 4.2.4 Password levels: 4.3 Vision Sensor Configuration Studio: Setting sensor, Job 4.3.1 Job Setup 4.3.2 Alignment settings 4.3.3 Detector settings 4.3.4 Output, I/O and data output Page 4 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 5 4.6.4 Output of inspection results 4.6.4.1 I/O mapping 4.6.4.2 Functions of the programmable, digital inputs: 4.6.4.3 Output signals (Digital outputs / Logic) 4.6.4.4 Interfaces 4.6.4.5 Timing, Digital outputs 4.6.4.6 Telegram, Data output Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 5...
  • Page 6 5.3.1 Job switch via digital inputs 5.3.1.1 Job 1 or Job 2 5.3.1.2 Job 1… 31 via binary bit pattern 5.3.1.3 Job 1..n via pulses 5.3.2 Job switch via Ethernet Page 6 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 7 5.5.6 Access to SBS via Internet / World Wide Web 5.6 Vision Sensor, PROFINET, Introduction 5.6.1 Electrical connection SBS in the Profinet network 5.6.2 Configuration of SBS via Festo Vision Sensor Configuration Studio for the use with PROFINET 5.6.2.1 Settings in Vision Sensor Device Manager 5.6.2.2 Setting of IP and name...
  • Page 8 8.1.2 Serial communication BINARY 8.2 Further explanations to Edge detector (alignment) 8.3 Starting Vision Sensor Visualisation Studio or Vision Sensor Configuration Studio via Autostart 365 8.4 Care and maintainance 8.4.1 Cleaning Page 8 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 9: General Information And Safety

    Attention must be paid to sufficient and constant object illumination to ensure reproducible results and avoid malfunction. Reflections or varying incident light may affect detection results. If necessary, use an external light source and/or light-screening / shrouding devices to exclude incident light Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 9...
  • Page 10: Intended Use

    – codes is common practice in many sectors of industry today. The Vision Code Reader from Festo immediately detects which part is in front of it: it can easily read numerous types of barcodes as well as printed and directly marked data matrix codes according to ECC 200 standard and read characters directly via Optical Character Reading (OCR), and this on any base (metal, plastic, paper, glass).
  • Page 11: Functions Overview

    PNP or NPN Free definable digital In- / Outputs, PNP or NPN Free shape of ROI contour only X Timeout, specified time response Variable resolutions Illumination quadrant controlled Image recorder Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 11...
  • Page 12: Functions Overview: Color Sensor, Universal

    Calibration in world coordinates Number of detectors - Pattern matching (X-, Y- translation) - Contour matching (X-, Y- translation and rotation) - Grey level - Contrast - Brightness - Caliper - BLOB Page 12 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 13 EtherNet/IP interface Sensor monitoring by Viewer, Job-Upload Sensor monitoring by SBSxWebViewer (Webviewer) R3B integrated 6 / 12 X / X X / X R2B integrated 12 mm Version with C-Mount Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 13...
  • Page 14: Sensor Types

    *2 When the C-Mount version of SBS is in use, a C-Mount lens with a 5 mm intermediate ring (delivered separately) or a C-Mount protective case is required. *3 External IR illumination is only possible with IR sensors or C-Mount sensors. Page 14 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 15: Code Reader

    2930234 SBSI-B-R3B-F6-R Enhanced 8 x 6 R3B Standard IR SBSI-B-R3B-F6-NR 2930238 Normal InfraRed 5 x 4 SBSI-B-R3B-F12-NR 2930239 Normal InfraRed 8 x 6 SBSI-B-R3B-F6-NR-D 2930240 Enhanced InfraRed 5 x 4 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 15...
  • Page 16: Color Sensor

    *1 For longer operating distances (from approx. 200 mm) external illumination may be necessary. *2 When the C-Mount version of SBS is in use, a C-Mount lens with a 5 mm intermediate ring (delivered separately) or a C-Mount protective case is required. Page 16 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 17: Universal

    *2 When the C-Mount version of SBS is in use, a C-Mount lens with a 5 mm intermediate ring (delivered separately) or a C-Mount protective case is required. *3 External IR illumination is only possible with IR sensors or C-Mount sensors. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 17...
  • Page 18: Field Of View / Depth Of View

    Field of view R3B 6mm lens, internal Fig. 1: Field of view R3B 6mm lens, internal Field of view R3B 12mm lens, internal Fig. 2: Field of view R3B 12mm lens, internal Page 18 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 19 Vision Sensor Manual Field of view R2B 12mm lens, internal Fig. 3: Field of view R2B 12mm lens, internal Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 19...
  • Page 20 Depth of view R3B 6mm lens internal, normal Fig. 4: Depth of view R3B 6mm lens internal, normal Depth of view R3B 6mm lens internal, enhanced Fig. 5: Depth of view R3B 6mm lens internal, enhanced Page 20 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 21 Depth of view R3B 12mm lens internal, normal Fig. 6: Depth of view R3B 12mm lens internal, normal Depth of view R3B 12mm lens internal, enhanced Fig. 7: Depth of view R3B 12mm lens internal, enhanced Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 21...
  • Page 22 Vision Sensor Manual Depth of view R2B 12mm lens internal, normal Fig. 8: Depth of view R2B 12mm lens internal, normal Page 22 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 23: Installation

    Use only the mounting clamp MK 45 (no. 543-11000) or the mounting hinge MG2A (no.543- 11023). 3.1.1 Arrangement for dark-field illumination For the prevention of direct reflections and accentuation of edges etc. Fig. 9: Arrangement for dark-field illumination Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 23...
  • Page 24: Arrangement For Bright-Field Illumination

    10°- 15° with reference to the optical axis. Fine adjustment Important: Fine adjustment of the SBS Vision Sensor should not be carried out until after electrical connection and start-up (PC software installation). Page 24 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 25: Alignment For A Vertical Illumination

    / the mirror as vertical as possible until the integrated illumination LEDs are directly dazzling in the image of the user interface (Arrangement for bright-field illumination (Page 24)). Fig. 11: Alignment for a vertical illumination Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 25...
  • Page 26: Assembly Sbs - Mounting Bracket Mk 45

    MK45 on the dovetail guide at the bottom side of the SBS and fix it at the desired position with the hexagon socket in the cross hole of the mounting bracket. Then further Festo mounting accessories may be attached to the mounting bracket or any other attachments may be fixed by using the tapped holes in the MK45.
  • Page 27: Connection Possibilities

    Name Colour Meaning Pwr. green Operating voltage yellow Result 1 yellow Result 2 yellow Result 3 All LED´s are set without taking into account any timing function (e.g. Trigger delay) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 27...
  • Page 28: Focussing Screw

    3.2.1.4.2 Connection of the SBS Vision Sensor to a PC via a network: Fig. 16: Connection via a network 3.2.1.5 Data Connection M12 Connection socket for DATA serial interface, RS422 / RS232. PIN assignment DATA *A) (Page 30) Page 28 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 29: Plug Connections

    *4 All LED´s are set without taking into account any timing function (e.g. Trigger delay) *5 Not available with all Standard types For shielded cables use shield, extensively connected. 3.2.1.6.2 PIN assignment, connection LAN (M12) 4 pin Signal TxD+ RxD+ TxD- RxD- Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 29...
  • Page 30 For shielded cables use shield. 3.2.1.6.4 Exemplary connection plan and software settings for the following setup: Power supply Trigger 1x digital output Encoder Ethernet to PC or PLC Fig. 17: Exemplary connection plan Page 30 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 31 Fig. 20: Connection example SBS in NPN mode As the inputs refer to ground, an additional pull-up resistor may be required in order to increase the input voltage to 24V when unswitched. The outputs switch to ground. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 31...
  • Page 32: Network Settings, Short Reference

    The internet protocol IPv4 must be activated. There are two alternatives to configure and parameterize the SBS Vision Sensor. See also chap. Network connection 1. Direct Connection 2. Network Connection Page 32 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 33: Direct Connection - Setting The Ip Address Of The Pc

    To alter the sensor’s IP address, see chap. Please do also not use the addresses .0 and .255 as these addresses are reserved for network infrastructure devices such as servers, gateways, etc. Fig. 21: PC IP Setup Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 33...
  • Page 34: Network Connection - Setting The Ip Address Of The Sbs Vision Sensor

    (Please note some pc’s have more than one Ethernet connection i.e. wireless and wired LAN connections d. When the new IP address has been set, Re-select the sensor and connect. Via Config or View Page 34 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 35 IP address to 0.0.0.0. This can be the case, e.g. in the case of power/server failure or the restart of the system after shutdown as the DHCP server may boot slower than the SBS . Make sure that the SBS is only switched on when the DHCP server is available. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 35...
  • Page 36: Sbs – Operating- And Configuration Software

    For the display and monitoring of images and results from connected sensors, as well as job switch and job upload. Fig. 24: Software structure 4.1.2 Context help For all software functions a context sensitive help page is available and displayed as soon as a function is selected. Page 36 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 37: Sbs – Operating- And Configuration Software – Short Introduction

    "Config“ to start the module "Vision Sensor Configuration Studio“. Vision Sensor Visualisation Studio is not available for the simulation mode as there is no device to send the images for display. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 37...
  • Page 38 Configures a connected sensor or a sensor simulation View Displays image or result data from a connected sensor Edits network settings such as the sensor's IP address etc. E) Context help Context sensitive help Page 38 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 39: Passwords

    Job Upload and Image password - Settings Recorder - Update all functions except User - Config. only display of images, (without any none - Settings inspection results and statistics password) - Update Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 39...
  • Page 40 Activation of the "Deactivate password request“ checkbox, permanently deactivates password request. If passwords have been assigned and then forgotten, it is possible to reset passwords to delivery status by reinstalling the software on the local PC. Page 40 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 41: Vision Sensor Configuration Studio: Setting Sensor, Job

    F) Connection mode Switch-over between online and offline mode (sensor present or simulation without sensor) G) Job selection Changing variable content relating to action in set-up navigation, for setting of associated parameters. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 41...
  • Page 42: Job Setup

    The subsequent setting of alignment and detectors should preferably be carried out in single image mode, as all settings are then based on a master image and image collection is not continuously carried out. Page 42 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 43: Alignment Settings

    In this example, the outside contour is used for alignment and the plug can be found either by contour or by pattern matching. If the angular rotation of the object can vary also, the contour method must be used. Fig. 33: Alignment Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 43...
  • Page 44: Detector Settings

    Detector 1: contact found (brightness value is in defined range as the shiny metal contact is mounted) result positive. Detector 2: contact not found (brightness value out of defined range, as only weak reflection from the black plastic housing background) result negative. Page 44 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 45: Output, I/O And Data Output

    Select and activate the interfaces in the different tabs. Logically connect detector results and assign to the available I/O´s. In order to enable the output of serial result data, select the required interface and compose data string. Next topic:Result (Page 47) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 45...
  • Page 46 Selection of: binary or ASCII protocol, header and/or trailer, standard contents and/or flexible, combinable, special individual data from the individual detectors. Any number of individual results from all the defined detectors can be freely arranged in an output string. Page 46 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 47: Result

    All the results are produced and displayed just as on the sensor. However e.g. execution times will not be updated as these values are only informative when implemented on the sensor itself. See next step: „Start Sensor“. Next topic: Start sensor (Page 48) Fig. 37: Result display Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 47...
  • Page 48: Start Sensor

    ‘software’ trigger can be sent using the Trigger button the left hand side of the image area. Next topic: Vision Sensor Visualisation Studio, display images and results (Page 49) Fig. 38: Start sensor Page 48 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 49: Vision Sensor Visualisation Studio, Display Images And Results

    In the tab „Job“, it is possible to switch between jobs present on the sensor. In the tab „Upload“, further, previously defined jobs or whole job sets can be loaded from the viewer on to the sensor. Fig. 39: Vision Sensor Visualisation Studio Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 49...
  • Page 50: Sbs – Operating- And Configuration Software – Vision Sensor Device Manager, All Functions

    (call up Vision Sensor Configuration Studio) Display images and result data (Page 53) (call up Vision Sensor Visualisation Studio) Significance of parameters displayed Parameter Significance IP address Sensor´s IP address in the network Page 50 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 51 'Object' sensor. Via the button “details” (at the right, upper corner of the parameter list of “Active Sensors”) a detailed list of all SBS parameters is accessible. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 51...
  • Page 52: Sensors For Simulation Mode

    To search for sensors which are connected directly to the PC, or which are available in the network, click button "Find". Basic understanding of PC networking is required this is not covered within the scope of supply from Festo. Add active sensor: Page 52 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 53: Configuring A Connected Sensor

    If "DHCP = active" is selected, a unique name must be given for the sensor as the IP address is newly assigned each time the sensor starts up and can thus change. You require administrator authorisation for these functions (see user administration). Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 53...
  • Page 54: Update / Firmware Update

    4.5.7 Update / Firmware update You can update the firmware of the selected sensor through the menu item File/Update. The appropriate firmware update file must first have been obtained via download from the Festo website or from Festo Support. Select the appropriate firmware file in the file dialogue box that opens and follow the instructions.
  • Page 55 Once a password has been entered, a logout is automatically carried out, i.e. input of the new password is now necessary. Assigning an "empty" password, enables entry by simply confirming with OK. Fig. 45: Password button Login Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 55...
  • Page 56: Sbs – Operating- And Configuration Software – Vision Sensor Configuration Studio, All Functions

    Set to continuous in "Trigger / collect image" User interface and operating procedure 4.6.1 Jobs (Inspection tasks) A job contains all the settings and parameters required to carry out a certain inspection task. Page 56 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 57: Creation, Modification And Administration Of Jobs

    Delete Deletes the selected job from the list Delete all Deletes all the jobs in the list All the functions described can also be carried out using the File menu. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 57...
  • Page 58: Loading And Saving Jobs And Job Sets

    3. Activate the button "Start Sensor" to transfer jobs to the sensor. All the jobs stored on the sensor are deleted when a new job / job set is loaded ! Page 58 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 59: Parameters For Image Acquisition

    Parameter for control of image brightness. Image brightness preferably should be set with “Shutter speed”, only in case that Shutter speed it´s not possible to achieve the required image brightness this way use the slider Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 59...
  • Page 60: Job, Tab White Balance

    White balance is necessary for compensation of image colors. Fig. 50: White balance Parameter Function Mean value of red channel in image Green Mean value of green channel in image Blue Mean value of blue channel in image Page 60 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 61: Preprocessing, Filter For Image Improvement

    Each grey value is replaced by the average grey value of the pixels found inside the filter mask (e.g. 3x3). Mean This can be applied for reduction of disturbances, suppression of disturbing Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 61...
  • Page 62: Calibration

    The function "Calibration" transforms the image coordinates (pixel) into world coordinates (e.g. millimeter). When activated all position and distance data is calculated in the selected unit. Next topic: Parameters Cycle time (Page 79) Calibration method Page 62 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 63 Point pair list - red: calibration not valid With new job: - green: Default values(6 points) result in correct default calibration Status-LED: Calibration plate - green: calibration valid, points accurately positioned Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 63...
  • Page 64 A point pair is set by: coordinate system) - Image coordinate by graphical input in the image, or by numerical input of a value - World coordinate by numerical input given from the robot controller Page 64 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 65 There is only one factor for both coordinate axis X and Y. The advantage is the very simple function of the scaling process, although accuracy is limited. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 65...
  • Page 66 Test point ( graphically or values ​ ​ i nput ) is for the user to check calibration Punkt testen of known points / dimensions around the image to confirm satisfactory setting of the scaling factor. ">" / "<" Go to next / previous step Note: Page 66 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 67 Next topic: Calibration, Calibration plate (Page 76) Fig. 54: Calibration, Point pair list Example: Determination of absolute positions, and orientation of objects in world coordinates in mm (e.g. robot coordinate system) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 67...
  • Page 68 Alternatively: use "Snap- Function", that means: right click somewhere inside the calibration part. This way the center of gravity of the calibration part is automatically determined. Preferably use point symmetric calibration parts, as then the center of gravity is independent from Page 68 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 69 If the calibration is not accurate (yellow points) this can be improved by better precision of position input of the single points. This kind of calibration is suitable for standard lenses, integrated or C-mount. It´s not suitable for telecentric lenses. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 69...
  • Page 70 . Also the calibration- and deviation parameters, for optimisation if desired, are displayed. This kind of calibration is suitable for standard lenses, integrated or C-mount. However it does not work for telecentric lenses. Next topic: Calibration via interface commands (Page 74) Page 70 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 71 For Z=0 the calibration and the measurement plane are identical. For Offset calibration/measurement Z!=0 the calibration plane is shifted against the measurement plane. level in Z-direction The two planes are always parallel. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 71...
  • Page 72 Offset calibration/measurement level in Z-direction Sign of "Z" value depending on the world coordinate system / "right hand world system" (thumb = x, index finger = y, middle finger = z) Page 72 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 73 Fig. 58: Delta "D" / Z- Offset = positive! In case of: Z-to top, and calibration plane higher than measurement plane! Fig. 59: Delta "D" / Z- Offset = positive! In case of: Z-to bottom, and calibration plane lower than measurement plane! Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 73...
  • Page 74 2. Job which should be calibrated (here "Job2") Currently the sensor is running Job 2. Job/Calibration/Point pair list is set in the HMI, and the sensor was started in this job. Sequence / flow chart Page 74 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 75 Calibrate / CCL" the following telegrams are available for calibration. - "Calibration Clear Data / CCD": Reset of all values of the Point pair list. - "Calibration Validate / CVL": Validation of calibration. Does not effect the current calibration. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 75...
  • Page 76 Calibration plate selected. (see also: (Page 77) (Page 78) Calibration model: with or without correction of lens ditortion. Calibration parameter If given, here the z-offset between calibration and measurement plane can Page 76 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 77 Calibration does work correct only if focus and position of the sensor does not change in relation to the measurement plane. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 77...
  • Page 78 The diameter of a white circle should be minimum 20 pixel. Types / sizes of calibration plates Sizes of calibration plates Number of points 50mm x 50mm 15 x 13 100mm x 100mm 15 x 13 Page 78 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 79: Parameters Cycle Time

    200mm x 200mm 15 x 13 In the installation folder: Festo/SBS Vision Sensor/Documentation/... the available calibration plates can be found as .pdf-file. This can be printed on paper or any other medium. Please consider the setting "actual size?", that print out is not scaled.
  • Page 80: Alignment

    Alignment of an entire part using two edge detectors, i.e. here the top left-hand corner of the part is detected. Now contrast detectors can find and check features in relation to the position of the part. Page 80 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 81: Selection And Configuration Of An Alignment Detector

    X- and / or Y- direction Edge detection there are edges with strong contrast , parallel to the axis Edge detection is, if above mentioned criteria are fulfilled a very quick method of Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 81...
  • Page 82: Alignment Pattern Matching

    - Color chip + Color detector: Display always colored - Color chip + Object detector: Monochrome image, display depending on selected color model and color channel Fig. 67: Color channel Page 82 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 83 With the Result offset, the final position of a found object can be modified. This can be useful when working with robot coordinate systems and needing to define a 'pick point' for example Settings in Result pose tab: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 83...
  • Page 84: Alignment Edge Detector

    By selection of the colour channels the composition of the grey image can be manipulated and so specific zones can be intensified or weakend. - Monochrome chip: Display always greyscale - Color chip + Color detector: Display always colored Page 84 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 85 Edge detection is carried out in each search stripe and the first edge is decisive. search stripes The greater the number of search stripes, the quicker the first edge will be found. (Finer detection - longer execution time). Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 85...
  • Page 86: Alignment Contour Detection

    4.6.2.4.1 Color channel Selection of color model and color components for the grey image used by the detector. The display of the image depends on the image chip and the selected detector. Page 86 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 87 Increment in ° of the search across the selected angular zone (If the angular zone and (angle) increment are set to 0, the detector only searches for non-rotated objects) Min. Minimum contrast required with taught model for an edge to be accepted as one. contrast Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 87...
  • Page 88 In case of false results this value can be decreased. Number of search levels / Coarsening levels. Higher value: faster = riskier (overlook candidates) Search levels Smaller value: slower = less risky (all candidates) Auto = automatic selection Page 88 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 89 Free selectable position (graphically or by value input, e.g. for robot gripper use) X: Offset in X- direction (ref. ROI centre) Offset Y: Offset in Y- direction (ref. ROI centre) Angle: angle offset (ref. ROI orientation) Fig. 75: Result pose Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 89...
  • Page 90: Detectors

    Contrast detector (Page 109) Brightness detector (Page 117) Grey detector (Page 113) Detector BLOB, Introduction (Page 120) Detector Caliper (Page 133) Barcode detector. (Page 136) 2D Code detector (Page 144) Page 90 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 91 "View/all drawings". With "View/drawings of current detector only", all drawings on the screen can be deactivated with the exception of the detector currently being processed. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 91...
  • Page 92: Selecting A Suitable Detector

    Position check and control of busbars (Solar sensor) 4.6.3.3 Detector Pattern matching This detector is suitable for the detection of patterns of any shape, even without distinctive edges or contours. Page 92 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 93 Lock / Unlock Pattern: In locked status the taugth pattern is protected against Lock (unintentional / accidential) changing. by e.g. modification of the teach region. Unlock to Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 93...
  • Page 94 - Color chip + Color detector: Display always colored - Color chip + Object detector: Monochrome image, display depending on selected color model and color channel Fig. 78: Color channel Page 94 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 95 In this example a metal contact (left side) in a black plastic part is taught as pattern. It is detected with a high score value, as the metal contact is mounted. (Threshold near 100%) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 95...
  • Page 96 As here the inner, shiny and therefore bright region does not exist, and instead of this the grey Page 96 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 97 100% pixel concordance. Patterns with a larger degree of rotation are not detected. This can be used as a function e.g. for detection of the correct alignment of parts on feeding units. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 97...
  • Page 98 Changing size of the cursor Add pixels / Remove pixels Select if the cursor adds or removes pixels Add all Adds all pixels Remove all Removes all pixels Invert all Inverts all pixels Page 98 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 99 In the following examples the creation of a masked search region is shown. Example 1, Logo with relevant zones. Fig. 87: Mask pattern 2 Created by one adding and one removing circle in front of the before reset mask. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 99...
  • Page 100 Only surface defects are relevant, object contour lines have to be masked. Fig. 89: BLOB without function Mask, with a BLOB detector the surface defects and the outer and inner contour lines are detected. Page 100 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 101: Detector Contour

    This detector is suitable for detection of samples from edges at any angle. Next Topic:Contrast detector (Page 109) Settings in Scaling tab: (Page 106) Settings in Angle tab: (Page 105) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 101...
  • Page 102 Minimum contrast required with taught model for an edge to be detected as one. pattern Min. contrast Minimum contrast required in current image for an edge to be accepted as one. image Page 102 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 103 Contrasts for model and image suitably set? (for model visible in sample) Set “accurate – fast” to accurate Are there some and overlapping objects in the image? Distinctive edges available?, re-teach if necessary Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 103...
  • Page 104 - Color chip + Object detector: Monochrome image, display depending on selected color model and color channel Fig. 93: Color channel Parameter Function Color models: RGB, Color model RGB (Page 207) Color model HSV, Color model HSV (Page 208) LAB, Color model LAB (Page 209) Page 104 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 105 Angle step Step width / sensitivity of search throughout the selected angle rangein ° Fig. 94: Detector contour, tab angle Angle, direction The rotational direction of "Angle" is as follows: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 105...
  • Page 106 Scale Detection also of enlarged or reduced objects in a given scale range min/max Increment Sensitivity of search throughout the selected scale range scale Fig. 96: Detector contour, Scaling tab Page 106 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 107 None Automatically determined centre of (Region Of Interest) Free selectable position (graphically or by value input, e.g. for robot gripper use) Offset X: Offset in X- direction (ref. ROI centre) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 107...
  • Page 108 In this way the presence and the correct mounting of the contact is checked. Fig. 99: Contour, application example, positive result The found contour lines are displayed in the corner below right in pale blue. The contact is found reliably. Page 108 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 109: Contrast Detector

    The contrast is just depending on the bandwidth between darkest and brightest pixels and their quantity. Highest contrast value with 50% grey value “0” (= black) AND 50% grey value “255” (=white) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 109...
  • Page 110 This feature can be used with the colour channel selection with monochrome detectors also. By selection of the colour channels the composition of the grey image can be manipulated and so specific zones can be intensified or weakend. Page 110 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 111 4.6.3.5.2 Contrast application Contrast detector (Page 109) In the example the presence of a metal contact is checked with a contrast detector. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 111...
  • Page 112 As in this configuration contrast is pretty high the contrast detector delivers a high score, and in combination with alignment the whole job works reliably. Fig. 104: Contrast, application example, negative result Page 112 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 113: Grey Detector

    (valid pixels), or outside (invalid pixels) the range set in „Grey level“. In this way pixels which are not covered with the settings / range of grey values can be detected very easily. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 113...
  • Page 114 - Color chip + Color detector: Display always colored - Color chip + Object detector: Monochrome image, display depending on selected color model and color channel Fig. 107: Color channel Page 114 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 115 Fig. 108: Grey level, application example, positive result. The contact is present in search area. Shiny metal contact shows grey values > 192, that means inside the limits of threshold = result positive. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 115...
  • Page 116 Both images produce exactly the same result with the grey level detector, as in each case 9 of the 25 pixels are detected as dark. Fig. 110: Grey level, example 1 Page 116 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 117: Brightness Detector

    By selection of the colour channels the composition of the grey image can be manipulated and so specific zones can be intensified or weakend. - Monochrome chip: Display always greyscale Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 117...
  • Page 118 Color channel grey image which is processed by the detector. 4.6.3.7.2 Brightness application The detector Brightness calculates the average value of the grey values of all pixels within the search area. Page 118 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 119 (near 0%). That means the current value is not within the requested threshold limits and the result is negative = contact not present. Examples: Brightness value as average value of the grey values. Fig. 115: Brightness, examples Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 119...
  • Page 120: Detector Blob, Introduction

    Fig. 116: Screws 1. Binarization, 2. detected as BLOB / object Typical applications Count objects Differentiation / classification of objects in the image by: Size, area, contour Form, geometry Position, orientation Face up/ down Surface inspection Page 120 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 121 Filtering by different features like: area, circumference, orientation, position, ... Detector BLOB, tab Features (Page 127) 3. Data output Definition of data output telegram and sorting of results Detector BLOB, tab Sorting (Page 132) Telegram, Data output (Page 189) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 121...
  • Page 122 Binarization is the first step of BLOB processing. It is used to distinguish relevant objects from the background of the image, by converting the grey image into a pure black and white / binary image. Binarization can be done by two different binarization methods. Page 122 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 123 Selected BLOBs (objects) are considered, if they are fulfilling the BLOB- / filter- criteria, even if they are not completely positioned within the yellow search Boundary BLOBs region. Please note: BLOBs are also considered as Boundary BLOBs if they are touching a Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 123...
  • Page 124 Dynamic threshold is automatically set to an statistically optimised position in Dynamic threshold order to distinguish between fore- and background. Brightness Definition if BLOB is brighter or darker compared to the background Page 124 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 125 Example 1: Boundary BLOBs, touching outer search region. Fig. 121: Boundary BLOB example 1/1: BLOB is touching outer yellow search region, it is not considered as valid BLOB as setting "Boundary BLOBs" is NOT active. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 125...
  • Page 126 Example 2, Boundary BLOBs, touching inner "Mask" region. Fig. 123: Boundary BLOB example 2/1: BLOBs are touching inner yellow "Mask" regions, they are not considered as valid BLOBs, as setting "Boundary BLOBs" is NOT active. Page 126 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 127 1. Step Binarization: List of BLOBs (all valid / green). 2. For each BLOB all selected features are calculated. Use "pipette" function to determine features. 3. For each criteria a range describing the valid BLOBs can be set. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 127...
  • Page 128 BLOBs in the image. active: feature is calculated, filtered (limits adjustable), and available for Checkbox (Number, default data output. active) inactive: feature is calculated, but NOT filtered, but anyway available for data output. Page 128 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 129 Enclosing rectangle with smallest area. Outliers are not eliminated. - Rectangle, min. area (R2) Equivalent ellipse, based on moments of area. - Ellipse, equivalent (E1) List of features / second level: BLOB type parameter Feature Relevant for Function Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 129...
  • Page 130 Face up/down discrimination, based on area, indicated by sign. - Face up/down, See also: Detector BLOB, tab Features, Face up / Face down area (Page 131) *1) Angle (180° / 360°), rotational direction Page 130 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 131 OK. The image displayed in the middle shows the same object flipped with its face down. It is considered not OK. The right image displays both objects in the image. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 131...
  • Page 132 Fig. 130: Detector BLOB, tab Sorting Settings in tab Sorting Parameter Function Sorting criteria As a sorting criteria any feature explained in tab "Features" can be selected. Order Sorting order "Descending" or "Ascending". Page 132 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 133: Detector Caliper

    - Color chip + Object detector: Monochrome image, display depending on selected color model and color channel Fig. 131: Color channel Parameter Function Color models: RGB, Color model RGB (Page 207) Color model HSV, Color model HSV (Page 208) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 133...
  • Page 134 Edge detection is processed in each search stripe over the whole width. The bigger the search number of search stripes, the more probable the very first edge will be found. (Finer stripes detection - longer execution time). Results Opens result and histogram display Page 134 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 135 - Median: The values of the touching point are sorted ascending and the middle (central) value in the list is chosen. Outliers do not influence the result. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 135...
  • Page 136: Barcode Detector

    - Winner: winner search stripe (depending on settings in “Distance/Distance stripe mode”) - “1, 2, ..” Number of search stripe 4.6.3.10 Barcode detector. Next topic: 2D Code detector (Page 144) Barcode detector, tab Reference string (Page 138) Page 136 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 137 No-read Specifies the text, which is given out over the interfaces in case of non successful string reading. Polarity Specifies printing of code "black on white" or "white on black". Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 137...
  • Page 138 This text can be changed later. For newly generated detectors, all parameters are preset as standard values, suitable for many applications. Examples for reference strings specified by regular expressions: Page 138 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 139 {n,m}Allows n to m repetitions {n}Allows exactly 'n' repetitions |Separates alternative search expressions 4.6.3.10.3 Barcode detector, tab Quality Barcode detector, tab Reference string (Page 138) Barcode detector, tab Lines (Page 142) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 139...
  • Page 140 For composite codes, the rating has 24 grades: OVERALL: Q1 Overall Q2 Overall Linear Q3 Overall Composite Page 140 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 141 The assignment is the following: ABCDF 43210 For newly generated detectors, all parameters are preset as standard values, suitable for many applications. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 141...
  • Page 142 If the bar code is of good it can be set to smaller values, thus reducing the number of potential but false bar code candidates. Page 142 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 143 Number of scanlines used during the scanning of a code. Reducing the number of scanlines improves speed.Images with higher quality need less scanlines than Number scanlines images of lower quality. For an average image, a value between 2 and 5 should Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 143...
  • Page 144: D Code Detector

    Typical values: 'Off' 'On', 1, 2, 3, 4, 5; Default: 'Off 4.6.3.11 2D Code detector 4.6.3.11.1 2D Code detector, tab Code Next topic: Detector OCR (Page 152) 2D Code detector, tab Ref. String (Page 146) Page 144 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 145 After successful teaching, the code will be marked with a green frame. After teaching a code the code reader will search in "run"-mode only for this type of code. Additive Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 145...
  • Page 146 Activates verification of contents of the result information. The verification is done by string using of regular expressions. This text or regular expression is taken for verification. Here can be entered characters Ref. string Page 146 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 147 {n,m}Allows n to m repetitions {n}Allows exactly n repetitions |Separates alternative search expressions) 4.6.3.11.3 2D Code detector, tab Quality 2D Code detector, tab Ref. String (Page 146) 2D Code detector, tab Advanced (Page 149) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 147...
  • Page 148 This deterioration results in a degraded axial non-uniformity. If apart from an affine distortion the data code is subject to perspective or any other distortions too this degrades the grid non-uniformity. Page 148 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 149 4 3 2 1 0 4.6.3.11.4 2D Code detector, tab Advanced 2D Code detector, tab Quality (Page 147) 2D Code detector, tab Symbols (Page 150) Fig. 143: Detector 2D Code, tab Advanced Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 149...
  • Page 150 Only ECC200 and PDF 417: Number of columns including finder pattern. 4.6.3.11.6 2D Code detector, tab Modules 2D Code detector, tab Symbols (Page 150) 2D Code detector, tab Miscellaneous (Page 151) Page 150 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 151 4.6.3.11.7 2D Code detector, tab Miscellaneous 2D Code detector, tab Modules (Page 150) Detector OCR (Page 152) Fig. 146: Detector 2D Code, tab Miscellaneous Settings in tab Miscellaneous Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 151...
  • Page 152: Detector Ocr

    To set up an OCR Detector please follow these steps. As some steps base on the results of the one which was processed before, for a correct processing the sequence of the steps must be as described. Detector OCR, tab Character (flexible) (Page 156) Page 152 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 153 Value is in percent of character height. Verify proper segmentation of all characters before going to step "Classification". Classification has no influence to segmentation. Faulty segmented characters will be classified wrong. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 153...
  • Page 154 „1“ failed, as it´s contrast to background is much lower than all others. Fig. 151: Figure 119: Segmentation with value “3 3 2 1“ for parameter “Groups of characters”: Also the „lower contrast character“ get´s segmented. Page 154 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 155 Fig. 153: Figure 121: Segmentation with parameter “Text orientation” = „Font horizontal in ROI“: Segmentation works as characters are horizontal relative to ROI (search area). Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 155...
  • Page 156 Low confidence shows, that a character was not classified reliably. High confidence value however, is not a guarantee for reliable classification! 4.6.3.12.2 Detector OCR, tab Character (flexible) Detector OCR (Page 152) Detector OCR, tab Segmentation (Page 157) Page 156 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 157 Search zone for character (yellow frame) only as large as necessary 4.6.3.12.3 Detector OCR, tab Segmentation Definition of basic settings of characters to read. Detector OCR, tab Character (flexible) (Page 156) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 157...
  • Page 158 4.6.3.12.4 Detector OCR, tab Classification Definition of basic settings of characters to read. Detector OCR, tab Segmentation (Page 157) Detector OCR, available fonts (Page 160) Detector OCR, tab Quality (Page 163) Page 158 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 159 Threshold for good-bad decision: if number of corrections is higher than this threshold, Threshold the text will be marked as "not read" (detector result false). Most important elements of regular expressions Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 159...
  • Page 160 {n,m}Allows n to m repetitions {n}Allows exactly n repetitions |Separates alternative search expressions) 4.6.3.12.4.1 Detector OCR, available fonts Detector OCR, tab Classification (Page 158) Detector OCR, tab Quality (Page 163) Overview of fonts: Semi Page 160 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 161 Vision Sensor Manual Dot print Handwritten Industrial MICR Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 161...
  • Page 162 Vision Sensor Manual OCRA OCRB Pharma Page 162 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 163 In the image window the search- and feature areas and the result bar graphs are displayed – if set up. Fig. 160: Detector OCR, Result display The parameters displayed vary according to the type of detector selected: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 163...
  • Page 164: Detector Color Value

    - Monochrome chip: Display always black/ white - Color chip + Color detector: Display always colored - Color chip + Object detector: Monochrome image, display depending on selected color model and color channel Page 164 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 165 The parts which are not relevant for this examination Edit search region can be painted out like using an erasor. Masks can also be inverted, means that parts which are interesting can be Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 165...
  • Page 166: Detector Color Area, Color Select

    - Color chip + Color detector: Display always colored - Color chip + Object detector: Monochrome image, display depending on selected color model and color channel Fig. 163: Color channel Page 166 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 167 This is a help during setup to vizualise detector results and to set thresholds more accurate. Offers possibility to enter the thresholds inside a color Color histogram histogram. Predestinated applications: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 167...
  • Page 168 Detector Color list (Page 169) Fig. 166: Color area, thresholds Parameter Function Threshold Threshold for percentage of the area min. / max. Object size Min. / Max. object size (connected area) Page 168 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 169: Detector Color List

    208), LAB, Color model LAB (Page 209) Color channel One ore more channels can be selected. 4.6.3.15.2 Detector Color list, Color select Next topic: Output of inspection results (Page 172) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 169...
  • Page 170 Edit search region out like using an erasor. Masks can also be inverted, means that parts which are interesting can be marked. Page 170 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 171 If a color can be detected reliable by using only one channel, the other channels have to be set to max./min. limits to avoid disturbing influence to detection. Fig. 169: Color histogram Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 171...
  • Page 172: Output Of Inspection Results

    High = Job 2. Job 1 … N Job change by pulses on one input Teach Teaching of all detectors. Rising edge on this input and trigger start teaching. temporary / Page 172 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 173 Fig. 171: Output, Inputs 4.6.4.1.1.1 Encoder Connection If both tracks A+ ans B+ are used increasing or decreasing counting can be done / forward or backward movement of e.g. conveyor can be recognized. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 173...
  • Page 174 Fig. 173: Outputs There are 2 predefined outputs: Ready: indicates, that Sensor is ready to receive a trigger. Valid: indicated, that data on outputs are valid. Page 174 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 175: Functions Of The Programmable, Digital Inputs

    A high level causes evaluation according to job 2; a low level produces evaluation according to job 1. Differences between binary switching and Job 1 or 2: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 175...
  • Page 176 If possible job change should be made by binary coded signals like in fig. 2, this is the faster way. Fig. 176: Input timing, Job 1 ... n Attention! At Job switch please take care of the following: - All Jobs must have the same setting for job change Page 176 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 177 If "Repeat mode enable" is used, this implicitly causes function "Trigger enable" at the same time. That means only if a high signal is at this input, triggers are accepted and executed Fig. 178: Input, Repeat Mode Enable, with Trigger Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 177...
  • Page 178: Output Signals (Digital Outputs / Logic)

    Invert total result for this pin (output) Standard: combine several detectors by logical expressions like AND (&) / OR (|) / NOT Mode (!) to one logical expression. Advanced: Free edit of logical expression. Page 178 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 179 Please use the following characters for the logical operators when editing the formula: "&" for AND "|" for OR ("AltCtrl" key and "<>" key) "!" for NOT Examples: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 179...
  • Page 180: Interfaces

    Default is port 2006 (IN) for commands Ethernet to sensor and port 2005 (OUT) for data transfer. Festo offer utilities for explanation of Ethernet communication. They are installed together with this software in utilities directory.
  • Page 181 With this software a connected sensor can be monitored, and results analysed. From here no new settings on the sensor can be done, it´s a pure display tool to visualize images and results via a web browser. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 181...
  • Page 182 On / off of result bargraph. On / off of overlays. Store current image as a file. Switches between languages Switches between Result, Statistics and the list of Jobs available on the sensor. Page 182 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 183 The following web browsers are supported: Microsoft Internet Explorer from IE10, Google Chrome and Morzilla Firefox . With http://192.168.100.100/zoom.html (IP address of the sensor) a zoomed view is directly accessible. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 183...
  • Page 184: Timing, Digital Outputs

    Duration of result signal in ms result Attention: At Job Change and change from Run- to Config Mode outputs will get the following states: Buffer of delayed outputs will be deleted. Digital outputs: Page 184 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 185 After the SBS has evaluated the image and the results are valid the defined outputs change to the according logical states. Ready and Valid are set to high again. (ready for next task, outputs valid) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 185...
  • Page 186 For the ejector output the cycle time is: Result delay only! (Counted from trigger, only make sense if longer than summation of above mentioned times!) s. Vision Sensor Configuration Studio/Output/Timing/Output/Delay. Page 186 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 187 (Ready = high: Ready for next evaluation). This make sense as the SBS independent from the later setting of the other outputs, is now already available for the next evaluation task.. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 187...
  • Page 188 It´s recommended to check this possible exceeding of the Cycle time in real operation and to decrease the value for the setting according to this offset. Page 188 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 189: Telegram, Data Output

    In operation with an I/O Box preferably use the timing functions of the I/O Box. 4.6.4.6 Telegram, Data output Serial Communication ASCII (Page 316) Serial communication BINARY (Page 338) EtherNet/IP Appendix (Page 296) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 189...
  • Page 190 “Selected outputs, Logical outputs, Execution time, Active job no., Checksum fields, Data length” ff. Detector-specific individual results First create a new entry by activating the "+" button. Function of buttons Page 190 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 191 Ethernet: The sensor here is the (socket-) “server" and serves the Data via a „server-socket" interface. This is basically a “programming interface”. To read or process the Data a “socket client" (PC, PLC, ..) must establish a (socket-) connection (active) to the sensor. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 191...
  • Page 192 Save to file Exportation of file format with current results as .csv Reset Reset of all parameters in this tab Basics for establishing of a connection: SBS is always tcp/ip (socket-) server. Page 192 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 193: Parameters For Image Transmission

    Ram disk Settings: Off, Any, Pass, Fail. Ram disk The image is stored under name "image.bmp" in folder /tmp/results/ . Parameters for FTP-client: user "user", password "user" Example Windows Console: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 193...
  • Page 194 FTP from directory Disk) filtering /tamp/results. unlimited selectable (Limit is Archiving of images via with / Archiving of images via FTP or SMB size of FTP or SMB without hard disc filtering Page 194 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 195: Parameters Archiving

    If protocol file is active, there will be generated automatically a .csv file for Result files each inspection (trigger). Contents of the file are specified in "Output / Telegram". Files will have increasing numbers. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 195...
  • Page 196: Result

    In “Run” mode the results of the detector marked in the detector list are displayed. In the image window – if adjusted – the image, the search- and feature- frames, and the result- graphs are displayed Fig. 197: Result Page 196 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 197 Color list, Color Hue value of color model HSV) value Saturation (Color Color list, Color Saturation of color model HSV) value Brightness (Color Color list, Color Brightness of color model HSV) value Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 197...
  • Page 198: Score Value With Result Of Caliper Detector

    Fig. 198: Score value Caliper detector 4.6.6 Start sensor This function sets the sensor to run mode and executes the job. Image display (Page 210) Result (Page 196) Statistics (Page 214) Page 198 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 199: Further Topics Of Vision Sensor Configuration Studio

    4.6.7 Further topics of Vision Sensor Configuration Studio Trigger settings (Page 200) Switching between online and offline mode (Page 200) Simulation of jobs (offline mode) (Page 201) Creating filmstrips (Page 201) Image recorder (Page 211) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 199...
  • Page 200: Trigger Settings

    Two operating modes are available for sensor configuration and test run, which you can select in the Connection window. Online mode: Configuration with connected sensor. Offline mode: Simulation of a sensor with the help of images stored in film strips. Page 200 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 201: Simulation Of Jobs (Offline Mode)

    3. Select configure filmstrips in the File menu or click on the icon filmstrips in the toolbar. The images loaded from the sensor appear in the selection list that appears below: Fig. 201: Filmstrip Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 201...
  • Page 202 Load / Save Load filmstrip from data carrier or save there film strip 4.6.7.4.4 Displays in image window 4.6.7.4.4.1 Controlling image reproduction Fig. 202: Image reproduction Page 202 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 203: Image Recorder

    Select “Get images from sensor” from the File menu or click on the button "Rec.images" (only in Vision Sensor Visualisation Studio). A display window appears in which you can load images stored in the sensor's RAM on to the PC and then examine and save them: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 203...
  • Page 204 Loading images from the sensor on to the PC deletes data on the sensor. If the recorder window is closed without images having been saved, they will also be deleted from the PC. Images are lost from the buffer in the event of a loss of power. Page 204 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 205: Displays In Image Window

    When a new detector is created, a yellow frame is displayed, which defines the detector's search zone. The standard shape of the search zone is a rectangle; with contrast and grey level detectors, a circle can Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 205...
  • Page 206 (alignment detector). Fig. 207: Search- and feature frames Information: Page 206 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 207: Color Models

    RGB color model is an additive color model, which describes colors by adding the components of the base color red, green and blue. The RGB- color space is described as a linear color space, as a cube with the three axis Red, Green and Blue. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 207...
  • Page 208 HSV color model is the most similar to describe what the human eye sees. Fig. 209: Color model HSV H (hue) stands for the angle on the color circle (e. g. 0° = red, 120° = green, 240° = blue) Page 208 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 209: Application Examples

    LAB values are calculated from linear RGB values. This is based in a D65 illuminant and a 2° observer. 4.6.7.9 Application Examples In Menu "File" "Examples" predefined examples can be loaded. A filmstrip is loaded together with a job-file. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 209...
  • Page 210: Sbs – Operating- And Configuration Software – Vision Sensor Visualisation Studio, All Functions

    This may cause lost images in images archiving. If this symbol occurs often, PC-programs running in background should be closed in order to improve PC performance. You can configure the graphics of the inspection results in the View menu. Page 210 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 211: Commands / Freeze Image

    In the Vision Sensor Visualisation Studio program, you may be required to enter a password (if activated) to call up recorder images (User user group, see user administration). Activating recorder: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 211...
  • Page 212 (max. 10) are displayed in the counter under the display window. During storage, the images are deposited in bitmap format (extension .bmp) with a resolution of 640 x 480 pixels (VGA). Page 212 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 213: Archiving Test Results And Images

    Access to this function may require password entry (User user group, see user administration). Configuring archiving: 1. Select Configure archiving ... from the File menu. A dialogue box appears with the following options: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 213...
  • Page 214: Statistics

    Statistical data from the inspection process is displayed in the Statistics tab in run mode. The statistical data displayed is identical for all types of detectors: Parameter Function All evaluations Total number of inspections Good parts Number of inspections with result "OK" Page 214 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 215: Result

    Delta X, Delta Y Contour position / through alignment Pattern match., Position check Position found within the defined position frame Contour Pattern match., Angle Orientation (absolute angle) of parameter found Contour Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 215...
  • Page 216: Changing Active Job

    In the Job tab, the jobs available on the sensor are displayed in the selection list. Here you can switch between different jobs stored on the sensor. The use of functions which stop an active sensor may require password entry (User group user, see user administration). Password levels Page 216 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 217: Upload

    You can load new jobs or entire job sets from the PC to the sensor memory in the Upload tab. The available jobs and job sets are displayed in the selection list. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 217...
  • Page 218 Select a job or job set from the list and load it on to the sensor with the "Upload" button. This action deletes all jobs previously stored on the sensor! Page 218 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 219: Communication

    5.1.1.1 Ethernet example 1: Pure data output from SBS to PC / PLC Step 1: After the job with all necessary detectors, if so alignment is set up, here the Ethernet interface get´s activated and if necessary it´s parameter are set also. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 219...
  • Page 220 As format „ASCII“ is defined, that makes traceability easier. The function with other payload data or in binary format works analogue to this example and to the here made settings. Fig. 219: Data output, configuration of output data Step 3: Page 220 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 221 „Active Sensors“ = 192.168.60.199 Fig. 221: Vision Sensor Device Manager, IP address ... The port number for the output port was taken over from Step 1 with port 2005. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 221...
  • Page 222 In the example Trigger mode is “Continuous”, that means evaluation is done continuously and data is sent continuously too. All this data is visible in the main window of Hercules. Page 222 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 223 Fig. 224: Data output, Ethernet, Tool / 3 Then here visible data are displayed (as set up in „Output“): Start: „010“ Overall result of detector 1 („P“ for positive, as result of detector Brightness is = “Pass”) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 223...
  • Page 224: Ethernet Example 2: Commands (Requests) From Pc / Plc To Sbs

    2006 as input port of the SBS , where it can receive commands. All telegrams (commands and response strings) to and from the SBS you find in chap. Serial Communication ASCII ff... Page 224 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 225 Adjust Job/Image acquisition/Trigger mode = Trigger. All other settings remain the same like in example 1. For this example Job 1 was set up with the below visible data output: Start: „010“ Trailer: „xxx“ Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 225...
  • Page 226 Fig. 228: Data output, Ethernet, Job switch Job 1 Job2 was set up with detector 1 and data output: Start: „020“ Overall result of detector 1 Trailer: „yyy“ Fig. 229: Data output, Ethernet, Job switch, Job 2 Page 226 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 227 „Send“) was sent. This is displayed in the main window in red letters “CJB001“. The SBS responds with the acknowledge „CJBPT001“ (repetition of command „CJB“, „P“ for positive, „T“ = Triggered, “001” Job number to which was switched) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 227...
  • Page 228: Rs422

    (socket-) connection (active) to the sensor. Handling, settings 5.1.2.1 RS422 example 1: Data output from SBS to PC / PLC, and commands (requests) to the SBS With response / Data output from SBS Page 228 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 229 As format „ASCII“ is defined, that makes traceability easier. The function with other payload data or in binary format works analogue to this example and to the here made settings. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 229...
  • Page 230 All this data is visible in the main window of Hercules. Fig. 236: Start sensor Step 4: After start of Serial- tool Hercules, tab „Serial“ must be selected to communicate via RS422 with the socket server SBS . Page 230 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 231 The rest of the settings at the right are the default values of Hercules. „DTR“ and „RTS“ must be activated. With a click to the button „Connect“ the connection to the SBS is established and shown in the main window in green letters. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 231...
  • Page 232 With a click to button „Send“ the command „TRG“ is sent to the SBS . It responds with „TRG“, followed by „P“ for positive and the payload data „010Pxxx“. Fig. 239: Data output, RS422, tool / 2 Step 6: Page 232 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 233 Adjust Job/Image acquisition/Trigger mode = Trigger. All other settings remain the same like in example 1. In Output/Interfaces here the interface RS422 was activated. For this example Job 1 was set up with the below visible data output: Start: „010“ Trailer: „xxx“ Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 233...
  • Page 234 Fig. 241: Data output, RS422, Job switch, Job 1 Job2 was set up with detector 1 and data output: Start: „020“ Overall result of detector 1 Trailer: „yyy“ Fig. 242: Data output, RS422, Job switch, Job 2 Page 234 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 235 Fig. 243: Data output, RS422, Job switch tool / 1 Step 4 With the command „CJB002“ (ChangeJoB, Job Nr. 002, s. below line2, “Send“) the SBS now switches to Job 2. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 235...
  • Page 236 „TRGP“ (repetition of command „TRG“ and „P“ for positive) is sent. Also, as now Job 2 is active, the result string „020Pyyy“ like in Job 2 defined is transmitted. Page 236 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 237: Settings To Connect The „I/O-Box" For I/O- Extension Or Ejector Control To The Sbs

    SBS To operate the I/O-Box with the SBS the following settings in Output/ Interfaces/External I/O extension must be done. Setting 1: 8Inputs_32Outputs Enable: Mark checkbox in column „Enable“ Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 237...
  • Page 238: Pc- Archiving (Vision Sensor Visualisation Studio)

    The setup (folder ...) is done via Vision Sensor Visualisation Studio in menu “File/Archiving”. This function is available on PC only. Step 1: Start Vision Sensor Visualisation Studio from Vision Sensor Device Manager, Click to button „View“ Fig. 247: Vision Sensor Device Manager Page 238 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 239 Activates cyclic overwriting of oldest images if limitation of storage is reached. circularly Settings, In this drop-down menu it is possible to specify which images (all images or only good or Limitation bad images) are to be stored. (max.) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 239...
  • Page 240: Start/End Archiving

    With this function images and numeric result data (in .csv format) can be stored actively by the sensor via ftp/smb. This kind of archiving is configured under „Job/Archiving", in this case: Page 240 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 241: Example: Archiving Via Ftp

    Password = in the ftp account used Password (option) With this the for ftp communication according settings are done. Also other settings like: Filename, Max. number of files, Storage mode ….. can be made here Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 241...
  • Page 242: Example: Archiving Via Smb

    To archive data and / or images via SMB (Server message block), at the end of the PC a folder must be shared. The following example shows the settings for archiving data via SMB exemplarily. Page 242 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 243 Fig. 253: Create folder to write data and / or images. Via right- click to the folder (here „Test_SMB“), select „properties“. In the following dialog „Test_SMB Properties“ select tab „Sharing” and open “Advnaced Sharing”. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 243...
  • Page 244 “Test_SMB” is suggested. Here any other name can be set. In this example the suggested folder name is used. Important: This “Share name” must be set later in the SBS- SMB- Interface! With a click to „Permissions“ the following dialog appears. Page 244 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 245 (here „fsc“), (for which user name and password is known). User name and password are necessary later to be set in the SBS- SMB- Interface. Activate „Full control“, and close the dialog with „Apply“ and „OK“. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 245...
  • Page 246 The access for the here selected user to the selected folder on the PC now is set, and now the corresponding settings in the SBS- Interface „Vision Sensor Configuration Studio“ can be made. Page 246 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 247 • IP addresse: IP addresse of PC (this can be found with command „ipconfig“ via Start/run/cmd, s. following screenshot). In this example: 192.168.60.14 Fig. 258: IP- Adresse des PC via Start/Ausführen/cmd/ipconfig Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 247...
  • Page 248 After starting of the sensor the images and data (as .csv- file), which has been defined under: Vision Sensor Configuration Studio/Output/Telegram are stored in the corresponding subfolder of the shared folder. Page 248 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 249: Ram Disk (On The Sensor)

    .csv, on the SBS in folder „/tmp/results”. Fig. 260: Ram Disk To access this data an ftp client connection like follows e.g. with Windows Explorer is established via: ftp://”IPAdr_SBS”/tmp/results. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 249...
  • Page 250 There are the both files: image.bmp and results.csv (if in Output/Telegram a data string was defined), as image and result data of the latest evaluation. With command „get image.bmp“, or. „get results.csv“ the files are copied to the selected folder on the Page 250 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 251: Backup

    And also must be optically focused and set up correctly to work in the network. After this the in advance stored parameter settings can be restored from the PC to the sensor. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 251...
  • Page 252: Job Switch

    The mapping of the I/O´s is not fixed. It´s depending on the settings in Vision Sensor Configuration Studio/Output/I/O mapping. The change of the logical level of all related inputs must happen at the same time. Page 252 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 253: Job 1..N Via Pulses

    RS422 example 1.1: command Job switch from PC / PLC to SBS 5.3.4 Job switch via Vision Sensor Visualisation Studio In the application Vision Sensor Visualisation Studio a job switch can be made, or completely new job set´s can be uploaded. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 253...
  • Page 254: Operation With Plc

    Via the Profibus plug adapter the communication between sensor and PLC can be established. This is realized with the RS422 / Profibus converter described in document: „Anybus Profibus operating instruction“ in: Startmenue/Festo/SBS Vision Sensor/Tools/Anybus Profibus/... Page 254 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 255: Example Siemens S7

    IP address in the field „Add active sensor“ and press button „Add“. „ The according sensor now appears in the list „Active sensors“ and can be accessed now. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 255...
  • Page 256: Proceeding/Troubleshooting - Direct Connection

    Creating a functioning Ethernet connection between SBS Vision Sensor and PC Fig. 266: Direct connection sensor / PC, proceeding / troubleshooting 5.5.3 Proceeding/Troubleshooting - Network Connection Establishing an operational Ethernet connection between SBS Vision Sensor and PC Page 256 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 257: Used Ethernet- Ports

    To communicate between a PC fur configuration and the SBS the following ports are used: * Port 2000, TCP * Port 2001, UDP Broadcast (to find sensors via Vision Sensor Device Manager) * Port 2002, TCP Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 257...
  • Page 258: Access To Sbs Via Network

    Vision Sensor Device Manager via Add- IP- the sensor IP of sensor 2 is set correct > now the SBS 2 appears in the list „Active Sensors“ in Vision Sensor Device Manager ! Page 258 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 259: Access To Sbs Via Internet / World Wide Web

    Device Manager under „Add active sensor“ (here in example: 62.75.148.101) In router 2 the ports which should be used by the sensor must be defined. (s. also chap. Used Ethernet- Ports (Page 257)) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 259...
  • Page 260: Vision Sensor, Profinet, Introduction

    Fig. 269: Access to SBS via Internet / World Wide Web 5.6 Vision Sensor, PROFINET, Introduction This chapter explains the use of Festo Vision sensor with Profinet. The Profinet interface is implemented starting with version 1.12.x.x. For data communication between Vision sensor and PLC via Profinet the following topics are explained: electrical connection, settings in Vision sensor and PLC (as example for Siemens S7), available telegrams formats and the telegram timing.
  • Page 261: Electrical Connection Sbs In The Profinet Network

    Profinet environment. Fig. 270: Connection of SBS via Profinet switch 5.6.2 Configuration of SBS via Festo Vision Sensor Configuration Studio for the use with PROFINET In this example the configuration of SBS R2B CR Advanced is described. For all other types the configuration works analogue.
  • Page 262: Setting Of Ip And Name

    The name must be DNS compatible. That means: . Hostnames may only consist of the characters 'a'-'z', '0'-'9', '-' and '.'. (lower case only) The Character '.' may just occure as divider between labels in domain names. Page 262 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 263: Open Vision Sensor Configuration Studio

    Sensor Configuration Studio starts. Fig. 274: Open Vision Sensor Configuration Studio 5.6.2.4 Select Interface “Profinet” In Output/Interface/Profinet via the checkbox the Profinet interface is selected. By this command the Profinet stack gets startet. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 263...
  • Page 264: Definition Of The Telegram

    Sensor Configuration Studio/Output/Telegram. The description you find in the SBS User manual in chapter Telegram, Data output (Page 189) under: Vision Sensor Configuration Studio/Help/Manual. Fig. 276: Data output, protocol: Binary Page 264 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 265: Start Sensor, Data Output

    5.6.3.1 Create a new project New project with: Project/Create new project (Fig. 9) Create new project 5.6.3.2 Select GSD file First a Profinet PLC must be added to the project. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 265...
  • Page 266: Adding Sbs To Project

    To use the Profinet functions of the SBS, the GSD file for the SBS must be installed in it´s latest version. This is done at: Options/Install general station description file. The GSD file is available in the installation path of SBS: ..\Festo\SBS Vision Sensor\Tools\Profinet, and as download at www.Festo.com.
  • Page 267: Connect Sbs To Plc

    5.6.3.4 Connect SBS to PLC With drag and drop a SBS module can be put into the Network view. Now connect the SBS via Profinet to the PLC (Tab. Network view). Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 267...
  • Page 268: Definition Of I/O Data

    IP address. Address from the field “IP address” is written into the SBS. The IP address of the PLC and of the SBS must not be the same, but must correspond, what means they have to be in the same address range. Page 268 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 269 PLC / TIA Interface, and set IP address via Vision Sensor Device Manager chap.Setting of IP and name (Page 262)). Fig. 283: Set IP address via Vision Sensor Device Manager, settings therefor in the PLC/TIA interface Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 269...
  • Page 270: Set The Name With Tia Interface

    This is done with the tool: Online/Assign PROFINET device name. Select the device in the list (SBS ) and with „Assign name“ the name is written into the sensor. Page 270 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 271: Translate Project And Write To Plc

    1 Bit 1 High (1): Hardware trigger or free run disabled Disable If the HW-Pin "Trigger enable" is used, both (Digital input “Hardware- Trigger” and “HW Trigger Disable Bit”) have to Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 271...
  • Page 272 Must change from 0 to 1, and remain till Trigger ack. is received Byte 0 Byte 1 Byte 2 Bit 2:Trigger bit = 1 (rest not Reserve Job number relevant in this case) Example 1.2: Module 1 “Control”: Change Job Page 272 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 273: Module2: "Status" (From Sbs To Plc)

    1 Bit 4 Success or failure of Switch to run request is signalized acknowledge with bitfield "Error" (error code "3: Failure Switch to run request") and Bit "Operation Mode". Acknowledge Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 273...
  • Page 274 3: Failure switch to run 15: System error Trigegr 1 = Free run 1 Bit 4 mode 0 = Triggered Reserve 1 Bit 5 Operation 1 Bit 6 1 = Run Page 274 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 275 Bit 0: Ready = 0 Bit 2: Trigger ack. = 1 Reserve Digital results Byte 3 Byte 4 Byte 5 Job number Image ID Error 4 bit, Trigger mode etc. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 275...
  • Page 276: Module 3: "Data" (From Sbs To Plc)

    5.6.4.4 Module 4: „Request“ (From PLC to SBS) Name in PLC „REQU (4 + 8/16/… bytes)“ Byte- Member Data- Position in Size in Bytes Meaning name Type number Module Request key (Request counter) Byte Page 276 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 277: Module 5: „Response" (From Sbs To Plc)

    5.6.4.6 Start- / End- criteria per each Profinet command Command Start- condition (Modul Confirmation of acceptance Confirmation of execution (Modul „Status“) (Modul „Status“) (Modul „Status“) „Control“) Trigger Ready = High Trigger Ack = High Image ID changed Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 277...
  • Page 278: Timing Diagrams To The Sbs Profinet Communication With A Plc

    5.6.5 Timing diagrams to the SBS Profinet communication with a PLC 5.6.5.1 Case: Trigger ok Fig. 287: Timing Trigger ok 5.6.5.2 Case: Trigger not possible (not ready) Fig. 288: Timing Trigger not ready Page 278 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 279: Case: Jobchange Ok

    Vision Sensor Manual 5.6.5.3 Case: Jobchange ok Fig. 289: Timing Jobchange ok 5.6.5.4 Case: Jobchange delayed Fig. 290: Timing Jobchange delayed Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 279...
  • Page 280: Case: Jobchange Not Possible (E.g. Wrong Job Number)

    5.6.5.5 Case: Jobchange not possible (e.g. wrong job number) Fig. 291: Timing Jobchange not possible 5.6.5.6 Case: Switch to run ok Fig. 292: Timing Switch to run ok 5.6.5.7 Case: Switch to run not possible Page 280 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 281: Strong Recommendations For Plc Programmer

    6. (Case Trigger not successful) Check Error Bitfield going 0, then set Reset Error Bit low. 5.6.5.9.3 ChangeJob Request Sequence 1. Set Byte Jobnumber in Control module to desired value. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 281...
  • Page 282 6. (Case Switch-to-Run not successful) Check Switch-to-Run Ack Bit low and Error Bitfield going 0, then set Reset Error Bit low. 5.6.5.9.5 Sequence for requests via request/response module: 1. Request ID and request data is set. 2. Request key is incremented. Page 282 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 283: Vision Sensor, Ethernet/Ip, Introduction

    Fig. 294: Connection of Vision Sensor via EtherNet/IP switch 5.7.2 Configuration of Vision Sensor for the use with EtherNet/IP In this example the configuration of the Vision Sensor is described. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 283...
  • Page 284: Settings In Vision Sensor Device Manager

    Sensor Configuration Studio starts. With the desired Vision sensor is selected in Vision Sensor Device Manager, click “Config.” When the following dialog box is displayed, click “OK” to stop the Vision sensor and begin configuring it. Page 284 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 285: Select Interface "Ethernet/Ip

    The output data itself are configured identically as the data output via Ethernet TCP/IP or RS422 in: Vision Sensor Configuration Studio/Output/Telegram. The description you find in the Vision Sensor User manual in chapter Telegram, Data output (Page 189) under: Vision Sensor Configuration Studio/Help/Manual. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 285...
  • Page 286: Start Sensor, Data Output

    5.7.3 EtherNet/IP protocol EtherNet/IP has a predefined protocol, consisting oft two assemblies. - Assembly request (PLC to Sensor, 344 bytes long) and - Assembly response (Sensor to PLC, 444 bytes long) Page 286 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 287: Assembly Request

    Count 0x05 0x01 0x03 0x43 0x01 0x65 0x0A pattern Example Example Example 1 Constant Example for Command set Explanation string f. param. type character value detector 1 ref. string “C” Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 287...
  • Page 288 After first connection of PLC to SBS the SBS must in be “ready”-state, otherwise there would have been no connection. Following chart shows the hardware ready signal in relation to the commands over EtherNet/IP at the example of a typical trigger sequence: Fig. 301: EtherNet/IP, Sensor ready Page 288 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 289: Assembly Response

    Depending from kind of output data they can be found in the assembly response at - Boolean: byte 92 (pucBool) - String: byte 116 (pcString) - Integer: byte 244 (pnInt) Example Trigger Handshake Fig. 303: EtherNet/IP, Trigger handshake Response and request bytes Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 289...
  • Page 290: Eds File

    A complete documentation of the assemblies can be found in the end of this chapter. 5.7.4 EDS file Festo provides an EDS file for easy implementation into controllers which support EDS files. Concerning installation and use of EDS files please use the documentation of the controller.
  • Page 291: Implementation Of Vision Sensor Into Rslogix

    In this example the IP adress of RSLogix is 192.168.100.84, this can be configured by click with right mouse button on „EtherNet/IP Eth1“ è “New Module”: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 291...
  • Page 292: Over Generic Profile

    Each sensor is added as a “Generic Ethernet Module” as shown in the following two screenshots: enter IP adress of sensor (as set before with Vision Sensor Device Manager software) and the number of input and output bytes like shown in screenshot: Page 292 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 293: Over Eds-File

    Duplicate this step with different name and IP-address for each sensor, rest of settings the same. 5.7.5.2 Over EDS-File If an EDS file has been installed before „Festo SBS” can be selected directly inside the list of available modules. Assembly size and Assembly instance is set automatically in this case. Only IP address of SBS has to be entered.
  • Page 294: Result Data: Assembly Response

    Fig. 312: EtherNet/IP, select Generic Module Fig. 313: EtherNet/IP, set IP address, EDS- file 5.7.6 Result data: assembly response User defined data output to be configured in the result telegram specification: Page 294 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 295 Depending on the kind of output data they can be found in the assembly response at - Boolean: byte 92 (pucBool) Fig. 315: EtherNet/IP, Output data, Bool - String: byte 116 (pcString) Fig. 316: EtherNet/IP, Output data, String Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 295...
  • Page 296: Ethernet/Ip Appendix

    Each byte corresponds to values which are sent from the PLC to the sensor. The position defines the byte to use and the size defines the length of this command. Size Data Position Member Description (bytes) type Page 296 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 297 LSB of position 6 to "1". (Standard version: job 1 or job 2; Advanced versions: 255 jobs available). For that, write the job number 4 bytes to position / byte 264 . Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 297...
  • Page 298 The code is: 0x0 0x9 on position 2. To active this command, you have to launch two trigger to catch a new picture and you have to increment the request key. Position 2: Page 298 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 299: Assembly Response

    Assembly responses are data sent by the sensor after made some commands by the PLC or by the software. For the commands by PLC, please see Ethernet / IP request file. To set commands by the software with the Vision SensorConfig, proceed as follow: Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 299...
  • Page 300 Freerun : The sensor takes a new picture when the pucStatus[RPNS_ processing is finished. IMPL_NUM_ Trigger : The sensor wait an external signal to take a BYTE_STATUS] new picture. Example Byte 56, bit "0" and "1": Page 300 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 301 According to: Byte 1 and 2, of "Digital outputs", in "Serial communication / Data output Binary" Number of active logical outputs (assigned to one unNumLogic tool) (To active this data, select in Vision Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 301...
  • Page 302 0000 0000 1011 (To active this data, select in Vision SensorConfig : Logical outputs) According to: Byte 3 ... n, of "Logical outputs", in "Serial communication / Data output Binary" Page 302 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 303 (bitwise) as configured in HMI IMPL_NUM_ (listbox) BYTE_BOOL] punStringLength [RPNS_IMPL_ lengths of strings included in pcValueChar NUM_STRING] pucStringTruncated [RPNS_IMPL_ indicates for each string whether it has been NUM_BYTE_ truncated (bitwise) STRING_ TRUNCATED] Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 303...
  • Page 304: Rescue

    Reset SBS , Power off/on or Vision Sensor Device Manager/File/Sensor soft reset (SBS must be connected via Ethernet and be located in the same network as the PC) In the field below „Received Data“ now all settings of the SBS are displayed. Page 304 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 305 Restart (Power off/on), can be entered. Restart SBS . Attention: The after the next restart displayed data are the old ones as they are not refreshed by sensor restart. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 305...
  • Page 306 Vision Sensor Manual Fig. 319: Rescue / 2 Page 306 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 307: Image Settings And Accessories

    Another advantage of the infrared light is, that the light flashes are not visible and do not disturb any human workers which are near the plant. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 307...
  • Page 308: External Illumination

    The both types LF45 xxx and LFR115 xxx can be connected directly to the sensor. Fig. 320: Connection of external illumination LF45 xxx and LFR45 xxxAll other listed types are connected to the SBS as follows. Page 308 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 309 Vision Sensor Manual Fig. 321: Connection of external illumination, all types except LF45 xxx and LFR115 xxx. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 309...
  • Page 310: The Most Important Types Of Illumination Are: Bright Field, Dark Field And Diffuse Illumination

    By the direct reflection of the highly reflective (shiny) metal part, even before a white background, this is possible to be distinguished and recognized with Bright field illumination! With Dark field illumination it´s not possible to distinguish between shiny metal part and white background! Page 310 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 311: Dark Field Illumination

    This type of illumination functions with wide angle ranges and depends little on the object’s surface. With Bright field / With Dark field Fig. 325: Example, Dark field Edges are clearly accentuated with Dark field illumination. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 311...
  • Page 312: Diffuse Illumination (External Only)

    Via the IO-Box the digital in- and outputs can be extended (8 inputs, 32 outputs), or an encoder controlled ejector can be realized. The connection and parameter setting of the I/O-Box is described in document: „IO-Mounting and operating instructions“ in: Startmenue/Festo/SBS Vision Sensor/Documentation/... Page 312 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 313: Technical Data

    5 x 4 8 x 6 16 x 13 Mechanical data Length x width x height 65 x 45 x 45 mm (without plug) Weight approx.160 g Vibration / shock EN 60947-5-2 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 313...
  • Page 314 100 ms for one evaluation Color SBS -XX-Standard: 8 / 32 Number of jobs / detectors SBS -XX-Advanced: max. 255 / max. 255 • alignment (Advanced) Evaluation modes • contour match with/without position detection Page 314 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 315 2 ms colour list Universal SBS R2B-ALL ... : max. 255 / max. 255 Number of jobs / detectors All function as Evaluation modes / Object Typical cycle time Code Reader Color Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 315...
  • Page 316: Addendum

    2005) Pass Fail Additional information Accepted in run mode: Accepted in configuration mode: Accepted when Ready Low: Status of Ready signal during processing: End of telegram max. 4 byte (option) Page 316 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 317 Result data without index via port 2005 also) Pass Fail Length of following data (n) 7...n Data of request command C = Config R = Run Length of following result data (m) n+9...m Result data Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 317...
  • Page 318 Byte no. ASCII contents Significance Change Job Job number Job change-over (ASCII) Response String from Sensor Byte no. Contents Significance Change Job Pass Fail Triggered Free-run Job number Additional information: Page 318 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 319 Length of reference string / value in Bytes (n) 15...n Reference string / value Set parameter (ASCII) Response string from Sensor Byte No. Contents ASCII Significance Set parameter P Permanent T Temporary P Pass F Fail Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 319...
  • Page 320 Threshold Min Contour Threshold Max Threshold Min Threshold Max Grey Level GreyMin GreyMax Threshold Min Contrast Threshold Max Barcode Reference String Datacode Reference String Reference String ColorMinChannel1 Color Value ColorMaxChannel1 Page 320 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 321 Command: Set reference string / value *1), see below ! Get parameter (ASCII) Response String from Sensor Byte No. Contents Significance Get parameter P Pass F Fail Parameter of type STRG (String) was read Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 321...
  • Page 322 Threshold Max Alignment Edge Transition_Horizontal Transition_Vertical Threshold Min Pattern matching Threshold Max Threshold Min Contour Threshold Max Threshold Min Threshold Max Grey Level GreyMin GreyMax Threshold Min Contrast Threshold Max Page 322 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 323: Barcode

    0 – Last Image 1 – Last Failed Image 2 – Last Good Image Get image (ASCII) Response String from Sensor Byte No. Contents Significance Get image P Pass F Fail Error type Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 323...
  • Page 324 Accepted when Ready Low: Status of Ready signal during pulled low processing: End of telegram max. 4 byte (option) Set Shutter (ASCII) Byte No. Contents Significance Set Shutter in active Job Permanent Page 324 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 325 Get Shutter (ASCII, since version 1.6.5.3) Byte No. Contents Significance Get shutter from active job Get Shutter (ASCII) Response String from Sensor Byte No. Contents Significance Get shutter P Pass Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 325...
  • Page 326 43-50 half height / Y-radius ( in pixels * 1000), e.g. 40 Pixel = 0004000 51-58 Angle (not at circle / ellipse) (in ° * 1000), e.g. 180° = 0018000 Page 326 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 327 Detector No. e.g. 001 ROI Index = 00 for yellow ROI = 01 for red ROI Get ROI (ASCII) Response String from Sensor Byte No. Contents Significance Get ROI P Pass Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 327...
  • Page 328 End of telegram max. 4 byte (option) Teach detector(ASCII) Byte No. Content Significance Teach detector Detector number 0 = Alignment >= 1 Detectors Permanency 0 = Temporary 1 = Permanent Trigger Page 328 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 329 1: first point in list 9-16 World X 17-24 World Y Example CAP123451234567812345678 Calibration Add Point (ASCII) response String (from sensor) Byte No. Content Significance Calibration Add Point P: Pass Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 329...
  • Page 330 Calibration Calibrate (ASCII) response String (from sensor) Byte No. Content Significance Calibration Calibrate P: Pass F: Fail Current highest point pair index 10-17 RMSE (Root Mean Square Error) 18-25 Mean Page 330 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 331 Accepted in Run mode Accepted in Config mode Accepted when Ready is Low Status of Ready signal during processing Not altered Supported Interfaces UserApp End of telegram max. 4 byte (option) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 331...
  • Page 332 Status of Ready signal during processing Not altered Supported Interfaces UserApp End of telegram max. 4 byte (option) Set Gain (ASCII), request string (from PLC) Byte No. Content Significance Set Shutter in active Job Permanent Page 332 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 333 Status of Ready signal during processing: pulled low End of telegram max. 4 byte (option) Set Gain (ASCII), request string from PLC Byte No. Content Significance Set Gain 1 = Permanent 0 = Temporary Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 333...
  • Page 334 "byte-wise" Selected Fields 1 Byte per field can be activated - Output order is from left to right and from top to down. Page 334 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 335 Example: 18 logical outputs are configured, but only First Bytes: output1,2 and 9 are linked to functions (are active): number of active Logical outputs logical outputs Following 3PP000000P Bytes:logical Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 335...
  • Page 336 Result vertical Boolean result of horizontal edge detection of alignment F = Fail Score horizontal Score 0..100% (alignment only using edge detection) Score vertical Score 0..100% (alignment using edge detection) Page 336 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 337 String 1...n 127!! minimum string length (detector specific data output) and maximum string length (detector parameters) have to be used. String length Length of Code in Bytes Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 337...
  • Page 338: Byte No

    Trigger command, (response to trigger without index, via port 2006. If defined: 0x01 Char result data without index via port 2005) Unsigned 0x00 Error code, 0 = Pass, 1 = Fail Page 338 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 339 2006, for correlation of trigger to corresponding result, Result data without Char index, via port 2005 also) Error code 0x00 Unsigned 0 = Pass Short 0xXX 1 = Fail Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 339...
  • Page 340: Data Type

    Job change-over command Char Unsigned 0xXX Job no, XX = 1- n Char Job change-over (binary) Answer string from sensor Byte Data Contents Significance type Unsigned 0x00 Length of telegram Page 340 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 341 Unsigned Short 0x00 Length new reference string / value (n) 0x0n 10..n Unsigned Char Reference string / value Set parameter (Binary) Response string from Sensor (may be 4-5 seconds delayed) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 341...
  • Page 342: Byte No

    Threshold Min Threshold Max Threshold Min Alignment Edge Threshold Max Transition_Horizontal Transition_Vertical Pattern matching Threshold Min Threshold Max Contour Threshold Min Threshold Max Threshold Min Grey Level Threshold Max GreyMin GreyMax Page 342 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 343 Command: Set reference string / value *1), see Unsigned Char 0x65 below ! Get Parameter (Binary) Response string from Sensor (may be 4-5 Seconds delayed) Byte no. Data type Contents Significance Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 343...
  • Page 344: Unsigned Int 0X00

    Threshold Min Threshold Max Threshold Min Alignment Edge Threshold Max Transition_Horizontal Transition_Vertical Pattern matching Threshold Min Threshold Max Contour Threshold Min Threshold Max Threshold Min Grey Level Threshold Max GreyMin Page 344 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 345: Colorminchannel1

    0 – Last Image Unsigned 0xXX Char 1 – Last Failed Image 2 – Last Good Image Get image (Binary) Response String from Sensor Byte No. Data type Contents Significance Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 345...
  • Page 346 Accepted in run mode: Accepted in configuration mode: Accepted when Ready Low: Status of Ready signal during processing: Pulled low Set Shutter (Binary) Request string to Sensor Byte No. Data Type Contents Significance Page 346 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 347 Get Shutter (Binary), Request string to Sensor (since version 1.6.5.3) Byte No. Data type Contents Significance 0x00 0x00 Unsigned int Length of telegram 0x00 0x05 Unsigned Char 0x17 Request ID, Get shutter Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 347...
  • Page 348 Command set ROI temporary 0x11 Command set ROI permanent Unsigned Int 0xXX 0xXX ROI Info Length in Bytes from Byte 6 to end 0xXX 0xXX Unsigned Char 0xXX Detector No. Page 348 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 349 Unsigned Char 0x10 ID set ROI temporary 0x11 ID set ROI permanent Unsigned Short 0x00 Error Code 00 00 = Pass Error Code 00 01 = Fail 0xXX Additional information Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 349...
  • Page 350 ROI Info Length in Bytes from Byte 8 to end 0xXX 0xXX Unsigned Char 0xXX Detector No. Unsigned Char 0x00 ROI Index = 00 = yellow ROI Unsigned Char 0xXX ROI shape 01=circle / 02=rectangle / 03=ellipse Page 350 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 351 Accepted in run mode: Accepted in configuration mode: Accepted when Ready Low: Status of Ready signal during processing: Pulled Low Teach Detektor (Binary) Request string to Sensor Byte No. DataType Content Significance Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 351...
  • Page 352 Accepted in run mode: Accepted in configuration mode: Accepted when Ready Low: Status of Ready signal during processing: Not altered Calibration Add Point (Binary) Request string to Sensor Byte No. DataType Content Significance Page 352 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 353 In "Output/Telegram/Payload" as first and second value Necessary settings in requesting job the X- and Y- value of the finding position must be set. Calibration Calibrate (Binary) Request string to Sensor Byte No. DataType Content Significance Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 353...
  • Page 354 Accepted in configuration mode: Accepted when Ready Low: Status of Ready signal during processing: Not altered Supported interfaces UserApp, Profinet Calibration Clear (Binary) Request string to Sensor Byte No. DataType Content Significance Page 354 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 355 Calibration Validate (Binary) Request string to Sensor Byte No. DataType Content Significance Unsigned Int 0x00 0x00 Length of telegram 0x00 0x05 Unsigned Char 0x20 Command Calibration Validate Calibration Validate (Binary) Response string from Sensor Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 355...
  • Page 356 Set Gain (Binary) Request string to Sensor Byte No. DataType Content Significance Unsigned Int 0x00 0x00 Length of telegram 0x00 0x0A Unsigned Char 0x1B Set Gain 1 = Permanent Unsigned Char 0xXX 0 = Temporary Page 356 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 357 Output data (BINARY), dynamically composed from user settings in the software Number Binary Significance /Comments of bytes Name contents / Example 1 - max. User defined, Start Start string (Header) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 357...
  • Page 358 Byte 3 ... n all active logical 2 bytes number of active outputs, all results bit-coded ... outputs, bit- In this example there are needed 2 bytes because of output coded Page 358 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 359 Value for color parameter, signed integer, [1/1000] *1) H(ue) Value for color parameter, signed integer, [1/1000] *1) S(aturation) Value for color parameter, signed integer, [1/1000] *1) V(alue) Value for color parameter, signed integer, [1/1000] *1) Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 359...
  • Page 360 They are called Big Endian and Little Endian and refer to the order in which the bytes are stored in memory, in the case of the Vision Sensor architecture the data is stored Big End In first) Page 360 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 361: Further Explanations To Edge Detector (Alignment)

    Fig. 328: Edge detection with „Number search rays“ = 1. The dominating edge, perpendicular to the search direction is found. Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 361...
  • Page 362 „Sigma“ (smoothing). With sharp edges the edge strength is not increased with increasing sigma. But with blurred edges the edge strength is increased by increasing sigma value. Fig. 330: Edge detection of sharp edge. High edge strength with low sigma value (smoothing). Page 362 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 363 Function of Sigma (Smoothing) to residual edges Like mentioned above, the edge strength represents the assumption of edge steps over a certain area in search direction, which is quantified in „Sigma“ (smoothing). Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 363...
  • Page 364 Fig. 333: Edge detection with sigma value = 1. Residual edge is not eliminated. Fig. 334: Edge detection with sigma value >> 1. Residual edge is eliminated. Page 364 Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016...
  • Page 365: Starting Vision Sensor Visualisation Studio Or Vision Sensor Configuration Studio Via Autostart

    Dirt on the front panel is to be cleaned with a soft cloth and a small amount of plastic cleaner if necessary. Attention Never use aggressive detergents such as solvents or benzine. Never use sharp objects. Do not scratch! Vision Sensor SBSI/SBSC-EN, 8062650 - 1607b - 13/09/2016 Page 365...

This manual is also suitable for:

Sbsc-en

Table of Contents