SICK Smart Sensors KTS Manual

TECHNICAL INFORMATION
KTS/KTX
SICK Smart Sensors / IO-Link
Device configuration – Advanced operating instructions

Product described
IO-Link – KTS/KTX
Manufacturer
SICK AG
Erwin-Sick-Str. 1
79183 Waldkirch
Germany
Legal information
This work is protected by copyright. Any rights derived from the copyright shall be reserved for SICK AG. Reproduc‐
tion of this document or parts of this document is only permissible within the limits of the legal determination of
Copyright Law. Any modification, 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.
© SICK AG. All rights reserved.
Original document
This document is an original document of SICK AG.
2T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

Contents
1 About this document........................................................................ 5
1.1 Purpose of this document........................................................................ 5
1.2 Intended use............................................................................................. 5
1.3 Symbols..................................................................................................... 5
2 Description of IO-Link....................................................................... 6
3 Accessories for visualization, configuration, and integration..... 7
4 Data repository.................................................................................. 8
5 Physical layer..................................................................................... 9
6 Process data...................................................................................... 10
7 Service data....................................................................................... 11
7.1 Device identification................................................................................. 11
7.1.1 Product name and manufacturer name................................. 11
7.1.2 Product text and serial number.............................................. 11
7.1.3 Definable names..................................................................... 12
7.1.4 Hardware and firmware version.............................................. 12
7.1.5 Find me..................................................................................... 12
7.2 General device settings............................................................................ 13
7.2.1 PIN 2/5 configuration.............................................................. 13
7.2.2 Continuous threshold adaptation........................................... 14
7.2.3 Sensitivity................................................................................. 14
7.2.4 Sensitivity adjustment............................................................. 15
7.2.5 Key lock.................................................................................... 15
7.2.6 Emission color.......................................................................... 16
7.2.7 Display orientation................................................................... 16
7.2.8 Restore factory settings.......................................................... 16
7.2.9 Disable sender light source.................................................... 16
7.2.10 Show R-G-B values.................................................................. 17
7.2.11 (De)activate events.................................................................. 17
7.3 Teach-in / detection settings for KTS devices........................................ 18
7.3.1 Operating mode....................................................................... 18
7.3.2 Status of the switching output inversion................................ 18
7.3.3 Switch-on and switch-off delay / pulse generator................. 19
7.3.4 Teach-in.................................................................................... 20
7.3.5 Teach-in status......................................................................... 21
7.3.6 Switching threshold position................................................... 21
7.3.7 Function assignment of the external inputs.......................... 23
7.3.8 Job assurance.......................................................................... 23
7.3.9 Settings for the color sequence function............................... 25
7.4 Installation / Diagnostics......................................................................... 27
CONTENTS
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 3
Subject to change without notice

7.4.1 Device state............................................................................. 27
7.4.2 Device temperature................................................................. 27
7.4.3 Teach-in quality........................................................................ 27
7.4.4 Process quality and alarm threshold...................................... 27
7.4.5 Alignment quality..................................................................... 28
7.5 System-specific ISDUs.............................................................................. 29
7.5.1 Profile characterization........................................................... 29
7.5.2 Process data description......................................................... 29
7.5.3 SICK profile version................................................................. 30
7.5.4 Teach-in channel...................................................................... 30
7.5.5 Teach-in data............................................................................ 30
7.5.6 Process data as ISDU.............................................................. 30
8 Events.................................................................................................. 31
9 Use cases............................................................................................ 32
9.1 Job assurance........................................................................................... 32
9.2 Same mark / variable background.......................................................... 34
9.3 Coding marks............................................................................................ 35
9.4 Teaching in sequence............................................................................... 36
10 List of abbreviations.......................................................................... 38
11 Index.................................................................................................... 39
CONTENTS
4T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

1 About this document
1.1 Purpose of this document
The ISDU descriptions in this document apply to IO-Link-enabled photoelectric sensors (Smart Sensors) with the
following principles of operation: KTS and KTX.
In some cases, functions may be described in this document which are not supported by individual sensors. The
functions in question are marked accordingly (see "Symbols", page 5).
The specific functional scope of an individual sensor is described in full in the Supplement to operating instructions on
the relevant product page under www.sick.com.
1.2 Intended use
Use IO-Link only as described in this documentation.
1.3 Symbols
NOTICE
This symbol indicates important information.
NOTE
This symbol provides additional information, e.g., dependencies / interactions between the described function and
other functions, or when individual functions are not supported by every sensor.
ABOUT THIS DOCUMENT 1
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 5
Subject to change without notice

2 Description of IO-Link
IO-Link and control integration
IO-Link is a non-proprietary internationally standardized communication technology, which makes it possible to
communicate with sensors and actuators in industrial environments (IEC 61131-9).
IO-Link devices communicate with higher-level control systems via an IO-Link master. The IO-Link devices (slaves)
are connected to these via a point-to-point connection.
Different variants of IO-Link master are available. In most cases, they are remote fieldbus gateways or input cards
for the backplane bus of the control used.
To make it possible for an IO-Link sensor to communicate with the control, both the IO-Link master and the
IO-Link sensor must be integrated in the hardware configuration in the control manufacturer’s Engineering Tool.
To simplify the integration process, SICK provides sensor-specific device description files (IODD = IO-Link Device
Description) for IO-Link devices.
You can download these device description files free of charge: www.sick.com/[device-part number].
Not all control system manufacturers support the use of IODDs. If third-party IO-Link masters are used, it is possi‐
ble to integrate the IO-Link sensor by manually entering the relevant sensor parameters directly during the hard‐
ware configuration.
To ensure that the IO-Link sensor can be easily integrated into the control program, SICK also provides function
blocks for many control systems. These function blocks make it easier to read and write the individual
sensor parameters, for example, and provide support when it comes to interpreting the process data supplied by
the IO-Link sensor. You can also download them free of charge from the homepage: www.sick.com/[device-part
number].
On the SICK YouTube channel, you can find a number of tutorials, which will help you to integrate SICK
IO-Link masters: www.youtube.com/SICKSensors.
If you have any questions, SICK’s Technical Support is available to help all over the world.
2 DESCRIPTION OF IO-LINK
6T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

3 Accessories for visualization, configuration, and integration
Using the SiLink2-Master, you can easily connect IO-Link sensors from SICK to a PC or a laptop via USB. You can
then quickly and easily test or configure the connected sensors using the SOPAS ET program (SICK Engineering
Tool with graphic user navigation and convenient visualization).
The corresponding visualization files (SDD = SOPAS Device Description) are available for many devices so that you
can operate the IO-Link sensors using SOPAS ET.
You can download SOPAS ET and the device-specific SDDs directly and free of charge from the SICK homepage:
www.sick.com.
Various IO-Link masters are available from SICK for integrating IO-Link masters using fieldbus. For more details,
see: www.sick.com.
ACCESSORIES FOR VISUALIZATION, CONFIGURATION, AND INTEGRATION 3
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 7
Subject to change without notice

4 Data repository
When the current IO-Link standard V1.1 was introduced, the automatic data repository (Data Storage) was added
to IO-Link’s range of functions. The data repository allows the machine operator to replace defective IO-Link
devices with corresponding replacement devices without having to reconfigure these manually.
When the data repository is activated, the IO-Link 1.1 master always saves the last valid setting parameters of all
connected IO-Link 1.1 devices in its local memory. If you replace one of the connected IO-Link devices with
another device which is compatible with the function, the IO-Link master will transfer the last valid parameter set
of the previous sensor to the new sensor automatically.
The data repository therefore means that devices can be replaced in a plug-and-play manner within a matter of
seconds – without complex reconfiguration, special hardware or software tools, and specific specialist knowledge.
NOTE
•To use the data repository, you must activate it in the IO-Link master.
•When the conversion of one or several sensor parameters is initiated via the control, then the control must
activate the Data Storage Upload Request-Flag as the final command in the sensor. Only this initiates the data
repository.
•Uploading / downloading sensor parameters using the data repository function can take between a few hun‐
dred milliseconds and three seconds depending on the volume of data and the IO-Link master used (typical
values; values can differ in practice).
•For details on using the data repository, see IO-Link Interface and System Specification, V1.1.2, chapter 10.4
Data Storage (DS) at www.io-link.com, Downloads menu item.
4 DATA REPOSITORY
8T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

5 Physical layer
The physical layer describes the basic IO-Link device data (see table below). The device data is automatically
shared with the IO-Link master. It is important to ensure that the used IO-Link master supports this performance
data.
NOTICE
The maximum current consumption of the IO-Link sensor (including load at the outputs) must not exceed the per‐
missible output current of the relevant port on the IO-Link master.
Table 1: Physical layer – System data
SIO mode Yes
Min. cycle time 2.3 ms
Baud rate COM 2 (38.4 kbit/s)
Process data length PD in (from device to master) 2 bytes
IODD version V1.1
Supported IO-Link version V1.1
Supports block-parametrization Yes
PHYSICAL LAYER 5
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 9
Subject to change without notice

6 Process data
Process data is transmitted cyclically. There is no confirmation of receipt.
The master determines the cycle time; however, this must not be less than the minimum cycle time of the sensor
(see table 1, page 9).
Note: The service data (acyclic data) does not influence the cycle time.
Table 2: Process data structure
Byte offset Byte 0 Byte 1
Bit offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Measurement value of emission color Emission
color
QoR
Alarm Reserved Q
Value range = 0 ... 1024
0 = Red
1 = Green
2 = Blue
0 = OFF
1 = ON
0 = OFF
1 = ON
NOTE
To achieve a quick response (full switching frequency) from the Q switching output: configure pin 2 to Switching out‐
put Q and use this as a digital switching output (Pin 2/5 configuration (ISDU 121)).
Pin 4 can then be used permanently for IO-Link communication.
6 PROCESS DATA
10 T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

7 Service data
Service data is only exchanged between the control and IO-Link sensor via the IO-Link master on request by the
control (acyclically).
The respective counterpart confirms receipt of the data.
If the sensor does not answer within five seconds, the master reports a communication error.
NOTE
Not all functions described in this document are available in every sensor. The complete list of the parameters
available in the individual devices is contained in the document “Supplement to operating instructions”, which can
be downloaded on the website: www.sick.com/[Part number] --> Downloads --> Documents.
7.1 Device identification
7.1.1 Product name and manufacturer name
Table 3: Device identification
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
16 10 - Vendor name
String
- 7 bytes
ro 1)
SICK AG
17 11 - Vendor text - 64 bytes www.sick.co
m
18 12 - Product name - 30 bytes
19 13 - Product ID - 13 bytes
See row
below ISDU
219
219 DB
0 Product ID Record - 7 bytes
1 Product ID IO-Link device String - 7 bytes
1) ro = Read only
rw = Read/write
wo = Write only
The Product ID is also the part number of the connected IO-Link device.
To make it possible to provide a family IODD for a device family, the Product ID can be found under Device identifica‐
tion (ISDU 219) for SICK IO-Link devices.
Furthermore, the part numbers for the components associated with the system are filed in sub-index 2…x for sen‐
sors (e.g., a light grid).
7.1.2 Product text and serial number
Table 4: Device identification – Product text / serial number
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
20 14
-
Product text
String -
64 bytes
ro
“Contrast
sensor”
21 15 Serial number 8 bytes
Format of the serial number:
YYWWnnnn (Y = year, W = week, n = sequential numbering)
SERVICE DATA 7
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 11
Subject to change without notice

7.1.3 Definable names
Table 5: Device identification – Specific tag / name
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
24 18 - Application-specific tag
String
yes
32 bytes rw
64 40 - Device-specific name no
In Application-specific tag, you can write any text with a maximum of 32 characters. This can be useful for describing
the exact position or task of the sensor in the overall machine. The Application-specific tag is saved via the Data repos‐
itory.
In Device-specific name, you can also write any text with a maximum of 32 characters. This name is NOT saved via
the Data repository and is therefore available for information which is valid temporarily or for information which is
only applicable to this sensor.
7.1.4 Hardware and firmware version
Table 6: Device identification – Version
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
22 16
-
Hardware version
String -
4 bytes
ro
xxxx
23 17 Firmware version 4 bytes Vxxx.xxx.xxx
This ISDU indicates the hardware and software versions.
7.1.5 Find me
Table 7: Device identification – Find me
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
204 CC - Find me UInt no 8 bits rw 0
0 = Find me deactivated
1 = Find me activated
16 = Yellow LED + Q (Pin 2) flashes with 1 Hz
The sensor can be uniquely identified using Find me. For machines with several identical sensors, it is therefore
possible to uniquely identify the device with which communication is currently taking place.
When Find me is activated, the yellow indicator LED of the sensor flashes at 1 Hz.
To identify the switching output (pin 2) in the control cabinet, you can also activate or deactivate the digital output
at pin 2 by writing the value 16.
NOTICE
Observe the effect of the output activation and deactivation on the connected system.
7 SERVICE DATA
12 T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

7.2 General device settings
7.2.1 PIN 2/5 configuration
Table 8: General device settings – Pin 2/5 configuration
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
121 79
-
Pin2 configuration
UInt yes 8 bits rw
32
0 = Inactive
17 = External teach-in
18 = Light/dark
19 = Fine/coarse
20 = Blanking
32 = Switching output Q
48 = Auto 1)
122 7A Pin5 configuration 17
0 = Inactive
17 = External teach-in
18 = Light/dark
19 = Fine/coarse
20 = Blanking
48 = Auto 1)
1) Auto = Referring to control panel
Assignment options for pin 2/5 of the KTS/KTX:
0Deactivated Pin 2/5 in high-impedance state.
17 External teach-in Pin 2/5 functions as a digital input for teaching-in the sensor.
NOTE
Dependency: Teach mode pin 2/5 decides which teach-in variant is used for exter‐
nal teach-in (ISDU 116).
18 Light/dark Pin 2/5 functions as a digital switch for changing between light switching (Q
active when received signal > switching threshold) and dark switching (Q active
when received signal < switching threshold) behavior (inversion) of the switching
output.
NOTE
Dependency: To make it possible to use pin 2/5 with this function, Switchpoint
logic must be set to the value 128 = Defined by teach-in / input (ISDU 61, sub-index
1).
19 Fine/coarse Pin 2/5 functions as a digital switch for changing between the Fine and Coarse
sensitivity levels. The sensitivity levels are applied during Auto mode and CS mode,
as well as during dynamic teach-in.
NOTE
Dependency: To make it possible to use pin 2/5 with this function, Sensitivity
must be set to value 3 = Auto (ISDU 73).
20 Blanking Pin 2/5 functions as a digital switch to change switching output Q1 of the sen‐
sor to deactivated independently of the read contrast value.
Blanking active = switching output Q1 deactivated.
Blanking deactivated = switching output Q1 switches in accordance with the cur‐
rent read contrast value.
32 Switching
Output Q
Pin 2 functions as an additional digital switching output (Q1). There is no option
to teach-in a separate switching threshold. (Function not available for pin 5)
Particularly with constant IO-Link communication via pin 4, it is advisable to
configure the quick switching output (50 kHz) to pin 2 in order to continue to
benefit from the quick switching frequency.
SERVICE DATA 7
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 13
Subject to change without notice

