Compact Camera System - Festo · installing and operating the Compact Camera System....
Transcript of Compact Camera System - Festo · installing and operating the Compact Camera System....
ManualElectronics
DescriptionCompact CameraSystemType SBO...−Q−...
Manual548 319en 0912c [750 552]
Compact Camera System
Contents and general instructions
IFesto P.BE−SBO−Q−EN en 0912c
Original de. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Edition en 0912c. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Designation P.BE−SBO−Q−EN. . . . . . . . . . . . . . . . . . . . . . . . . .
Order no. 548 319. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
© (Festo AG�&�Co. KG, D�73726 Esslingen, Germany, 2009)Internet: http://www.festo.comE−Mail: [email protected]
The reproduction, distribution and utilization of thisdocument as well as the comunication of its contents toothers without express authorization is prohibited.Offenders will be held liable for the payment of damages.All rights reserved in the event of the grant of a patent,utility module or design.
Contents and general instructions
II Festo P.BE−SBO−Q−EN en 0912c
Trade marks
HARAX ® is a registered trade mark of HARTING KGaA, Espelkamp
Harting RJ Industrial ® is a registered trade mark of HARTING Electronics GmbH & Co. KG
CoDeSys ® is a registered trade mark of 3S−Smart Software Solutions GmbH
Halcon ® is a registered trade mark of MVTec Software GmbH
MODBUS ® is a registered trade mark of Schneider Automation
Contents and general instructions
IIIFesto P.BE−SBO−Q−EN en 0912c
Contents
Intended use VII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Range of application and certifications VIII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Safety instructions IX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Service X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Target group X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Important user instructions XI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instruction on the use of this manual XIII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product−specific terms and abbreviations XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. System summary 1−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 Design of the SBO Compact Camera System 1−3 . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Variants 1−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1 Mode of operation 1−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.2 Display and connecting elements 1−9 . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 Software package 1−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 Accessories 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 Selection of a lens with SBOC 1−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6 Selecting lighting 1−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2. Fitting 2−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Mounting 2−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1.1 Mounting the Compact Camera System 2−4 . . . . . . . . . . . . . . . . . . . . . .
2.1.2 Dimensions of the Compact Camera Systems SBO 2−5 . . . . . . . . . . . . .
2.1.3 Mounting with adapter kit type SBOA−HMSV−39 2−6 . . . . . . . . . . . . . . .
2.1.4 Mounting/removal of lens and shield tube for SBOC 2−7 . . . . . . . . . . .
2.1.5 Removal of the protective foil for SBOI 2−8 . . . . . . . . . . . . . . . . . . . . . .
3. Installation 3−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 General instructions on installation 3−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.1 Selecting the power supply unit 3−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents and general instructions
IV Festo P.BE−SBO−Q−EN en 0912c
3.2 Electrical connections 3−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.1 Connecting the operating voltage and I/Os 3−6 . . . . . . . . . . . . . . . . . . .
3.2.2 Connecting the Ethernet interface 3−11 . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.3 Connecting the CAN interface 3−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4. Commissioning 4−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1 Instructions on commissioning 4−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Installation of the software packages 4−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 Network settings on the PC 4−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4 Firewall settings on the PC 4−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5 Network settings on the Compact Camera System 4−11 . . . . . . . . . . . . . . . . . . . .
4.6 CheckKon connection to the Compact Camera System 4−14 . . . . . . . . . . . . . . . . .
4.7 Settings on the Compact Camera System 4−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.8 System parameters for pre−processing 4−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9 Selection of the evaluation mode 4−21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9.1 I/O process with the�Triggered" evaluation mode 4−23 . . . . . . . . . . . . .
4.9.2 I/O process with the �Freewheel unit" evaluation mode 4−28 . . . . . . . .
4.9.3 I/O sequence with the �Fixed picture sampling rate" evaluation�mode 4−39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10 Connection to higher−level controller (PLC/IPC) 4−44 . . . . . . . . . . . . . . . . . . . . . . .
4.10.1 General information on use of inputs 4−45 . . . . . . . . . . . . . . . . . . . . . . . .
4.10.2 General information on use of outputs 4−48 . . . . . . . . . . . . . . . . . . . . . .
4.10.3 Use of internal I/Os 4−49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10.4 Use of the I/O expansion 4−51 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10.5 Use of the device as CPI module at CP nodes 4−55 . . . . . . . . . . . . . . . . .
4.10.6 Use of the device as CANopen Master 4−61 . . . . . . . . . . . . . . . . . . . . . . .
4.10.7 Use of the Ethernet interface with EasyIP protocol 4−63 . . . . . . . . . . . . .
4.10.8 Use of the Ethernet interface with Telnet protocol 4−65 . . . . . . . . . . . . .
4.10.9 Use of the Ethernet interface with Modbus protocol 4−74 . . . . . . . . . . . .
4.10.10 Use of CoDeSys 4−76 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10.11 Display of inspection results with the �SBO...−Q WebViewer" 4−81 . . . .
4.11 Creation of the test programs 4−83 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.12 Checking the system settings 4−84 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.13 Instructions on operation 4−85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents and general instructions
VFesto P.BE−SBO−Q−EN en 0912c
5. Diagnosis and error treatment 5−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1 General diagnostics options 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.1 Status display 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.2 Error handling 5−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A. Technical appendix A−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1 Cleaning and maintenance A−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Addressing in the Ethernet (basics) A−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3 Siemens star A−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.4 Technical Data A−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5 Error messages A−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6 Address table for EasyIP, Modbus, Telnet und CoDeSys embedded A−14 . . . . . . .
A.6.1 Input register A−14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.2 Output register A−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.3 Fast access to the input and output register A−16 . . . . . . . . . . . . . . . . . .
A.6.4 Extended system status/system information A−16 . . . . . . . . . . . . . . . . .
A.6.5 System time of the device A−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.6 Total tolerance of the type in the current test program A−18 . . . . . . . . .
A.6.7 Basic results of the last inspection A−19 . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.8 Characteristics � Results of the last inspection A−20 . . . . . . . . . . . . . . . .
A.6.9 System parameters A−23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.10 String address table A−24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index B−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents and general instructions
VI Festo P.BE−SBO−Q−EN en 0912c
Contents and general instructions
VIIFesto P.BE−SBO−Q−EN en 0912c
Intended use
The Compact Camera System type SBO...−Q−... has beendesigned for installation into a machine or an automatedsystem. It is used to analyse parts for quality and position.
The Compact Camera System type SBO...−Q−... may only beused as follows:
� only in an industrial environment
� as intended
� in its original condition without unauthorisedmodifications. Only the conversions or modificationsdescribed in the documentation supplied with the productare permitted.
� in perfect technical condition.
When used together with commercially availablecomponents, such as sensors and actuators, the specifiedlimits for pressures, temperatures, electrical data, torquesetc. must be observed. National and local safety regulationsmust also be observed.
Contents and general instructions
VIII Festo P.BE−SBO−Q−EN en 0912c
Range of application and certifications
The product fulfils the requirements of the EU directives andis marked with the CE certification.
Standards and test values which the product maintains andfulfils can be found in the section �Technical data".The�product−relevant EU directivs can be found in thedeclaration of conformity.
Certain product configurations have been certified by theUnderwriters Laboratories Inc. (UL) for the USA and Canada.These configurations are marked as follows:
UL Recognized Component Mark for Canada and theUnited�States
Contents and general instructions
IXFesto P.BE−SBO−Q−EN en 0912c
Safety instructions
CautionWhen commissioning and programming, the safetyregulations listed in this manual and in the documentationfor the control and other components used, must alwaysbe observed.
The user must ensure that nobody has access to thepositioning range of the connected actuators. Access tothe possible danger area must be prevented by suitablemeasures such as protective screens and warning signs.
CautionElectrostatically sensitive components! Electrostaticdischarges can damage the internal electronics.
· Do not open the housing. Observe the handlingspecifications for electrostatically sensitive devices.
CautionA dirty and scratched lens or a dirty and scratchedprotective disc can lead to optical errors. Make sure thatthe lens and the protective disc are not scratched.Do�not�use any abrasive cleaning agents.
Clean the lens and protective disc if they are dirty or thereare dirt deposits on them:
� with an air gun or with clean non−lubricated compresedair.
� with a soft moist cloth and non−abrasive cleaning agents.
Contents and general instructions
X Festo P.BE−SBO−Q−EN en 0912c
CautionIf the permitted temperature range is exceeded, e.g.�dueto�powerful external sources of light, this can lead tosystem�errors and cause damage.
· Mount the Compact Camera System in a well ventilatedlocation, especially screened from the heat emitted dueto other devices and from sources of light.
Service
Please consult your local Festo repair service if you have anytechnical problems.
Target group
This description is intended exclusively for technicianstrained in control and automation technology who haveexperience in installing and commissioning electronicsystems.
Contents and general instructions
XIFesto P.BE−SBO−Q−EN en 0912c
Important user instructions
Danger categories
This manual contains instructions on the possible dangerswhich may occur if the product is not used correctly.These�instructions are marked (Warning, Caution, etc.),printed on a shaded background and marked additionallywith a pictogram. A distinction is made between the followingdanger warnings:
WarningThis means that failure to observe this instruction mayresult in serious personal injury or damage to property.
CautionThis means that failure to observe this instruction mayresult in personal injury or damage to property.
NoteThis means that failure to observe this instruction mayresult in damage to property.
The following pictogram marks passages in the text whichdescribe activities with electrostatically sensitivecomponents.
Electrostatically sensitive components may be damaged ifthey are not handled correctly.
Contents and general instructions
XII Festo P.BE−SBO−Q−EN en 0912c
Marking special information
The following pictograms mark passages in the textcontaining special information.
Pictograms
Information:Recommendations, tips and references to other sources ofinformation.
Accessories:Information on necessary or sensible accessories for theFesto�product.
Environment:Information on environment−friendly use of Festo products.
Text markings
· The bullet indicates activities which may be carried out inany order.
1. Figures denote activities which must be carried out in thenumerical order specified.
� Hyphens indicate general activities.
Contents and general instructions
XIIIFesto P.BE−SBO−Q−EN en 0912c
Instruction on the use of this manual
NoteThis manual refers to the following versions:
Hardware/software Version
Compact Camera SystemSBO...−Q−...
from software version 3.4from hardware version CA0508
CheckKon from Version 4.1 Release 04
CheckOpti from Version 3.0 Release 03
SBO Device Manager from Version 1.2 Release 07
Tab.�0/1: Hardware and software versions
This manual contains general basic information on mounting,installing and operating the Compact Camera System.Additional�information on commissioning, parameter setting anddiagnosis with the software packages can be found in thepackages’ Help system.
Type Title Contents
Electronics manual Compact Camera System SBO...−Qdescription P.BE−SBO−Q−...(this�manual)
Mounting, installing andcommissioning theCompact�Vision�System
Help system Help for CheckKonP.SW−CB−KON−...
CheckKon functional description andoperation
Help system Help for CheckOptiP.SW−OPTI−...
CheckOpti functional description andoperation
Description SBO Device Manager Help SBO DeviceManager functionaldescription and operation
Tab.�0/2: Documentation on the Compact Vision System
Contents and general instructions
XIV Festo P.BE−SBO−Q−EN en 0912c
Product−specific terms and abbreviations
The following product−specific abbreviations are used in thismanual:
Term/abbreviation Meaning
0−signal Input or output supplies 0 V
1−signal Input or output supplies 24 V
A Digital output.
Aperture Opening through which light passes over a lens onto the sensor.The�larger the opening or aperture, the more light will reach thesensor. When the aperture opens, the depth of focus will bereduced. The depth of focus increases the further the aperture isclosed (larger f−number). Small aperture openings make longerexposure times necessary. Short exposure times require largeraperture openings.
Auto MDI−X Recognises the Ethernet configuration of the other station andadapts the send and receive cables of a network connectionautomatically.
CANopen Fieldbus protocol based on CAN, which is a European standard.
Characteristic(s) Established values (e.g. length) that were determined due to thetest program and used for analysis.
CheckKon Software package for configuration and commissioning
CheckOpti Software package for preparing test programs.
CMOS sensor Optoelectronic sensor which converts light signals into electricsignals. In addition to the purely sensor function, functions for imageconversion are integrated into the chip, e.g. exposure control andcontrast correction.
CoDeSys pbF CoDeSys provided by FestoCoDeSys = Controller Development SystemCoDeSys provided by Festo permits configuration, commissioningand programming of various components and devices from Festo.
Condition−controlled Recognition of a signal (e.g. input) reacts to a 1−signal or 0−signal.
CP cable Special cable used to connect the various CP modules in a CP string.
Contents and general instructions
XVFesto P.BE−SBO−Q−EN en 0912c
Term/abbreviation Meaning
CP connection Socket or plug on the CP module which allows the modules to beinterconnected using the CP cable.
CPI modules CP module with extended functionality
CP master Collective term for modules with one or more CP connections towhich one CP string each can be connected. CP masters are, forexample, the CPX−CP interface, CP field bus node, CPV Direct orCP�interfaces.
CP modules Collective term for the various modules that can be integrated in aCP system.
CP node CP field bus node with/without field bus connection, to which theI/O modules are connected.
CP string Entirety of the CP modules and CP cable connected together to aCP�master’s CP connection.
CP system Complete electrical installation system consisting of a CP masterwith one or more CP strings.
CP valve terminal Type 10 CPV valve terminal or type 12 CPA valve terminal, each witha CP connection (also regarded as CP modules).
CPX modules Collective term for the various modules which can be integrated intoa CPX terminal.
CPX terminal Complete system consisting of CPX modules with or withoutpneumatics.
Depth of focus The spatial area in front of and behind the focussed object which isstill sharp (also known as severity level). The depth of focusdepends on the focal depth of the lens and the set aperture.Short�focal depths with small aperture openings lead to larger depthof focus.
EasyIP Protocol for the simple exchange of operands between Festocontrollers (e.g. FEC Standard, PS1, etc.). EasyIP controllers arenormally both client and server. But there can also be controllerswithout server function, such as diagnostic devices or visualisationcomputers, that participate in EasyIP.
Edge−controlled Recognition of a signal (e.g. input) reacts to rising or falling edge.
Ethernet Physical protocol and network for connecting various devices.
Contents and general instructions
XVI Festo P.BE−SBO−Q−EN en 0912c
Term/abbreviation Meaning
Exposure time The time during which the CMOS sensor is subjected to light duringrecording. The longer the exposure time, the more light willpenetrate. The choice of exposure time depends e.g. on themovement speed, the light available and the light sensitivity of thesensor (see also sensor amplification). With moving objectsexcessive exposure times result in blurred pictures.
Falling edge Transition from 1−signal to 0−signal (falling).
Fieldbus nodes Provide the connection to specific fieldbuses. Transmit controlsignals to the connected modules and monitor their ability tofunction.
Focal depth Long focal depths create a large image, short focal depths awide−angle image. Lenses with variable focal depths are known aszoom lenses. Lenses with longer focal depths usually have lessseverity level and less luminous intensity.
Gain See sensor amplification
Halcon Vision system library
I Digital input.
I/O modules Collective term for the modules which provide digital inputs andoutputs (e.g., CPX I/O modules, CP input modules and CP outputmodules).
I/Os Digital inputs and outputs.
Input module Input module.
Modbus/TCP Communication standard via TCP/IP in automation technology.
Output module Output module.
PLC/IPC Programmable logic controller/industrial PC
Rising edge Transition from 0−signal to 1−signal (rising).
SBO Device Manager Software package for adjusting the network characteristics andfirmware.
Sensor amplification Influences the light sensitivity of the sensor. Increasing theamplification increases the light sensitivity. Excessive amplificationcan lead to grained pictures.
Severity level See depth of focus
Contents and general instructions
XVIIFesto P.BE−SBO−Q−EN en 0912c
Term/abbreviation Meaning
String allocation Type and order of the CP modules connected to one or moreCP�strings.
TCP/IP Combination of the protocols TCP and IP, the most−widely usedprotocol in communication via Ethernet.
Telnet Client−server protocol for general, bidirectional communication,using TCP. Telnet is normally used to offer users access to Internetcomputers over the command line.
Test program Definition of parts to be recognised and characteristics to bedetermined.
TSP Target Support PackageA target support package contains all configuration and expansionfiles that are needed to make a specific controller(here�target�system = target) available for the programmingenvironment �CoDeSys provided by Festo".
Tab.�0/3: Product−specific terms and abbreviations
Contents and general instructions
XVIII Festo P.BE−SBO−Q−EN en 0912c
System summary
1−1Festo P.BE−SBO−Q−EN en 0912c
Chapter 1
1. System summary
1−2 Festo P.BE−SBO−Q−EN en 0912c
Contents
1. System summary 1−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 Design of the SBO Compact Camera System 1−3 . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Variants 1−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.1 Mode of operation 1−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.2 Display and connecting elements 1−9 . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 Software package 1−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 Accessories 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 Selection of a lens with SBOC 1−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6 Selecting lighting 1−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. System summary
1−3Festo P.BE−SBO−Q−EN en 0912c
1.1 Design of the SBO Compact Camera System
Components The SBO Compact Camera System is an intelligent camerawith integrated electronics for picture processing andcommunication. It is contained in a compact and robusthousing and offers:
� an imaging CMOS sensor, dependent on the model,with�various resolutions in colour or monochrome
� interfaces for communication and for connecting externaldevices
� for type SBOI:an integrated lens and integrated LED lighting
� for type SBOC:a standardised CS−mount lens receptacle, which is alsousable as a C−mount lens receptacle if lens protectiontubing is used.Suitable lenses and additional optical elements, such asfilter and lenses, are available on request.
Function The Compact Camera System SBO...−Q... permits economicalintegration of optical test functions into machines andsystems to analyse parts for quality and position.In�addition, the camera can perform control functions via theintegrated CoDeSys PLC.
Configuration, commissioning and operation of the inspectionfunctions of the Compact Camera System SBO...−Q... takeplace with the software packages CheckKon, CheckOpti andthe SBO Device Manager.
Configuration, commissioning and operation of the integratedCoDeSys PLC run−time system takes place with the softwarepackage �CoDeSys provided by Festo".
User−specific firmware versions can be loaded into the devicefor special applications.
1. System summary
1−4 Festo P.BE−SBO−Q−EN en 0912c
Networking and control The Compact Camera System can be linked directly to thePC via the Ethernet interface. Analyses can be controlled viadigital I/Os or by a PC. Further information can be found inthe chapter 3.2.2 on page 3−14.
1 Compact CameraSystem (heretype SBOC −...)
2 PC with softwarepackages
1
2
Fig.�1/1: Direct networking with the PC
1
2
3
1 Hub/switch
2 PC with software packages
3 Compact Camera System (here type SBOC−...)
Fig.�1/2: Camera network
1. System summary
1−5Festo P.BE−SBO−Q−EN en 0912c
1.2 Variants
Characteristic Type designation
Sensor vision system SBO Compact Camera System
Design I− Integrated lens and integrated LED lighting
C− Standardised lens receptacle CS mount or C mount(only�with lens protective tubing or intermediate ring)
Equipment Q− Surface−sensor−based camera for quality inspection
Sensor resolution R1 VGA resolution (640 x 480 pixels)
R2 SXGA−resolution (1280 x 1024 pixels)
R3 Wide VGA resolution (752 x 480 pixels)
Sensor type B− Monochrome
C− Colour
Option WB Without fieldbus interface
S1 Firmware incl. firmware add−in �SBO...−Q Tools Add−In"with the following tools:� Data matrix code reader� Barcode reader� Optical character recognition (OCR).
Tab.�1/1: Type code
1. System summary
1−6 Festo P.BE−SBO−Q−EN en 0912c
Type�1) Characteristics Advantages/range of application
SBOI−Q−R1B � CMOS sensor with resolution640�x�480 pixels; ½ inch;monochrome
� Interfaces: Ethernet,digital�I/Os�and CAN
� Integrated lens� Integrated LED lighting� Protection classes IP65 and IP67
� Especially suitable for shortworking distances (� 22 mm toapprox. 1000 mm, longerdistances lead to loss ofsharpness)
� Integrated lighting for distancesup to approx. 200 mm
� Simple to integrate due tocompact design
SBOI−Q−R1C � Like type SBOI−Q−R1B, but CMOS sensor in colour
SBOI−Q−R3B−WB � CMOS sensor with resolution752�x�480�pixels; 1/3 inch;monochrome
� Interfaces: Ethernet and digitalI/Os (no CAN)
� Integrated lens� Integrated LED lighting� Protection classes IP65 and IP67
� Especially suitable forshort−range work (� 20 mm toapprox. 550 mm, longer rangeslead to loss of sharpness)
� Integrated lighting for distancesup to approx. 200 mm
� Simple to integrate due tocompact design
SBOI−Q−R3C−WB � Like type SBOI−Q−R3B−WB, but CMOS sensor in colour
1) All listed variants are also available with firmware add−in �SBO...−Q Tools Add−In". The type designation of these variants includes the extension �S1".
Tab.�1/2: Variants of the Compact Camera System type SBOI−Q−...
1. System summary
1−7Festo P.BE−SBO−Q−EN en 0912c
Type�1) Characteristics Advantages/range of application
SBOC−Q−R1B � CMOS sensor and interfaces suchas type SBOI−Q−R1B
� Standardised lens receptacle CSmount or C −Mount (only with lensprotective tubing or intermediatering)
� No integrated lighting� Protection classes IP65 and IP67�2)
� Any lens 3)�4) can be used(focal�depth selectable)
� Especially fast and high qualitylenses for improving thephotographic properties can beused
� Filters and lenses depending onthe lens
SBOC−Q−R1C � Like type SBOC−Q−R1B, but CMOS sensor in colour
SBOC−Q−R2B � like type SBOC−Q−R1B, but CMOS sensor with resolution1280�x�1024�pixels; 2/3 inch; monochrome
SBOC−Q−R2C � like type SBOC−Q−R1B, but CMOS sensor with resolution1280�x�1024�pixels; 2/3 inch; in colour
SBOC−Q−R3B−WB � CMOS sensor and interfaces suchas type SBOI−Q−R3B−WB
� Standardised lens receptacle CSmount or C mount (only with lensprotective tubing or intermediatering)
� No integrated lighting� Protection classes IP65 and IP67�2)
� Any lens 3)4) can be used(focal�depth selectable)
� Especially fast and high qualitylenses for improving thephotographic properties can beused
� Filters and lenses depending onthe lens
SBOC−Q−R3C−WB � Like type SBOC−Q−R3B−WB, but CMOS sensor in colour
1) These types (except SBOC−Q−R2C) are also available with firmware add−in �SBO...−Q Tools Add−In".The type designation of these variants includes the extension �−S1"
2) Only in conjunction with lens protection tubing supplied3) Lenses with CS mount thread only possible without lens protection; lenses with C−mount thread
only possible with lens protection tubing or intermediate ring possible (see chapter 1.5).4) Entocentric, telecentric or hypercentric lenses can also be used
Tab.�1/3: Variants of the Compact Camera System type SBOC−Q−...
1. System summary
1−8 Festo P.BE−SBO−Q−EN en 0912c
1.2.1 Mode of operation
The Compact Camera System type SBO...−Q−... has differentimage sensors, depending on the model
The available processing functions are integrated in theoperating system (firmware) of the device.
Communication Due to means of the Ethernet interface, the Compact CameraSystem can communicate over a network with the PC ora�PLC. Additional I/O possibilities are available through theCAN interface (not for devices of the type SBO...−Q−... −WB).
Commissioning The corresponding software packages are used forcommissioning and operation (see also chapter�1.3).
1. System summary
1−9Festo P.BE−SBO−Q−EN en 0912c
1.2.2 Display and connecting elements
1 Integrated lensand LED lightingbehind protectivedisc
2 Status LEDs
3 CAN interface(not with devicesof type SBO...−Q−...−WB)
4 Ethernet interface
5 Operating voltagesupply anddigital�I/Os
6 Focus adjustment
1
2
3
45
6
Fig.�1/3: Display and connecting elements type SBOI−Q −...
1. System summary
1−10 Festo P.BE−SBO−Q−EN en 0912c
1 Adapter forprotective tubing
2 Protective tubing
3 Lens (accessories)
4 Status LEDs
5 CAN interface(not�with devicesof typeSBO...−Q−...−WB)
6 Ethernet interface
7 Operating voltagesupply anddigital�I/Os
1
2
3
4
5
67
Fig.�1/4: Display and connecting elements type SBOC−Q−...
1. System summary
1−11Festo P.BE−SBO−Q−EN en 0912c
Connection Description
24 V DC Plugs, M12x1,8−pinPlug assignment,see Tab.�3/3
Operating voltage supply anddigital�I/Os� Operating and load voltage
supplies� I/O wiring (2 digital inputs and
3�digital outputs).
Ethernet Plug M12x1,4−pin, d−codedPlug assignment,see Tab.�3/6
Ethernet interface� Communication with higher−order
devices, e.g. the PC or PLC� Data output (e.g. data analysis,
etc.)
Bus Plug M12x1,5−pinPlug assignment,see Tab.�3/7
CAN interface� for extension of the I/O functions
of the equipment and� for using the device as CANopen
Master in combination with thePLC run−time system�CoDeSys�embedded".
(not for devices of typeSBO...−Q−...−WB)
Tab.�1/4: Connections of the Compact Camera System
1. System summary
1−12 Festo P.BE−SBO−Q−EN en 0912c
1.3 Software package
The software packages CheckKon, CheckOpti undSBO�DeviceManager are used for commissioning andoperation of inspection tasks. They can run under theoperating systems Windows® 2000, XP, Vista and Windows 7and offer a convenient user interface.
The minimum requirements your PC must meet in connectionwith the software packages can be found in the respectivesoftware package’s Help.
CheckKon provides the following functions:
Theme Function
Configuration andcommissioning
� Defining the signal reaction� Defining the frame rate, sensor amplification� Defining the evaluation and output functions
Analysis � Display of evaluated parts, live pictures,statistics and handling of test programs
Diagnosis � Display of the device characteristics� Display of errors
Service � Documentation of a system
Tab.�1/5: Functions of CheckKon
CheckOpti permits preparation of test programs.
The SBO DeviceManager provides the following functions:
� Changing the network settings of the device (IP address, gateway, password, etc.).
� Transfer of firmware to the device
� Transfer of software add−ins to the device.
1. System summary
1−13Festo P.BE−SBO−Q−EN en 0912c
1.4 Accessories
Type Designation Description
SIM−M12−8GD−2−PUSIM−M12−8GD−5−PU
Plug socket withcablePlug socket withcable
Plug socket with cable for the power supply� Straight socket, M12x1, 8−pin, core ends zinc−coated� 2 m long
� 5 m long
SBOA−K30E−M12S Cable Ethernet cable for brief use as a diagnostic cable 1)
� 3 m long� Straight socket, M12x1, 4−pin, D−coded� Plug RJ45
SBOA−K20CP−WS Cable CAN cable for use of the device as a CPI module� 2 m long� Straight socket, M12x1, 5−pin� Angled plug, M9x0.5, 5−pin
SBOA−K20CP−SUP Cable CAN cable for use of the I/O expansion for power inputand connection� 2 m long� Straight socket, M12x1, 5−pin� Straight socket, M9x0.5, 5−pin� Straight plug, M12x1, 4−pin
KVI−CP−3... Connecting cable Cable for coupling of external I/O modules incombination with cable SBOA−K20CP−SUP
CP−A04−M12−CL I/O module Output module with 4 digital outputs, 4 femaleconnectors M12, 5−pin
CP−E08−M12−CL I/O module Input module with 8 digital inputs, 8 female connectorsM12, 5−pin
SBOA−HMSV−39 Adapter kit Adapter kit for mounting with screw−on adapter plate(contained in the adapter kit)
SBOA−HMSV−40 Adapter kit Adapter kit for mounting with screw−on adapter plate,e.g. adapter plate type HMSV−11(not�contained�in�the�adapter kit)
1) Cables and plug connectors for continuous use in an industrial environment are commercillyavailable, e.g. from HARTING Electronics GmbH & Co. KG (product program Harax® M12 or fromHarting RJ Industrial®) or from Franz Binder GmbH + Co. electrical components KG (series 825)
1. System summary
1−14 Festo P.BE−SBO−Q−EN en 0912c
Type DescriptionDesignation
SBOA−HMSV−41 Adapter kit Adapter kit The adapter possesses an internal threadG�1/4" for fastening to commercially availablephoto/video tripods.
SBOL−12SBOL−25
LensLens
� Standard lens, focal depth 12 mm� Standard lens, focal depth 25 mm
SBOL−C−5 Adapter 5 mm spacer ring (CS mount to C mount)
SBOL−IP−50 Cylinder barrel BG Protective tubing
P.SW−KON−... CheckKon Software package
P.SW−OPTI−... CheckOpti Software package
Tab.�1/6: Accessories
Please select the appropriate accessories from our cataloguewww.festo.com/catalogue.
1. System summary
1−15Festo P.BE−SBO−Q−EN en 0912c
1.5 Selection of a lens with SBOC
No lens is included with delivery of the SBOC−Q−...Lenses�are�available as accessories for the device.
NoteThe protection classes IP65 and IP67 can only beachieved�with the lens protection tubing(see�chapter�A.4�Technical�data).
Operation with lens protective tubing
Use lenses according to C−mount standard.
· Please observe the following lens dimensions:
� The maximum possible lens diameter is 38�mm.
� The maximum possible length of the lens from the frontedge of the lens to the flange surface of the thread sideis�42 mm.
Note· Observe that with most lenses the lens length changeswhen the focus is reset. The setting �infinite" usuallyleads to the shortest lens dimension.
Operation without lens protective tubing
If you remove the lens protection tubing and the adapter,you can use lenses of the CS−mount standard.A spacer ring (5�mm) is required for C−mount lenses withoutlens protection tubing and without adapter for fastening theprotective tubing.
· Screw an adapter SBOL−C−5 into the device to ensure acorrect support dimension (see also chapter 1.4).
1. System summary
1−16 Festo P.BE−SBO−Q−EN en 0912c
Determination of theappropriate focal depth
The somewhat more expensive lenses with adjustableaperture angle (zoom) enable you to adapt the field of visionto your requirements. Lenses with fixed focal depth are lessexpensive.
The suitability of a lens depends on:
� the smallest possible distance which can still berepresented sharply (Minimum Object Distance � MOD)
� the focal depth
� the luminous intensity
� the permissible distortion.
The object distance, i.e. the distance between the camera andthe object to be photographed, can be calculated accordingto laws of optics.
The following equation describes the distance between theso−called main level and the object to be depicted. With a thinlens the main level is the centre of the lens. With a lens theposition of the main level cannot be ascertained so easily.As�an estimate you can assume the centre of the lens to bethe main level.
Formula Description
f
gG = B ˘ B__ .
g : Object distance (working distance)G : Object size (size of field of vision)f : Focal depthB : Picture or sensor size 1)
1) The horizontal size B of the sensor is:
� for type SBO...−Q−R1... 6.61 mm
� for type SBO...−Q−R2... 8.60 mm
� for type SBO...−Q−R3... 4.51 mm
Tab.�1/7: Calculation formula
1. System summary
1−17Festo P.BE−SBO−Q−EN en 0912c
The following diagrams offer help for typical fixed focaldepths and the necessary distances for certain horizontalfields of vision. The vertical field of vision can be obtaineddue to multiplying the horizontal field of vision by0.75�(=�480/640), 0.8 (=�1024/1280) or 0.64 (=�480/752).
Examples for SBO...−Q−R1:
� A lens with focal depth of 12 mm generates a field ofvision approx. 100�mm wide at a working distance of200�mm with SBO...−Q−R1.
� A lens with focal depth of 25 mm generates a field ofvision approx. 100�mm wide at a working distance of400�mm with SBO...−Q−R1.
The following diagrams (see Fig.�1/5) can be used to makerough estimates.
_______f
gG = B � B__ .
12 mm
200 mm= 6.61 mm � 6.61 mm = 103.5 mm.
_______f
gG = B � B__ .
25 mm
400 mm= 6.61 mm � 6.61 mm = 99.15 mm.
1. System summary
1−18 Festo P.BE−SBO−Q−EN en 0912c
1 2 3
1 2 3
1 2 3
SBO...−Q−R1
SBO...−Q−R2
SBO...−Q−R3
1 Focal depth 35�mm
2 Focal depth 25�mm
3 Focal depth 12�mm
Fig.�1/5: Working distances g [mm] and object size G [mm] for typical fixed focal depths
1. System summary
1−19Festo P.BE−SBO−Q−EN en 0912c
1.6 Selecting lighting
For SBOC:
· Always use external lighting.
For SBOI:
· Check whether the device’s internal lighting is adequatefor the required application.
External lighting is commercially available.
Note· Use shielding � e.g. a light−blocking, black housing �against uncontrolled extraneous light(e.g.�ceiling�lights,�windows, etc.).
Uncontrolled extraneous light influences generation ofpictures and thus the results.
If external lighting is used:
You can connect external lighting to the A2 output of thedevice. The lighting is then controlled due to the device.
· Please Observe the correct system parameterconfiguration.
· Observe the maximum residual currents at the outputs.
The light source used for lighting the inspection parts hassignificant influence on the picture quality. Unsuitable lightsources are frequently used. What light source is suitable foryour application depends mainly on the characteristics of theinspection parts or the characteristics to be tested.
A light source is suitable if it emphasises the inspection part’scharacteristic to be tested with maximum contrast.
1. System summary
1−20 Festo P.BE−SBO−Q−EN en 0912c
To recognise different characteristics or inspection parts, youshould switch between various light sources, if necessary.Use the following light sources or lighting techniques:
Light source Characteristics Recognition of
Counterlight Shines on the inspection part from theopposite side. The light shiningthrough or around the inspection partshows the shape of the inspectionpart.
� Contours of (transparent)inspection parts
� Levels of colourless liquids intransparent vessels
Dome light Throws an indirect light from variousdirections onto the inspection partand generates a soft, diffuse and evenlight. Inspection parts with irregularshapes or curved surfaces areilluminated evenly. Glare is avoided.
� Printing on aluminium packaging� Coating errors or holes on
inspection parts with crookedsurface
� Stains on uneven or crookedsurfaces
Rod light Generates even, direct light on longinspection parts. The diagonallyimpacting light generates diffusereflection, which permits easydifferentiation. For shiny surfaces, apolarisation filter is recommended.
� Faulty galvanisation of contacts� Edges of thin, transparent
inspection parts
Flat angle light Throws a direct light in a flat angle onthe edges of the inspection part(diagonal lighting of the surfaceedges). This clearly emphasisesvariatons on the edges of theinspection part and surface errors.
� Chipping on low−contrast surfacesand edges
� Thickness deviations and surfaceerrors
Coaxial verticallight
Lights the inspection part on the sameaxis on which the lens is located.Reflecting light from shiny surfaces isreinforced, dark diffuse light isdispersed. This increases the contrastbetween dark and light surfaces.
� Embossings/stampings� Indentations on press−shaped
pieces� Defects on the floor of deep−drawn
pieces
Tab.�1/8: Light sources
1. System summary
1−21Festo P.BE−SBO−Q−EN en 0912c
Note· Preferably use a counterlight if the type of recognitionallows.
This allows mostly very reliable pictures and results � evenwith disturbance from outside light.
1. System summary
1−22 Festo P.BE−SBO−Q−EN en 0912c
Fitting
2−1Festo P.BE−SBO−Q−EN en 0912c
Chapter 2
2. Fitting
2−2 Festo P.BE−SBO−Q−EN en 0912c
Contents
2. Fitting 2−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Mounting 2−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1.1 Mounting the Compact Camera System 2−4 . . . . . . . . . . . . . . . . . . . . . .
2.1.2 Dimensions of the Compact Camera Systems SBO 2−5 . . . . . . . . . . . . .
2.1.3 Mounting with adapter kit type SBOA−HMSV−39 2−6 . . . . . . . . . . . . . . .
2.1.4 Mounting/removal of lens and shield tube for SBOC 2−7 . . . . . . . . . . .
2.1.5 Removal of the protective foil for SBOI 2−8 . . . . . . . . . . . . . . . . . . . . . .
2. Fitting
2−3Festo P.BE−SBO−Q−EN en 0912c
2.1 Mounting
Warning· Before carrying out mounting, installation and maintenancework, always switch off the power supply for the electroniccomponents.
CautionIf the permitted temperature range is exceeded,e.g.�due�to powerful external sources of light, this can leadto system errors and cause damage.
· Mount the Compact Camera System in a well ventilatedlocation � in particular screened from the heat emitteddue to other devices and from sources of light.
NoteThe Compact Camera System may be damaged if it is nothandled correctly.
· Make sure that glass surfaces and lenses are notscratched or dirty.
· Mount the Compact Camera System so that itemspassing by do not touch the device.
Note· Use shielding � e.g. a light−blocking, black housing �against uncontrollable extraneous light(e.g.�ceiling�lights, windows, etc.).
Uncontrollable extraneous light influences the generationof pictures and thus the results.
2. Fitting
2−4 Festo P.BE−SBO−Q−EN en 0912c
2.1.1 Mounting the Compact Camera System
· Mount the camera using the mounting attachments sothat the camera is oriented vertically and withoutobstacles on the inspection part.
· Make sure that the distance between camera andinspection part is adjusted to the optics.
A fine adjustment takes place during commissioning(see�chap. 4.7).
On the bottom of the device, there is a mounting profile withdovetail guide. The following adapter kits can be used forfastening:
Type Designation Description
SBOA−HMSV−39 Adapter kit Adapter kit for mounting with screw−on adapter plate(contained�in the adapter kit)
SBOA−HMSV−40 Adapter kit Adapter kit for mounting with screw−on adapter plate, e.g.adapter plate type HMSV−11 (not contained in the adapter kit)
SBOA−HMSV−41 Adapter kit Adapter kit The adapter possesses an internal thread G 1/4" forfastening to commercially available photo/video tripods.
Tab.�2/1: Adapter kits for mounting
2. Fitting
2−5Festo P.BE−SBO−Q−EN en 0912c
2.1.2 Dimensions of the Compact Camera Systems SBO
1
1 Principal axis
Fig.�2/1: SBOI dimensions
1
1 Principal axis
Fig.�2/2: SBOC dimensions with protective tubing
2. Fitting
2−6 Festo P.BE−SBO−Q−EN en 0912c
2.1.3 Mounting with adapter kit type SBOA−HMSV−39
The following diagram shows mounting with adapter kittype�SBOA−HMSV−39 using as an example theCompact�Camera�System type SBOI−..:
2
34
1
2
1 Dovetail of the Compact CameraSystem
2 Clamping devices
3 Hole for socket head screw M5x16 withcentring sleeve
4 Adapter plate
Fig.�2/3: Mounting with adapter kit type SBOA−HMSV−39
Proceed with mounting as follows:
· Place the Compact Camera System so that the field ofvision is unhindered and the LEDs on the rear of thehousing can be seen.
· Tighten the mounting screws evenly.
2. Fitting
2−7Festo P.BE−SBO−Q−EN en 0912c
2.1.4 Mounting/removal of lens and shield tube for SBOC
The camera is shipped sealed with a protective cover.The�accompanying protective tubing consists of a supportring and shield tube.
NoteHandle the protective tubing and lens with care.
· Avoid dirt. Work in a clean environment.
· Do not touch the inside of the camera, the lens or theglass surface of the protective tubing.
Mounting the lens
1. Unscrew the support ring from the shield tube.
2. If applicable, remove the protective cover on the lens andon the camera housing.
3. Screw the support ring hand−tight into the fixture of thecamera housing.
4. Screw the lens hand−tight into the support ring.
Mounting the shield tube
5. Check that the seal is seated correctly on the shield tube.
6. Pull the shield tube over the lens.
7. Screw the shield tube clockwise hand−tight at the supportring.
2. Fitting
2−8 Festo P.BE−SBO−Q−EN en 0912c
Dismounting the shield tube
· Turn the shield tube in an anti−clockwise direction andpull it forwards out of the fixture.
On the support ring of the protective tubing, there is a holewith a diameter of 2.5 mm. If you wish to separate the shieldtube from the support ring of the protective tubing, you canfix the support ring, if required, with the aid of a pin(insert�pin into hole).
Dimantling the lens
· Turn the lens in an anti−clockwise direction and pull itforwards out of the fixture.
· If applicable, remove the protective cover on the lens andon the camera housing.
2.1.5 Removal of the protective foil for SBOI
To protect from scratching or dirt during transportation andmounting, a protective foil is attached to the front of theprotective disc for devices of type SBOI−...
· Remove this protective foil carefully before starting withcommissioning.
Note· Make sure that the protective disc is not subject to anymechanical stress.
Possible scratches or grooves have an influence on thepicture quality and thus also on the inspection quality.
Installation
3−1Festo P.BE−SBO−Q−EN en 0912c
Chapter 3
3. Installation
3−2 Festo P.BE−SBO−Q−EN en 0912c
Contents
3. Installation 3−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 General instructions on installation 3−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.1 Selecting the power supply unit 3−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Electrical connections 3−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.1 Connecting the operating voltage and I/Os 3−6 . . . . . . . . . . . . . . . . . . .
3.2.2 Connecting the Ethernet interface 3−11 . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.3 Connecting the CAN interface 3−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3. Installation
3−3Festo P.BE−SBO−Q−E N en 0912c
3.1 General instructions on installation
NoteObserve the following if compliance with the requirementsof �Recognized Component Marks for Canada and theUnited States" is needed for your application:
� Rules for complying with the UL certification can befound in the UL−specific brief operating instructions.The�relevant technical specifications listed there alsotake precedence.
� The technical specifications in this documentation mayshow different values.
WarningUnintended movements of the connected actuators cancause injury to human beings and damage to property.
Before carrying out installation and maintenance work,switch off the following:
� operating and load voltage supplies
� if applicable, other sources of energy,e.g.�the�compressed air supply.
CautionCables with high levels of interference can causeelectromagnetic disturbances.
· Do not place the following cables in the vicinity ofcables�with high levels of interference:If�necessary,�use�separate wiring channels,separate�cable bundles or separate cables.
3. Installation
3−4 Festo P.BE−SBO−Q−E N en 0912c
NoteIf you mount the Compact Camera System type SBO...−Q−...on a moving part of a machine, you must provide strainrelief on all connecting cables on the moving part.
NoteLong signal lines reduce the resistance to interference.
· Make sure that the cable lengths specified in thefollowing table are always observed:
Cable type Permitted cable lengths
Signal cables max. 30 m
Supply cables max. 10 m
Tab.�3/1: Maximum permitted cable lengths
Note· Check within the framework of your EMERGENCY STOPcircuit to ascertain the measures necessary for puttingyour machine/system into a safe state in the event of anEMERGENCY STOP (e.g. switching off the operatingvoltage for the valves and output modules, switching offthe compressed air).
3. Installation
3−5Festo P.BE−SBO−Q−E N en 0912c
3.1.1 Selecting the power supply unit
Warning· Use only PELV circuits as per IEC/DIN EN60204−1(protective extra−low voltage, PELV) for the electricpower supply.Take into account also the general requirements forPELV circuits as per IEC/DIN EN 60204−1.
· Use only power units which guarantee reliableelectrical�isolation of the operating voltage as perIEC/DIN�EN�60204−1.
Protection against electric shock (protection against directand indirect contact) is guaranteed in accordance withIEC/DIN EN 60204−1 due to using PELV circuits(electrical�equipment of machines, general requirements).
Recommendation: Use a separate closed−loop power supplyunit which does not have to supply any other devices.You�will�then achieve the greatest possible resistance tointerference.
Simple 24 V transformers with rectifier and �Siebelko"achieve output voltages of 28 V and more with low loads.Correct operation can only be guaranteed if the permittedoperating voltage range is not exceeded(see�Technical�data�in Apendix A.4).
3. Installation
3−6 Festo P.BE−SBO−Q−E N en 0912c
3.2 Electrical connections
The following connection and display elements can be foundon the rear of the Compact Camera System:
1 CAN interface(not with devicesof type SBO...−Q−...−WB)
2 Ethernet interface(plug M12x1)
3 Operating voltagesupply and digitalI/Os (plug�M12x1)
1
2
3
Fig.�3/1: Electrical connections of the Compact Camera System type SBO...
The following connection possibilities are available(see�also�chapter 4.10 and Tab.�4/5).
3.2.1 Connecting the operating voltage and I/Os
CautionDamage to components
· Make sure that the max. permitted operating voltagerange is not exceeded (see Technical data, chapter A.4).
· Protect the operating voltage supply for theCompact�Camera System externally with a fast−acting2�A�micro fuse.
3. Installation
3−7Festo P.BE−SBO−Q−E N en 0912c
Note· Use only one of the following original cables from Festofor connecting the operating voltage supply and theinputs/outputs.
The following table shows the original cables which shouldbe�used for connecting the operating voltage supply andthe�I/Os:
Type 1) Designation Description
SIM−M12−8GD−2−PU
SIM−M12−8GD−5−PU
Plug socket withcablePlug socket withcable
2 m long
5 m long
1) Cable for operating voltage supply, straight socket, M12x1, 8−pin,wire ends zinc−coated
Tab.�3/2: Cable for operating voltage supply and digital I/Os
The operating voltage is supplied together with theinput/output circuit via the 8−pin M12 plug marked �24 V DC"(see also Tab.�3/3). The following components are suppliedwith + 24�V DC via this connection:
� the internal electronics of the Compact Camera System
� the load current of activated outputs.
The maximum permitted current at the supply is 2�A.
CautionCorrect earthing is important for erroress operation.
· Connect the screening of the cable (SIM−M12−8GD−...)with low impedance to earth potential.
3. Installation
3−8 Festo P.BE−SBO−Q−E N en 0912c
M12 plug 1) Pin Signal Description Wire colour�2)
23
1 E0 Rising edge 3): Trigger signal White (WH)
1
23
2 24 V DC + 24 V DC (tolerance: ± 10 %) Brown (BN)
7
43 Reserved Do not connect Green (GN)
8
6
5
7
4 A1 1−signal: Last evaluation resulted in good part�4)
Yellow (YE)
6
5 I1 Rising edge 3): Apply Inputs signal Acknowledge Error signal in case oferror
Grey (GY)
6 A0 � 1−signal: Device ready for operation (Ready) 4)
� 0−signal: Device not yet ready for operation(e.g.� evaluation running,system�error) 4)
Pink (PK)
7 0 V 0 V Blue (BU)
8 A2 1−signal: Last evaluation resulted inreject part 4)
Red (RD)
Metal covering 5) Screening (shield)
1) Tighten union nut by hand2) Wire colours of the original cable type SMI−M12−8GD−...−PU3) The signal levels/edges can be configured via system parameters; the specified description
corresponds to the standard configuration.4) The function can be configured via system parameters; the specified description corresponds to
the standard configuration.5) Connect cable screening with low impedance to earth potential (see Fig.�3/2)
Tab.�3/3: Operating voltage connection and I/Os on the 8−pin M12 plug �24 V DC"
The function and functional behaviour of the I/Os can beconfigured in CheckKon with system parameters.The�functional behaviour of the I/Os in the differentevaluation modes must be differentiated, see chapter 4.9 ff.
3. Installation
3−9Festo P.BE−SBO−Q−E N en 0912c
Connection example Fig.�3/2 shows an example of a connection using aconfiguration of the system parameters with the standardvalues:
Internal I/Os Configuration
Polarity E0 Trigger signal = rising edge
Polarity A0 Ready for operation = 1−signal
Function at A1 Good part = 1−signal
Function at A2 Reject part = 1−signal
Tab.�3/4: System parameter with standard configuration
· Please observe that:
� The tolerance of 24 V DC ± 10 % must be observed.
� The power supply for the Compact Camera Systemmust be fused externally. A fast−acting 2 A micro fuse.
� The residual current of all outputs must notexceed�1.5 A.
� The cable screening must be connected with lowimpedance to the earth potential.
3. Installation
3−10 Festo P.BE−SBO−Q−E N en 0912c
1
2
AC
DC
2A + 24 V
E0: Trigger signal
A0: Ready for operation
A1: Good part
A2: Reject part
GND
2
1
6
4
8
7
S1
1 External fuses 2 Cable shield
Fig.�3/2: Example of configuration of the system parameters with the standard values.
3. Installation
3−11Festo P.BE−SBO−Q−E N en 0912c
3.2.2 Connecting the Ethernet interface
NoteUnauthorised access to your Compact Camera Systemscan cause damage or malfunctioning.
· Ask your system administrator how you shouldprotect�your network against unauthorized access,e.g.�with�a�firewall.
NoteWith an active connection to the cameras in the network,large amounts of data can be transmitted, depending onthe mode of operation. In this way the network betweenthe PC and cameras will be under load accordingly.A�direct�connection is therefore to be preferred.
· If in doubt, ask your network administrator whetherappropriate band widths are available for you or what anoptimum network structure for you should look like.
· Observe the necessary system requirements.
For commissioning Compact Camera Systems you mustcreate�a connection between your PC and theCompact�Camera�Systems via Ethernet. For the connection toa network or a PC you will require the following cables:
3. Installation
3−12 Festo P.BE−SBO−Q−E N en 0912c
Connection Type Designation Description
Connection viahub or switch
SBOA−K30E−M12S Cable Ethernet cable for simple demands 1)
� Straight socket, M12, 4−pin, d−codedRJ 45 Ethernet plug
Direct connectionwith the PC
SBOA−K30E−M12S Cable� RJ−45 Ethernet plug� 3 m long
with the PC� Coupling Cable coupling for RJ45 plug connector 2)
� Cable Ethernet cross link 2)
1) The Ethernet cable type SBOA−K30E−M12S has been designed for short−time use as a diagnosticcable or for continuous use as a fixed cable for simple demands.
2) Only required if the network connection of the PC does not support automatic adaption of thesend and receive cables (AUTO MDI−X). This accessory is commercially available.
Tab.�3/5: Cable for the Compact Camera System type SBO...−...
For special use in an industrial environment use a screenedflexible Ethernet round cable of category 5 which will fulfilyour requirements as regards resistance to oil, bendingradius, permitted bending cycles etc.Connections:�M12�socket, 4−pin d−coded and RJ45 plug
Cables and plug connectors for special requirements arecommercially available � e.g. from Franz Binder GmbH & Co.(product program series 825) or from HARTING ElectronicsGmbH & Co. KG (product program Harax® M12 orHarting�RJ�Industrial�®).
Ethernet connection Via the Ethernet interface, the connection can be created tothe PC and displays or higher−level controllers. To permit aconnection, several prerequisites with regard to the device’snetwork address and the PC must be met; see chapter 4.5.
The network characteristics of the device can be adjustedusing the SBO DeviceManager; see chapter 4.5.
The data exchange over EasyIP, Telnet or other protocolsmust be activated via the corresponding system parameter.Further information can be found in chapter 4.10.7.
3. Installation
3−13Festo P.BE−SBO−Q−E N en 0912c
Display of results of a parts inspection (camera picture,characteristics and quality decision) is possible over anHTML−capable browser.
For connection to the Ethernet there is a d−coded M12 plug onthe rear of the Compact Camera System.
M12 plug 1) Pin Signal Description
121 TD+ Transmitted data+
12
2 RD+ Received data +
3 TD− Transmitted data �
434 RD− Received data �
Metal covering Screening (shield)
1) d−coded
Tab.�3/6: Pin allocation of the Ethernet interface
The Ethernet interface of the Compact Camera Systemcomplies with standard 10BaseT/100BaseTX for 100 Mbitnetworks.
Note· Use a screened plug connector which will guaranteecontinuous contact between the screening/shield andthe Compact Camera System.
· Connect the screening of the Ethernet cable with lowimpedance to earth potential.
3. Installation
3−14 Festo P.BE−SBO−Q−E N en 0912c
Connection via hub or switch
Recommendation: Use network components which supportdata rates of at least 100 Mbits/s.
If using a router, make sure that this is set so that themulticasts of address 239.255.2.3. are passed on.This�address is used to search for devices in the network.If�the routers are not configured accordingly, the devicescannot be found using the search function. If in doubt askyour network administrator.
Direct connection with the PC
If the network connecton of the PC does not supportautomatic adaption of the send and receive cable(AUTO�MDI−X), you will also require with the original cable acrossover cable and a cable coupling (see also Tab.�3/5).
1
2
3
1 Original cable typeSBOA−K30E−M12S
2 Cable coupling
3 Crossover cable
Fig.�3/3: Direct connection with the PC (here type SBOC−...)
3. Installation
3−15Festo P.BE−SBO−Q−E N en 0912c
3.2.3 Connecting the CAN interface
Compact Camera Systems with a CAN interface(not�with�devices of type SBO...−Q−... −WB) offer the followingpossibilities:
� Connecting external I/O modules (I/O expansion).Observe the notes on installation and commissioning insection 4.10.4.
� Connecting the Compact Camera System to a CP node(use�as a CPI module). Observe the installation andcommissioning instructions in section 4.10.5.
� Connection of any CANopen slaves by using theintegrated run−time system CoDeSys.The�Compact�Camera�System has full master functionunder CoDeSys. Observe the installation andcommissioning instructions in section 4.10.6.
M12 plug Pin Signal
1
2
1 n.c. (not connected)2
42 n.c. (not connected)
3 GND
53
4 CAN_H3
5 CAN_L
Tab.�3/7: Pin allocation of the CAN interface (bus)
The device does not feed any supply current into the CPstring, and it also does not take any supply current from theCP string.
The functional principle of the CAN interface depends on thesystem parameters set for the device. To use the CANinterface, it must be configured appropriately.The�protocol�to�be used is also determined thereby(see�section 4.10.4 and 4.10.5).
3. Installation
3−16 Festo P.BE−SBO−Q−E N en 0912c
Commissioning
4−1Festo P.BE−SBO−Q−EN en 0912c
Chapter 4
4. Commissioning
4−2 Festo P.BE−SBO−Q−EN en 0912c
Contents
4. Commissioning 4−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1 Instructions on commissioning 4−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Installation of the software packages 4−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 Network settings on the PC 4−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4 Firewall settings on the PC 4−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5 Network settings on the Compact Camera System 4−11 . . . . . . . . . . . . . . . . . . . .
4.6 CheckKon connection to the Compact Camera System 4−14 . . . . . . . . . . . . . . . . .
4.7 Settings on the Compact Camera System 4−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.8 System parameters for pre−processing 4−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9 Selection of the evaluation mode 4−21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9.1 I/O process with the�Triggered" evaluation mode 4−23 . . . . . . . . . . . . .
4.9.2 I/O process with the �Freewheel unit" evaluation mode 4−28 . . . . . . . .
4.9.3 I/O sequence with the �Fixed picture sampling rate" evaluation�mode 4−39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10 Connection to higher−level controller (PLC/IPC) 4−44 . . . . . . . . . . . . . . . . . . . . . . .
4.10.1 General information on use of inputs 4−45 . . . . . . . . . . . . . . . . . . . . . . . .
4.10.2 General information on use of outputs 4−48 . . . . . . . . . . . . . . . . . . . . . .
4.10.3 Use of internal I/Os 4−49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10.4 Use of the I/O expansion 4−51 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10.5 Use of the device as CPI module at CP nodes 4−55 . . . . . . . . . . . . . . . . .
4.10.6 Use of the device as CANopen Master 4−61 . . . . . . . . . . . . . . . . . . . . . . .
4.10.7 Use of the Ethernet interface with EasyIP protocol 4−63 . . . . . . . . . . . . .
4.10.8 Use of the Ethernet interface with Telnet protocol 4−65 . . . . . . . . . . . . .
4.10.9 Use of the Ethernet interface with Modbus protocol 4−74 . . . . . . . . . . . .
4.10.10 Use of CoDeSys 4−76 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.10.11 Display of inspection results with the �SBO...−Q WebViewer" 4−81 . . . .
4.11 Creation of the test programs 4−83 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.12 Checking the system settings 4−84 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.13 Instructions on operation 4−85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4. Commissioning
4−3Festo P.BE−SBO−Q−EN en 0912c
4.1 Instructions on commissioning
Before commissioning, the mounting and installation of thedevice should be completed.
· Use the SBO−DeviceManager to change the networksettings of the device.
· Carry out commissioning with the CheckKon softwarepackage; see also CheckKon Help.
· Create test programs with the CheckOpti softwarepackage; see also CheckOpti Help.
The commissioning steps are normally performed in the ordershown in the next chapter. To optimise the system, it may benecessary to repeat steps that have already been carried out.
4. Commissioning
4−4 Festo P.BE−SBO−Q−EN en 0912c
4.2 Installation of the software packages
NoteThe software packages CheckKon and SBO DeviceManagercan be downloaded free of charge through the Internet.
Please consult your local Festo service if you have anyquestions.
The software packages are installed on your PC with aninstallation program.
The SBO−DeviceManager is part of the CheckKon installation.
NoteAdministrator rights are required to install the softwarepackages.
You can install the software packages from the CD ROM asfollows:
1. Close all programs.
2. Place the corresponding CD in your CD ROM drive. IfAuto−Run is activated on your system, the installationstarts automatically and you can skip steps 3 and 4.
3. Select [Execute] in the Start menu.
4. Enter D:setup (if necessary replace D due to the letter ofyour CD ROM drive).The Setup program installs the application(s).
5. Follow the instructions on the screen.
4. Commissioning
4−5Festo P.BE−SBO−Q−EN en 0912c
4.3 Network settings on the PC
To create a connection to the device, the PC networkconnection used must be correctly configured.
The settings of the PC’s network connection can be found inthe Windows System Control under Network Connections.The�available LAN connections are displayed there.
· Select the LAN connection with which you want to connectto the device and display its characteristics.
Fig.�4/1: Network and data transmission connections
· In the window �Characteristics of LAN Connection"window, check in particular the characteristics of the�Internet Protocol (TCP/IP)" entry.
4. Commissioning
4−6 Festo P.BE−SBO−Q−EN en 0912c
Fig.�4/2: Characteristics of LAN connections and characteristics of Internet Protocol(TCP/IP)
If the network connection is configured so that itautomatically obtains your IP address (from a DHCP server),the DHCP server must be reachable over the networkconnection.
If that is not the case (e.g.�with a direct connection to thecamera), the network connection must be told whichIP�address must be used (see Fig.�4/2).
The settings of the network connection of the PC and those ofthe camera must be chosen suitably for each other:
· Select different IP addresses that have not been assignedto other network participants yet (see Tab.�4/1).
· Choose the identical address range over the subnetworkmask (see Tab.�4/1).
4. Commissioning
4−7Festo P.BE−SBO−Q−EN en 0912c
IP settings PC Camera
IP address 192.168.2.99 192.168.2.10
Subnetwork mask 255.255.0.0 255.255.0.0
Tab.�4/1: Example of a suitable network setting
You can find additional information on this in chapter 4.5 andappendix A.2.
NoteThe following address is set on the Compact CameraSystem when it leaves the factory: 192.168.2.10
NoteRestart the PC if network settings have been changed.
4. Commissioning
4−8 Festo P.BE−SBO−Q−EN en 0912c
4.4 Firewall settings on the PC
If a firewall is used on your PC, the network traffic is allowedor prohibited using the defined firewall rules. This also affectsthe communication of the software package with the CompactCamera System.
There are two options for permitting communication:
1. When the installed software packages are started and thefirst attempt at communication between the program andthe Compact Camera System is made, a dialogue normallyappears with a reference to the firewall’s blocking of thiscommunication.
· Give the firewall permanent permission for the program tocommunicate over the network.
A later (manual) setting of the firewall is normally possible.Information on this can be found in the description /Help�for�the firewall.
Fig.�4/3: Windows firewall
4. Commissioning
4−9Festo P.BE−SBO−Q−EN en 0912c
2. The installed software packages communicate with theCompact Camera System over so−called ports.
Many firewalls permit network traffic through release ofthese ports.
· In the firewall, switch on use of the following ports:
Port Transmission Purpose
502 1) TCP Modbus protocol
995 UDP EasyIP protocol
1200 TCP CoDeSys programming environment
4386 TCP Firmware download, add−in downloadand backup with PC software
9999 1) TCP Telnet protocol
10000 TCP Data exchange with PC software
10001 TCP Data exchange with PC software
10002 Multicast Device search with PC software
1) Standard setting of the Compact Camera System
Tab.�4/2: Ports to be switched on for software packages
NoteEnabling of a port is a greater safety−related risk than aprogram−related enabling.
4. Commissioning
4−10 Festo P.BE−SBO−Q−EN en 0912c
Fig.�4/4: Enabling of the port #10000
4. Commissioning
4−11Festo P.BE−SBO−Q−EN en 0912c
4.5 Network settings on the Compact Camera System
You can use the SBO−DeviceManager to make the settingsfor�IP addressing of your Compact Camera System.Proceed�as�follows:
1. Start the SBO DeviceManager by double−clicking thecorresponding symbol on the Windows user interface,or for the standard installation:In the Windows menu [Start], select the entry[Festo�Software] � [SBO−DeviceManager].
2. Create a connection to the device with theSBO�DeviceManager.
3. Set the network parameters of your Compact CameraSystem with the SBO DeviceManager (IP address,network mask and if applicable the IP address of thegateway).
Creating a connection to the device
Search function fordevices
The SBO−DeviceManager offers a search function.This�search function lets a connection be created to devicesfor which the network address is not known. The searchfunction uses a special Ethernet procedure (Multicast).With�this procedure, messages can be transmittedsimultaneously to several slaves or to a closed group ofslaves. The devices of type SBO always use the address239.255.2.3 for this process. This cannot be changed.
If the search takes place within a network node, no specialconfiguration of the network node (router, server etc.) isnecessary. However, if devices which lie behind furthernetwork nodes are to be found, the network nodes must beenabled for multicast. You must also adapt the properties ofthe device search (search range and search duration)accordingly. If you have any problems, please consult yoursystem administrator.
4. Commissioning
4−12 Festo P.BE−SBO−Q−EN en 0912c
If you cannot create a connection to the device with thesearch function of the SBO−DeviceManager:
· Check whether the network nodes are enabled forMulticast.
· Check the search range and search duration in theSBO−DeviceManager.
If this is not successful:
· Connect the device directly to your PC, if at all possible.In�doing this you will exclude incorrect networkconfigurations.
Also, the search function will find the device even ifthe�setting �Visibility in search requests" is set to�Local�(1�Router)."
4. Commissioning
4−13Festo P.BE−SBO−Q−EN en 0912c
Undertaking network settings
If you have created a connection with theSBO−DeviceManager, you can also modify the networksettings of the devices.
� Activation of automatic assignment of the IP address(requires a DHCP server in the network)
� Specification of a fixed IP address.
Assign IP addressautomatically
Select this setting if you are using a DHCP server in yournetwork and if the IP address is to be assigned automaticallyvia DHCP (DHCP stands for Dynamic Host ConfigurationProtocol). The DHCP server manages a range of IP addressesand assigns them to the DHCP−capable end terminals.
NoteThe IP address of the equipment is set to 0.0.0.0 if
� the DHCP server is not found
� assignment of the IP address fails.
Fixed IP address specified
If you are not using a DHCP server, you must specify a fixedIP address. Make sure:
� that the IP address and the network mask of the devicesare suited to the network settings of your PC.
� that the IP addresses of the devices are different(even�if�the devices are not simultaneously connected tothe network).
· If you have any problems, please consult your systemadministrator.
NoteAdditional information on IP addressing can be found inthe appendix and in the description for theSBO−DeviceManager.
4. Commissioning
4−14 Festo P.BE−SBO−Q−EN en 0912c
4.6 CheckKon connection to the Compact Camera System
Note· Switch the device into the Stop condition.
This is a requirement for connecting, disconnecting andchanges to the device.
CheckKon is used for further commissioning of theCompact�Camera System. Carry out the following steps:
1. Connect the Compact Camera System via the Ethernetinterface to your PC or hub/switch. Follow the instructionsin chapter 3.
2. Start CheckKon by double−clicking the correspondingsymbol on the Windows user interface,or for the standard installation:In the Windows menu [Start], select the entry[Festo�Software] � [Festo CheckKon].
The program starts and opens the dialogue window�Welcome to CheckKon" (start dialogue).In�this�dialogue�window, you configure the connection to theCompact Camera System.
3. From the �Connection ..." possibilities offered, choose theentry �via Ethernet". Confirm this selection with a mouse;click on �Continue >".
4. Enter the IP network address in the following dialogue(factory setting: 192.168.2.10). Confirm this entry with amouse click on �Continue >" � orClick with the mouse on �Search..." to find and selectreachable devices.
A connection is built between PC and theCompact�Camera�System.
4. Commissioning
4−15Festo P.BE−SBO−Q−EN en 0912c
NoteIf the network connection is interrupted, the device canremain in the �assigned status". In this case, a newconnection to the device is not possible.
This occurs when:
� Ethernet connection lines are unplugged
� The power supply is shut off to Ethernet networkcomponents (e.g. switch)
� Deactivation of the network card in the PC by theenergy−saving mode.
· Briefly disconnect the power supply for the device tocarry out a restart.
Additional information can be found in the CheckKon Help,e.g.��on the basic functions Device connection, Device namesand Device control.
4. Commissioning
4−16 Festo P.BE−SBO−Q−EN en 0912c
4.7 Settings on the Compact Camera System
1. In CheckKon, open the �Live Picture" window.
2. Activate the transmission and presentation of the camerapicture due to clicking on this button with the mouse.
3. If necessary, also activate the display of the camerapicture due to clicking on this button with the mouse.
The camera picture corresponds to the image that the camerasensor records, taking into account the set systemparameters.
4. If necessary, switch the Dynamic Help on.In the �Live Picture" window, you then recieve help forsetting the picture and lighting control parameters.
Now perform the following steps:
1. Switch the lighting on and direct it onto the test area. If the lighting is controlled due to the device, carry out thecorresponding settings to the system parameters of thelighting control.
2. Roughly adjust the following picture parameters so apicture of the test area can be recognised:
� Picture field area (change of the depicted area withthe mouse or through input of the parameters)
� Exposure time
� Sensor amplification
3. Place an inspection part in the test area, as will occurlater in operation.
4. Now perform a fine adjustment of the camera mounting,if�necessary. The camera is optimally aligned on theinspection part when the piece is in the centre of thecamera picture.
4. Commissioning
4−17Festo P.BE−SBO−Q−EN en 0912c
5. Adjust the optics of the camera so that the camera picturesharply depicts the inspection part. Adjust the lens focusaccordingly. For devices of type SBOC−..., the lensprotective tubing must be removed for this purpose.
NoteFor devices of the type SBO...−Q−R3... changed systemparameters with influence on picture creation might onlybe applied or be visible with the picture after the next one(not noticeable in the �Live Window" picture).
· For devices of type SBO...−Q−R3..., always take anadditional (unused) picture after you have changed suchparameters.
A �Siemens star" is available in this manual as a template forsetting the picture sharpness, see chapter A.3.
Type SBOI−... Type SBOC−... with standard lens fromFesto
· Use a screwdriver toturn the focus adjusteron the rear of thecamera housing.
· Loosen the locking screw on the lens.· Turn the focus ring to focus on an
object.· Tighten the locking screw again
slightly.
Tab.�4/3: Set the focus
6. For devices of type SBOC: Adjust the aperture of the lensso that the sensor has enough light available.
4. Commissioning
4−18 Festo P.BE−SBO−Q−EN en 0912c
Type SBOI−... Type SBOC−... with standard lens from Festo
� · Loosen the locking screw on the lens.· Turn the aperture ring to adjust the aperture.· Tighten the locking screw again slightly.
Tab.�4/4: Set the aperture
7. Now adjust the lighting mounting, if necessary, to orientthe lighting optimally for the characteristics to bechecked. The lighting is optimally oriented if it emphasises theinspection parts’ characteristics to be tested withmaximum contrast.
8. Now perform an (iterative) optimisation of all steps andsettings. Repeat steps 4 to 7.
Optimal setting has been achieved when the inspection part’scharacteristics to be tested are sharply depicted andemphasised with maximum contrast.
4. Commissioning
4−19Festo P.BE−SBO−Q−EN en 0912c
4.8 System parameters for pre−processing
Pre−processing Processing of the picture data of the camera picture in threeconsecutive steps.
In pre−processing, the picture is digitally optimised andchanged. The characteristics to be tested should be optimallyhighlighted to permit reliable checking of pieces.
The camera picture is the image that the camera sensorrecords, taking into account the set system parameters.
The pictures �Pre−processing 1 to 3" show the results of thecorresponding preprocessing steps, taking into account theset system parameters.
The parts inspection takes place based on the camera pictureand the �Pre−processing 3" picture, whereby the inspectionpart must be depicted as a black object in Pre−processing 3;white surfaces represent the background.
Switch the display of the various pictures in the�Live�Picture" window on and off.
The pre−processing steps must be configured in the�Live�Picture" window in CheckKon so the characteristics tobe checked in the �Pre−processing 3" picture are reliablydepicted.
In addition, pre−processing should remove the picture areasthat do not belong to the inspection part or thecharacteristics to be tested, since they can get in the way ofdetermining the test characteristics � such as background,workpiece carrier, etc.
The available pre−processing functions depend on thefirmware used.
4. Commissioning
4−20 Festo P.BE−SBO−Q−EN en 0912c
Switch on the Dynamic Help. In the �Live Picture" window,you then receive help on the pre−processing functions.
Depending on the pre−processing function used,the�calculation time per inspection part can increase greatly.For that reason, picture optimisation with regard to thecharacteristics to be tested should always be striven for evenbefore pre−processing � e.g.�through optimisation of:
� Type and position of the lighting
� Position of the camera
� Position of the inspection part
� Optical characteristics (lens, filter, etc.)
See also chapter 4.7.
4. Commissioning
4−21Festo P.BE−SBO−Q−EN en 0912c
4.9 Selection of the evaluation mode
The evaluation mode determines when a picture of aninspection part is taken, processed and checked and theresults output.
Selection of the evaluation mode specifies how the devicereacts to input signals or when the test results are providedat the outputs. Observe the descriptions of the signalprocesses starting in chapter 4.9.1 ff.
The following evaluation modes can be selected via the�Evaluation Mode" system parameter in the�System�Parameters" window in CheckKon:
� Triggered: Frame capture and inspection with each validtriggering signal.
� Freewheel unit: Consecutive picture taking and checking(without fixed picture sampling rate) as long as the triggersignal is on.
� Fixed frame rate: Consecutive picture taking and checkingwith established frame rate as long as the trigger signal ison (not for devices of the type SBO...−Q−R3...−...).
Selection of the evaluation mode depends on the respectiveapplication, in particular on:
� the inspection part rate and inspection part flow
� the inspection part (individual piece or continuous)
� interaction with a higher−level controller.
4. Commissioning
4−22 Festo P.BE−SBO−Q−EN en 0912c
Application and function of the modes
Triggered testing of individual parts in stop−and−go or slow part flow.
The triggering signal is generated due to a master controlleror a sensor as soon as the inspection part is in front of thecamera. The inspection results are output following theinspection, and the device then waits for the next validtriggering signal.
Freewheel unit Inspection of individual or continuous parts with medium tofast (continuous) part flow.
The triggering signal is present permanently, irrespective ofwhether or not there is an inspection part in front of thecamera. The device acts like a basic sensor. The inspectionresults are output following the inspection. After that, thedevice begins immediately with the next inspection.Additionally, there is the possibility to set up a picture trigger.
Fixed frame rate Inspection of continuous parts at a constant speed.
The triggering signal is permanently present. The inspectionresults are output following the inspection. The device startsthe next inspection in accordance with the defined frame rate.
4. Commissioning
4−23Festo P.BE−SBO−Q−EN en 0912c
4.9.1 I/O process with the�Triggered" evaluation mode
In the �Triggered" evaluation mode, exactly one cycle isstarted through a valid signal at the �Triggering Signal" input(edge controlled). One cycle thereby includes the pictureevaluation and output of results.
Triggering signals are valid only under the followingconditions:
� Output �Ready for Operation" signals 1−signal
and
� any time period set since output �Ready for operation" =1−signal has expired. This setting is made over the system parameter�Ignore�triggering signal after ready for operation".
Picture evaluation starts with the triggering signal.During�picture evaluation, the output �Ready for operation"signals a 0−signal.
The start of picture creation and triggering of the lighting canbe established regarding the time of the triggering signal.
· Set the following system parameters:
� Start of picture evaluation after triggering
� Start of the lighting
� Duration of the lighting.
The results are provided at the outputs no earlier than thetime picture evaluation is completed.
If the system parameter setting �Earliest start of output isafter triggering signal termination" = yes, output of resultscan be delayed due to extending the triggering signal. In thiscase, the outputs can only be written when the signal at the�Triggering signal" input has been ended. With this, ahigher−level controller (PLC) can signal its readiness to acceptthe results of the parts inspection.
4. Commissioning
4−24 Festo P.BE−SBO−Q−EN en 0912c
· Also set output time and output duration via the followingsystem parameters:
� Earliest start of output after triggering
� Ignore triggering signal after ready for operation
The output �Ready for operation" is set to 1−signal only whenthe results are valid at all outputs. The results can now beprocessed,�such as by a higher−level controller (PLC/IPC).
These results remain valid at the outputs only until:
� The specification �Earliest start of output after triggering"(system parameter) of the next started cycle has expiredand the signal at the �Triggering Signal" input of the nextstarted cycle has been cancelled
or
� The system parameter �Reset output at outputs afterexpiration of Ignore triggering signal" = On and the time�Ignore triggering signal after ready for operation" hasexpired
or
� The system parameter �Reset outputs at outputs duringevaluation" = Yes has been set and a new evaluation hasbegun.
Through the�above conditions, it is possible to specifyminimum times for evaluation and output as well as influencetheir starting time. A higher−level controller (PLC/IPC) canthus start a new cycle and only then read the results of theprevious cycle. Such overlapping permits achievement of ahigh evaluation rate.
The outputs of the output module of the I/O extensionA0�...�A3, like the internal outputs, are configured via thesystem parameters, that is, they are set or reset together withthe internal outputs.
4. Commissioning
4−25Festo P.BE−SBO−Q−EN en 0912c
Signal curve with standard settings
The Signal curve with standard settings of the systemparameters in the �Triggered" evaluation mode could appearas follows.
Evaluation�duration
Fig.�1�Cycle�duration
Evaluation�duration
I0
O0
Internal�outputs�O1,�O2,�LED�D
Outputswrite
Output�valid
Trigger,�short
B1�Image�evaluation�longB2�Image�evaluat.short
Wait�forTrigger�I0=0
Trig.�ignored,wait�O0=1 Trigger�long
Output�duration Output�duratio
Fig.�2�Cycle�duration
A0=1
Outputswrite
Output�invalid
Power
B2Output�validB1
Fig.�4/5: "Triggered" evaluation mode � Signal curve with standard settings
Settings of the system parameters (standard values):
� Earliest start of output aftertriggering�= 0 ms
� Ignore triggering signal after ready foroperation = 0 ms
� Start of picture evaluation afterTrigger= 0 ms
� Earliest start of output is after Triggersignal termination = Yes
� Reset outputs at outputs after�Ignore�triggering signal" = Off
� Reset outputs at outputs duringAnalysis = No
� Function at A2 = reject part
� Start of lighting = automatic
� Duration of lighting = automatic
4. Commissioning
4−26 Festo P.BE−SBO−Q−EN en 0912c
Signal curve using system parameters
�Triggered" evaluation mode.
1. Case The cycle duration results from system parameter�Earliest�start of output after triggering" or from longtriggering signal of the PLC (PLC synchronisation)
I0
O0WaitI0=0
Cycle�duration�=Earliest�start�of�output�after�Trigger�+Output�+Wait�for�next�trigger
Cycle�duration�=Waiting�for�long�Trigger�+�Output�+Wait�for�next�trigger
Fig.�1�Cycle�duration
B1:�Output�valid
B1Lighting
B2Lighting
Outputswrite
Outputswrite
B2:�Output�validOutput�invalid
Trigger,�short
B1Image�evaluation
Waitto
B2Image�evaluation
Trig.�ignored,wait�O0=1 O
0=1
Trig.�ignored,wait
Trig.�ignored,waitTrigger�long
Fig.�2�Cycle�duration
Wait�
O2
Intern.�&�extern.�outputs�O1,�LED�D,�CP/I/Os,�EasyIP
Power
5 6 5 6
3 1 3 1
2
1
22
2
1
4
to
Fig.�4/6: �Triggered" evaluation mode � Signal curve using system parameters � 1. Case
Settings of the system parameters:
1 Earliest start of output aftertrigger�=�220�ms
2 Ignore triggering signal after ready foroperation�=�110�ms
3 Start of picture evaluation afterTrigger�=�20�ms
4 Function at A2 = external lighting,Start of lighting and duration oflighting�=�manual
5 Start of lighting�after trigger/cycle�start =�40 ms
6 Duration of the lighting�=�100 ms
� Earliest start of output is after Triggersignal termination = Yes
� Reset outputs at outputs after�Ignore�triggering signal" = Off
� Reset outputs at outputs duringAnalysis = No
4. Commissioning
4−27Festo P.BE−SBO−Q−EN en 0912c
2. Case The cycle duration results from system parameter�Earliest�start of output after triggering" or from long pictureevaluation duration:
I0
O0
Cycle�duration�=Earliest�start�of�output�after�Trigger�+Output�+Wait�for�next�trigger
Cycle�duration�=Waiting�for�picture�evaluation�+Output�+Wait�for�next�trigger
Fig.�1�Cycle�duration
Output�valid
B1Lighting
B2Lighting
Outputswrite
Outputswrite
Output�validOutput�invalid
Trigger
B1�Imageevaluation�short B2�Image�evaluation�long
Trig.�ignored,wait�O0=1
Trigger�ignored,wait�O0=1
Trig.�ignored,wait
Trig.�ignored,waitTrigger
Fig.�2�Cycle�duration
Wait�toend
O2
Intern.�&�extern.�outputs�O1,�LED�D,�CP/I/Os,�EasyIP
Power
2
2
1
13 13
2
2
B2B1
5 6 5 6
4
Fig.�4/7: �Triggered" evaluation mode � Signal curve using system parameters � 2.�Case
Settings of the system parameters:
1 Earliest start of output aftertrigger�=�220�ms
2 Ignore triggering signal after ready foroperation�=�110�ms
3 Start of picture evaluation afterTrigger�=�20�ms
4 Function at A2�= external lighting,Start of lighting and duration oflighting�=�manual
5 Start of lighting�after trigger/cycle�start�=�40 ms
6 Duration of lighting�=�100�ms
� Earliest start of output is after Triggersignal termination = Yes
� Reset outputs at outputs after�Ignore�triggering signal" = Off
� Reset outputs at outputs duringAnalysis = No
4. Commissioning
4−28 Festo P.BE−SBO−Q−EN en 0912c
Simplified depiction of the signal curve; the signal curves donot contain jitter, run times or system−related delay times.The duration for the write process of the outputs and thus theduration for an invalid output condition is indefinite with useof external outputs (I/O expansion, device as CPI module,EasyIP or CheckKon). This duration is approximately 1 ms ifthe external outputs are deactivated by system parametersand only the internal outputs are used.
4.9.2 I/O process with the �Freewheel unit" evaluation mode
In the �Freewheel unit" evaluation mode, the mode remainsactive as long as a 1−signal (condition−controlled) is presentat the �Trigger signal" input. During this time, pictures arecyclically generated and evaluated.
�Freewheel unit" evaluation mode without picturetrigger
Process Picture evaluation starts with the cycle start. During pictureevaluation, a 0 −signal is emitted at the �Ready for operation"output. Between two cycles, a 1−signal can be output at the�Ready for operation" output.
The start of picture creation and triggering of the lighting canbe established regarding the time of the triggering signal.
· Set the following system parameters:
� Start of picture evaluation after cycle start
� Start of the lighting
� Duration of the lighting
The results are provided at the outputs no earlier than thetime picture evaluation is completed.
4. Commissioning
4−29Festo P.BE−SBO−Q−EN en 0912c
· Set output time via the following system parameters:
� Earliest start of output after cycle start
� Ignore triggering signal after ready for operation
Additionally, the outputs are still reset (0−signal), dependingon the system parameters:
� Reset outputs at outputs after�Ignore�triggering�signal"
� Reset outputs at outputs during analysis.
NoteThe rate at which the pictures are taken or the resultsoutput varies and depends on the evaluation duration ofthe individual pictures.
Function In this evaluation mode, the device acts like a simple sensorthat permanently inspects and outputs. As a result,continuous analysis can be achieved, but synchronisation ofthe outputs with a higher−level controller (PLC) is onlyconditionally possible.
If such signalling of the result outputs is needed, the systemparameter �Ignore trigger ing signal after ready foroperation" can be used. In this case, after output of theresults, the �Ready for operation" output goes over to1−signal for the set duration. The higher−level controller (PLC)can now read the validly present results.
If the �Trigger signal" input still shows 1−signal after expiry ofthe set duration, the next evaluation is started.
The results are only written to the outputs when the device isfinished with the picture evaluation and specification of the�Earliest start of output" system parameter has expired. The outputs remain valid until the specification of the systemparameter �Earliest start of output after cycle start" of thenext cycle has expired.
4. Commissioning
4−30 Festo P.BE−SBO−Q−EN en 0912c
Outputs to outputs can be invalid even earlier, depending onthe setting of the following system parameters:
� Reset outputs at outputs after�Ignore�triggering�signal"
� Reset outputs at outputs during analysis.
If the �Trigger signal" input is reset to 0−signal, the freewheelunit is ended. After the momentary picture evaluation iscompleted (incl. �Earliest start of output after cycle start"),the �Ready for operation" output goes back to 1−signal.
The outputs of the output module of the I/O extensionA0�...�A3, like the internal outputs, are configured via thesystem parameters, that is, they are set or reset together withthe internal outputs.
4. Commissioning
4−31Festo P.BE−SBO−Q−EN en 0912c
Signal curve with standard settings
The signal curve with standard settings of the systemparameters in the �Freewheel unit" evaluation mode couldappear as follows.
I0
O0
Cycle�duration Cycle�durationCycle�duration
Outputswrite
Outputswrite
Outputswrite
B3�EditionB2�EditionB1�Edition
Permanent�trigger
B1�Image�evaluationmedium
B3�Image�evaluationshort
B2�Image�evaluationlong
Trig.�ignored,wait�O0=1
Output�invalid
Internal�outputs�O1,�O2,�LED�D
Power
Fig.�4/8: �Freewheel unit" evaluation mode � Signal curve with standard settings
Settings of the system parameters (standard values):
� Earliest start of output after cycle start�=�0�ms
� Ignore triggering signal after ready for operation�=�0�ms
� Start of picture evaluation after cycle start�=�0�ms
� Function at A2�=�reject part
� Start of lighting�=�automatic
� Duration of lighting�=�automatic
� Reset outputs at outputs after�Ignore�triggering�signal"�= Off
� Reset outputs at outputs during Analysis = No
4. Commissioning
4−32 Festo P.BE−SBO−Q−EN en 0912c
Signal curve using system parameters
The signal curve with use of system parameters in the�Freewheel unit" evaluation mode could appear as follows.
Power
Trig.�ignored,wait�O0=1
Immediate�start�of�evaluation,since�trigger�is�still�1
Cycle�duration�=Earliest�start�of�output�afterCycle�start�+�output�+Wait�for�next�trigger
Cycle�duration�=waiting�for�picture�evaluation�+Output�+Wait�for�next�trigger
Fig.�1�Cycle�duration
B1Output.�valid
B1Lighting
B2Lighting
Outputswrite
Outputswrite
B2Output�valid
Permanent�trigger
B1�Imageevaluation�short
Wait B2Image�evaluation�long
Trig.�ignored,wait
Fig.�2�Cycle�duration
Trig.�ignored,waitI0
O0
Output�invalid
O2
Intern.�&�exten.�outputs�O1,�LED�D,�CP/I/Os,�EasyIP
5 6 5 6
2
2
2
2
13 13
4
Fig.�4/9: �Freewheel unit" evaluation mode � Signal curve using system parameters
Settings of the system parameters:
1 Earliest start of output after cycle start�=�220�ms
2 Ignore trigger signal after ready for operation�=�65�ms
3 Start of picture evaluation after cycle start�=�20�ms
4 Function at A2�=�external lighting;Start of lighting and duration oflighting�=�manual
5 Start of lighting��after trigger/cycle start =�40�ms
6 Duration of lighting�=�100�ms
� Reset outputs at outputs after�Ignore�triggering signal" = Off
� Reset outputs at outputs duringAnalysis = No
4. Commissioning
4−33Festo P.BE−SBO−Q−EN en 0912c
Simplified depiction of the signal curves; the signal curves donot contain jitter, run times or system−related delay times.The duration for the write process of the outputs and thus theduration for an invalid output condition is indefinite with useof external outputs (I/O expansion, device as CPI module,EasyIP or CheckKon). This duration is approximately�1�ms ifthe external outputs are deactivated by system parametersand only the internal outputs are used.
�Freewheel unit" evaluation mode withpicture−based trigger (only SBO...−Q−R...B −...)
The �Freewheel unit" evaluation mode also offers thepossibility to set up a picture−based trigger. This combination is only available for devices of thetype�SBO...−Q−R...B −... (monochrome image sensor).
The function of the �Freewheel unit" evaluation mode withpicture−based trigger is similar to that of the �Triggered"evaluation mode. However, the trigger signal is not trippedfrom outside, but depends on the content of the currentcamera picture.
Sequence As long as the Freewheel unit mode with picture−basedtrigger is activated (e.g over the input E0 �Trigger signal"=�1−signal), the device permanently takes camera pictures.With each camera picture, a check is made whetherconditions of the picture−based trigger are fulfilled:
Condition not fulfilled The camera picture is deleted without further analysis(that�is, without pre−processing, characteristicdetermination, quality decision, output, etc.), and the nextcamera picture is taken immediately. As a result, camerapictures can be checked in very fast sequence for fulfillmentof the conditions of the picture−based trigger.
4. Commissioning
4−34 Festo P.BE−SBO−Q−EN en 0912c
Condition fulfilled The camera picture is evaluated, taking into account all sy�stem parameters of the Freewheel unit mode:
� Start of picture evaluation after cycle start
� Earliest start of output after cycle start
After output of the results of the check, camera pictures aretaken again until the conditions of the picture−based triggerare met again.
The system parameter �Start of picture evaluation after cyclestart" influences the picture sampling rate for analysis of thecamera pictures of the picture−based trigger.
· For quick reaction of the picture−based trigger, put thesetting of this system parameter to �0".
The process after a fulfilled trigger condition depends on thesystem parameter �Picture after fulfilled trigger condition":
Setting �Ongoing"
As long as the condition of the picture−based trigger isfulfilled, the pictures are evaluated and the results output.
Setting �Single picture"
After successful evaluation of a picture and output of thecorresponding results, camera pictures are taken again.But�these pictures are evaluated only when the conditions ofthe picture−based trigger are not fulfilled for at least 1picture.Only then will just the first picture that fulfills the conditionsof the trigger be evaluated.
The �Frame" setting ensures that the results for a part areonly output once, even if the part remains in front of thecamera and so fulfills the conditions of the picture−basedtrigger again.
4. Commissioning
4−35Festo P.BE−SBO−Q−EN en 0912c
Configuration of the picture−based trigger
Requirements:
� Device is in the �Freewheel unit" evaluation mode
� "Picture−based trigger" system parameter is switched on.
The following picture shows the �Live picture"CheckKon�window, in which you can make additional settingsfor the picture−based trigger.
Fig.�4/10: "Live Picture" CheckKon window
Trigger field area Evaluation of the picture−based trigger is made only for onepicture area within the field of vision of the camera picture.This so−called �trigger field area" can be set easily in the�Live Picture" window (similar to the field of vision).
· Move the mouse to the node points of the�trigger�field�area". With pressed (left) mouse button,change the position and size of the frame.
· Alternatively, actuate the slide control to set the upper,lower, left and right trigger field limit.
4. Commissioning
4−36 Festo P.BE−SBO−Q−EN en 0912c
NoteThe frame rate (pictures per second) for examination of thepicture−based trigger depends on the exposure time,the�system parameter �Start of picture evaluation aftercycle start" and the size of the field of vision.The�time�period between two examinations mustparticularly be observed when the part to be checked ismoved.
· Select the size of the trigger field area so the trigger willbe safely tripped.
The parameter �Picture taking duration after triggering"informs you of the time period between the trigger signal andthe moment when the picture is available in the processor.You determine the picture taking frequency with thisparameter while the picture−based trigger is still invalid.
All picture points are analysed within the trigger field area.The number of picture points is determined whose brightnessvalue lies between the following system parameters.
� �Grey value threshold for trigger dark"
� �Grey value threshold for trigger light"
Conditions of the picture−based trigger
The decision to trigger the trigger signal is made dependenton the following conditions (evaluation of the picture).
� �Unit of the trigger threshold" = �pixels" or �percent"
� �Trigger threshold" = limit value in the unit of the triggerthreshold
� �Initiate trigger with �rising edge" or �falling edge".
4. Commissioning
4−37Festo P.BE−SBO−Q−EN en 0912c
Example The example in Fig.�4/10 shows a screw located in thetrigger field area.
The number of picture points is determined whose brightnesslies between the following system parameters:
� 0 (black ) = �Grey value threshold for trigger dark"
� 90 (dark grey ) = �Grey value threshold for trigger light"
The number of these picture points corresponds here to ashare of 16 % of the trigger field area. This value is displayedin the �Live Picture" window.
The following conditions must be fulfilled so that thepicture−based trigger is tripped:
� Trigger threshold = 10 %
� Initiate trigger with �rising edge"
The specified conditions are fulfilled, so the picture−basedtrigger is tripped. In the �Live Picture" window, this is showndue to a red border around the trigger field area.
When the specified conditions of the picture−based trigger arenot fulfilled, this is shown with a blue border in the triggerfield area.
4. Commissioning
4−38 Festo P.BE−SBO−Q−EN en 0912c
Figure�5
Freewheel�unit�mode�with�image−based�trigger�activated
None
B3Edition
Outputswrite
B5Edition
Trigger�ignored,wait�for�O0=1I0
O0
Power
Output�invalid
B1 B2 B3 B4 B5
Figure�1 Figure�2 Figure�4Figure�3 Figure�6
B6
Evaluat.
Triggerinvalid
Triggerinvalid
Triggervalid
Triggerinvalid
Triggervalid
Triggerinvalid
AnalysisNoneEvaluat.
NoneEvaluat.
NoneEvaluat.
Analysis
Outputswrite
Internal�outputs�O1,�LED�D
O2
Fig.�4/11: Freewheel unit mode with picture−based trigger
Settings of the system parameters (Standard values):
� Earliest start of output after cycle start�=�0�ms
� Ignore trigger signal after readiness for operation = 0 ms
� Start of picture evaluation after cycle start =�0 ms
� Function at A2 = external lighting
� Picture after fulfilled trigger condition = single picture
� �Freewheel unit mode" evaluation modeTrigger signal evaluation =level−controlled
� Picture−based trigger = On
� No external inputs (CAN bus and EasyIP = deactivated)
� No external outputs (CAN bus and EasyIP = deactivated)
4. Commissioning
4−39Festo P.BE−SBO−Q−EN en 0912c
4.9.3 I/O sequence with the �Fixed picture sampling rate"evaluation�mode
This evaluation mode is not available for devices of thetype�SBO...−Q−R3...−...
The �Fixed picture sampling rate" evaluation mode remainsactive as long as 1−signal (condition−controlled) is present atthe �Trigger signal" input.
� During this time, pictures are generated in a specifiedcycle.
� During the evaluation, the �Ready for operation" outputshows 0−signal.
Picture creation and lighting are started with the cycle start.Only the duration of the lighting can be influenced via systemparameters.
Evaluation and output of the results are temporallydecoupled from each other.
� The pictures are generated in a fixed time cycle.
� The time until output of the related pictures is postponeddepending on the evaluation duration of the currentpicture and, if necessary, of the previous pictures as well.
A rising edge at one of the outputs signals that an evaluationhas been completed.
· Set the system parameter �Reset outputs at outputsduring evaluation" = Yes.
If the required evaluation duration is longer than theestablished picture sampling rate, pictures are storedtemporarily in the device. The output time can be postponedby several cycles. If temporary storing is no longer possible,the device enters a error status or emits a warning(configurable via �Picture buffer overflow" systemparameter). Temporarily stored pictures are lost thereby.
4. Commissioning
4−40 Festo P.BE−SBO−Q−EN en 0912c
This evaluation mode is especially suitable for time−criticalinspections in which the inspection part cannot be stopped orfor which a constant inspection rate is needed � as withcontinuous material inspection.
Intermediate storage of the pictures should only be used tocompensate for fluctuations in the evaluation duration.The�frame rate should not be selected larger than the averageevaluation duration.
If the �Fixed frame rate" evaluation mode is stopped(�Trigger�signal" input = 0−signal), all temporarily storedpictures will be completely evaluated, if necessary, and theinspection result output � only then does the�Ready�for�operation" output switch to 1−signal.
The outputs of the output module of the I/O extensionA0�...�A3, like the internal outputs, are configured via thesystem parameters, that is, they are set or reset together withthe internal outputs.
4. Commissioning
4−41Festo P.BE−SBO−Q−EN en 0912c
Signal curve with standard settings
The signal curve with standard settings of the systemparameters in the �Fixed picture sampling rate" evaluationmode could appear as follows.
Permanent�trigger
Cycle�duration�constant Cycle�duration�constant Cycle�duration�constant
B1�Image�creationcorresponds�to�cycle
B2�Image�creationcorresponds�to�cycle
B3�Image�creationcorresponds�to�cycle
B1�shortEvaluation
B1Edition
Outputswrite
Outputswrite
Outputswrite
B2Edition
B3Edition
Wait�until�lastevaluation�complete
Trigger�ignored,wait�for�O0=1
B3�shortEvaluation
B2�Long�image�evaluation
I0
O0
Internal�outputs�O1,�O2,�LED�D
Power
Output�invalid
Actual�(asynchronous)
Image�evaluation
Fig.�4/12: �Fixed frame rate" evaluation mode � signal curve with standard settings
Settings of the system parameters(Standard values):
� Earliest start of output after cyclestart�=�0�ms
� Function at A2�=�reject part
� Start of lighting�=�automatic
� Duration of lighting�=�automatic
� Cycle duration�=�220�ms
� Reset outputs at outputs duringAnalysis = No
4. Commissioning
4−42 Festo P.BE−SBO−Q−EN en 0912c
Signal curve using system parameters
The signal curve with use of system parameters in the�Fixed�frame rate" evaluation mode could appear as follows.
B1�Image�creationcorresp.�to�cycle
B2�Image�creationcorresp.�to�cycle
B3�Image�creationcorresponds�to�cycle
Cycle�durationConstant
Cycle�durationConstant
Cycle�durationConstant
Permanent�trigger
B1�shortevaluation
B3�shortimage�evaluation
Outputswrite
Outputswrite
B1Edition
B2Edition
B3output
Outputswrite
B2�longimage�evaluation
Wait�until�end
Waitto�end
Wait�until�end
I0
O0
Power
Internal�outputs�O1,�O2,�LED�D
Output�invalid
Trigger�ignored,wait�for�O0=1
Wait�until�lastEvaluation�completed
Actual�(asynchronous)
Image�evaluation 1
11
1
1
1
2 2 2
Fig.�4/13: �Fixed frame rate" evaluation mode � signal curve using system parameters
Settings of the system parameters: 1 Earliest start of output aftercycle�start�=�300�ms
2 Cycle duration�=�220�ms
4. Commissioning
4−43Festo P.BE−SBO−Q−EN en 0912c
Negative example
Earliest start of output after cycle start as selected is toolarge � an error was triggered after N pictures(see�settings�of�the system parameters).
Simplified depiction of the signal curves; these do not containjitter, run times or system−related delay times.
The duration for the write process of the outputs and thus theduration for an invalid output condition is indefinite with useof external outputs (I/O expansion, device as CPI module,EasyIP or CheckKon). This duration is approximately�1�ms ifthe external outputs are deactivated by system parametersand only the internal outputs are used.
4. Commissioning
4−44 Festo P.BE−SBO−Q−EN en 0912c
4.10 Connection to higher−level controller (PLC/IPC)
To control the device or process the inspection results, ahigher−level controller (PLC) can be connected to the camerathrough the available connection possibilities.
The following connection possibilities are available,depending on the device type and firmware used:
Connection inputs outputs
Device−internal I/Os at�Operating voltage supplyand digital I/Os" plug
� Trigger signal� Apply Inputs signal /
Acknowledge Error signal
� Ready for operation� configurable
I/O expansion over CANinterface 1)
� Preselection test program � Recognized parts type
Device acts as CPI modulevia�CAN interface 1)
� Trigger signal� Apply Inputs signal� Acknowledge Error signal� Preselection test program
� Ready for operation� Fundamental inspection
results with recognised partstype
� Warning and error status
Communication over Ethernetinterface� with EasyIP protocol� with Telnet protocol� with Modbus protocol
� Trigger signal� Apply Inputs signal� Acknowledge Error signal� Preselection test program� System parameters� Tolerances test program
� Ready for operation� Warning and error status� Detailed inspection results
with recognised parts typeand characteristics
Communication with CoDeSys�® over Ethernetinterface
� Trigger signal� Apply Inputs signal� Acknowledge Error signal� Preselection test program� System parameters� Tolerances test program
� Ready for operation� Warning and error status� Detailed inspection results
with recognised parts typeand characteristics
1) Not for devices of type SBO...−Q−...−WB
Tab.�4/5: Connection possibilities for the Compact Camera System
Additional connection possibilities on request.
4. Commissioning
4−45Festo P.BE−SBO−Q−EN en 0912c
The connection possibility to be used depends on therequired I/O functions of the application.
Device−internal I/Os in combination with a powerfulhigher−level controller (PLC) are preferred with automaticparts flow, that is, a fast inspection rate, since here the lowestdelay times are expected.
A higher−level controller must be programmed according tothe signal behaviour of the selected evaluation mode.Observe�the descriptions of the signal processes starting inchapter 4.9.1 ff.
4.10.1 General information on use of inputs
There are inputs with signal function and other inputs.
Inputs withsignal function
These inputs are edge or condition controlled, depending onthe evaluation mode. They are constantly read.If�the�signals�regarding the current operating state are valid,the corresponding action is carried out immediately.Inputs�with�signal function are, for example:
� Trigger signal
� Apply Inputs signal
� Acknowledge Error signal
Other inputs These inputs are condition−controlled, that is,�they reactto�1−signal or 0−signal. They are read only after a valid�Apply�Inputs signal".
Example for �normal input": Preselection test program.
4. Commissioning
4−46 Festo P.BE−SBO−Q−EN en 0912c
�Trigger signal" input
The �Trigger signal" input starts and stops the inspectionprocess. The functioning, signal detection and signal curvedepend on the selected evaluation mode.See�also�chapter�4.9.1�ff.
�Apply Inputs signal" input
The �Apply Inputs signal" is used to load a new test program.The number of the new test program must be specifiedpreviously via the I/O possibilities. The �Apply Inputs signal"is edge−controlled detected and only accepted if 0−signalchanges to 1−signal at the �Ready for operation" output. And so the �Apply Inputs signal" must first be reset to readinputs again (load test program).
As long as the inputs are read and the test program is loaded,the �Ready for operation" output emits 0−signal. During thistime, no parts can be inspected; (The trigger is not valid aslong as the �Ready for operation" output emits 0−signal).
As soon as the test program has been loaded, the�Ready�for�operation" output emits 1−signal again.Trigger�signals for an inspection are now accepted.
NoteIf a test program was loaded, the inspection results as wellas the associated flagwords (FW) and strings (STR) arereset.
� All characteristic values = �invalid"
� All Invalid flags = set
� Deviation = 999
� Acceptance of the new characteristic names
� Acceptance of the new name of the test program.
4. Commissioning
4−47Festo P.BE−SBO−Q−EN en 0912c
Load�test�programApply�inputs
Read
I0:�trigger�signal
O0:�operational
Create�inputs Apply�inputs�and�switch�test�program
Duration
OldTest�program
NewTest�program
Apply is�applied
Inputs
Trigger�ignored,�wait�O0=1
Duration
Power
Apply�signalTrigger�ignored,wait�O0=1
UndeterminedTest�program
I1:�inputs
Inputs�must�be�valid�and�present
Inputs
Fig.�4/14: Signal curve: Apply inputs � Switch test program
Simplified presentation. The signal curves do not containjitter, run times or system−related delay times.
The inputs must be valid and present for a certain time(min.�30 ms), depending on the I/O possibilities used.
4. Commissioning
4−48 Festo P.BE−SBO−Q−EN en 0912c
�Acknowledge Error signal" input
If an error status occurs in the device, 1−signal is displayedat�the �Error status" output. Additionally,the��Ready�for�operation" output switches to 0−signal.
Incoming trigger signals are not valid, that is,�no moreevaluations are possible until the error has been corrected.The error must be corrected through appropriate measureswhile the system remains in the error status. In the errorstatus, a diagnosis and changing of system parameters ispossible over CheckKon or EasyIP.
As soon as the error has been corrected, the camera must beinformed via the �Acknowledge Error signal" input.The��Acknowledge Error signal" is edge−controlled detected.
If a warning condition is signaled (e.g.�at the �Warning"output), it does not have to be acknowledged with theAcknowledge Error signal. The warning condition isautomatically lifted when the cause is eliminated.
Information on the errors (description and recommendationsfor remedy) can be found in chapter 5.1.2.
4.10.2 General information on use of outputs
Writing of the outputs takes different amounts of time,depending on the connection. For time−critical applications,only the device−internal outputs should be used and otherconnection possibilities deactivated.
4. Commissioning
4−49Festo P.BE−SBO−Q−EN en 0912c
4.10.3 Use of internal I/Os
The functions and the signal curve of the device−internal I/Ostherefore depend on which evaluation mode the device is in(see chapter 4.9).
The function of selected I/Os can be established via systemparameters. This makes a flexible adaptation to theapplication’s requirements possible.
The following functions are available at the I/Os:
I/O Configurable functions
E0 � Trigger signal (standard)� Polarity
(rising/falling edge or 1−signal/0−signal) can bechanged via system parameters
� Deactivated for use under CoDeSys embedded
I1 � Apply Inputs signal and in case of error: Acknowledge Error signal
� Polarity(rising/falling edge or 1−signal/0−signal) can bechanged via system parameters.
� Deactivated for use under CoDeSys embedded
A0 � Ready for operation (standard value)� Output�good part� Output�reject part� Output�correctly�oriented� Output�incorrectly�oriented� Warning� Error� CoDeSys� Test program
4. Commissioning
4−50 Festo P.BE−SBO−Q−EN en 0912c
I/O Configurable functions
A1 � Output�good part (standard value)� Output�reject part� Output�correctly�oriented� Output�incorrectly�oriented� Warning� Error� CoDeSys� Test program
A2 � Output�reject part (standard value)� Output�good part� Output�correctly�oriented� Output�incorrectly�oriented� Warning� Error� External lighting� CoDeSys� Test program
Tab.�4/6: Functions at internal I/Os
4. Commissioning
4−51Festo P.BE−SBO−Q−EN en 0912c
4.10.4 Use of the I/O expansion
This I/O expansion is not available for devices of thetype�SBO...−Q−... −WB.
If the I/O expansion is used, selected modules can beconnected to the CAN interface of the Compact CameraSystem. This connection possibility is used to expand theinternal I/Os. Use the I/O expansion, for example, if:
� you preselect test programs via digital inputs
or
� wish to signal recognised parts types over digital outputs.
Notes on installation
Only the following I/O modules are permissible.
Output module types Input module types
� CP−A04−M12−CL � CP−E08−M12−CL
Number: max. 1 module Number: max. 1 module
I/O modules require operating voltage and load voltagesupplies. The Compact Camera System does not provide anyoperating voltage and load voltage supply for external I/Omodules.
· To provide power to the external I/O modules,first�connect cable SBOA−K20CP−SUP from Festo to theCompact Camera System (see Fig.�4/15).
· Then connect the I/O modules as depicted in the exampleFig.�4/15. To do this, use connecting cable KVI−CP−3.Please observe that the total cable length must notexceed�10�m.
4. Commissioning
4−52 Festo P.BE−SBO−Q−EN en 0912c
1 Compact CameraSystem SBO...−Q
2 Cable for powerinputSBOA−K20CP−SUP
3 Connecting cableKVI−CP−3−...
4 Input moduleCP−E08−M12−CL(max. 1)
5 Output moduleCP−A04−M12−CL(max. 1)
1 2 3
45
Fig.�4/15: Compact Camera System SBOI−Q−... withI/O�expansion (example).
· Alternatively, connect the modules in the followingsequence:
� Compact Camera System � output module
� Compact Camera System � input module
� Compact Camera System � output module �input module
The 0 V line of the cable SBOA−K20CP−SUP 2 is connectedelectrically with the 0 V line of the Compact CameraSystem�1.
· Use suitable measures in order to avoid equalizingcurrents, e.g. a common power unit for theCompact�Camera System and the power supply for theI/O�modules, or due to separate low−impedance potentialequalization.
4. Commissioning
4−53Festo P.BE−SBO−Q−EN en 0912c
Commissioning:
The nominal configuration of the I/O expansion is specifieddue to the system parameter �CAN interface". When thepower supply is switched on and during operation, the devicechecks whether the line allocation corresponds to thatspecified due to the system parameters.
1. Make a connection to the device with the CheckKonprogram and set the system parameter�Function�at�CAN�interface" to �Off". End the CheckKon program.
2. Switch the system off in order to avoid errors or damage.Disconnect the power supply for the device and themodules.
3. Cable the device and the modules.
4. Connect the power supply for the device and themodules.
5. Make a connection to the device with the CheckKonprogram and set the system parameter�Function�at�CAN�interface" to �I/O expansion".
6. Adjust the system parameters under �ConfigurationI/O�system extension" according to their configuration.
7. Confirm at the device any displayed errors of theI/O�expansion with the �Acknowledge Error signal" atinput E1 or in CheckKon in the �System status" window.
4. Commissioning
4−54 Festo P.BE−SBO−Q−EN en 0912c
Depending on the system parameters, the device displays awarning or error if:
� The current I/O expansion does not correspond to thenominal configuration of the I/O expansion(also�observe�the�sequence of the modules)
� Modules Report errors (e.g. overload).
The assignment of the functions to the individual I/Os of themodules is permanently specified. The output format�binary" or �1 of N" can be specified via system parameters
Input module
· E0 ... 7 of the module is interpreted as due tote−value(standard setting) and corresponds to the test programpreselection (0 ... 255): �0" = test program 1.
Output module
· A0 ... 3 of the module is interpreted as due tote−value(standard setting) and corresponds to the recognisedparts type (0 ... 15): �0" = Parts type�1.
Further information on the process and signal curve can befound in chapter 4.9 ff.
Further information on the modules can be found in themanual P.BE−CP−EA−CL−...
4. Commissioning
4−55Festo P.BE−SBO−Q−EN en 0912c
4.10.5 Use of the device as CPI module at CP nodes
If the firmware and hardware of the device supports thefunction as a CPI module, this can be activated over a systemparameter (not for devices of the type SBO...−Q−...−WB).
If use of the device as a CPI module is activated, the devicecorresponds to a CP module with extended functions(CPI�module) in the related CP line. Through this,for�example,�it can be operated at a CPX−CP interface of aCPX�terminal.
Notes on installation
To connect the device to a CP string, use a suitable cable.Cable SBOA−K20CP−WS from Festo is suitable.
The device does not have any ongoing CP connection and canonly be connected at the end of a CP line.
The 0 V line of the Compact Camera System is connectedelectrically to the 0 V line of the CPX terminal.
· Use suitable measures in order to avoid equalizingcurrents, e.g. a common power unit for theCompact�Camera System and the CPX terminal, or due toseparate low−impedance potential equalization.
4. Commissioning
4−56 Festo P.BE−SBO−Q−EN en 0912c
Commissioning:
NoteIn order for the Compact Camera System to be recognisedin the CP line when the power supply for the CP master isswitched on (e.g. of a CPX−CP interface), the CompactCamera System must already be ready for operation.
· Switch on the power supply for theCompact�Camera�System at least 15 seconds before thepower supply for the CP master.
1. Make a connection to the device with the CheckKonprogram and set the system parameter�Function�at�CAN�interface" to �Off". End the CheckKon program.
2. Switch the system off in order to avoid errors or damage.Disconnect the power supply for the device and theCPX�terminal.
3. Attach the Compact Camera System to the desiredCP�line.
4. Connect the power supply for the device.
5. Make a connection to the device with the CheckKonprogram and set the system parameter�Function�at�CAN�interface" to �CPI module".
6. Set the system parameter �SBO...−Q connected toline�X2�or X4" to �No" if the Compact Camera System isconnected to the CP line X1 or X3. If connected to theCP�line x2 or x4, the system parameter must be setto��Yes".
7. First connect the power supply to the CPX−CP terminal.
8. Actuate the Save button on the CPX−CP terminal to savethe new line assignment.
4. Commissioning
4−57Festo P.BE−SBO−Q−EN en 0912c
9. Restart the CPX−CP terminal. Briefly disconnect the powersupply to the CPX−CP terminal.
10. Confirm at the device any displayed errors of theCPI�module function with the �Acknowledge Error signal"at input E1 or in CheckKon in the �System status" window.
A line assignment together with other modules could look asfollows:
1412
14
12
14
12
14
12
!!!
X1
X2
X4
X3
RUNPSPLSFM
STOPERRTP
Fig.�4/16: Example line assignment: Compact Camera SystemSBOI−Q−... as CPI module
4. Commissioning
4−58 Festo P.BE−SBO−Q−EN en 0912c
The Compact Camera System can be addressed via ahigher−level controller that either:
� is integrated into the CPX terminal(e.g.�CPX−FEC−...�from�version R5)
or
� is connected to the higher−level field bus. For that, the related CPX terminal must also be connectedto the same fieldbus (e.g.�to Profibus via the CPX module�CPX−FB13−..." from version R12).
Additional information on CP and CPX can be found in themanual �System Description CPI" (P.BE−CPX−CP...).Further information on fieldbus nodes can be found in the�Electronics Manual" (P.BE−CPX−FB−...).
The device corresponds to a CPI module and alwaysoccupies�16 inputs and 16 outputs at CP masters(with�and�without�expanded functions).
The following table shows an overview of the assignedaddresses for the CP input and output module.
CP modules Assigned I/Os
Type Type Modulesupportsextendedfunctions
on CP masterswith extendedfunctions
on CP masterswithout extendedfunctions
functionsI O I O
Compact Camera System acts as CP input and outputmodule
SBO...−... Yes 16 16 16 16
Tab.�4/7: Assigned I/Os for the CP input and output module
4. Commissioning
4−59Festo P.BE−SBO−Q−EN en 0912c
NoteThe input and output numbers specified here must beconverted according to the above address assignment forthe corresponding CP line number and line assignment.
16 CP inputs(from the viewpoint of the camera, these are outputs)
Input Function
Bit E0 Ready for operation
Bit E1 Output result good
Bit E2 Output result bad
Bit E3 Output result correctly oriented
Bit E4 Output result incorrectly oriented
Bit E5 Unused
Bit E6 Warning (corresponds to �LED C" red & flashing)
Bit E7 Error status (corresponds to �LED C" red)
Bit E8 ... 11 (Counts as a byte)Recognised parts type (0 ... 15): �0" = Parts�type�1
Bit E12 ... 15 Unused
Tab.�4/8: CP inputs
16 CP outputs(from the viewpoint of the camera, these�are�inputs)
Output Function
Bit A0 Trigger signal
Bit A1 Apply Inputs signal
Bit A2 Acknowledge Error signal
Bit A3 ... 7 Unused
Bit A8 ... 15 Preselection test program (is read after bit A1=1)
Tab.�4/9: CP outputs
4. Commissioning
4−60 Festo P.BE−SBO−Q−EN en 0912c
Assignment of the device’s addresses depends on:
a) the CPX fieldbus node used or CPX−FEC
b) the line number used
c) the CP modules used in the line in front of the device.
Example: The device is operated on a CPX−CP interface with a CPX−FB13Profibus fieldbus node. The device is located in the 1st line at2nd position after an output module of type CP−A04−M12−CL(see Fig.�4/16).
Address assignment for the CPX−CP interface:
Inputs (string 1: E0�...�E31):
� E0�...�E15 is assigned to the device’s 16 inputs
� E16�...�E31 free
Outputs (string 1: A0�...�A31).:
� A0�...�A7 is assigned to CP−A04−M12 −CL (8 assigned outputs, of which 4 are used)
� A8�...�A23 is assigned to the device’s 16 outputs
� A24�...�A31 free
The address A8 thus corresponds to the trigger signal.
Information on the process and signal curve can be found inchapter 4.9 ff.
4. Commissioning
4−61Festo P.BE−SBO−Q−EN en 0912c
CPX−FEC controller: The device can be controlled via the CPI module function of aCPX−FEC. Corresponding system programs can be transferredto the (CPX −FEC) controller using the Festo FST programmingsoftware.
Note· Make sure that the system is in good working order andcan run:
The current line configuration must already be stored.
After transfer of a new system program, the controller mustbe restarted to initialise it.
· Briefly disconnect the power supply to the CPX−FEC.
4.10.6 Use of the device as CANopen Master
When the PLC run−time system �CoDeSys embedded" is used,the Compact Camera System can be used as CANopenmaster. Any CANopen slaves can be connected to the CANinterface, e.g. servo controller or CPX−FB14. In this way,complete production processes can be directly controlled viathe device. (Not available for devices of type SBO...−Q−...−WB).
· Make sure that the system parameter �Function at CANinterface" has been set to the value �Off".
· Use a twisted, screened 4−core cable as CAN bus line.
Communication with CANopen slaves over the CAN interfacetakes place with the PLC run−time system�CoDeSys�embedded".
The connected CAN bus slaves are not supplied with powerover the CANopen interface.
4. Commissioning
4−62 Festo P.BE−SBO−Q−EN en 0912c
Commissioning:
If the Compact Camera System to be connected is located atthe end of the fieldbus, you need a terminating resistor.
· Connect the terminating resistor (120 , 0.25�W) in thefieldbus socket between the contacts for CAN_H (4−pin)and CAN_L (5−pin) (see Chapter 3.2.3).
· Use a screened plug connector which will guaranteecontinuous contact between the screening/shield and theCompact Camera System.
· Connect the screening of the CAN cable with lowimpedance to earth potential.
NoteData transmission errors can arise due to signal reflectionsand signal attenuations.
· avoid possible causes:
� missing or incorrect terminating resistor
� incorrect screened connection
� branches
� large distances
� inappropriate cables.
4. Commissioning
4−63Festo P.BE−SBO−Q−EN en 0912c
4.10.7 Use of the Ethernet interface with EasyIP protocol
For data transfer and control, the devices of the type SBO...−Qmake available the Festo EasyIP protocol. This makescommunication possible with the following components:
� Festo controllers (e.g.�FEC, CPX −FEC) with EasyIP support
� Festo FED with Ethernet connection
� Festo OPC Server
This allows very comprehensive output and controlpossibilities, such as for further processing of inspectionresults in a higher−level controller.
Support of the EasyIP Protocol by the Compact CameraSystem must be activated via the system parameters.
For communication via Ethernet, FEDs generally require a businterface (Ethernet interface). Further information on FEDs(and if necessary bus interfaces) can be found in thedescriptions for the product concerned.
Reading and writing take place via the data packages definedby EasyIP, whereby the data to be read/written are definedthrough storage addresses.
The device not only makes I/Os available via storageaddresses, but also allows access to the results of aninspection and to the settings of the system parameters.
Certain storage addresses can be read and written,while�some can only be read or only written(see�tables�in�appendix A.6).
4. Commissioning
4−64 Festo P.BE−SBO−Q−EN en 0912c
Commissioning:
1. Switch the system off in order to avoid errors or damage.Disconnect the power supply to the Compact CameraSystem and the device to be coupled�(e.g.�CPX−FEC�or�FED).
2. With the specified cables, connect the Compact CameraSystem to the device to be connected, e.g. via an Ethernetswitch or hub.
3. Reconnect the power supply.
4. Make a connection to the device with the CheckKonprogram and set the system parameter �EasyIP Server"to��On".
5. Set the IP address of the camera in the device to beconnected.
6. The device to be connected must now be programmedcorrespondingly in order to access data on the camera.
General information on inputs can be found in chapter�4.10.1.The available memory addresses and their function can befound in appendix A.6.
4. Commissioning
4−65Festo P.BE−SBO−Q−EN en 0912c
4.10.8 Use of the Ethernet interface with Telnet protocol
The device makes available the Telnet protocol forcommunication with a higher−level controller, robot or PC.This permits very wide−ranging output and controlpossibilities. Inspection results can be processed further inthe higher−level controller, in order to grab a part with arobot, for example.
Support of the Telnet Protocol due to the Compact CameraSystem must be activated via the system parameters.Reading and writing take place via a text−based commandline with defined commands, wheredue to the data to beread/written are defined through storage addresses.
The device not only makes available simple commands forpicture−taking, but also allows access to the results of aninspection and the settings of the system parameters, amongother things.
Certain storage addresses can be read and written, while somecan only be read or only written (see tables in appendix A.6).
Commissioning:
1. Switch the system off in order to avoid errors or damage.Disconnect the power supply to the Compact CameraSystem and the device to be coupled.
2. With the specified cables, connect the Compact CameraSystem to the device to be connected, e.g. via an Ethernetswitch or hub.
3. Reconnect the power supply.
4. Commissioning
4−66 Festo P.BE−SBO−Q−EN en 0912c
4. Make a connection to the Compact Camera System withthe CheckKon program and set the system parametersunder �Telnet function":
� The system parameter �Authentication required"determines whether the device to be coupled has toidentify itself (password).
� The system parameter �TCP port" determines whichport should be used for the Telnet communication.
� The system parameter �Telnet server" activates theTelnet function and establishes additional protocolcharacteristics:� �On" (normal function): The device to be coupleddoes not use the Telnet S7 building block� �On" (S7�SBOxQ building block)" if you use theTelnet S7 SBOx−Q building block on a correspondingcontroller.
5. Set the IP address and the used Telnet port of the camerain the device to be connected.
6. The device to be connected must now be programmedcorrespondingly in order to access data on the camera.
Please consult your local Festo service when using theS7�SBOxQ building block. General information on inputs can be found in chapter 4.10.1.The available memory addresses and their function can befound in appendix A.6.
4. Commissioning
4−67Festo P.BE−SBO−Q−EN en 0912c
Test of Telnet communication
Most PC operating systems have a Telnet program on thecommand line level. With this program, you can use theTelnet connection to the Compact Camera System.
Windows operating system
Requirement in operating systems from Windows Vista�
· Activate the option �Telnet Client". This setting can be found in the system control,�Programs and Functions" area and there in theselection �Windows Functions ..."
· Open a window with command line via the Windows StartMenu [Programs] [Accessories] [Entry].
· Start the Telnet program and pass on the IP address ofthe Compact Camera System as well as the port numberdetermined in the �TCP port" system parameter.
Fig.�4/17: Calling up Telnet program
This builds up a connection to the Compact Camera System.
Fig.�4/18: Telnet program with SBOxQ acknowledgement(here with authentification)
The Compact Camera System now awaits authentication,if�necessary.
4. Commissioning
4−68 Festo P.BE−SBO−Q−EN en 0912c
If your entries in Telnet are not visible (e.g. with Telnet inWindows 2000), you must activate the �Local Echo" in Telnet.Information on this can be found in the Help for the Telnetprogram.
Authentication
If authentication has been activated through the�Authentication required" system parameter, users mustidentify themselves after the connection is made.
This occurs with the following commands:
� USER [user name]
� PASS [related password]
The user �root" is set up on the Compact Camera System.
The related password in the delivery condition of theCompact Camera System is �Festo".
Additional users are not supported.
Fig.�4/19: Authentication on SBOxQ
If the combination of user names and password is valid,the�message �22 AUTH: access granted" appears.
� After this message, all control and data commands arevalid for the duration of the connection.
If the user name or password is invalid, the message�23�AUTH: access denied" appears.
4. Commissioning
4−69Festo P.BE−SBO−Q−EN en 0912c
� The Compact Camera System accepts a newauthentication attempt only after a safety time of2�seconds.
Before successful authentication, all control and datacommands are rejected (exception: �exit").
The Telnet function of the Compact Camera System onlysupports an active connection.
An attempt to establish a second connection to the CompactCamera System results in the following message:
”Server: –5 ERROR: another client is already connected”.
After this message, the connection is ended.
Telnet commands
WFW � Write FlagWord WFW [address], [value]Writes a value to the specified flagword address(see�appendix A.6).
The following example writes the value 5 to the flagwordaddress 33 (fast access to test program preselection).
Fig.�4/20: Writing to a flagword address
In case of error, the response is with a error code anderror�message.
4. Commissioning
4−70 Festo P.BE−SBO−Q−EN en 0912c
Note· Use only integers when writing values on flagwordaddresses.
RFW � Read FlagWord RFW [address]Returns the current value of the specified flagword addressas text (see appendix A.6).
With this command, up to 64 addresses can be read out.For�this, the flagword addresses must be specified separatedby commas:RFW �[address]", �[address]", �[address]", ...
Fig.�4/21: Reading out the flagword address
The time to read out a value is 1 ms if the device does notperform an evaluation. But as long as evaluation takes place,the device needs up to about 30 ms per value.
RNV � Read Named Value RNV �[Name]"Returns the current characteristic value of the specifiedcharacteristic name (see appendix A.6).
With this command, up to 64 characteristic values can beread out. For this, the characteristic names must be specifiedseparated by commas:RNV �[Name]", �[Name]", �[Name]", ...
4. Commissioning
4−71Festo P.BE−SBO−Q−EN en 0912c
NoteValues are output only when the characteristic name(s)has/have been completely and correctly written.
· Do not use any of the following characters forcharacteristic names:� quotation marks "� brackets [ ]� umlauts� special characters.
· Pay attention to upper case and lower case letters incharacteristic names.
If no match is found, the device puts out the followingmessage: �−55 ERROR: one or more characteristic name(s) not valid".
The characteristic names are stored in the test programs andcan be established when creating the test program(in�CheckOpti).
· Preferably use meaningful characteristic names.
If several characteristic names are identical, the value of thefirst characteristic whose name matches is output.
4. Commissioning
4−72 Festo P.BE−SBO−Q−EN en 0912c
RSTR � Read String RSTR [Address]Returns the current character string of a string address(see�appendix A.6.10). Only one string address can be readout per command. Simultaneous reading of multiplecharacter strings is not possible.
Commas, apostrophes and control characters contained inthe strings are replaced by �_" characters.
IMAGE Picture evaluationThe IMAGE command is only allowed in the �Triggered" and�Freewheel unit" evaluation modes. The command performs acomplete evaluation. The inspection results andcharacteristics are thereby entered in the correspondingflagword and string addresses.
After the IMAGE command is sent, it can take up to 20 msuntil the device begins with the evaluation cycle.
CHANGEPRG Switch test programThe CHANGEPRG command permits switching to another testprogram.CHANGEPRG [test program number]
The values 1 to 256 are permitted as test program numbers.
To perform switchover of the test program, the systemparameter �Preselection test program" must be configured to�I/O possibilities" or an error will be reported.
The test program can only be switched if the device is readyfor operation; �Ready for operation" output = 1−signal.
EXIT Terminate connectionThe Compact Camera System closes the Telnet connection.
VERSION Inquiry of the version of the Telnet server and the version ofthe device.
4. Commissioning
4−73Festo P.BE−SBO−Q−EN en 0912c
Messages and error descriptions
Code Message/Error Description
24 AUTH enter password � Request for entry of the password aftertransmission of a user name. Use the command �PASS"
23 AUTH access denied � Message after failed authentication attempt.
22 AUTH access granted � Message after successful authenticationattempt.
21 SBOx−Q−ZEWAS authentication required � Initial message of the server if authentication isnecessary.
20 SBOx−Q−ZEWAS no authentication required
� Initial message of the server after a connectionis built up if no authentication is required.
1 OK operation successful � Command successfully executed.
0 ERROR parse error, or command unknown
� Command invalid.� Error in the instruction.
−5 ERROR another client is alreadyconnected.
� Message with existing connection.
−10 ERROR camera not ready � Compact Camera System not ready for actionwhen the command is executed.
−11 ERROR timeout during last op�eration
� Timeout when executing the command.
−12 ERROR response line overflow � The response line exceeds the valid number ofcharacters.
−20 ERROR program switch failed � Test program could not be switched.
−21 ERROR program number notvalid
� Specified test program number is not valid.
−30 ERROR read offset not valid � One or more of the specified flagwordaddresses is invalid for read access.
−40 ERROR write offset not valid � Specified flagword address is invalid for writeaccess.
−50 ERROR string offset not valid � String address not valid.
4. Commissioning
4−74 Festo P.BE−SBO−Q−EN en 0912c
Code DescriptionMessage/Error
−55 ERROR one or more characte�ristic name(s) not valid
� One or more name(s) in the RNV(Read�Name�Value) command are invalid.
−61 ERROR no authenticationrequired
� No authentication required (after�use of thecontrol commands USER or PASS).
−62 ERROR already authenticated � No authentication required (after use of thecontrol commands USER or PASS).
−63 ERROR no user provided � The command PASS was received beforetransmission of a user name.
−200 ERROR unspecified error � Error not further described.
4.10.9 Use of the Ethernet interface with Modbus protocol
The device makes available the Modbus protocol forcommunication with a higher−level controller.This�protocol�permits very wide−ranging output and controlpossibilities. Inspection results can be processed again in thehigher−order controller.
Support of the Modbus Protocol due to the Compact CameraSystem must be activated via system parameters. Reading�andwriting take place via the data packages defined by Modbus,wheredue to the data to be read/written are defined throughmemory addresses.
The device not only makes I/Os available via storageaddresses, but also allows access to the results of aninspection and to the settings of the system parameters.
Certain storage addresses can be read and written, while somecan only be read or only written (see tables in appendix A.6).
The following function codes are supported:
� 3 (Read Holding Registers = reading several 16−bit registers)
� 16 (Write Holding Registers = writing several 16−bit registers)
4. Commissioning
4−75Festo P.BE−SBO−Q−EN en 0912c
Commissioning:
1. Switch the system off in order to avoid errors or damage.Disconnect the power supply to the Compact CameraSystem and the device to be coupled.
2. With the specified cables, connect the Compact CameraSystem to the device to be connected, e.g. via anEthernet�switch or hub.
3. Reconnect the power supply.
4. Make a connection to the Compact Camera System withthe CheckKon program and set the following systemparameters under �Modbus Function":
� The system parameter �TCP port" determines whichport should be used for the Modbus communication.
� The system parameter �Protocol type" determineswhich protocol type of the Modbus protocol should beused with a higher−order controller. At the moment,only the TCP protocol is available.
� System parameter �Maximum number of connections"determines how many Modbus clients are permittedsimultaneous connection to the Compact CameraSystem SBOx−Q.
NoteIf there is more than one connected Modbus client, thiscan result in contradictory parameter settings, since allModbus clients are equally prioritized. The requests areworked off in the order of their receipt.
5. Set the IP address and the used Modbus port of theCompact Camera System in the device to be connected.
6. The device to be connected must now be programmedaccordingly in order to be able to access data on thecamera.
General information on inputs can be found in chapter 4.10.1.The available memory addresses and their function can befound in appendix A.6.
4. Commissioning
4−76 Festo P.BE−SBO−Q−EN en 0912c
4.10.10 Use of CoDeSys
In addition to the quality inspection, the camera has the PLCrun−time system �CoDeSys" as firmware add−in (included withdelivery of equipment with firmware from Version 3.4).
Informationen about this firmware add−in can be found inCheckKon 4.1 in the �Firmware info" field of the�System�information" window.For updates or in the case of missing firmware add−in,contact�Festo Service.
The PLC run−time system �CoDeSys" is a soft PLC that can beprogrammed with languages standardized by IEC 61131−3.
The library �Festo_SBOx−Q.lib" is available under CoDeSys forsimple communication between the CoDeSys run−time systemand the �Quality inspection" application.
In general, there is also the possibility to access the data ofthe �Quality inspection" application internally from CoDeSysvia EasyIP or Telnet.
This opens up many options:
� Simple linking of the calculation results of severalCompact Camera Systems in one camera network.Example: A camera as a master system can read thecalculation results of another camera, link them with itsown results and, based on this, carry out an action.
� Complex inspection sequences can be implemented.Example: Switching between test programs andcomparing the results.
� Small stand−alone production sequences can becontrolled directly from the camera.Advantages: Reduction of complexity, increase in systemavailability
4. Commissioning
4−77Festo P.BE−SBO−Q−EN en 0912c
� Direct control of servo controllers via CANopen(camera�is�CANopen master).Example: No additional controller is needed for finepositioning or control of handling units for flexiblegripping of components.
To program the integrated CoDeSys soft PLC, you need the PCsoftware environment �CoDeSys provided by Festo" as wellas the Target Support Package suitable for the respectivefirmware of the Compact Camera System.The Target Support Package for the Compact Camera Systemcan be downloaded at no charge through the Internet.Please consult your local Festo Service, if necessary.
Commissioning:
1. Switch the system off in order to avoid errors or damage.Disconnect the power supply to the Compact CameraSystem and, if applicable, the device to be coupled.
2. With the specified cables, connect theCompact�Camera�System to the device to be connected,e.g. via an Ethernet�switch or hub.
3. Reconnect the power supply.
4. Make a connection to the Compact Camera System withthe CheckKon program and set the system parametersunder �CoDeSys control mode":
� System parameter �Start CoDeSys(after�power�supply)" determines whether theCoDeSys run−time system on the Compact CameraSystem should be activated or deactivated.
4. Commissioning
4−78 Festo P.BE−SBO−Q−EN en 0912c
NoteThe CoDeSys run−time system is activated only after arestart of the Compact Camera System.
� With the system parameter �Run/stop operation",similar to a selector switch on a PLC, you can start orstop the working of the PLC program on the camera.
5. The integrated CoDeSys soft PLC must now beprogrammed correspondingly in order to access data onthe Compact Camera System or trigger actions.
NoteThe CoDeSys run−time system depicts its own PLC,which�runs on the Compact Camera System independentlyof the quality inspection software.
And so to operate CoDeSys, an externally coupled device isnot mandatory.
General information on inputs can be found in chapter 4.10.1.The available memory addresses and their function can befound in appendix A.6.
Programming environment of �CoDeSys�providedby�Festo"
To be able to use a controller (target system) under�CoDeSys�provided by Festo", a so−called Target SupportPackage is needed for the corresponding target system.This�permits access to the system functions of the target andcontains corresponding informationen in the form of onlinehelp.
The Target Support Package makes CoDeSys functions usablefor the respective device or limits them, if necessary.
4. Commissioning
4−79Festo P.BE−SBO−Q−EN en 0912c
With the Target Support Package, CoDeSys can support allthese characteristics and functions of these devices.And�so�CoDeSys provided by Festo contains many functionsthat are available only on certain devices.
The Target Support Package for the Compact Camera Systemcan be downloaded at no charge through the Internet.Please consult your local Festo Service, if necessary.
Installation of the Target Support Package (TSP)
If the software package �CoDeSys V2.3 provided by Festo"has already been installed and operated with othercontrollers, the Target Support Package (TSP) for the newtarget system might have to be installed.
The TSP contains information about the target system(Compact Camera System) needed by CoDeSys V2.3 providedby Festo. For the Compact Camera System, you need the TargetSupport Package �Festo SBOx−Q / SBOx−Q−WB".
NoteThe Target Support Package �Festo SBOx−Q / SBOx−Q−WB"is frequently made available as a ZIP file. This file mustfirst be unpacked in order to install it.
· Use a temporary folder for this.
· Make sure that the folder structure contained in the ZIPfile is retained.
1. Start the �InstallTarget" program. This program can befound in the start menu under [Programs] [Festo Software][CoDeSys V2.3 by Festo].
2. Already installed TSP are displayed in the�Installed�target�systems" area of the program window.
4. Commissioning
4−80 Festo P.BE−SBO−Q−EN en 0912c
NoteInstallation of a new version for an existing Target SupportPackage requires deinstallation of the old version.This is how to remove the old version:
· Select the old version of the TSP and click on the�Remove" button.
· Erase the remaining files and folders manually fromyour�PC.
3. Actuate the �Open" button to select the TSP�Festo�SBOx−Q / SBOx−Q−WB".
4. In the temporary folder (of the unpacked ZIP file), choosethe file �SBOx−Q.tnf". Then click on the �Open" button.The new TSP is displayed in the �Possible target systems"area.
5. If necessary, under �Installation directory", enter the pathin which the TSP should be installed. You can select a newinstallation directory via the �..." button.The standard entry for the installation directory is:...\CoDeSys�V2.3\Targets\Festo\SBOx−Q\.
6. Mark the entry �Festo SBOx−Q / SBOx−Q−WB" on the leftside under �Possible target systems" and click on the�Install" button. If the specified installation directory does not exist, asafety check apprears.
� Click on the �Yes" button if the installation directoryshould be newly created.
� Click on the �No" button if you want to select adifferent installation directory.
Now the new Target Support Package should be visible on theright side under �Installed target systems".
7. End the program using the �Close" button.
A detailed description of the function of the integratedCoDeSys run−time system can be found in the online help ofthe Target Support Package �Festo SBOx−Q / SBOx−Q−WB".
4. Commissioning
4−81Festo P.BE−SBO−Q−EN en 0912c
4.10.11 Display of inspection results with the �SBO...−Q WebViewer"
With the �SBO...−Q WebViewer", inspection results andcamera pictures can be depicted in a Web browser.
Web browsers are available on all PC operating systems(e.g.�Windows® Internet Explorer).
NoteUse of the WebViewer extends the evaluation duration ofthe Compact Camera System.
· Check whether the required parts rate can still beachieved.
Fig.�4/22: Inspection results in the SBO...−Q WebViewer
Support of the WebViewer due to the Compact CameraSystem must be activated via the system parameters.After that, a Web browser can be connected directly due toentering the IP address of the camera with the�SBO...−Q�WebViewer" and the inspection results displayed.
4. Commissioning
4−82 Festo P.BE−SBO−Q−EN en 0912c
The display interval can be set in the Web browser between0.5 and 3 seconds. The display is updated accordingly.The�results and the camera picture of the last inspection arethereby displayed.
NoteFor inspections with cycletimes below the set displayinterval, not all results and pictures can be displayed in theWebViewer.
Commissioning:
1. Make a connection to the Compact Camera System withthe CheckKon program and set the system parameter�WebViewer" in the �Ethernet" section to �On".
2. Start the Web browser and enter there the IP address ofthe Compact Camera System.Examples:
� �http://192.168.2.10" �<ENTER>for display of picture, inspection result andcharacteristic values.
� �http://192.168.2.10/imageview.html"�<ENTER>for display of the taken picture without inspectionresult and characteristic values.
3. Trigger a new inspection to obtain a display.
If the Web browser reports a connection error, check theEthernet and Internet settings for the Web browser or thesystem on which the Web browser is running.
· Open the entry �Internet Options" in [Settings][System�Control] in the Windows operating system.
· Check, in particular, whether you might have to deactivatethe so−called proxy server to obtain a display.You will find the configuration for the Internet and also thesettings for the proxy server under [Connections][Settings] in the �Characteristics of Internet" dialogue.
4. Commissioning
4−83Festo P.BE−SBO−Q−EN en 0912c
4.11 Creation of the test programs
Test programs specify how parts are to be tested, inparticular which characteristics are calculated by aninspection part (e.g.�length�of the inspection part) and whatvalues are permissible for a good part.
The test program to be used is determined via the testprogram preselection. Selection is made via:
� System parameters
or
� I/O options.
Test programs located on the device can be updated usingthe following system parameters in the sectionSystem�Operating Modes Teach Mode.
� Teach mode
� Parts type
� Parts orientation.
Update of a test program becomes necessary as soon assystem parameters that have an influence on picture creationand picture processing are changed. These include,in�particular, system parameters in the sections
� Evaluation
� Lighting
� Camera picture and pre−processing.
Information on updating test programs and for setting thesystem parameters can be found in the parameter help in the�System parameters" window of the CheckKon softwarepackage.
4. Commissioning
4−84 Festo P.BE−SBO−Q−EN en 0912c
Test programs can be easily created and evaluated with theCheckOpti software package. The created test programs canthen be transferred to the device with CheckOpti orCheckKon.
Additional information on preparing test programs can befound in the CheckKon Help. Please consult your localFesto�Service if necessary.
4.12 Checking the system settings
At completion of commissioning, the following points mustalways be rechecked:
� Emergency stop concept and function
� Cabling
� Control program
� Reliability of the results for various inspection parts
� Reliability of the results for various extraneous lightconditions.
Save the data of the software packages as files.
4. Commissioning
4−85Festo P.BE−SBO−Q−EN en 0912c
4.13 Instructions on operation
Caution· Make sure that no danger can emanate from thesystems connected to the Compact Camera System.
If the permitted temperature range is exceeded, this will berecognised due to the internal electronics and will lead to anerror status.
CautionFurther heating beyond this point can lead to uncontrolledmalfunctions.
· Make sure that the permitted temperature range iscomplied with (see Technical data).
4. Commissioning
4−86 Festo P.BE−SBO−Q−EN en 0912c
Diagnosis and error treatment
5−1Festo P.BE−SBO−Q−EN en 0912c
Chapter 5
5. Diagnosis and error treatment
5−2 Festo P.BE−SBO−Q−EN en 0912c
Contents
5. Diagnosis and error treatment 5−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1 General diagnostics options 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.1 Status display 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1.2 Error handling 5−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5. Diagnosis and error treatment
5−3Festo P.BE−SBO−Q−EN en 0912c
5.1 General diagnostics options
The following options for diagnostics are available:
� CheckKon can display operating conditions and errormessages of the Compact Camera Systems used(see�also�CheckKon Help).
� Four LEDs on the rear of the Compact Camera Systemsupply the status information listed in the followingsection.
5.1.1 Status display
The visual indicator of the operating statuses is via LEDs.
Operating status LED (A)
LED Sequence Status Meaning/error handling
LED flashesgreen
ON
OFF
Device is ready to operate �
LED lights upred
ON
OFF
Initialization is running Wait until initialization iscompleted
LED is off
ON
OFF
Undefined status, e.g.�operatingvoltage not applied
Check power supply to theelectronics
Tab.�5/1: Operating status LED (A)
5. Diagnosis and error treatment
5−4 Festo P.BE−SBO−Q−EN en 0912c
Ethernet traffic LED (B)
LED Sequence Status Meaning/error handling
LED flashesgreen
ON
OFF
Ethernet data traffic �
LED is off
ON
OFF
No Ethernet data traffic(no�traffic)
�
Tab.�5/2: Ethernet traffic LED (B)
Activity LED (C)
LED Sequence Status Meaning/error handling
LED lights upred
ON
OFF
Error �
LED flashesred
ON
OFF
Warning �
LED lights upyellow
ON
OFF
Device is ready to operate;evaluation can be started
�
LED is off
ON
OFF
Evaluation is running �
Tab.�5/3: Activity LED (C)
5. Diagnosis and error treatment
5−5Festo P.BE−SBO−Q−EN en 0912c
Output LED (D)
LED Sequence Status Meaning / error handling
LED lights upred
ON
OFF
Last evaluation resulted inreject part
�
LED lights upyellow
ON
OFF
Last evaluation resulted ingood part
�
LED is off
ON
OFF
No result �
Tab.�5/4: Output LED (D)
The function of the output LED can be configured via systemparameters; the specified description corresponds to thestandard configuration.
5. Diagnosis and error treatment
5−6 Festo P.BE−SBO−Q−EN en 0912c
5.1.2 Error handling
Problem Cause Action
The device does not provideevaluations
� Operating voltage notapplied or is below thepermitted tolerance
· Switch on operating voltageor comply with tolerances
� System parameters notcorrect
· Check system parameterswith CheckKon
� Trigger signal missing or hasincorrect polarity
· Check trigger signal
� Hardware error Servicing required
The device’s evaluationsproduce only reject parts
� Incorrect parts type · Diagnosis of the process withCheckKonproduce only reject parts
� Test program not correctCheckKon
� System parameters notcorrect
· Check system parameterswith CheckKon
The firmware of the deviceremains hanging. (Status LED A is not flashing)
� Electromagnetic interferencein the environment causeddue to non−CE−conformingdevices
· Eliminate interference source· Check that the screening of
the connecting cables of theCompact Camera System islaid technically correctly withlow impedance.
· Use a separate power unitonly for the Compact CameraSystem
The evaluation picture isblurred or unfocused
� The device was moved(e.g.�due to vibration on themachine/system)
· Check mounting, reducevibrations
� The object moves too quickly · Reduce exposure time
� The motif lies outside thefocal range
· Maintain minimum distance.With SBOI−Q−...: 22 mmWith SBOC−Q−...: dependenton the lens selected
� Lens not focussed · Focus the lens
5. Diagnosis and error treatment
5−7Festo P.BE−SBO−Q−EN en 0912c
Problem ActionCause
Optical errors in the evaluationpicture
� Lens or protective disc dirty · Carefully clean lens orprotective disc
CheckKon cannot make aconnection to the CompactCamera System
� Incorrect cable · For a direct connection to thePC, you will probably requirea connecting piece and aso−called crossover cable inaddition to the original cable.This is not necessary for a connection via a hub or a switch(see�also�section�3.2.2.).
� Your network blocks dataexchange
· Make sure that your routerpasses on the multicastaddress 239.255.2.3.If�in�doubt, consult yoursystem administrator.
� Firewall of the PC or networkdoes not permit a connection
· Enable program or ports infirewall
� PC network card isdeactivated(e.g.�for�notebook withoutpower supply)
· Adapt Windows settings(see�energy options)
� Device not in stop status · Take back trigger signal onthe device
� Device already connected toa different program/user
· Disconnect other connection
� Cause not recognisable · Reset device(switch�power�off and on)
Windows error message � Insufficient free virtualmemory
· Comply with systemprerequisites(see�CheckKon�Help)
Tab.�5/5: Error elimination
5. Diagnosis and error treatment
5−8 Festo P.BE−SBO−Q−EN en 0912c
Technical appendix
A−1Festo P.BE−SBO−Q−EN en 0912c
Appendix A
A. Technical appendix
A−2 Festo P.BE−SBO−Q−EN en 0912c
Contents
A. Technical appendix A−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1 Cleaning and maintenance A−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 Addressing in the Ethernet (basics) A−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3 Siemens star A−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.4 Technical Data A−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.5 Error messages A−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6 Address table for EasyIP, Modbus, Telnet und CoDeSys embedded A−14 . . . . . . .
A.6.1 Input register A−14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.2 Output register A−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.3 Fast access to the input and output register A−16 . . . . . . . . . . . . . . . . . .
A.6.4 Extended system status/system information A−16 . . . . . . . . . . . . . . . . .
A.6.5 System time of the device A−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.6 Total tolerance of the type in the current test program A−18 . . . . . . . . .
A.6.7 Basic results of the last inspection A−19 . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.8 Characteristics � Results of the last inspection A−20 . . . . . . . . . . . . . . . .
A.6.9 System parameters A−23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.6.10 String address table A−24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A. Technical appendix
A−3Festo P.BE−SBO−Q−EN en 0912c
A.1 Cleaning and maintenance
CautionA dirty and scratched lens or a dirty and scratchedprotective disc can lead to optical errors.
· Make sure that the lens and the protective disc are notscratched.
· Do not use any abrasive cleaning agents.
· Switch off the power supply before cleaning.
· Clean the lens and protective disc if they are dirty or thereare dirt deposits on them:
� with an air gun or with clean non−lubricatedcompresed air.
� with a soft moist cloth and non−abrasive cleaningagents.
· Clean the device if it is dirty.
Permitted cleaning agents are soap suds (max. +60 °C) and allnon−abrasive agents.
A. Technical appendix
A−4 Festo P.BE−SBO−Q−EN en 0912c
A.2 Addressing in the Ethernet (basics)
Due to the separation into logical and physical protocol layers(Ethernet and TCP/IP), there are two types of addresses in anetwork:
� a fixed Ethernet address (MAC−ID) for each device and
� an IP address which is assigned to every device in thenetwork.
Before the application, data are always sent to or receivedfrom an IP address. In order that the data reach the receiver,a correlation must be created between the logical IP addressand the physical Ethernet address. The Address ResolutionProtocol ARP is used for this purpose: An ARP table is savedin each network PC. This table lists the relevant physicalEthernet address for each IP address in the network.If�an�Ethernet address is not listed in the ARP table, the IPdriver can ascertain it with the aid of an ARP request.
Ethernet address (MAC−ID) The unalterable worldwide unique Ethernet address(MAC−ID) of the Compact Camera System can be found onthe type plate. In this way you can clearly distinguish thedifferent Compact Camera Systems.
IP address An IP address as per standard IPv4 is usually specified with4 decimal numbers separated due to points (per 1 byte).
Example of an IP address: 192.168.2.10
With an IP address, a network as well as an individual slave inthe network can be addressed. The IP address thereforecontains:
� the net ID (specifies the address of a network) and
� the host ID (specifies the address of an individual slave inthis network).
A. Technical appendix
A−5Festo P.BE−SBO−Q−EN en 0912c
Net mask Which numbers in an IP address now represent the net IDand the host ID are defined due to the specification of aso−called �net mask".
The telephone number of Festo Germany can be used as anexample to explain the IP address and the net mask:00497113470
Which of these numbers represents the dialling code andwhich represents the subscriber number becomes clear whenyou also know: �that the first 7 figures represent the diallingcode, the last 4 represent the subscriber number".That�is�the��net mask" for the telephone number above.
Net classes The net mask for IP addresses defines with �0" as aposition�marker, the bytes which are used for addressing theslave (host ID). Networks belong to different net classesdepending on the number of these bytes:
Net class Net mask Explanation
A 255.0.0.0 Large network
B 255.255.0.0 Medium network
C 255.255.255.0 Small network with max.�254�slaves
Tab.�A/1: The most important net classes with theappropriate net masks (example)
Gateway Networks with different Net−IDs are connected to each othervia a router or gateway. If a slave in a network is to senddata to slaves in other networks, the IP address of thegateway must be specified.
A. Technical appendix
A−6 Festo P.BE−SBO−Q−EN en 0912c
Three entries are therefore required for addressing in theInternet Protocol IP:
� IP address
� IP net mask
� IP address of the gateway
NoteThe following is set at the factory:
� IP address: 192.168.2.10
� IP net mask: 255.255.0.0
� IP address of the gateway: �
A. Technical appendix
A−7Festo P.BE−SBO−Q−EN en 0912c
A.3 Siemens star
Fig.�A/1: Siemens star
The Siemens star depicted here is a helpful template forrough focussing.
A. Technical appendix
A−8 Festo P.BE−SBO−Q−EN en 0912c
A.4 Technical Data
Type SBOC−Q−R1 SBOI−Q−R1 SBOC−Q−R3 SBOI−Q−R3 SBOC−Q−R2
Sensor resolution [pixels] 640x480 752x480 1280x1024
Picture sensors
Exposure time [ms] 0,039 � 1000 0,018 � 200 0,008 � 1000
Picture samplingrate (full image)
[fps] 150 60 27
Sensor size [inch] 1/2 1/3 2/3
Sensor type CMOS Global Shutter; B = monochromeyp
CMOS Global Shutter; C = colour
Lens mounting CS mount 1) Integratedlens
CS mount 1) Integratedlens
CS mount 1)
Work distance [mm] depends onselected lens
22 � 1000 depends onselected lens
20 � 550 depends onselected lens
Field of vision [mm] depends onselected lens
14x10 �520x390
depends onselected lens
7.9x5.5 �195x125
depends onselected lens
Electrical data
Nominal opera�ting voltage
[V DC] 24
Permissible voltage fluctuations
[%] ±10
Current consumption withload−free outputs
[mA] 120
Max. residualcurrent
[A] 1.5 at the 24 V outputs
Inputs Function SBOx−QInput 1:� Trigger signal, use due to CoDeSysInput 2:� Apply inputs, acknowledge errors, use due to CoDeSys
Outputs Function SBOx−QOutputs can be parameterised:� Ready for operation, good part, reject part, correctly oriented,
incorrectly oriented, warning, error, external illumination,use�due�to�CoDeSys
1) C mount only with lens protection tubing or adapter SBOL−C−5
A. Technical appendix
A−9Festo P.BE−SBO−Q−EN en 0912c
Type SBOC−Q−R1 SBOI−Q−R1 SBOC−Q−R3 SBOI−Q−R3 SBOC−Q−R2
Sensor resolution [pixels] 640x480 752x480 1280x1024
Technical data (continued)
Protection class 2) IP65, IP67 3) IP65, IP67 IP65, IP67 3) IP65, IP67 IP65, IP67 3)
Protection against directand indirect contact
PELV (Protected Extra Low Voltage)
Interference immunity as per EN 61000−6−2
Interference emission To EN 61000−6−4 (industry)
CE mark In accordance with EU−EMV directiveè conformity declaration (www.festo.com) 4)
Certification C−Tick, c UL us � Recognized (OL)
Vibration and shock
Vibration resistance tested according to IEC 68/EN 60068 part 2−6;0.35�mm path at 10�...�60 Hz; 5�g acceleration at 60�...�150�Hz
Shock resistance tested according to IEC 68/EN 60068 part 2−27;± 30 g at 11�ms duration; 5 shocks in each direction
Shock resistance tested according to IEC 68/EN 60068 part 2−29;± 15�g at 6�ms duration; 1000 shocks in each direction
Ethernet
Bus interface IEEE802.3U (100BaseT)
Connector plug M12 plug
Transmissionspeed
[Mbps] 100
Supported protocols TCP/IPpp p
EasyIP
ModbusTCP
Telnet
Fieldbus interface
Type CAN � CAN
Connection technology M12 plug � M12 plug
Supported protocols CP field bus � CP field bus
2) Protection class to EN 60,529: Plug connectors inserted or fitted with protective cap3) with protective tubing4) In residential areas, measures for radio interference suppression may have to be taken
A. Technical appendix
A−10 Festo P.BE−SBO−Q−EN en 0912c
Type SBOC−Q−R1 SBOI−Q−R1 SBOC−Q−R3 SBOI−Q−R3 SBOC−Q−R2
Sensor resolution [pixels] 640x480 752x480 1280x1024
Operating and environmental conditions
Ambienttemperature
[°C] �10 ... +50
Storagetemperature
[°C] �10 ... +60
Ambient conditions Screened from extreme external light sources
Cleanest possible ambient air
Geometry
Width [mm] 45 45 45 45 45
Height [mm] 45 45 45 45 45
Length [mm] 139,4 5) 83,7 139 5) 83,7 139,4 5)
Materials
Housing Anodised aluminium
Cap Acrylic butadiene styrene, glass fibre reinforced
Note on materials Free of copper and PTFE, conforms to RoHS
Product weight [g] 182 6) 184 172 6) 174 182 6)
5) with protective tubing6) without protective tubing
Tab.�A/2: Technical Data
A. Technical appendix
A−11Festo P.BE−SBO−Q−EN en 0912c
A.5 Error messages
Name No. Error/warning Description
General errors
E00 0 � No error
E09 9 F Overload at internal I/Os
E12 12 F 1) Overheating
I19 19 F Firmware not compatible or defective
Teach error
E20 20 F Error in test program; orientations cannot bedisconnected
E21 21 F Error in test program; types or orientations cannot bedisconnected
Error in picture generation
E30 30 F 1) Picture buffer overflow (only for evaluation mode = fixed frame rate)
E31 31 F Error with generation of pictures
Error in test program or system parameter
E40 40 F Test program could not be read/found
E41 41 F System parameters cannot be read/interpreted
E43 43 F Test program is not compatible with firmware
E45 45 F Test program could not be activated/loaded − newattempt after error acknowledge signal
E46 46 F Insufficient memory, operation cannot be executedRemedy:� Reduce the size of the active test program� Reduce the size of the active field of vision of the
camera
1) Error can be configured
A. Technical appendix
A−12 Festo P.BE−SBO−Q−EN en 0912c
Name DescriptionError/warningNo.
CP � I/O expansion error
E100 100 F 1) General CAN error
E101 101 F 1) General I/O expansion error
E102 102 F 1) An output module was not found
E103 103 F 1) An input module was not found
E105 105 F 1) Communication error with an output module
E106 106 F 1) Communication error with an input module
E107 107 F 1) Overload/short circuit at an output module
E108 108 F 1) Overload/short circuit at an input module
E109 109 F 1) Low voltage at an output module
E110 110 F 1) Low voltage at an input module
CPI module error
E150 150 F 1) Communications errors
EasyIP error
E200 200 F General EasyIP error
E201 201 F EasyIP server is not running
E202 202 F EasyIP communication error
E203 203 W Invalid EasyIP request
Modbus error
E300 300 F General Modbus error
1) Error can be configured
A. Technical appendix
A−13Festo P.BE−SBO−Q−EN en 0912c
Name DescriptionError/warningNo.
CoDeSys error
E500 500 F 1) Error in the CoDeSys® process
E501 501 F 1) CAN interface is busy
1) Error can be configured
Tab.�A/3: Error messages
A. Technical appendix
A−14 Festo P.BE−SBO−Q−EN en 0912c
A.6 Address table for EasyIP, Modbus, Telnet und CoDeSys embedded
Read and/or write access to the following entries is possiblethrough EasyIP, Modbus, Telnet and the integrated PLCrun−time system CoDeSys.The entries have the access type �Flagword" (FW) or �String"(STR).
NoteDepending on the programming environment, �Flagword"(FW) may also be labeled �Merkerwort" (flag word).
A.6.1 Input register
Name Read/Write
FW ValuesType
PermittedValues
Comment
Trigger signal W 0 uint16 0 or 1
Apply Inputs signal W 1 uint16 0 or 1
Acknowledge Error signal W 2 uint16 0 or 1
not used 3 uint16
not used 4 uint16
not used 5 uint16
not used 6 uint16
not used 7 uint16
Inspect. program preselection bit 0 R/W 8 uint16 0 or 1 Application of thepreselected
Inspect. program preselection bit 1 R/W 9 uint16 0 or 1preselectedinspection
dInspect. program preselection bit 2 R/W 10 uint16 0 or 1
pprogram due tosetting the Apply
Inspect. program preselection bit 3 R/W 11 uint16 0 or 1
setting the ApplyInputs signal.
A. Technical appendix
A−15Festo P.BE−SBO−Q−EN en 0912c
Name CommentPermittedValues
ValuesType
FWRead/Write
Inspect. program preselection bit 4 R/W 12 uint16 0 or 1 Application of thepreselected
Inspect. program preselection bit 5 R/W 13 uint16 0 or 1preselectedinspection
dInspect. program preselection bit 6 R/W 14 uint16 0 or 1
pprogram due tosetting the Apply
Inspect. program preselection bit 7 R/W 15 uint16 0 or 1
setting the ApplyInputs signal.
Tab.�A/4: Input register
A.6.2 Output register
Name Read/Write
FW ValuesType
Comment
Ready for operation R 16 uint16
Output result good R 17 uint16
Output result bad R 18 uint16
Output result correctly oriented R 19 uint16
Output result incorrectly oriented R 20 uint16
Warning(corresponds to LED C red & flashing)
R 22 uint16
Error condition(corresponds to LED C red)
R 23 uint16
Recognised parts type bit 0 R 24 uint16 Independent of the systemparameter �Output module
Recognised parts type bit 1 R 25 uint16parameter �Output moduleformat".
Recognised parts type bit 2 R 26 uint16 The recognised parts type is
Recognised parts type bit 3 R 27 uint16
The recognised parts type isbinary coded (bit 0 to bit 7):00000000 = Parts type 1
Recognised parts type bit 4 R 28 uint16
00000000 = Parts type 100000001 = Parts type 2...
Recognised parts type bit 5 R 29 uint16
...11111111 = Parts type 256
A. Technical appendix
A−16 Festo P.BE−SBO−Q−EN en 0912c
Name CommentValuesType
FWRead/Write
Recognised parts type bit 6 R 30 uint16 Independent of the systemparameter �Output module
Recognised parts type bit 7 R 31 uint16parameter �Output moduleformat".
Tab.�A/5: Output register
A.6.3 Fast access to the input and output register
Name Read/Write
FW ValuesType
PermittedValues
Comment
Fast access torecognised parts type
R 32 uint16 Corresponds toFlagword�24�to�31
Fast access to inspectionprogram preselection
R/W 33 uint16 0 to 255when writing
Corresponds toFlagword�8�to�15The Apply Inputssignal must then beset for application
Tab.�A/6: Fast access to the input and output register
A.6.4 Extended system status/system information
Name Read/Write
FW ValuesType
Comment
Error code of thecurrent error
R 100 uint16 0 = No errorx = Error number
(see table chapter A.5)
Error code of thecurrent warning
R 101 uint16 0 = No errorx = Error number
(see table chapter A.5)
A. Technical appendix
A−17Festo P.BE−SBO−Q−EN en 0912c
Name CommentValuesType
FWRead/Write
Device type R 102 uint16 SBOI−Q−R1B: 701SBOC−Q−R1B: 702SBOI−Q−R1C: 703SBOC−Q−R1C: 704SBOC−Q−R2B: 705SBOC−Q−R2C: 706SBOI−Q−R3B−WB: 707SBOC−Q−R3B−WB: 708SBOI−Q−R3C−WB: 709SBOC−Q−R3C−WB: 710
Version of the majorfirmware
R 103 uint16 e.g. Version 3.2.0.9:high byte = 3, low byte = 2
Version of the minorfirmware
R 104 uint16 e.g. Version 3.2.0.9:high byte = 0, low byte = 9
Connection to PC R 130 uint16 0 = Device is not connected to the PC1 = Device is connected to
CheckKon, for example
Tab.�A/7: Extended system status / system information
A.6.5 System time of the device
Name Read/Write
FW ValuesType
PermittedValues
Comment
Date−Year R/W 150 uint16 2000 to 9999 The system timemust be reset after
Date−Month R/W 151 uint16 1 to 12must be reset afterthe device is
dDate−Day R/W 152 uint16 1 to 31
restarted.
Time−Hours R/W 153 uint16 0 to 23
Time−Minutes R/W 154 uint16 0 to 59
Time−Seconds R/W 155 uint16 0 to 59
Tab.�A/8: System time
A. Technical appendix
A−18 Festo P.BE−SBO−Q−EN en 0912c
A.6.6 Total tolerance of the type in the current test program
Name Read/Write
FW ValuesType
PermittedValues
Comment
Parts type 0 R/W 200 uint16 0 to 20
Parts type 1 R/W 201 uint16 0 to 20
Parts type 2 R/W 202 uint16 0 to 20
Parts type 3 R/W 203 uint16 0 to 20
Parts type 4 R/W 204 uint16 0 to 20
Parts type 5 R/W 205 uint16 0 to 20
Parts type 6 R/W 206 uint16 0 to 20
Parts type 7 R/W 207 uint16 0 to 20
Parts type 8 R/W 208 uint16 0 to 20
Parts type 9 R/W 209 uint16 0 to 20
Parts type 10 R/W 210 uint16 0 to 20
Parts type 11 R/W 211 uint16 0 to 20
Parts type 12 R/W 212 uint16 0 to 20
Parts type 13 R/W 213 uint16 0 to 20
Parts type 14 R/W 214 uint16 0 to 20
Parts type 15 R/W 215 uint16 0 to 20
Tab.�A/9: Total tolerance of the type in the current test program
A. Technical appendix
A−19Festo P.BE−SBO−Q−EN en 0912c
A.6.7 Basic results of the last inspection
Name Read/Write
FW ValuesType
Comment
Test program name R 234 byte[32] Name of the test program of the lasttest
Test program used R 250 uint16 1 ... 256
Used mode R 251 uint16 0 = Teach, 2 = Auto
Recognized parts type R 252 uint16 1 ... 16
Recognised orientation R 253 uint16 1 ... 8
Auto mode:� Recognition quality
Teach mode:� C− value
R 254 uint16 Auto mode:� Recognition quality 0�...�999� Good part: 0 ... 100� Reject part: > 100Teach mode:� Scatter of characteristics
C−value 0�...�100
Orientation quality R 255 uint16 Orientation quality
Total tolerance used
R 256 uint16 Total tolerance used for inspectingthe part
Part no. low word (LSW)
R 257 uint16 The part no. is binarily coded with32 bit and distributed to 2 FW:FW257 = Bit 1 ... 16 (LSW)FW258 = Bit 17 ... 32 (MSW)
Part no. high word(MSW)
R 258 uint16
FW258 = Bit 17 ... 32 (MSW)Example:Part No. 500,000FW257 = 1010 0001 0010 0000FW258 = 0000 0000 0000 0111
Date−year of recording R 259 uint16 With trigger signal
Date � month of recording
R 260 uint16 With trigger signal
Date � day of recording
R 261 uint16 With trigger signal
Time � hours of recording
R 262 uint16 With trigger signal
A. Technical appendix
A−20 Festo P.BE−SBO−Q−EN en 0912c
Name CommentValuesType
FWRead/Write
Time � minutes of recording
R 263 uint16 With trigger signal
Time � seconds of recording
R 264 uint16 With trigger signal
Processing time R 265 uint16 Processing time of the part in msfrom trigger signal, up to max 32 s
Number of the actuallyused characteristics
R 266 uint16 1 ... 256(determined through inspectionprogram)
Summary ofcharacteristic results.
R 300 �315
uint16 The results of up to 256characteristics are summarised atthe bit−level by 16 bits each(=�1�flagword).Characteristic result:0 = bad; 1 = good
Tab.�A/10: Basic results of the last inspection
A.6.8 Characteristics � Results of the last inspection
Addressing of the characteristic values is summarised insections. The sections start with Flagword 10000 and arestaggered by 100 each.
And so
� the section of the 1st characteristic values startsat�10000
� the section of the 2nd characteristic values startsat�10100
� etc.
The characteristic values are also stored as strings ofcharacters (String).
A. Technical appendix
A−21Festo P.BE−SBO−Q−EN en 0912c
In total, there is a maximum of 256 characteristic sections.The number of actually used characteristics is contained inFlagword 266 (see Tab.�A/10).
Note· Addressing of the characteristic values is backwardcompatible with old PLC programs. The range fromflagword 400 continues to work, but only for64�characteristics.
· The characteristic values (flagword/string display) in the�Parts contour" window of the �CheckKon" program aredisplayed correctly only from Version 4.1 Release 03.
For each characteristic, the respective flagword �Valid Flag"contains the information about whether the characteristiccould actually be calculated in the test.If the result of the characteristic is a very large negativenumber, calculation of the characteristic has probably failed.A query about the �Valid Flag" is unnecessary.
Name Read/Write
FW 1) ValuesType
Comment
Characteristic value R 10000 double64
Tolerance R 10004 double64 Tolerance used for characteristic(incl.�tolerance factor)
Unused R 10008 double64
Charact. value as text R 10012 byte[64] Characteristic value as character string
Tool name R 10044 byte[32] Name assigned by the user(cut�off,�if�necessary)
Characteristic name R 10060 byte[32] Fixed characteristic name (cut off, if necessary)
Valid Flag R 10076 uint16 1 = characteristic could be calculated,0�=�calculation failed
Characteristic type R 10077 int16 ID of the characteristic type
1) Example for the section of the 1st characteristic values after flagword 10000.
A. Technical appendix
A−22 Festo P.BE−SBO−Q−EN en 0912c
Name CommentValuesType
FW 1)Read/Write
Deviation R 10078 int16 Deviation (�32000�...�32000), Good part�=��100�...�100
Characteristic value, Before the decimal
R 10079 int16 Pre−decimal places of the characteristicvalue as integer � Maximum value: 32767� Minimum value: �32768
Characteristic value, After the decimal
R 10080 uint16 Post−decimal places of the characteristicvalue�x�10,000�as integer 2)
1) Example for the section of the 1st characteristic values after flagword 10000.2) Example: 0.99 is stored as 9900.
Tab.�A/11: Characteristics − Results of the last inspection
The available characteristics depend on the test program andthe device’s firmware version.
NoteAdditional information on characteristics and tools can beobtained through your local Festo service.
Results in the form of text are also available as the accesstype �String" (STR).
A. Technical appendix
A−23Festo P.BE−SBO−Q−EN en 0912c
A.6.9 System parameters
Name Read/Write FW Values Type Permitted Values
System parameters�..."
R/W 7000 uint16 See dynamic help in the �Systemparameters" window in CheckKon
Tab.�A/12: System parameters
NoteFor devices of the type SBO...−Q−R3... changed systemparameters with influence on picture creation might onlybe applied or be visible with the picture after the next one(not noticeable in the �Live Window" picture).
· For devices of type SBO...−Q−R3..., always take anadditional (unused) picture after you have changedsystem parameters.
A. Technical appendix
A−24 Festo P.BE−SBO−Q−EN en 0912c
A.6.10 String address table
The string address table is only available for the followingprotocols:
� EasyIP
� Telnet
� CoDeSys embedded
Addressing of the characteristic values starts with string 0and is staggered by 5 each time.
And so
� the string of the 1st characteristic starts at 0
� the string of the 2nd characteristic starts at 5
� the string of the 3rd characteristic starts at 10
� etc. (see Tab.�A/13)
Name Read/Write
STR 1) ValuesType
Comment
Characteristic value R 0 string
Tool Name R 1 string Name assigned by the user(cut�off,�if necessary)
Characteristic Name R 2 string Fixed characteristic name (cut off, if necessary)
Unused R 3 string
Unused R 4 string
1) Example for addressing the 1st characteristic from STR0; the 2nd characteristic starts at STR5.
Tab.�A/13: Characteristics − Results of the last inspection as character string
Index
B−1Festo P.BE−SBO−Q−EN en 0912c
Appendix B
B. Index
B−2 Festo P.BE−SBO−Q−EN en 0912c
Contents
B. Index B−1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−3Festo P.BE−SBO−Q−EN en 0912c
Numbers
0−signal XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1−signal XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A
Abbreviations XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accessories 1−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Acknowledge Error signal input 4−48 . . . . . . . . . . . . . . . . . . .
Activity LED (C) 5−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adapter kit 2−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Apply Inputs signal input 4−46 . . . . . . . . . . . . . . . . . . . . . . . . .
Assign IP address automatically 4−13 . . . . . . . . . . . . . . . . . . .
Auto MDI−X XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C
C mount 1−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calculation time 4−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Camera image 4−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CAN interface 3−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CANopen XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CE certification VIII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Certifications VIII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Characteristic 4−83 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CheckKon XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CheckOpti XIV, 1−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CMOS sensor XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Coaxial vertical light 1−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CoDeSys pbF XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−4 Festo P.BE−SBO−Q−EN en 0912c
Commissioning 4−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Condition−controlled XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contrast 4−18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Counterlight 1−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP cable XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP connection XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP master XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP modules XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP modules address assignment 4−58 . . . . . . . . . . . . . . . . . .
CP node XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP string XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP system XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CP valve terminal XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPI modules XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPX modules XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CPX terminal XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CS mount 1−15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D
Depth of focus XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Device as CPI module 4−55, 4−61 . . . . . . . . . . . . . . . . . . . . . .
DHCP server 4−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diagnostics 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Digital input (I) XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dimensions 2−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Display and connecting elements 1−9 . . . . . . . . . . . . . . . . . . .
Dome light 1−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Dovetail guide 2−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−5Festo P.BE−SBO−Q−EN en 0912c
E
EasyIP 4−63 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Edge−controlled XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Electrical connections 3−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Emergency stop concept 3−4 . . . . . . . . . . . . . . . . . . . . . . . . . .
Error elimination 5−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet XV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet address A−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet connection 3−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet interface 3−11, 3−13 . . . . . . . . . . . . . . . . . . . . . . . . . .
Ethernet traffic LED (B) 5−4 . . . . . . . . . . . . . . . . . . . . . . . . . . .
Evaluation mode 4−21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example of connection 3−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exposure time XVI, 4−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
External lighting 1−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extraneous light 1−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
F
Falling edge XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Feature XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fieldbus nodes XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fixed focal depth 1−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fixed frame rate 4−21, 4−39 . . . . . . . . . . . . . . . . . . . . . . . . . . .
Flat angle light 1−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Focal depth XVI, 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Focus 4−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Freewheel unit 4−21, 4−28 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−6 Festo P.BE−SBO−Q−EN en 0912c
G
Gain XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Gateway A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
H
Halcon XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Higher−level controller (PLC) 4−44 . . . . . . . . . . . . . . . . . . . . . .
I
I/O expansion 4−51 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O modules XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/Os XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Important user instructions XI . . . . . . . . . . . . . . . . . . . . . . . . .
Input module XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inputs with signal function 4−45 . . . . . . . . . . . . . . . . . . . . . . .
Intended use VII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Internal lighting 1−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IP address A−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
L
LEDs 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lens 1−15, 2−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Light source 1−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lighting 4−18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Lighting control 4−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Live image 4−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−7Festo P.BE−SBO−Q−EN en 0912c
M
MAC ID A−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Main level 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modbus/TCP XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mounting 2−3, 2−6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multicast 4−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
N
Net classes A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Net mask A−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network settings 4−5, 4−11 . . . . . . . . . . . . . . . . . . . . . . . . . . .
Networking and control 1−4 . . . . . . . . . . . . . . . . . . . . . . . . . . .
O
Object distance 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operating status LED (A) 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . .
Operating voltage supply 3−6 . . . . . . . . . . . . . . . . . . . . . . . . .
Operating voltage supply and digital I/Os 3−8 . . . . . . . . . . . .
Optics 4−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Other inputs 4−45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output digital (O) XIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output duration 4−24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output LED (D) 5−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output module XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Output time 4−24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−8 Festo P.BE−SBO−Q−EN en 0912c
P
Pictograms XII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Picture field area 4−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Picture optimisation 4−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Picture sharpness 4−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PLC/IPC XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Port enable 4−9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power supply unit 3−5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pre−processing 4−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Protective disc 2−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Protective foil 2−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Protective tubing 2−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
R
Rising edge XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Rod light 1−20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
S
Safety note IX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SBO Device Manager XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SBO DeviceManager 1−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SBO−DeviceManager 4−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen XIV, 4−17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Search function 4−11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sensor amplification XVI, 4−16 . . . . . . . . . . . . . . . . . . . . . . . .
Sensor size 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Service X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Set the aperture 4−18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Severity level XVI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−9Festo P.BE−SBO−Q−EN en 0912c
Shield tube 2−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Siemens star A−7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Signal cables 3−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Signal sequence 4−25, 4−31, 4−41 . . . . . . . . . . . . . . . . . . . . . .
Size of field of vision 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Software package 1−12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Specify IP address 4−13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status display 5−3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
String allocation XVII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Supply cables 3−4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
T
Target group X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TCP/IP XVII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Technical Data A−8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Telnet 4−65 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Telnet under Windows Vista 4−67 . . . . . . . . . . . . . . . . . . . . . .
Test area 4−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test characteristics 4−19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test program XVII, 4−83 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Text markings XII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Trigger signal input 4−46 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Triggered 4−21, 4−23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TSP XVII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
V
Variants of the Compact Camera System 1−6, 1−7 . . . . . . . . .
Versions XIII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B. Index
B−10 Festo P.BE−SBO−Q−EN en 0912c
W
Working distance 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Z
Zoom 1−16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .