IFM O2D51 Series User manual

Operating instructions
Object recognition sensor
O2D51x
O2D53x
Firmware: 1.22.9009 or higher
11436819 / 0001 / 2022
GB

O2D51x O2D53x Object recognition sensor
2
Contents
1 Preliminary note ............................................................. 3
1.1 Symbols used.......................................................... 3
1.2 Warnings used ......................................................... 3
1.3 Safety symbols on the unit ................................................ 3
1.4 Legal and copyright information ............................................ 3
1.5 Open source information.................................................. 3
2 Safety instructions............................................................ 5
2.1 Photobiological safety.................................................... 5
2.1.1 O2D510, O2D512................................................... 5
2.1.2 O2D514 .......................................................... 6
2.1.3 O2D53x........................................................... 6
2.2 Cyber security.......................................................... 6
3 Intended use................................................................ 7
3.1 Application area ........................................................ 7
4 Function ................................................................... 8
4.1 Overview of device functions............................................... 8
4.2 Web front end.......................................................... 8
4.3 Triggering image captures................................................. 9
4.3.1 External triggering................................................... 9
4.3.2 Internal debouncing.................................................. 9
4.4 Switching output........................................................ 10
4.5 Internal illumination...................................................... 10
4.5.1 O2D51x........................................................... 11
4.5.2 O2D53x........................................................... 11
5 Mounting................................................................... 12
5.1 Installation instructions................................................... 12
5.2 Mounting with clamp..................................................... 13
5.3 Mounting with dome illumination............................................ 14
6 Electrical connection.......................................................... 15
6.1 Wiring................................................................ 16
6.1.1 PNP/NPN selection.................................................. 16
6.2 Wiring example......................................................... 16
6.3 External illumination ..................................................... 17
7 Installation.................................................................. 18
7.1 Update firmware........................................................ 18
8 Operating and display elements................................................. 19
8.1 Signal indications ....................................................... 19
9 Set-up..................................................................... 21
10 Parameter setting............................................................ 22
10.1 Focus the optics using the multi-function key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
10.2 Configure or lock the multi-function key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
11 Operation .................................................................. 23
11.1 Over temperature protection............................................... 23
12 Troubleshooting ............................................................. 24
13 Maintenance, repair and disposal................................................ 25
13.1 Replace the unit ........................................................ 25

Object recognition sensor O2D51x O2D53x
3
1 Preliminary note
You will find instructions, technical data, approvals and further information using the QR code on the
unit / packaging or at www.ifm.com.
1.1 Symbols used
Requirement
Instructions
Reaction, result
[...] Designation of keys, buttons or indications
Cross-reference
Important note
Non-compliance may result in malfunction or interference.
Information
Supplementary note
1.2 Warnings used
ATTENTION
Warning of damage to property
CAUTION
Warning of personal injury
wSlight reversible injuries may result.
1.3 Safety symbols on the unit
• Electric supply must correspond to IEC61010-1, chapter 9.4 - Limited-energy circuit.
• The photobiological safety of devices with Risk Group 2 must be taken into consideration.
Device of protection class III. Only for operation in PELV circuits (Ò chapter Electrical connection).
1.4 Legal and copyright information
© All rights reserved by ifm electronic gmbh. No part of these instructions may be reproduced and
used without the consent of ifm electronic gmbh.
All product names, pictures, companies or other brands used on our pages are the property of the
respective rights owners.
1.5 Open source information
This product can contain Free Software or Open Source Software from various software developers
which is subject to the following licenses: General Public License version 1, version 2 and version 3
(General Public License version 3 in conjunction with the GNU Compiler Collection Runtime Library
Exception version 3.1), Lesser General Public License version 2.1, Lesser General Public License

O2D51x O2D53x Object recognition sensor
4
version 3, Berkeley Software Distribution (BSD-2-Clause, BSD-3-Clause, BSD-4-Clause), MIT-License
(MIT), Python Software Foundation License 2.0, Pearl Artistic License and Artistic License 2.0,
Microsoft Public License, Apache Software License Version 1.0, 1.1 und 2.0, ISC License, libpng
License, zlib Licence, the Academic Free License version 2.1. For the components subject to the
General Public License in their respective versions the following applies:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation. If version 1 applies to the
software: either version 1 of the License or (at your option) any later version; if version 2 (or 2.1)
applies to the software: either version 2 (or 2.1) of the License or (at your option) any later version; if
version 3 applies to the software: either version 3 of the License or (at your option) any later version.
The following disclaimer of the software developers applies to the software components that are
subject to the General Public License or the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License and the GNU Lesser General
Public License for more details.
The responsibility of ifm electronic gmbh for ifm products, in the case of product-specific software,
remains unaffected by the above disclaimer. Please note that the firmware for the ifm products is in
some cases provided free of charge.
The price of the ifm products has then to be paid for the respective device itself (hardware) and not for
the firmware. For the latest information on the license agreement for your product please visit
www.ifm.com
For binaries that are licensed under any version of the GNU General Public License (GPL) or the GNU
LGPL you may obtain the complete corresponding source code of the GPL software from us by
sending a written request to: [email protected] or to ifm electronic gmbh, Friedrichstraße 1, 45128
Essen, Germany.
We charge €30 for each request. Please write “source for product Y” in the memo line of your
payment. Your request should include (i) the name of the covered binary, (ii) the name and the version
number of the ifm product, (iii) your name and (iv) your return address.
This offer is valid to anyone in receipt of this information. This offer is valid for at least three years
(from the date you received the GPL/LGPL covered code).

Object recognition sensor O2D51x O2D53x
5
2 Safety instructions
• The unit described is a subcomponent for integration into a system.
– The system architect is responsible for the safety of the system.
– The system architect undertakes to perform a risk assessment and to create documentation in
accordance with legal and normative requirements to be provided to the operator and user of
the system. This documentation must contain all necessary information and safety instructions
for the operator, the user and, if applicable, for any service personnel authorised by the
architect of the system.
• Read this document before setting up the product and keep it during the entire service life.
• The product must be suitable for the corresponding applications and environmental conditions
without any restrictions.
• Only use the product for its intended purpose (Ò Intended use).
• If the operating instructions or the technical data are not adhered to, personal injury and/or damage
to property may occur.
• The manufacturer assumes no liability or warranty for any consequences caused by tampering with
the product or incorrect use by the operator.
• Installation, electrical connection, set-up, operation and maintenance of the product must be
carried out by qualified personnel authorised by the machine operator.
• Protect units and cables against damage.
2.1 Photobiological safety
The device classification according to EN 62471 is based on a distance of the viewer from the light
source of 200 mm for the most unfavourable device configuration (colour, exposure time, frame rate).
Under application-specific conditions, the risk for the viewer may differ depending on the installation
situation and the device settings.
The system architect/operator is required to carry out a hazard analysis and to take appropriate
measures for the protection of persons. In particular national regulations also have to be adhered to.
Possible protective measures may include screens, guaranteed minimum distances of a viewer,
access controls, safety glasses and user training.
It is generally recommended not to look directly into the switched-on light source. Glare or irritation
can also occur in Risk Group 0 (Exempt Group). Ideally, the device is installed in such a way as to
prevent eye exposure to the light source.
2.1.1 O2D510, O2D512
The colour of the illumination LEDs can be switched between red (625nm), green (525nm), blue
(453nm) and white. The colour selection applies to all LEDs at the same time.
The unit complies with Risk Group 1 according to EN62471:2008.
Reducing the risk for the viewer to equal that of the Exempt Group (RG 0):
uWhen selecting the blue and white LEDs, observe the distances between the light source and the
eye specified in the following table.
LED red LED green LED blue LED white
Risk Group (RG) 0 0 0 0
Hazard distance --- --- 0.35 m 0.30 m
Tab.1: Risk group-related hazard distances according to DIN EN 62471, Supplement 1

O2D51x O2D53x Object recognition sensor
6
2.1.2 O2D514
The colour of the illumination LEDs can be switched between red (625nm), green (525nm), blue
(453nm) and white. The colour selection applies to all LEDs at the same time.
The lighting is highly focused.
The unit complies with Risk Group 2 according to EN62471:2008.
CAUTION
Risk Group 2 light source
wPossible damage to the eyes when looking into the LED light source for a longer period
of time.
uAvoid looking into the light source for any length of time.
uCarry out a hazard analysis and, if necessary, take appropriate measures for the
protection of persons.
Reducing the risk for the viewer to equal that of Risk Group 1 or the Exempt Group (RG 0):
uWhen selecting the blue and white LEDs, observe the distances between the light source and the
eye specified in the following table.
LED red LED green LED blue LED white
Risk Group RG 0 0 1 0 1 0
Hazard distance --- --- 0.35 m 0.55 m 0.30 m 0.4 m
Tab.2: Risk group-related hazard distances according to DIN EN 62471, Supplement 1
2.1.3 O2D53x
The illumination LEDs emit invisible infrared light with a wavelength of 850nm. The device complies
with the Exempt Group according to EN62471:2008.
2.2 Cyber security
ATTENTION
Unprotected network environment:
The unit does not include IT security measures according to IEC 62443.
wUnauthorised read or write access to data is possible.
wUnauthorised manipulation of the device function is possible.
uCheck and restrict access options to the device.

Object recognition sensor O2D51x O2D53x
7
3 Intended use
The unit is used for quality inspection of objects. It checks and monitors contours, object properties,
shape deviations, colour changes and surfaces.
In addition, the unit is suited for sorting and counting tasks.
3.1 Application area
The device safety is rated for use under the following operating conditions according to EN IEC
61010-2-201:
• indoor use
• altitudes up to 4000 m
• relative air humidity up to max. 90%, non condensing
• pollution degree 2
Electromagnetic compatibility (EMC):
The unit is designed for use in industrial environments.
This product may cause radio interference in domestic areas.
uIf required, take appropriate EMC screening measures.
The IP rating has not been evaluated by UL® Underwriters Laboratories®.

O2D51x O2D53x Object recognition sensor
8
4 Function
The unit monitors the properties of objects. It captures images with the help of parameters previously
configured by the user in sets of application data.
The unit uses incident light or back light to detect a grey-scale pattern of the object to be monitored.
On the basis of the determined brightness values the unit differentiates between the object and the
background.
The unit compares the captured image with one or several models. Depending on the degree of
conformity the output can indicate if a model was found or which one was found.
The unit outputs the results via an Ethernet-based process interface.
In addition, the unit features
• 1switching input,
• 1switching output.
4.1 Overview of device functions
• Process interface: Ethernet TCP/IP and PROFINET
• Parameter setting interface: Ethernet TCP/IP
• Integrated, configurable contour verification and blob analysis
• Monitoring of the following object properties:
– patterns and shapes
– inner and outer radius
– roundness and rectangularity
– number of holes
– contrast, width and height of surfaces
– number, position and orientation of objects
• Automatic setting of focus and exposure parameters
• Wizard for presence detection of objects
• Control of the switching output via the active application or externally via process interface
• Internal illumination
• Internal and external triggering of image captures
• Data processing with function blocks and logical links in the unit
• Integrated ifm mass storage device saves current configuration for easy device replacement.
Optional storage of error images
4.2 Web front end
The unit has a web front end via which the following information can be retrieved:
• device documentation
• device set-up
• error images
• licences
uEnter the IP address of the unit in a web browser. Example: http://192.168.0.69

Object recognition sensor O2D51x O2D53x
9
4.3 Triggering image captures
1...5 parameter sets can be defined for image captures.
Image captures for object or contour detection are triggered by an internal or external trigger signal.
Depending on the selected trigger mode, the images are then captured accordingly.
• Internal triggering
– Images are captured continuously with a fixed frame rate.
– The settings are made via the ifm Vision Assistant software.
• External triggering
– Image capture activated by external trigger source (switching signal of a connected sensor) via
the trigger input.
– Image capture activated by process interface command (PLC) via Ethernet.
If an internal or external illumination unit is used, it will be switched on with each triggering.
4.3.1 External triggering
For external triggering of image captures, different trigger modes can be used (Ò software manual at
documentation.ifm.com):
• Negative edge
• Positive edge
• Negative and positive edge
• Gated trigger
• Burst trigger
During an active trigger process, no new trigger can be activated. A trigger signal that occurs
too early will be discarded and treated as a “Trigger overrun” error. The ready signal “Ready for
trigger” can be output to a switching output.
Trigger
input
Ready
1
t
tAtA
0
1
0
Fig.1: Ready signal (“Ready for trigger”)
Example: A diffuse reflection sensor as an external
trigger source triggers the unit on a positive edge (tA
= evaluation time).
4.3.2 Internal debouncing
2
1
0 2 4 6 8 10 12 14 16 18 20
t [ms]
Fig.2: Internal debouncing
1: trigger input 2: image capture
The trigger input can be debounced internally
(preset: internal debouncing deactivated). Internal
debouncing prevents several short pulses from
triggering. The pulse must be at least 4ms long to
be recognised as a trigger.
Depending on the electrical installation, debouncing
is not necessary.
A trigger delay can be set.