48 Auto The sensor automatically assigns the function of pin 2/5 depending on the last
configured teach-in variant.
You can find out which one this is for the device variant in question using electri‐
cal connection diagrams A to G in the Quickstart operating instructions
(8020411).
7.2.2 Continuous threshold adaptation
Table 9: General device settings – Automatic drift correction
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
75 4B - Automatic drift correction UInt yes 8 bits rw 1 0 = Inactive
1 = Active
In difficult application conditions (e.g., due to dust deposits), contamination tracking can be used to optimize the
stability of detection. The sensor tracks the switching threshold automatically here. As a result, detection remains
stable and secure for longer. In addition, cleaning cycles can be extended.
The original position of the switching threshold set in Threshold settings under Setpoint SP1 (ISDU 60) in % changes
using the current switching threshold position, which is tracked automatically. In the event of a new teach-in, the
switching threshold is automatically set to 50% between the mark and the background.
NOTE
Restrictions: Automatic drift correction is only active in KT mode. If the switching threshold is changed manually
in Threshold settings under Setpoint SP1 in % after a teach-in (via display, ISDU 60), contamination tracking is deacti‐
vated until the next teach-in.
7.2.3 Sensitivity
Table 10: General device settings – Sensitivity
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
73 49 - Sensitivity 1) UInt yes 8 bit rw 3
0 = Fine
1 = Middle
2 = Coarse
3 = Auto 2)
1) Used in Auto mode, CS mode, and dynamic teach-in
2) Auto = According to pin 2/5
The sensitivity adjustment only works in CS mode (1-point teach-in), in Auto mode, and in conjunction with dynamic
teach-in.
The sensitivity can be set to one of three values (Fine / Middle / Coarse). To switch the sensitivity via an external
input (pin 2 or pin 5), this must be set to value 3 (Auto). Otherwise, the defined setting has priority.
If Auto is set, however, the sensitivity is not controlled via an input pin 2/5 (Pin 2/5 configuration (ISDU 121/122)), so
the Coarse setting is used in KT mode and the Middle setting is used in CS mode and Auto mode.
Sensitivity in color mode / CS mode:
Coarse The detected color can differ relatively significantly and still be recognized (high color
tolerance).
Middle Compromise between Coarse and Fine (medium color tolerance).
Fine The detected color must be very similar to the color taught-in during teach-in to be
detected (low color tolerance).
Auto mode:
Coarse KTS/KTX switches automatically in the event of major contrast changes.
Middle Compromise between Coarse and Fine.
The KTS/KTX switches automatically in the event of medium contrast changes.
Fine KTS/KTX switches automatically, even in the event of minor contrast changes.
7 SERVICE DATA
14 T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

