This work is protected by copyright. Any rights derived from the copyright shall be
reserved for SICK AG. Reproduction of this document or parts of this document is only
permissible within the limits of the legal determination of Copyright Law. Any modifica‐
tion, abridgment or translation of this document is prohibited without the express writ‐
ten permission of SICK AG.
The trademarks stated in this document are the property of their respective owner.
15.1 EU declaration of conformity....................................................................37
4
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
1About this document
1.1Information on the operating instructions
These operating instructions provide important information on how to use sensors from
SICK AG.
Prerequisites for safe work are:
Compliance with all safety notes and handling instructions supplied.
•
Compliance with local work safety regulations and general safety regulations for
•
sensor applications.
The operating instructions are intended to be used by qualified personnel and electrical
specialists.
NOTE
Read these operating instructions carefully before starting any work on the sensor, in
order to familiarize yourself with the sensor and its functions.
The instructions constitute an integral part of the product and are to be stored in the
immediate vicinity of the sensor so they remain accessible to staff at all times. If the
sensor is passed on to a third party, these operating instructions should be handed
over with it.
ABOUT THIS DOCUMENT 1
These operating instructions do not provide information on operating the machine in
which the sensor is integrated. For information about this, refer to the operating instruc‐
tions of the particular machine.
1.2Scope
These operating instructions explain how to incorporate a sensor into a customer sys‐
tem. Step-by-step instructions are given for all required actions.
These instructions apply to all available device variants of the sensor.
Available device variants are listed on the online product page.
www.sick.com/ols20
b
Commissioning is described using one particular device variant as an example.
Simplified device designation in the document
In the following, the sensor is referred to in simplified form as “OLS20”.
1.3Explanation of symbols
Warnings and important information in this document are labeled with symbols. The
warnings are introduced by signal words that indicate the extent of the danger. These
warnings must be observed at all times and care must be taken to avoid accidents, per‐
sonal injury, and material damage.
DANGER
… indicates a situation of imminent danger, which will lead to a fatality or serious
injuries if not prevented.
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
5
1 ABOUT THIS DOCUMENT
WARNING
… indicates a potentially dangerous situation, which may lead to a fatality or serious
injuries if not prevented.
CAUTION
… indicates a potentially dangerous situation, which may lead to minor/slight injuries if
not prevented.
NOTICE
… indicates a potentially harmful situation, which may lead to material damage if not
prevented.
NOTE
… highlights useful tips and recommendations as well as information for efficient and
trouble-free operation.
1.4Further information
NOTE
All the documentation available for the sensor can be found on the online product page
at:
www.sick.com/ols20
b
The following information is available for download from this page:
Type-specific online data sheets for device variants, containing technical data and
•
dimensional drawings
EU declaration of conformity for the product family
•
Dimensional drawings and 3D CAD dimension models in various electronic for‐
•
mats
These operating instructions, available in English and German, and in other lan‐
•
guages if necessary
Other publications related to the sensors described here
•
Interface descriptions for IO-Link, CANopen and RS485 (Modbus)
•
Publications dealing with accessories
•
EDS device description file
•
IODD
•
SDD drivers for the SOPAS ET configuration software
•
1.5Customer service
If you require any technical information, our customer service department will be happy
to help. To find your representative, see the final page of this document.
NOTE
Before calling, make a note of all type label data such as type code etc. to ensure faster
processing.
6
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
2Safety information
2.1Intended use
The OLS20 line guidance sensor is an opto-electronic sensor intended for detecting
luminescent guide tracks as well as reading out 1D codes when they are driven over by
automated guided vehicles.
SICK AG assumes no liability for losses or damage arising from the use of the product,
either directly or indirectly. This applies in particular to use of the product that does not
conform to its intended purpose and is not described in this documentation.
NOTICE
Radio interference may occur when the sensor is used in residential areas.
Only use the device in industrial environments (EN 61000-6-4).
b
2.2Improper use
The sensor does not constitute a safety-relevant device according to the EC
•
Machinery Directive (2006/42/EC).
The sensor must not be used in explosion-hazardous areas.
•
Any other use that is not described as intended use is prohibited.
•
Any use of accessories not specifically approved by SICK AG is at your own risk.
•
The sensor is not suitable for outdoor applications.
•
SAFETY INFORMATION 2
NOTICE
Danger due to improper use!
Any improper use can result in dangerous situations.
Therefore, take note of the following information:
The sensor should be used only in line with intended use specifications.
b
All information in these operating instructions must be strictly complied with.
b
2.3Notes on UL approval
The device must be supplied by a Class 2 source of supply.
UL Environmental Rating: Enclosure type 1
2.4Limitation of liability
Applicable standards and regulations, the latest state of technological development,
and our many years of knowledge and experience have all been taken into account
when assembling the data and information contained in these operating instructions.
The manufacturer accepts no liability for damage caused by:
■
Failing to observe the operating instructions
■
Improper use
■
Use by untrained personnel
■
Unauthorized conversions
■
Technical modifications
■
Use of unauthorized spare parts, consumables, and accessories
With special variants, where optional extras have been ordered, or owing to the latest
technical changes, the actual scope of delivery may vary from the features and illustra‐
tions shown here.
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
7
2 SAFETY INFORMATION
2.5Requirements for skilled persons and operating personnel
WARNING
Risk of injury due to insufficient training.
Improper handling of the sensor may result in considerable personal injury and material
damage.
■
All work must only ever be carried out by the stipulated persons.
The operating instructions state the following qualification requirements for the various
areas of work:
■
Instructed personnel have been briefed by the operating entity about the tasks
assigned to them and about potential dangers arising from improper action.
■
Skilled personnel have the specialist training, skills, and experience, as well as
knowledge of the relevant regulations, to be able to perform tasks assigned to
them and to detect and avoid any potential dangers independently.
■
Electricians have the specialist training, skills, and experience, as well as knowl‐
edge of the relevant standards and provisions to be able to carry out work on elec‐
trical systems and to detect and avoid any potential dangers independently. In Ger‐
many, electricians must meet the specifications of the BGV A3 Work Safety Regu‐
lations (e.g., Master Electrician). Other relevant regulations applicable in other
countries must be observed.
The following qualifications are required for various activities:
ActivitiesQualification
Mounting, maintenance
Electrical installation,
device replacement
Commissioning, configura‐
tion
Operation of the devices in
their particular application
Basic practical technical training
■
Knowledge of the current safety regulations in the workplace
■
Practical electrical training
■
Knowledge of current electrical safety regulations
■
Knowledge of the operation and control of the devices in their
■
particular application
Basic knowledge of the design and setup of the described con‐
■
nections and interfaces
Basic knowledge of data transmission
■
Knowledge of the operation and control of the devices in their
■
particular application
Knowledge of the operation and control of the devices in their
■
particular application
Knowledge of the software and hardware environment in the
■
application
2.6Hazard warnings and operational safety
Please observe the safety notes and the warnings listed here and in other chapters of
these operating instructions to reduce the possibility of risks to health and avoid dan‐
gerous situations.
CAUTION EYE SAFETY
The OLS20 is equipped with LED illumination. The sensor meets the criteria of risk
group 2 according to IEC 62471:2006. The device emits potentially dangerous optical
radiation. Do not look into the lamp for extended periods of time during operation. This
could damage your eyes.
8
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
2.7Repairs
SAFETY INFORMATION 2
Repair work on the sensor may only be performed by qualified and authorized person‐
nel from SICK AG. Interruptions or modifications to the sensor on the part of the cus‐
tomer will invalidate any warranty claims against SICK AG.
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
9
1
2
3
4
3 PRODUCT DESCRIPTION
3Product description
3.1Product identification
3.1.1Type label
Figure 1: Type label
Type designation
1
ID no.
2
Serial number
3
Maschine readable code
4
10
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
3.1.2Structure and status indicators
11.3
(0.44)
9.3 (0.37)
5
2
4.2
(0.17)
180 (7.09)
100 (3.94)52.5 (2.07)
48.3 (1.9)
32 (1.26)
Ø
4.1
Ø
4.1
9 (0.35)
5.5 (0.22)
62(2.44)
53.6 (2.11)
16.3 (0.64)
31 (1.22)
1
4
3
Figure 2: Device view
Optical axis
1
Field of view
2
Fixing hole
3
M12 device connection, can be rotated by 90°
4
Display unit
5
PRODUCT DESCRIPTION 3
Function indicators (LEDs)
Table 1: Function indicators (LEDs)
Function indicatorDescription
QSwitching output display
Yellow LED: Output active
•
LED off: Output inactive
•
LED flashing (10 Hz): Overcurrent/short-circuit protection has
•
triggered
PWROperating status display
Green LED: Normal operation/Supply voltage on
•
LED off: No operation
•
3.2Product features
The OLS20 line guidance sensor is an opto-electronic sensor which detects the line
center point of up to three luminescent tracks. To do so, the sensor stimulates the
guide track(s) with blue light and detects the remitted light using a receiver array.
This track is typically conventional adhesive tape or a colorful luminescence track. It is
not necessary to teach in the sensor.
For additional information on the adhesive tape and bar code labels recommended by
SICK, see the product accessories at www.sick.com/ols20.
In addition, the sensor reads 1D codes in “interleaved 2/5” format attached perpendic‐
ular to the track.
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
11
4 TRANSPORT AND STORAGE
4Transport and storage
4.1Transport
Improper transport
CAUTION DAMAGE TO THE PATTERN SENSOR DUE TO IMPROPER TRANSPORT!
Substantial material damage may result in the event of improper transport.
For this reason:
The device should be transported only by trained specialist staff.
•
The utmost care and attention is required at all times during unloading and trans‐
•
portation on company premises.
Note the symbols on the packaging.
•
Do not remove packaging until immediately before starting installation work.
•
4.2Transport inspection
Immediately upon receipt at the receiving work station, check the delivery for complete‐
ness and for any damage that may have occurred in transit. In the case of transit dam‐
age that is visible externally, proceed as follows:
■
Do not accept the delivery or only do so conditionally.
■
Note the scope of damage on the transport documents or on the transport com‐
pany’s delivery note.
■
File a complaint.
4.3Storage
NOTE
Complaints regarding defects should be filed as soon as these are detected. Damage
claims are only valid before the applicable complaint deadlines.
Store the device under the following conditions:
■
Recommendation: Use the original packaging.
■
Do not store outdoors.
■
Store in a dry area that is protected from dust.
■
To allow any residual dampness to evaporate, do not package in airtight contain‐
ers.
■
Do not expose to any aggressive substances.
■
Protect from sunlight.
■
Avoid mechanical shocks.
■
Storage temperature: see "Ambient conditions", page 34.
■
Relative humidity: see "Ambient conditions", page 34.
■
For storage periods of longer than 3 months, check the general condition of all
components and packaging on a regular basis.
12
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
5Mounting
5.1Preparation for mounting
1Select the mounting site for the OLS20 in accordance with the following chapter
"Installation requirements", page 13.
2Mount the OLS20 using the fixing holes.
"Structure and status indicators", page 11
"Accessories", page 35
5.1.1Installation requirements
NOTICE
Radio interference may occur when the sensor is used in residential areas.
Only use the device in industrial environments (EN 61000-6-4).
■
Typical space requirements for sensor, see "Structural design", page 34.
■
Comply with technical parameters such as the permitted ambient conditions for
the operation of the sensor (e.g., temperature range, EM interference), see "Ambi‐
ent conditions", page 34.
■
Protect the sensor from direct sunlight.
■
Only affix the sensor using accessories supplied for this purpose -> there are no
screw connections on the sensor.
■
The light spot must cover the possible area of the three tracks.
■
Sensing distance: 100 mm
The sensing distance is the distance from the front sensor edge (housing edge) to
the track or the ground.
MOUNTING 5
5.1.2Scope of delivery
The following are included with delivery:
OLS20 Optical Line Guidance Sensor
•
1 quick-start guide
•
Accessories:
Accessories (e.g., cables, fastening adapters) are only supplied if ordered separately.
5.2Mounting the sensor
Arrangement over guide track
The OLS20 must be aligned orthogonally to the guide track with its light spot. The sens‐
ing range is 100 mm.
The sensor should be attached vertically over the guide track.
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
13
MOUNTING
5
Table 2: Mounting
Figure 3: Arrangement over guide track
The code can be arranged directly on the track or next to the track. If it is arranged next
to the track (field of view +/-50 mm), it is detected as an additional track.
14
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
+90 mm
-90 mm
0 mm
MOUNTING 5
Figure 4: Arrangement with branches and junctions
Arrangement with branches and junctions
If there are branches or junctions, we recommend arranging the tracks as illustrated.
The minimum distance between the tracks is 7 mm.
In addition, we recommend a minimum overlap length of the tracks of at least 10 cm.
At speeds greater than 2 m / s, this range should be increased.
Figure 4 also shows the sign convention of the LCP with the factory settings. (-90 mm ...
+90 mm on the cable side).
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
15
6 ELECTRICAL INSTALLATION
6Electrical installation
6.1Safety
6.1.1Notes on electrical installation
CAUTION
Danger due to incorrect supply voltage!
An incorrect supply voltage may result in injuries from electric shocks and/or damage to
the device.
■
Only operate the sensor with safety/protective extra-low voltage (SELV/PELV).
NOTICE
Sensor damage or unpredictable operation due to working with live parts.
Working with live parts may result in unpredictable operation.
■
Only carry out wiring work when the power is off.
■
Only connect and disconnect electrical connections when the power is off.
■
The electrical installation must only be performed by electrically qualified person‐
nel.
■
Standard safety requirements must be observed when working on electrical sys‐
tems!
■
Only switch on the supply voltage for the device when the connection tasks have
been completed and the wiring has been thoroughly checked.
■
When using extension cables with open ends, ensure that bare wire ends do not
come into contact with each other (risk of short-circuit when supply voltage is
switched on!). Wires must be appropriately insulated from each other.
■
Wire cross-sections in the supply cable from the user’s power system must be
designed in accordance with the applicable standards. When this is being done in
Germany, observe the following standards: DIN VDE 0100 (Part 430) and DIN VDE
0298 (Part 4) and/or DIN VDE 0891 (Part 1).
■
Electrical circuits connected to the device must be configured as SELV circuits
(SELV = safety extra-low voltage/PELV = protective extra-low voltage).
■
Protect the device with a separate fuse at the start of the supply circuit.
6.1.2Wiring notes
16
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
A shielded cable is not required in order to adhere to the electromagnetic compatibility
guidelines specified by DIN EN 60947-5-2. It is recommended, however, especially
when working with longer connecting cables.
The IP enclosure rating for the sensor is only achieved if the connected cable is com‐
pletely screwed in.
CAUTION
This is a class A product. In a household environment, this device can cause radio inter‐
ference. The user should take appropriate measures as required.
NOTE
Preassembled cables can be found online at:
www.sick.com/ols20
b
Subject to change without notice
1
2
4
3
1
2
4
3
90
90
1
2
3
4
1
2
3
4
ELECTRICAL INSTALLATION
Please observe the following wiring notes:
■
During installation, pay attention to the different cable groups. The cables are
grouped into the following four groups according to their sensitivity to interference
or radiated emissions:
Group 1: Cables very sensitive to interference, such as analog measuring
°
cables
Group 2: Cables sensitive to interference, such as sensor cables, communi‐
°
cation signals, bus signals
Group 3: Cables which are a source of interference, such as control cables
°
for inductive loads, motor brakes
Group 4: Cables which are powerful sources of interference, such as output
°
cables from frequency inverters, welding system power supplies, power
cables
w
Cables in groups 1, 2 and 3, 4 must be crossed at right angles, see figure 5.
w
Cables in groups 1, 2 and 3, 4 must be routed in different cable channels or
metallic separators must be used, see figure 6 and see figure 7. This applies
particularly where cables of devices with a high level of radiated emission,
such as frequency converters, are laid parallel to sensor cables.
6
Figure 5: Cross cables at right angles
Figure 6: Ideal laying – Place cables in different cable channels
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
Figure 7: Alternative laying – Separate cables with metallic separators
17
1
2
5
43
1
2
5
43
6 ELECTRICAL INSTALLATION
6.2Pin assignment of the connections
M12 connection
PinPin assignment
1 - BNVIN
2 - WHCAN HIGH
3 - BUGND
4 - BKC / Q
5 - GYCAN LOW
M12 connection, RS485
PinPin assignment
1 - BNVIN
2 - WHRS485 A
3 - BUGND
4 - BKC / Q
5 - GYRS485 B
6.3Connecting the supply voltage
The sensor must be connected to a voltage supply with the following properties:
Supply voltage DC 18 V ... 30 V (stabilized safety extra-low voltage (SELV/PELV) as
•
per current standard EN 60950-1)
Electricity source with at least 3 W power
•
Protecting the supply cables
To ensure protection against short-circuits/overload in the customer’s supply cables,
the wire cross-sections used must be appropriately selected and protected.
The following standards must be observed in Germany:
DIN VDE 0100 (part 430)
•
DIN VDE 0298 (part 4) and/or DIN VDE 0891 (part 1)
•
18
Electrical connection of OLS20
Ensure the voltage supply is not connected.
•
Turn the swivel connector into the desired position.
•
Connect the sensor according to the connection diagram.
•
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
6.4CAN connection
We recommend connecting the ground cable to the CANopen communication interface
as a reference.
If there is no separate CAN GND in the system, this pin is to be connected to the FE.
ELECTRICAL INSTALLATION 6
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
19
7 COMMISSIONING
7Commissioning
7.1Overview of commissioning steps
■
Connect the voltage supply.
■
Commission the sensor using the factory settings.
■
Configure the sensor.
7.2Commissioning the sensor for the first time
NOTICE PUSHBUTTON DAMAGE DUE TO IMPROPER HANDLING!
Improper handling of the pushbuttons can damage them. This will make operation diffi‐
cult or impossible.
For this reason:
Only operate the pushbuttons with your fingers or a suitable pointing device.
•
Do not operate the pushbuttons using sharp or hard objects.
•
Establish voltage supply: When the sensor voltage supply is correct, the green “PWR”
LED lights up.
If at least one track is detected, switching output Q1 is “active” and the yellow “Q” LED
lights up.
7.3First step to commissioning with CANopen
7.3.1Setting the ID and baud rate
The following conditions must be met for communication with the CAN master:
A correct node ID must be set on the OLS20.
•
Correct is:
A node ID which is free in the CANopen network
°
A node ID which the master expects
°
The same baud rate must be set in the OLS20 as in the master.
•
The following parameters are factory set on the OLS20:
Node ID: 10
•
Baud rate: 125 kbit/s
•
The following communication parameters can be allocated to the OLS20:
Node ID: 1 to 127 (0 is generally assigned to the master)
The sensor supports the configuration with LSS with a CANopen master.
The node ID and baud rate can also be set using the SOPAS ET configuration software,
which can be downloaded at: www.sick.com/SOPAS.
7.3.2Process data objects (PDOs)
The OLS20 supports two transmit PDOs and no receive PDO.
Objects 0x1800 and 0x1801 contain the communication parameters.
20
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
7.3.3PDO communication
The transmission type is factory-set to acyclic communication for TPDO1 and TPDO2. A
transmission period of 20 ms is factory-set for TPDO1 and TPDO2 so that TPDO1 and
TPDO2 are transmitted on a cyclical basis.
Changing the factory-set transmission type
The following options are available for the cyclical or acyclical output of transmit PDOs
by the OLS20:
Change the event timer in object 0x1800 or 0x1801 (see table 3)
•
Change the transmission type in object 0x1800 or 0x1801 (see table 3)
•
7.4First step to commissioning with Modbus RTU
7.4.1Setting the ID and baud rate
The following conditions must be met for communication with the Modbus master:
A correct slave address must be set on the OLS20.
•
Correct is:
A slave address that is free in the Modbus network
°
A slave address that the master expects
°
The same baud rate must be set in the OLS20 as in the master.
•
The following parameters are factory set on the OLS20:
COMMISSIONING
7
Slave address: 10 (valid settings 1 ... 247)
•
Baud rate: 9600 bps
•
The following communication parameters can be allocated to the OLS20:
Slave address: 1 to 247 (0 is generally assigned to the master)
The slave address and baud rate can also be set using the SOPAS ET configuration soft‐
ware,
which can be downloaded at: www.sick.com/SOPAS.
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
21
8 OPERATION
8Operation
8.1Operation via CANopen
CANopen object directory
This chapter contains information on integration of the sensor using CANopen.
All sensor functions can be accessed via the CANopen interface. All settings can be
configured in this interface. The EDS file can also be found at www.sick.com/ols20.
8.1.1OBD
This section only describes the objects that do not have a fixed definition in the
CANopen standard. Default values are listed only for parameters that can be modified
by the user.
Table 3: OBD
IndexSub-
idx
0x1000-RODevice typeUINT32No device profile sup‐
0x1001-ROError registerUINT8
0x1005-RWCOB ID
0x1008-ROManufac‐
0x1009-ROManufac‐
0x100A-ROManufac‐
0x100C-R/WGuard timeUINT16
0x100D-R/WLife timeUINT8
0x1014-RWCOB-ID
0x1015-RWInhibit Time
0x1016ROHeartbeat
1RWConsumer
2RWConsumer
0x1017-R/WHeart beat
0x1018ROIdentity
1ROVendor IdUINT320x01000056 (SICK
R/WObject name Default
value
0x00000080UINT32
SYNC
turer device
name
turer hard‐
ware rev
turer soft‐
ware rev
0x00000080UINT32
EMCY
0x0000UINT16
Emergency
0x02UINT32
Consumer
Entries
0x0UINT32
Heartbeat
Time 1
0x0UINT32
Heartbeat
Time 2
time
object
TypeDescription
ported
STRINGOptical Line Guid‐
ance Sensor
STRINGHardware version,
sensor
STRINGFirmware version,
sensor
UINT16
UINT8
AG)
22
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
OPERATION 8
IndexSub-
R/WObject name Default
idx
2ROProduct
code
3RORevision
number
4ROSerial num‐
ber
0x1800Transmit
PDO commu‐
nication
parameter 0
1R/WCOB ID0x0000018AUINT32see chapter 8.1.2
2R/WTransmis‐
sion type
3RWInhibit Time0x0UINT16
5R/WEvent timer0x014UINT16
0x1801Transmit
PDO Com‐
munication
Parameter 2
1R/WCOB ID0x0000018AUINT32see chapter 8.1.2
TypeDescription
value
UINT32
UINT32
UINT32
0xFFUINT8see chapter 8.1.2
2R/WTransmis‐
sion type
3RWInhibit Time0x0UINT16
5R/WEvent timer0x014UINT16see chapter 8.1.2
0x1A00ROTransmit
PDO Map‐
ping Para‐
meter 2
1RWMapping
Entry 1
2RWMapping
Entry 2
3RWMapping
Entry 3
4RWMapping
Entry 4
5RWMapping
Entry 5
6RWMapping
Entry 6
7RWMapping
Entry 7
0x1A01ROTransmit
PDO Map‐
ping Para‐
meter 2
1RWMapping
Entry 1
0xFFUINT8see chapter 8.1.2
0x00UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00UINT32
0x00000000UINT32
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
23
8 OPERATION
IndexSub-
R/WObject name Default
idx
2RWMapping
Entry 2
3RWMapping
Entry 3
4RWMapping
Entry 4
5RWMapping
Entry 5
6RWMapping
Entry 6
7RWMapping
Entry 7
0x2001Mounting
parameters
5R/WFlipped
upside down
0x2002Tape para‐
meters
1R/WTyp. width
[m]
2R/WMin. width
[m]
3R/WMax. width
[m]
0x2003Advanced
settings
1R/WOff delay
track detec‐
tion
2RWOff Delay
Code Detec‐
tion
TypeDescription
value
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
0x00000000UINT32
BOOL0 => Positive posi‐
tions on cable outlet
side
1 => Negative posi‐
tions on cable outlet
side
FLOATTypical track width.
The specification of
the typical track
width makes it possi‐
ble to output the cor‐
rect line center point
even at the edge of
the reading window.
5 mmFLOATMinimum track width.
Smaller tracks are
ignored.
75 mmFLOATMaximum track
width. Wider tracks
are ignored.
100 msUINT16If the track is not
detected (contamina‐
tion), the last
detected line center
point is output for a
defined number of
milliseconds.
100 msUINT16If the code is not
detected (contamina‐
tion), the last
detected code value
is output for a
defined number of
milliseconds.
24
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
OPERATION 8
IndexSub-
idx
3RWPosition
0x2018RODevice sta‐
R/WObject name Default
value
0.0 msThe position values
smoothing
filter coeffi‐
cient
tus
TypeDescription
are smoothed over a
defined number of
milliseconds.
UINT160 = Device is OK
1= Maintenance
required
2 = Out of Specifica‐
tion
3 = Functional Check
4 = Failure
0x2019ROOrder num‐
UINT323 = Functional Check
ber
0x2021Result data
1ROLCP1
2ROLCP2
3ROLCP3
(LCPs)
1
1
1
1
INT16see chapter 8.1.2
INT16see chapter 8.1.2
INT16see chapter 8.1.2
4ROStatusUINT8see chapter 8.1.2
5ROWidth LCP1
6ROWidth LCP2
7ROWidth LCP3
1
1
1
INT16see chapter 8.1.2
INT16see chapter 8.1.2
INT16see chapter 8.1.2
8ROCodeUINT8see chapter 8.1.2
9ROExtended
UINT32see chapter 8.1.2
code
10ROBarCode
Centerpoint
11ROQuality of
Line
INT16Centerpoint of the
detected bar code
UINT8Line quality in % Ref‐
erence is a standard‐
ized minimum optical
contrast.
0x2023Line levelLine intensity value.
Reference is a stan‐
dardized line inten‐
sity.
1ROIntensity line
UINT8
1
2ROIntensity line
UINT8
2
3ROIntensity line
UINT8
3
1
LCP = line center point
8.1.2PDOs
The OLS20 has two TPDOs (TPDO01 and TPDO02) with fixed mapping and no RPDO.
TPDO1 can be accessed under the index 0x0180 + node ID, TPDO02 under 0x280 +
node ID. In its default state (node ID 0x0A), the index for TPDO1 is 0x018A.
The TPDO1 is structured as follows:
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
25
8 OPERATION
Table 4: CANopen PDO01
Byte1Byte2Byte3Byte4Byte5Byte6Byte7Byte8
TPDO1LSB
LCP1
Table 5: Byte 7 status
Bit 0Bit 1Bit 2Bit 3Bit 4Bit 5Bit 6Bit 7
Status#LCP bit0#LCP Bit1#LCP Bit2xDevice
Table 6: TPDO2
Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7Byte 8
TPDO2LSB
Width
line 1
#LCPUINT3The numbers are assigned the following meanings:
Device statusBool0 => Sensor ok
Code flippedBool0 => Code was read from the minus to the plus side
Code validBool0 => No code read
MSB
LCP1
MSP
Width
line 1
LSB
LCP2
LSB
Width
line 2
MSB
LCP2
MSP
Width
line 2
0 => No track found
2 => One track found
3 => Two tracks found: Diverter on minus side (fac‐
tory setting)
6 => Two tracks found: Diverter on plus side (fac‐
tory setting)
7 => Three tracks found
1 => Sensor not OK, see 0x2018
of the sensor
1 => Code was read from the plus to the minus side
of the sensor
1 => Valid code has been read
LSB
LCP3
status
LSB
Width
line 3
MSB
LCP3
xCode
MSP
Width
line 3
StatusBar code
flipped
xx
Code
valid
Table 7: Byte 8 bar code
Bar codeCode 0 ... 255
8.1.3Transmission types
The transmission type of the respective TPDO can be set in index 0x1800 or 0x1801.
This index comprises the following subindexes:
Table 8: Subindexes
SubindexNamePermissible
1COB-ID-The COB ID is automatically adjusted to the
2Transmission type0xFE, 0xFFThe transmission type is set here.
3not used-Not used
4Compatibility entry-Not used
5Event timer0 ... 65535The event timer sets the time between two
Bit 0-7
Description
values
note ID and should not be amended by the
user.
transmissions from the TPDO in [ms]. A value
of 0 deactivates the transmission of the
process data. The smallest logical value rec‐
ommended here is 10 ms.
26
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
8.2Operation via Modbus RTU
“Input registers” register group (read-only)
The “input registers” can be read using function code 0x04.
Device identification section
The device identification details (all of data type ASCII string) can be found from 0x00
onwards in the address range of the input register.
Table 9: Device Identification
AddressName#RegistersDescription
0Vendor name4SICK AG
4Product code4
8Firmware version6
14Vendor URL6www.sick.com
20Product name16Optical Line Guidance Sensor
36Model name9OLS20XXXX
45Serial number4
49Application name16
65SickModbusProfileVersion6
OPERATION 8
Index section
The registers of the index section contain the addresses (data type UINT16) of the sub‐
sequent sections. The registers are therefore all 2 bytes in size and hold the same con‐
tent. The values are stored in the following table:
Table 10: Index
AddressNameValue
128Number of sections within table0x4
129Length of section 1 - Status0x1
130Start address of section 10x00F0
131Register type of section 10x0
132Length of section 2 - Results0x0B
133Start address of section 20x00C0
134Register type of section 20x0
135Length of section 3 - Commands0x10
136Start address of section 30x0060
137Register type of section 30x1
138Length of section 4 - Configuration0x9
139Start address of section 40x0090
140Register type of section 40x1
Result section
The result data start at address 0xC0:
Table 11: Results
AddressContents#Registers
192Status1
193BCP1
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
27
8 OPERATION
AddressContents#Registers
194Bar code2
196LCP11
197LCP21
198LCP31
199Width11
200Width21
201Width31
202Quality of Line1
Status section
Table 12: Status
AddressContents#Registers
240Device status1
“Holding registers” register group (read-write)
The following registers are used to configure the sensor via Modbus and can be read
using function code 0x03, written to individually using function code 0x06, or written to
continuously using function code 0x10.
Commands section
Table 13: Commands
AddressContents#Registers
96Set Application name16
Configuration section
Table 14: Configuration
AddressContents#RegistersDescription
144Reading direction10: Head to connector
1: Connector to head
145Typical tape width1Unit [mm]
146Minimum tape width1Unit [mm]
147Maximum tape width1Unit [mm]
148Q off delay1Unit [ms]
149Barcode off delay1Unit [ms]
150Q inverter10: not inverted
1: inverted
151Position smoothing filter coeffi‐
cient
2FLOAT (≥ 0.0)
Default 2.0
8.3General notes on operation
8.3.1Output of line center points
The OLS20 is capable of detecting up to three line center points (LCPs). The position of
each line center point is output to a resolution of 1 mm. The geometric center of the
sensor’s longitudinal axis is the zero point, see "optical center", page 11.
28
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
xmmm
OPERATION 8
By default, the positive measuring range is towards the cable outlet, and the negative
measuring range is on the opposite side.
If only one line center point is found, this is output as LCP2. If a further line center point
is found, it is output as LCP1 or LCP3, depending on its direction. If three LCPs are
found, then each LCP is output.
If there are multiple tracks in the field of view, the track closest to zero is the main track
(LCP2).
To make it easier for the control system to evaluate this data, the combination of tracks
detected is output in an additional data item #LCP. The LCPs are binary-weighted:
The principle of LCP1 < LCP2 < LCP3 always applies to the LCPs.
8.3.2Inversion of the relative position
This function enables the user to invert the convention that the positive range is at the
cable outlet. This makes it easier to install the sensor when rotated by 180°.
The position can be inverted via CANopen, or via Modbus or IO-Link.
The inversion of the position signal (sensor flipped) does not affect the LED behavior.
8.3.3Bar code detection
The OLS20 has the option of detecting 1D bar codes in the interleaved 2/5 format. Up
to 4-digit bar codes are detected and read out in this case.
The OLS20 outputs the number value of the bar code via CANopen, or via Modbus or
IO-Link.
In addition to track tape, SICK also offers a set of numbered bar codes as accessories
see "Accessories", page 35. The assignment of the bar code value to a certain drive
command or piece of position information must be done on the control side.
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
29
9 MAINTENANCE
9Maintenance
9.1Cleaning
CAUTION DEVICE DAMAGE DUE TO IMPROPER CLEANING!
Improper cleaning may result in device damage.
For this reason:
•
•
Clean the front screen at regular intervals with a lint-free cloth and plastic cleaning
agent. Cleaning agents containing solvents are not allowed.
The cleaning interval essentially depends on the ambient conditions.
9.2Maintenance
The sensor requires the following maintenance work at regular intervals:
Table 16: Maintenance schedule
IntervalMaintenance workTo be performed by
Cleaning interval depends on
ambient conditions and climate
Every 6 monthsCheck the screw connections
Never use cleaning agents containing aggressive substances.
Never use sharp objects for cleaning.
Clean housing, particularly the
front screen.
and plug connectors.
Specialist
Specialist
9.3Repairs
Repairs on the sensor may only be carried out by the manufacturer. Any interruption or
modification of the sensor will invalidate the manufacturer warranty.
30
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
10Decommissioning
10.1Decommissioning
Removing the sensor
1.Switch off the supply voltage to the sensor.
2.Detach all connecting cables from the sensor.
3.If the sensor is being replaced, mark its position and alignment on the bracket or
surroundings.
4.Remove the sensor from the slot.
Disposing of the sensor
Any sensor which can no longer be used must be disposed of in an environmentally
friendly manner in accordance with the applicable country-specific waste disposal regu‐
lations. The sensor is electronic waste and must under no circumstances be disposed
of with general waste.
DECOMMISSIONING 10
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
31
11 TROUBLESHOOTING
11Troubleshooting
Potential faults and rectification measures are described in the table below and in the
next chapter.
In the case of faults that cannot be rectified using the information below, please con‐
tact the manufacturer. See the back page for your agency.
11.1Possible error indicators
Table: Possible error indicators
Error patternPossible causesTroubleshooting
Q-LED flashes yellowShort-circuit / Overcurrent /
Sensor is not connected prop‐
erly
Disconnect sensor from the
power network / Check pin
assignment / Reconnect sen‐
sor / Check the current at the
switching output
32
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
12Technical data
NOTE
The relevant online data sheet for the OLS20, including technical data, dimensions, and
connection diagrams, can be downloaded, saved, and printed at www.sick.com/ols20.
12.1Optics / Features
Table 17: Optics / Features
Light sender
Wavelength450 nm
Light spot size180 mm x 11 mm
Sensing distance100 mm
Sensing distance tolerance ± 10 mm
Sensing rate5 ms
Bar code types2/5 interleaved
Module width (min.)≥ 1.5 mm
Track radius (min.)≥ 0.5 m
Initialization time< 10 s
1
Average service life 100,000 h at TU = +25 °C.
TECHNICAL DATA 12
1
Blue LED
Track field of view +/-90 mm
Code field of view +/-50 mm
12.2Supply
12.3Interfaces
12.4Output
Table 18: Supply
Supply voltage V
Power consumption (with‐
1
S
18 V DC … 30 V DC
< 3 W
out load)
Residual ripple< 5 Vss within permitted supply voltage UV (must not exceed or be
less than the UV tolerances.)
1
Limit values
Table 19: Interfaces
CANopen
1
Configuration and process interfaces
IO-Link (V1.1, COM3)
Modbus (RS485)
1
Configuration and process interfaces
IO-Link (V1.1 COM3)
1
depending on type
Table 20: Output
Switching output QPUSH/PULL
Active ≥ UV – 2 V
•
Inactive ≤ 2 V
•
Circuit protectionOutput Q1 overcurrent and short-circuit protection (see Table 1)
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
33
12 TECHNICAL DATA
Maximum output current< 100 mA (total I
12.5Ambient conditions
Table 21: Ambient conditions
Protection classIII, for operation with safety/protective extra-low voltage (SELV/
Electromagnetic compati‐
bility
Ambient temperature range –10 °C … +55 °C
Storage temperature range –20 °C … +75 °C
Ambient light immunity60,000 lx
Enclosure ratingIP64
NoiseEN60068-2-64
Shock resistance/Impact
load
12.6Structural design
Table 22: Structural design
Dimensions (W x H x D)31 mm x 62 mm x 52.5 mm
Weight250 g
MaterialsHousing: metal, discharge plate: glass
Connections
1
Male connector IN = 2 A
2
Use of a shielded cable is recommended for longer cables.
= Q1)
OUT
PELV)
EN 61000-6-2, EN 55011, Class A
EN 60086-2-27
Male connector, M121, 5-pin
•
2
34
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
13Accessories
NOTE
Accessories can be found on the online product page at:
www.sick.com/ols20
ACCESSORIES 13
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20
Subject to change without notice
35
14 LICENSES
14Licenses
SICK uses open-source software. This software is licensed by the rights holders using
the following licenses among others: the free licenses GNU General Public License (GPL
Version2, GPL Version3) and GNU Lesser General Public License (LGPL), the MIT
license, zLib license, and the licenses derived from the BSD license.
This program is provided for general use, but WITHOUT ANY WARRANTY OF ANY KIND.
This warranty disclaimer also extends to the implicit assurance of marketability or suit‐
ability of the program for a particular purpose.
More details can be found in the GNU General Public License. For complete license
texts, see www.sick.com/licensetexts. Printed copies of the license texts are also avail‐
able on request.
36
O PE R AT I NG IN S TR U CT I ON S | OLS208023752/2019-04-01 | SICK
Subject to change without notice
15Annex
15.1EU declaration of conformity
The EU declaration of conformity can be downloaded from the Internet at:
www.sick.com/ols20
ANNEX 15
8023752/2019-04-01 | SICKOP E RA T IN G I N ST R UC T IO N S | OLS20