O2D51x O2D53x Object recognition sensor
10
4.4 Switching output [Übersetzung ist nicht mehr aktuell]
Switching output OUT1 is configurable. The output is not switched by default.
The configuration can be done individually for each application using the ifm Vision Assistant software.
The table below shows the standard configuration.
Pin Signal Standard configuration
4 Ready/ OUT1 Not used
5 Not used Not used
Tab.3: Switching output standard configuration
The switching output switches as soon as one of the following device states has occurred:
• “Ready for trigger”
The unit signals that a new image can be captured. Only with this device status are trigger
operations processed. For the continuous image capture the status “Ready for trigger” is not
output.
• “Image capture finished”
The unit signals that the image capture is finished. The device status can be used for cascading
devices in order to prevent mutual interference during image capture.
• “Error”
The unit signals an internal error. Detailed information about errors can be requested via Ethernet.
• “Controlled via process interface” (e.g. by PLC)
The device is controlled via the command “O” (Ò Programmer’s Guide).
• “User-defined states”
The user-defined states are changed with the processing of contour and blob (e.g. object/model
found, object/model matches the reference, object/model outside the threshold level, etc.).
4.5 Internal illumination
The activated internal illumination can improve object recognition. The 4 illumination LEDs can be
activated separately.
The internal illumination is set via the ifmVisionAssistant software.
4 x LED
Fig.3: Illumination LEDs
uObserve the safety instructions for photobiological safety. (Ò Photobiological safety/5)
The internal and external lighting is switched on 500 µs before the image is taken. Switching on
prematurely does not affect the brightness of the captured image.
wExample: With an integration time of 100 µs, the lighting is switched on for 600 µs.

Object recognition sensor O2D51x O2D53x
11
4.5.1 O2D51x
The device has RGBW lighting, which can be switched between the lighting colours red, green, blue
and white. Only one colour can be activated at a time, which applies to all internal lighting LEDs.
The optics of the device do not feature a band-pass filter.
The optics of the device and two of the four LEDs are equipped with polarisation filters.
uOnly activate the LEDs with polarisation filters to avoid direct reflection.
4.5.2 O2D53x
The device features an infrared illumination.
The optics of the unit feature a band-pass filter. Without the internal illumination, objects and contours
are difficult to detect. If possible, always use the internal illumination or an external illumination with a
suitable wavelength.
The device does not feature a polarisation filter.

O2D51x O2D53x Object recognition sensor
12
5 Mounting
Depending on the application and surface of the object to be monitored, the unit can be installed in
front of or above the object.
uFasten the unit to a bracket via the two threaded holes present on the unit. Tightening torque max.
2.1 Nm.
uAlign the unit to the centre of the object’s optical axis.
Information about available accessories at www.ifm.com
5.1 Installation instructions
Storage at high humidity can lead to fogging of the front glass after switch-on, which can affect the
functioning of the unit.
uDo not exceed the following limits:
Temperature Maximum recommended relative humidity
25 °C 75 %
30 °C 72 %
35 °C 70 %
40 °C 67 %
uAvoid back light, scattered light and changing light conditions. Sunlight hitting the lens or the scene
to be monitored may cause interference.
uEnsure mechanical decoupling when installing the unit to prevent the sensor from vibrating.
uAvoid installation in heavily polluting areas of the machine.
Units mounted side by side can interfere with each other when exposed to active lighting
simultaneously.
uEnsure constant external illumination or trigger the units one after the other.
uMake sure that the pressure compensation element on the bottom side of the unit is not covered.
1
Fig.4: Pressure compensation element (1)