Dynamic teach-in:
During dynamic teach-in, the sensor tries to compensate for the signal noise present in the material (e.g., due to
printing with varying contrasts) or caused by the material guide. For this, a rough analysis of the existing material is
required.
Coarse Noise is not filtered out. The switching threshold is set to the position defined in
Threshold settings under Setpoint SP1 (ISDU 60) in % between the maximum and mini‐
mum value recorded during the teach-in.
Middle Suitable for high-contrast marks with a fluctuating background.
The fluctuations are filtered out.
Fine Suitable for low-contrast marks with a fluctuating background. The print marks must
be uniform. Fluctuations are filtered out.
7.2.4 Sensitivity adjustment
Table 11: General device settings – Sensitivity
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
173 AD
Sensitivity adjustment Record
Yes
48 bits
rw
-
User-defined adjustment for the sensitivity
tolerance effective for auto-mode & color
sequence mode
1 Tolerance band fine
- 16 bits
10 Adjustment in digits
0 - 400
2 Tolerance band middle 20 Adjustment in digits
0 - 400
3 Tolerance band coarse 50 Adjustment in digits
0 - 400
The three sensitivity levels, fine , middle and coarse, can be freely configured if needed. The tolerance band is set in
digits. The coarse setting can be set to be even more tolerant, for example, by doubling preset value 50 to 100.
NOTE
This setting is only available for types with color sequence mode.
7.2.5 Key lock
Table 12: General device settings – Device access locks
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
12 0C - Device access locks (key
lock) Record yes 2 bytes rw -
Bit no.
0 Not available
10 = Data Storage released
1 = Data Storage locked
2
0 = Keys released
1 = Key lock (can only be
reset via IO-Link)
3
0 = Keys released
1 = Key lock (can be reset
via display keys)
4 – 15 Not available
With Device access locks, you can lock or unlock various sensor functions.
The functionality has been recorded in the IO-Link interface specification.
Bit 1 Data Storage You can lock the Data Storage functionality using bit 1.
When the bit is set, the sensor rejects Data Storage write requests from the IO-Link
master with an error message.
Bit 2 Key lock
Local
parameterization
You can completely lock the controls on the sensor using bit 2 (key lock).
When the bit is set, all keys are locked.
The lock can only be reset via IO-Link.
SERVICE DATA 7
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 15
Subject to change without notice

Bit 3 Key lock
Local user
interface
You can completely lock the controls on the sensor using bit 3 (key lock).
When the bit is set, all keys are locked.
In this case, you can deactivate the lock by pressing the ± key for 10 seconds.
7.2.6 Emission color
Table 13: General device settings – Emission color
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
208 D0 - Emission color UInt yes 8 bits rw 3
0 = Red
1 = Green
2 = Blue
3 = Defined by teach-in (auto)
The KTS/KTX sensor has an RGB LED. For detection in contrast mode (KT mode), the best LED color for the contrast
to be detected is selected automatically. This automatic selection can be deactivated and a separate emission
color is specified.
The options here are red, green, blue, and automatic (determined via teach-in).
NOTE
If an emission color is specified, this also remains in place after a teach-in. This means that an emission color
which is not ideal for the newly taught-in material can be set.
7.2.7 Display orientation
Table 14: General device settings – Display orientation
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
117 75 - Display orientation UInt yes 8 bits rw 0 0 = Standard
1 = Upside down
If the installation position of the device makes it difficult to read from the segment display, the display can be
rotated by 180°.
7.2.8 Restore factory settings
Table 15: General device settings – Restore factory settings
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
2 02 - Standard command UInt - 8 bits ro 130 = Restore factory settings
Restore factory settings The sensor is reset to factory settings.
7.2.9 Disable sender light source
Table 16: General device settings – Sender light source
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
97 61 - Disable sender light source UInt - 8 bits rw 0 0 = Sender active
1 = Sender inactive
The sender LED can be switched off using this ISDU.
NOTICE
When the sender LED is switched off, the process data and switching output will not function.
7 SERVICE DATA
16 T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

7.2.10 Show R-G-B values
Table 17: General device settings – Show R-G-B values
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
71 47 - Show R-G-B values UInt - 8 bits rw 0 0 = R-G-B measurement mode inactive
1 = R-G-B measurement mode active
In normal contrast reading mode (KT mode), the sensor works with the ideal emission color for the material in ques‐
tion.
Sometimes it can be useful to receive measured values for all three emission colors (R-G-B mode).
With this ISDU, you can activate R-G-B measurement mode without having to change the current teach-in or
change the sensor mode via teach-in.
NOTICE
When Show R-G-B values is active, switching output Q1 is deactivated and alternating measured values for the red,
green, and blue emission colors are output.
7.2.11 (De)activate events
Table 18: General device settings – Notification handling
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
227 E3 - Notification handling UInt - 8 bits rw 0 0 = All enabled
1 = All disabled
With this ISDU, you can switch off the generation of sensor IO-Link events.
SERVICE DATA 7
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 17
Subject to change without notice

