turck TN-UHF LNX Series User manual

Your Global Automation Partner
Instructions for Use
TN-UHF-…-LNX
UHF Reader

2Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com

V02.00 | 2021/05 3
Contents
1 About these Instructions................................................................................................................... 5
1.1 Target groups................................................................................................................... 5
1.2 Explanation of symbols used ........................................................................................ 5
1.3 Other documents ............................................................................................................ 5
1.4 Naming convention ........................................................................................................ 5
1.5 Feedback about these instructions.............................................................................. 5
2 Notes on the Product.........................................................................................................................6
2.1 Product identification..................................................................................................... 6
2.2 Scope of delivery ............................................................................................................. 6
2.3 Legal requirements......................................................................................................... 6
2.4 Turck service..................................................................................................................... 6
3 For Your Safety.................................................................................................................................... 7
3.1 Intended use..................................................................................................................... 7
3.2 General safety instructions............................................................................................8
4 Product Description ........................................................................................................................... 9
4.1 Device overview .............................................................................................................. 9
4.1.1 Indication elements ........................................................................................................................ 9
4.2 Properties and features................................................................................................10
4.3 Operating principle.......................................................................................................10
4.4 Functions and operating modes ................................................................................11
4.5 Technical accessories....................................................................................................11
5 Installing.............................................................................................................................................12
6 Connecting ........................................................................................................................................13
6.1 Connecting devices to Ethernet .................................................................................13
6.2 Connecting the power supply ....................................................................................14
6.3 Connecting digital sensors and actuators................................................................15
6.4 Connecting external antennas ...................................................................................16
7 Commissioning .................................................................................................................................17
7.1 Parameterizing readers with the DTM ......................................................................17
7.1.1 Connecting the device with the PC.........................................................................................18
7.1.2 Starting extended reader parameterization ........................................................................21
7.1.3 DTM main menu – overview......................................................................................................22
7.1.4 Choosing the access level...........................................................................................................23
7.1.5 Setting multiplex operation.......................................................................................................24
7.1.6 Setting antenna power................................................................................................................27
7.1.7 Setting antenna polarization.....................................................................................................34
7.1.8 Switching on presence sensing mode ...................................................................................37
7.1.9 Transferring the RSSI value – communication ....................................................................38
7.1.10 Setting the air interface parameters – EPC Class 1 Gen 2................................................39
7.1.11 Setting the RSSI filter – post read filter ..................................................................................40
7.1.12 Setting LED indication – signaling...........................................................................................41
7.2 Testing readers with the DTM.....................................................................................42
7.2.1 Starting the RFID Test...................................................................................................................43
7.2.2 Start window – overview.............................................................................................................44
7.2.3 RFID Test – main menu................................................................................................................45

Contents
4Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
7.2.4 RFID Test – basic test window...................................................................................................46
7.2.5 RFID Test – tag actions window................................................................................................47
7.2.6 RFID Test – logger window.........................................................................................................51
7.2.7 HF diagnosis window ...................................................................................................................52
7.3 Querying device information with the DTM ............................................................53
7.4 Setting the IP address...................................................................................................54
7.4.1 Setting the IP address via the Turck Service Tool...............................................................54
7.5 Programming RFID channels ......................................................................................56
7.5.1 Programming RFID channels with Python 3........................................................................56
7.5.2 Programming RFID channels with C or C++ ........................................................................58
7.6 Programming digital channels (DXP)........................................................................60
7.6.1 GPIOs of the DXP channels – overview..................................................................................60
7.6.2 Setting DXP functions via script ...............................................................................................61
7.6.3 Programming DXP channels with Python 3.........................................................................62
7.6.4 Programming DXP channels with Node.js............................................................................64
7.6.5 Programming DXP channels with C or C++.........................................................................66
7.7 Programming LED functions.......................................................................................70
7.7.1 LEDs – overview..............................................................................................................................70
7.7.2 Setting LED functions via a script.............................................................................................70
7.7.3 Programming LED functions with Python 3.........................................................................71
7.7.4 Programming LED functions with Node.js ...........................................................................73
7.7.5 Programming LED functions with C or C++.........................................................................74
7.8 Creating a C application...............................................................................................76
7.9 Starting the application automatically (autostart).................................................78
7.9.1 Autostart – creating the configuration file (unit file)........................................................78
7.9.2 Example: using the unit file........................................................................................................78
7.9.3 Activating the unit file..................................................................................................................79
7.10 Managing access rights................................................................................................80
7.11 Installing Python packages .........................................................................................81
7.11.1 Example: installing the Python module.................................................................................81
8 Operation ...........................................................................................................................................84
8.1 LEDs..................................................................................................................................84
9 Troubleshooting ...............................................................................................................................85
9.1 Rectifying errors ............................................................................................................86
10 Maintenance......................................................................................................................................88
10.1 Carrying out a Linux update via the web server .....................................................88
10.2 Carrying out a UHF update via the DTM ...................................................................92
11 Repair................................................................................................................................................100
11.1 Returning devices....................................................................................................... 100
12 Disposal ............................................................................................................................................100
13 Technical Data.................................................................................................................................101
14 EU Declaration of Conformity ......................................................................................................103
15 Turck Subsidiaries - Contact Information ..................................................................................104