Object recognition sensor O2D51x O2D53x
13
5.2 Mounting with clamp
2
1
3
4
Fig.5: Installation using the mounting set E2D500
1: M4 screws 2: threaded M4 holes (depth 7mm)
3: bracket 4: clamp
uFasten the bracket to the threaded M4 holes of the unit using two M4 screws. Tightening torque
max. 2.1Nm.
uFix the clamp to the bracket.

O2D51x O2D53x Object recognition sensor
14
5.3 Mounting with dome illumination
2
3
4
1
5
Fig.6: Installation using the mounting set E2D501
1: M4 screws 2: threaded M4 holes (depth 7mm)
3: bracket 4: clamp
5: dome illumination
uFasten the bracket to the threaded M4 holes of the unit using two M4 screws. Tightening torque
max. 2.1Nm.
uFasten the bracket to the dome illumination using four screws.
uFix the clamp to the bracket.

Object recognition sensor O2D51x O2D53x
15
6 Electrical connection
ATTENTION
The unit must be connected by a qualified electrician.
Protection class III (PC III) unit (IEC 61010-2-201 chap. 6.5.2.101.4).
The electrical supply must
- be provided only by PELV circuits (IEC 61010-2-201 chap. 3.111),
- not exceed 35 V DC during operation,
- not exceed 60 V DC in the event of a single fault and
- not exceed the permitted operating voltage of the unit (see data sheet).
Use energy-limited circuits for the electrical supply (IEC 61010-1 chap. 9.4). The energy of
the circuit can be limited at an operating voltage of 24 V by an overcurrent protection
device. The overcurrent protection device must switch off a current of 8.3A in maximum
120s. Observe the specific tripping characteristic. Possible overcurrent protection devices:
- fuse or
- non-adjustable and non-self-reclosing electromechanical device.
Separate the circuit from other, non-energy-limited circuits by at least basic insulation. The
separation of external circuits must comply with IEC61010-2-201, figure 102.
uDisconnect power before connecting the unit.
uFor cable lengths >30m use an additional protection against surge voltages to
IEC61000-4-5.
ATTENTION
The device can be damaged by insufficiently tightened M12 connectors.
wThe IP rating indicated in the data sheet is only guaranteed if the M12 connectors are
firmly screwed.
uFirmly screw the M12 connectors to the device.
For the scope of validity cULus:
Minimum temperature rating of the cable to be connected to the field wiring terminals: 70°C.
Observe when connecting the device:
uUse strain reliefs for cables connected to the device.
uCover the unused sockets with protective caps (E73004). Tightening torque 0.6...0.8 Nm.
If the device is permanently used in wet areas, the nut of the M12 industrial Ethernet connection
cable (e.g. E11898) may corrode.
uUse a connection cable with a high-grade stainless steel nut.

O2D51x O2D53x Object recognition sensor
16
6.1 Wiring
2
1
① Ethernet (parameter setting interface, process interface)
M12 socket, D-coded, 4 poles
1: TD+
2: RD+
3: TD-
4: RD-
S: screen
② Profinet (power supply and process output)
M12 connector, L-coded, 5 poles
1 4
5
2 3
1: 24 V DC
2: not used, trigger input
3: GND
4: not used, ready/ OUT1
5: not used
If the standard configuration of pin 2 or pin 4 is changed, the Profinet specifications for the pin
assignment on the L-coded connector may no longer be met.
uCheck contacting on the cable and adjust if necessary.
6.1.1 PNP/NPN selection
Pins 2 and 4 can be switched between PNP and NPN logic.
The setting cannot be made for individual pins, but applies to all pins.
6.2 Wiring example
External triggering of the unit is possible via:
• Ethernet
• External switching signal via trigger input
In the wiring example, the image capture is triggered with a proximity sensor via the trigger input.
2
3
4
1
3 1 2
1 2
34
DC 24 V
+-
1 4
5
2 3
Fig.7: Wiring example of a trigger circuit
1: O2D53x device
2: notebook for parameter setting
3: proximity switch
4: voltage source