7.3 Teach-in / detection settings for KTS devices
7.3.1 Operating mode
Table 19: Teach-in / detection – Switchpoint
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
61 3D
-Configuration Qint 1 Record
-
4 bytes
rw
1 Switchpoint logic / Inversion Bit (0) 8 bits 128
0 = Fix dark switching
1 = Fix light switching
128 = Defined by teach-in / input
2Switchpoint mode / Operat‐
ing mode 1) Bit (8) 8 bits 1
1 = Single-point mode / KT mode (2-point
and dynamic teach-in)
128 = Vendor-specific window mode / CS
mode
(1-point teach-in)
129 = Vendor-specific single-point mode /
Auto mode
(Auto-teach)
3 Switchpoint hysteresis Bit (16) 16 bits 0 0 = Vendor-specific default (not editable)
1) The Operating mode of the sensor is automatically adjusted to the type of teach-in used.
Recommendation: Use teach-in commands to change the Operating mode.
Switchpoint logic The switching output (switchpoint) logic (inversion) can be defined as light switching or
dark switching, or defined by the teach-in process.
Defined by teach-in means that the sensor switches to the contrast (switching output
active) at which the teach-in begins during 1-point and 2-point teach-in.
In dynamic teach-in, the sensor automatically looks for the mark and switches to this
mark (switching output active).
If the switching output logic is permanently set to light switching or dark switching, this
can also no longer be changed via pin 2/5. To enable the changeover function via pin
2/5, the switching output logic must be set to the value 128.
By default, the switching output logic is determined by the teach-in.
Switchpoint mode The Switchpoint mode specifies the current work mode of the sensor and makes it possible
to change this.
KT mode and CS mode can only be activated via a teach-in (see System commands). You can‐
not set these modes directly via Switchpoint mode.
From KT mode and CS mode, you can switch directly into Auto mode (no teach-in is required
for this) and back into the original mode again.
Detailed description of the individual modes (Threshold settings under Setpoint SP1 (ISDU
60) in %).
Switchpoint
Hysteresis
Switchpoint hysteresis is preset at the factory and cannot be changed.
NOTICE
ISDU 61 is not part of Data Storage as the parameters defined here have already been saved via Teach data (ISDU
82).
7.3.2 Status of the switching output inversion
Table 20: Teach-in / detection – Status of output inversion
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
80 50 - Status of output inversion 1) UInt yes 8 bits ro 0 0 = Dark switching
1 = Light switching
1) Only for reading the status when Switchpoint logic = Defined by teach-in / input.
7 SERVICE DATA
18 T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice

If Defined by teach-in / input = 128 is set under Switchpoint / Switchpoint logic (ISDU 61, sub-index 1), the switching
logic selected automatically by the teach-in can be read out using this ISDU.
This ISDU is for information purposes only and cannot be changed.
7.3.3 Switch-on and switch-off delay / pulse generator
Table 21: Teach-in / detection – Timer 1 mode
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
1085 43D - Timer 1 mode UInt yes 8 bits rw 0
0 = Inactive
1 = ON delay
2 = OFF delay
3 = ON&OFF delay
4 = One shot
The KTS/KTX has a switch-on and switch-off delay, and a pulse generator.
One shot is set at the factory.
You can individually select the different delays using this ISDU.
t
Delay
Q1 (light switching)
One shot delay
Turn on delay
Turn off delay
Turn on & off
/Q1 (dark switching)
One shot delay
Turn on delay
Turn off delay
Turn on & off
Figure 1: IO-Link delay
NOTE
The selected delay affects the Q1 bit in the IO-Link process data.
NOTE
Dependency: You must set the duration of the selected delay in Timer 1 setup (ISDU 1087).
Table 22: Teach-in / detection – Timer 1 setup
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
1087 43F - Timer 1 setup UInt yes 16 bits rw 10 1 … 30000
The duration of the delay function defined in Timer 1 mode (ISDU 1085) is specified here in ms (milliseconds).
SERVICE DATA 7
8022572.14XF/2019-08-07 | SICK T E C H N I C A L I N F O R M A T I O N | KTS/KTX 19
Subject to change without notice