V02.00 | 2021/05 5
1 About these Instructions
These instructions for use describe the structure, functions and the use of the product and will
help you to operate the product as intended. Read these instructions carefully before using the
product. This is to avoid possible damage to persons, property or the device. Retain the instruc-
tions for future use during the service life of the product. If the product is passed on, pass on
these instructions as well.
1.1 Target groups
These instructions are aimed at qualified personal and must be carefully read by anyone
mounting, commissioning, operating, maintaining, dismantling or disposing of the device.
1.2 Explanation of symbols used
The following symbols are used in these instructions:
DANGER
DANGER indicates a dangerous situation with high risk of death or severe injury if
not avoided.
WARNING
WARNING indicates a dangerous situation with medium risk of death or severe in-
jury if not avoided.
CAUTION
CAUTION indicates a dangerous situation of medium risk which may result in minor
or moderate injury if not avoided.
NOTICE
NOTICE indicates a situation which may lead to property damage if not avoided.
NOTE
NOTE indicates tips, recommendations and useful information on specific actions
and facts. The notes simplify your work and help you to avoid additional work.
uCALL TO ACTION
This symbol denotes actions that the user must carry out.
aRESULTS OF ACTION
This symbol denotes relevant results of actions.
1.3 Other documents
Besides this document the following material can be found on the Internet at www.turck.com:
nData sheet
nApprovals
nConfiguration manual
1.4 Naming convention
Read/write devices are called “read/write heads” for the HF range and “readers” for the UHF
range. Common synonyms for “data carriers” are “tags”, “transponders” and “mobile data
memory”.
1.5 Feedback about these instructions
We make every effort to ensure that these instructions are as informative and as clear as pos-
sible. If you have any suggestions for improving the design or if some information is missing in
the document, please send your suggestions to [email protected].

Notes on the Product
Turck service
6Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
2 Notes on the Product
2.1 Product identification
These instructions apply to the following UHF readers:
T N -UHF -Q300 -EU -LNX
EU Country of deployment -
Country of deployment
AUS Australia
BRA Brazil
CHN China
EU Europe
JPN Japan
KOR Korea
MYS Malaysia
NA North America (USA, Canada,
Mexico)
RUS Russia
SGP Singapore
LNX Software platform
Software platform
LNX Linux
T N Read/write device -
Read/write device, mounting
condition
NNon-flush
Turck RFID system
UHF Frequency range -
Frequency range
UHF UHF frequency range
Q300 Design -
Design
Q180L300 Rectangular
180 × 300 × 61.7 mm
Q300 Rectangular
300 × 300 × 61.7 mm
2.2 Scope of delivery
The scope of delivery includes:
nUHF reader
nWall bracket (metal rail)
nQuick Start Guide
2.3 Legal requirements
The devices are subject to the following EU directives:
n2014/30/EU (electromagnetic compatibility)
n2011/65/EU (RoHS Directive)
n2014/53/EU (RED Directive)
2.4 Turck service
Turck supports you with your projects, from initial analysis to the commissioning of your applic-
ation. The Turck product database under www.turck.com contains software tools for program-
ming, configuration or commissioning, data sheets and CAD files in numerous export formats.
The contact details of Turck subsidiaries worldwide can be found on p. [}104].