Object recognition sensor O2D51x O2D53x
17
6.3 External illumination
An external illumination can be connected to facilitate object recognition.
Connect the external illumination to switching output OUT1 of the unit. The sensor triggers the
illumination independently or passes the trigger signal through to the external illumination unit.
Since the sensors with infrared light have a band-pass filter, only external illuminations with a wave
length range between 780nm...880nm can be used.
Example: illumination unit O2D9xx.
The internal and external lighting is switched on 500 µs before the image is taken. Switching on
prematurely does not affect the brightness of the captured image.
wExample: With an integration time of 100 µs, the lighting is switched on for 600 µs.

O2D51x O2D53x Object recognition sensor
18
7 Installation
To be able to make full use of the unit’s functions, the ifmVisionAssistant software is required for
parameter setting.
uDownload the ifmVisionAssistant software via the download area of the unit:
documentation.ifm.com
The operation of the ifmVisionAssistant software is described in the software manual. Ò
Software manual at documentation.ifm.com
7.1 Update firmware
uDownload the ifmVisionAssistant software via the download area of the unit:
documentation.ifm.com
If a certified fieldbus system is required:
uOnly use certified firmware for the updates.
uExport the configuration of the unit before updating the firmware.
wConfigurations saved in the unit get lost when the firmware is updated.
uConnect the unit to the ifmVisionAssistant software.
uUpdate the firmware of the unit.
uImport the configuration of the unit.

Object recognition sensor O2D51x O2D53x
19
8 Operating and display elements
3
4
5
6
2
7
1
Fig.8: LEDs and button
1: Multi-function LED (green)
2: Multi-function LED (yellow)
3: EthernetLED (green)
4: Power LED (green)
5: OUT1-LED (yellow)
6: TRG LED (yellow)
7: Multi-function key
8.1 Signal indications
Multi-function LED (green) Multi-function LED (yellow) Description
On --- Alignment mode active
On flashes at 1 Hz Set-up mode active
flashes at 2 Hz --- Configuration is saved
On for 2 s --- Configuration successfully saved
flashes at 8 Hz flashes at 8 Hz Active mode for configuration transfer from ifm storage
device via multi-function key (Ò Replace the unit/25)
--- flashes at 8 Hz Error: lock button is active
--- flashes at 8 Hz Error: configuration failed
Tab.4: Multifunction LED (green, yellow)
Ethernet LED Power LED OUT1-LED TRG LED Description
Off On Off Off Unit is ready for operation.
--- flashes at 0.5 Hz --- --- No parameters set or parameter
setting was not loaded into the
unit.
On
Off
--- flashes 2x at 0.5 Hz --- --- Unit is in parameter setting mode.
On
Off
--- On On --- OUT1 is switched.
--- On flashes at 8 Hz --- OUT1 has a short circuit.
--- On --- On Trigger is switched.
--- On --- flashes at 8 Hz Trigger has a short circuit.
On On --- --- Unit is ready for operation, Ether-
net is connected.
flashes On --- --- Ethernet transmitting data.
--- Off flashes at 8 Hz flashes at 8 Hz Unit signals internal error.
--- Off flashes at 2 Hz flashes at 2 Hz Unit signals correctable error. The
error information can be read via
Ethernet.
--- Running light ⇒Unit booting.
--- Running light ⇐Unit carrying out firmware update.
Off Off Off Off No voltage or voltage too low.
Tab.5: Ethernet, power, OUT1-, TRG LED

O2D51x O2D53x Object recognition sensor
20
--- means undefined state
This manual suits for next models
4
Table of contents
Other IFM Accessories manuals

IFM
IFM O5E5 Series User manual

IFM
IFM LDH100 User manual

IFM
IFM O5H5 Series User manual

IFM
IFM efector 200 OGP2 Series User manual

IFM
IFM Efector 200 O6E4 User manual

IFM
IFM LMT 0 Series User manual

IFM
IFM PQ78 Series User manual

IFM
IFM GF854S User manual

IFM
IFM LT80 Series User manual

IFM
IFM OG Use and care manual