7.3.4 Teach-in
Table 23: Teach-in / detection – Teach command
ISDU
Name Data type Data reposi‐
tory Length Access Default
value Value/rangeIndex Sub-
index
DEC HEX
2 02 - Standard command – teach
command UInt - 8 bit ro
65 = 1-pt teach-in: teach point 1
67 = 2-pt teach-in: teach point 1 (mark)
68 = 2-pt teach-in: teach point 2 (back‐
ground)
71 = Start dynamic teach-in
72 = Stop dynamic teach-in
79 = Abort teach sequence
198 = Multi value teach start
199 = Multi value teach stop
200 = Single point for multi value teach
1-point teach Teach point 1
The 1-point teach-in function automatically activates the color mode (CS mode) of the KTX/KTS.
For color detection, align the light spot with the color to be detected.
Then start teaching-in the color by writing the value 65.
You can retrieve the teach result via the Teach-in status (ISDU 59).
2-point teach Teach point 1 (mark)
The 2-point teach-in function automatically activates the contrast mode (KT mode) of the KTX/
KTS.
With 2-point teach-in, the mark / object to be detected should be taught-in as the first teach
point. For this, you must align the light spot with the mark / object and start the 2-point teach-
in process by writing the value 67.
Then the light spot of the KTS/KTX will flash and signal that the sensor is waiting for the sec‐
ond teach point.
2-point teach Teach point 2 (background)
To end the 2-point teach-in, you must position the light spot on the background to be detected
and then initiate the teach-in process for the background by writing the value 68.
You can retrieve the teach result via the Teach-in status (ISDU 59).
Start dynamic
teach
The dynamic teach-in function automatically activates the contrast mode (KT mode) of the KTX/
KTS.
With this function, you can teach-in the contrast to be detected dynamically – i.e., while a
process is running. For this, write the value 71 to start the teach-in process. From this time, the
sensor records contrast values and interprets these.
Recommendation: Use this teach-in method, as noise (e.g., due to background printing) is also
observed when contrast values are recorded dynamically.
Stop dynamic
teach
Write the value 72 to end the dynamic teach-in process.
You can retrieve the teach result via the Teach-in status (ISDU 59).
example for dynamic Teach-in, mode fine or middle
receiver signal
Threshold = 50%
between mark and inhomogene
background
Q
Figure 2: IO-Link teach-in status
Abort teach-in
sequence
Write the value 79 to abort an ongoing teach-in process (2-point teach-in or dynamic teach-in).
Multi value teach
start
Writing value 198 starts the color sequence teach-in process.
7 SERVICE DATA
20 T E C H N I C A L I N F O R M A T I O N | KTS/KTX 8022572.14XF/2019-08-07 | SICK
Subject to change without notice
This manual suits for next models
1
Table of contents
Other SICK I/O System manuals
Popular I/O System manuals by other brands

ICP DAS USA
ICP DAS USA PCI-D64HU quick start guide

Measurement Computing
Measurement Computing CIO-DAS16/M1/16 user guide

Advantech
Advantech PCM-3730 user manual

SMC Networks
SMC Networks EX600-DYPB Installation & maintenance manual

Moxa Technologies
Moxa Technologies ioLogik E2210 user manual

Unitronics
Unitronics V200-18-E4XB manual

FireClass
FireClass Precept EN Panel Installation & commissioning manual

Measurement Computing
Measurement Computing PCI-DIO48H user guide

NTP Technology
NTP Technology Penta 721 digital I/O installation guide

FE
FE FJ-B40 instruction manual

Dynacord
Dynacord DPM AO-1 datasheet

Johnson Controls
Johnson Controls IOM3731-0A installation instructions