V02.00 | 2021/05 7
3 For Your Safety
The product is designed according to state-of-the-art technology. However, residual risks still
exist. Observe the following warnings and safety notices to prevent damage to persons and
property. Turck accepts no liability for damage caused by failure to observe these warning and
safety notices.
3.1 Intended use
These devices are designed solely for use in industrial areas.
The readers with an integrated RFID interface are used for contactless data exchange with the
BL ident tags in the Turck UHF RFID system. The following table shows the operating frequency
of the devices:
Type code Operating frequency Application range
TN-UHF-…-AUS-LNX 920…926 MHz Australia, New Zealand
TN-UHF-…-BRA-LNX 915…928 MHz Brazil
TN-UHF-…-CHN-LNX 920.5…924.5 MHz China
TN-UHF-…-EU-LNX 865…868 MHz Europe, Turkey, India
TN-UHF-…-JPN-LNX 916.7…920.9 MHz Japan
TN-UHF-…-KOR-LNX 917…920.8 MHz Korea
TN-UHF-…-MYS-LNX 919…923 MHz Malaysia
TN-UHF-…-NA-LNX 902…928 MHz North America
(USA, Canada, Mexico)
TN-UHF-…-RUS-LNX 866…868 MHz Russia
TN-UHF-…-SGP-LNX 920…925 MHz Singapore
These devices may only be started up under the following conditions:
nThe particular frequency range is permissible for the use of UHF-RFID.
nThe operating frequency range of the devices is compliant with the permissible UHF RFID
range of the region.
nA valid certification and/or approval is available for the region of use.
The integrated RFID interface enables the readers to communicate directly via TCP/IP with
higher-level systems such as ERP systems. Read data is sent to the higher-level system via the
device.
Four configurable digital channels are also provided for connecting digital sensors and actuat-
ors.
The devices may only be used as described in these instructions. Any other use is not in accord-
ance with the intended use. Turck accepts no liability for any resulting damage.

For Your Safety
General safety instructions
8Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
3.2 General safety instructions
nThe device only meets the EMC requirements for industrial areas and is not suitable for use
in residential areas.
nThe device may only be assembled, installed, operated, parameterized and maintained by
professionally-trained personnel.
nThe device may only be used in accordance with applicable national and international regu-
lations, standards and laws.
nAny extended stay within the area of radiation of UHF readers may be harmful to health. Ob-
serve a minimum distance of > 0.35 m from the actively radiating surface of the UHF reader.
nThe radiation of the UHF readers may have an adverse effect on the operation of electrically
controlled medical equipment. Keep an additional distance from active radiation sources up
to the maximum transmission distance.
nChange the default password of the integrated web server after the first login. Turck recom-
mends using a secure password.

V02.00 | 2021/05 9
4 Product Description
The devices are designed with an aluminum housing and degree of protection IP67. The active
face is made out of plastic. Devices are available with an integrated antenna (Q300) or for
connecting external antennas (Q180). Both device variants are suitable for connecting up to
four external passive UHF RFID antennas.
The terminals for the Ethernet and for digital I/Os are M12 sockets. The device has an M12 plug
connector for connecting the power supply. Terminals are provided for up to four external
antennas.
4.1 Device overview
180
300
61.7
100
100
46.125
219
126
Ø 6.5
Fig.1: Dimensions – TN-UHF-Q180L300…
300
300
61.7
100
100
46.125
219
126
Ø 6.5
Fig.2: Dimensions – TN-UHF-Q300…
4.1.1 Indication elements
The device has the following LED indicators:
nPower supply
nGroup and bus errors
nStatus
nDiagnostics
An audible alarm can also be set using software tools.

Product Description
Operating principle
10 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
4.2 Properties and features
nTCP/IP
nFreely programmable Ethernet-based reader based on Linux
nProgramming languages C, C++, NodeJS, Python
nSoftware components: SSH, SFTP, HTTP, IBTP, MTXP, DHCP, SNTP, Node.js 6.9.5 (LTS),
Python 3.x
nImplementation of the protocol required
n2 W (ERP) maximum output power
n4 RP-TNC terminals for passive external UHF RFID antennas
n4 configurable digital channels as 2A PNP inputs and/or outputs
n10 Mbps/100 Mbps transfer rate
nIntegrated web server
nLEDs and diagnostics
4.3 Operating principle
The readers are used for contactless data exchange with tags. For this the controller sends com-
mands and data via the interface to the reader and receives the corresponding response data
from the reader. The reading of the IDs of all RFID tags in the read area or the writing of an RFID
tag with a specific production date are examples of typical commands. To communicate with
the tag, the data of the reader is coded and transferred via an electromagnetic field, which at
the same time supplies the tags with power.
A reader contains a transmitter and a receiver, an interface to the interface module and a coup-
ling element (coil and dipole antenna) for communicating with the tag. Electromagnetic wave
propagation is used for the transmission between reader and tag on devices for the UHF range.
IC Tag
UHF: electromagnetic wave
Reader
Fig.3: Operating principle of UHF-RFID
The antenna of the reader generates electromagnetic waves. This produces a transmission win-
dow as a so-called air interface in which the data exchange with the tag takes place. The size of
the transmission window depends on the combination of readers and tags, as well as on the
relevant environmental conditions.
Each reader can communicate with a number of tags. This requires the reader and the tag to
operate in the same frequency range. Depending on the power and frequency used, the device
ranges vary from a few millimeters up to several meters. The specified maximum read/write dis-
tances only represent typical values under laboratory conditions without allowing for the effect
of materials. The achievable distances may vary due to component tolerances, the mounting
situation in the application, ambient conditions and the effect of materials (particularly metal
and liquids).

V02.00 | 2021/05 11
4.4 Functions and operating modes
The devices operate with an integrated or external antenna (TN-UHF-Q300…) or only with an
external antenna (TN-UHF-Q180L300…). The devices enable passive UHF tags to be read or
written in single and multitag operation. For this the devices form a transmission zone that
varies in size and range according to the tags used and the operating conditions of the applica-
tion. Refer to the data sheets for the applicable maximum read/write distances. The devices can
be fully tested, configured and parameterized from a PC using the specified software tools.
The Linux operating system enables the device functions to be programmed with C, C++,
NodeJS or Python. It is also possible to integrate middleware functions on the device.
Sensors and actuators can be connected to the configurable digital channels. Up to four 3-wire
PNP sensors or two PNP DC actuators with a maximum output current of 2 A per output can be
connected. An external power supply is required in order to use the digital channels as outputs.
4.5 Technical accessories
Accessories for mounting, connecting and parameterizing can be found in product database
under www.turck.com. The accessories are not part of the scope of delivery.

Mounting
12 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
5 Installing
The device is provided with a bracket in accordance with VESA 100 × 100 for mounting. The
device is provided with four M4 threaded holes spaced 100 mm apart (horizontally and
vertically). The maximum length of the screws is 8mm plus the thickness of the VESA bracket.
The devices can be mounted in any position.
Fasten the device with four M4 screws to a bracket in accordance with VESA 100 × 100.
100
[3.94]
100
[3.94]
219 [8.62]
126
[4.96]
Ø 6.5
[0.26]
4 × M4
46.1
[1.82]
100
[3.94]
100
[3.94]
126
[4.96]
Ø 6.5
[0.26]
4 × M4
46.1
[1.82]
219 [8.62]
Fig.4: Rear view – TN-UHF-Q180… Fig.5: Rear view – TN-UHF-Q300…

V02.00 | 2021/05 13
6 Connecting
6.1 Connecting devices to Ethernet
The device is provided with a 4-pin M12 female connector for connecting the device to an
Ethernet system.
Fig.6: M12 Ethernet connector
Connect the device to Ethernet as per the following pin assignment (max. tightening
torque 0.8 Nm).
v
4
13
2
ETH1/PoE
1 = TX +
2 = RX +
3 = TX –
4 = RX –
flange = FE
Fig.7: Pin assignment of the Ethernet connections
NOTE
With PoE transfer the power supply via PoE Mode A with 4-wire cables.

Connecting
Connecting the power supply
14 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
6.2 Connecting the power supply
The device is provided with a 5-pin M12 plug connectors for connecting the power supply.
Fig.8: M12 plug connector for connecting the power supply
Connect the device to the power supply as per the following pin assignment (max.
tightening torque 0.8 Nm).
1 = V1
2 = TX/RX –
3 = GND
4 = TX/RX +
5 = PE
2
1
54
3
3
2
1
5
4
24 VDC / COM
Fig.9: Pin assignment of the power supply terminals

V02.00 | 2021/05 15
6.3 Connecting digital sensors and actuators
The device has two 5-pin M12 plug connectors for connecting digital sensors and actuators.
Fig.10: M12 plug connectors for connecting digital sensors and actuators
NOTE
When operating via PoE (Power over Ethernet) the digital channels cannot be used
as outputs.
Connect sensors and actuators to the device as per the following pin assignment (max.
tightening torque 0.8 Nm).
4
13
2
5
v1 = Vaux
2 = DXP1 / DXP3
3 = GND
4 = DXP0 / DXP2
5 = FE
DXP0...DXP3
5 FE 4 BK
1 BN +
3 BU –
3 BU –
2 WH
v
DXP0...DXP3
Sensor
or
Actuator
Sensor
or
Actuator
Fig.11: Connections for digital sensors
and actuators – pin assignment
Fig.12: Connections for digital sensors
and actuators – wiring diagram

Connecting
Connecting external antennas
16 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
6.4 Connecting external antennas
The device is provided with four RP-TNC sockets for connecting up to four external antennas.
The input impedance is 50 Ω.
Fig.13: RP-TNC sockets for connecting external antennas
Connect external antennas with an RP-TNC antenna cable to the device (max. tightening
torque 0.8 Nm).

V02.00 | 2021/05 17
7 Commissioning
The Linux operating system enables the device functions to be programmed with C, C++,
NodeJS or Python.
Additional software tools (e.g. PuTTY) are required to access the device via the console. A file
exchange between the device and a PC can be used, e.g. via WinSCP. The following login data
is stored on the device by default:
User: user
Password: password
NOTE
The reader log is not implemented by default. The protocol must be implemented
by the user.
7.1 Parameterizing readers with the DTM
The UHF settings of the device can be assigned additional parameters via the DTM.
All the required Turck software components can be downloaded via the Turck Software
Manager. The Turck Software Manager is available free of charge from www.turck.com.
NOTE
The parameterization function up to firmware version V2.0.39.3937 is only available
in English. All parameters are written in the DTM.
The individual readers are available in different variants. When a connection is made to a con-
nected reader, the DTM automatically detects the relevant device and deactivates menu items
that are not supported. The connection cannot be established if a different variant than set in
the project tree is connected.
NOTE
Adjustable parameters are indicated in the DTM with green arrows. Fixed paramet-
ers are indicated with gray arrows.
Fig.14: DTM – example of adjustable and fixed parameters
Requirements for extended parameter setting
nPACTware must be installed.
nThe DTM for UHF readers must be installed.
nThe device must be connected to a PC via the serial interface.

Commissioning
Parameterizing readers with the DTM
18 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
7.1.1 Connecting the device with the PC
Open PACTware.
Right-click Host PC in the project tree.
Click Add device.
Add RS485 RFID.
Confirm selection with OK.
Fig.15: Selecting RS485 RFID

V02.00 | 2021/05 19
Right-click the Ethernet adapter.
Start the Topology scan.
Fig.16: Starting the Topology scan

Commissioning
Parameterizing readers with the DTM
20 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
The connected devices are automatically detected and added to the project tree.
Fig.17: Project tree
Other manuals for TN-UHF LNX Series
1
This manual suits for next models
2
Table of contents