turck TN-UHF LNX Series User manual

Your Global Automation Partner
Instructions for Use
TN-UHF-…-LNX
UHF Read/Write Head

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

V01.00 | 2019/04 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 Manufacturer and service...........................................................................................7
3 For Your Safety................................................................................................................................. 8
3.1 Intended Use ................................................................................................................. 8
3.2 General safety notes .................................................................................................... 9
4 Product Description ......................................................................................................................10
4.1 Device overview .........................................................................................................10
4.2 Properties and features.............................................................................................11
4.3 Operating principle....................................................................................................11
4.4 Functions and operating modes .............................................................................12
4.5 Technical Accessories ................................................................................................12
5 Mounting.........................................................................................................................................13
6 Connecting .....................................................................................................................................14
6.1 Connecting devices to Ethernet ..............................................................................14
6.2 Connecting the power supply .................................................................................15
6.3 Connecting digital sensors and actuators.............................................................16
6.4 Connecting external antennas ................................................................................17
7 Commissioning ..............................................................................................................................18
7.1 Setting read/write head parameters with the DTM.............................................18
7.1.1 Connecting the device with the PC..................................................................................... 19
7.1.2 Starting the extended read/write head parameter setting........................................ 22
7.1.3 DTM main menu – Overview ................................................................................................. 23
7.1.4 Choosing the access level....................................................................................................... 24
7.1.5 Setting multiplex operation................................................................................................... 24
7.1.6 Setting antenna power............................................................................................................ 27
7.1.7 Setting antenna polarization................................................................................................. 33
7.1.8 Switching on Presence sensing mode ............................................................................... 35
7.1.9 Transferring the RSSI value – Communication................................................................ 36
7.1.10 Setting the air interface parameters – EPC Class 1 Gen 2............................................ 37
7.1.11 Setting the RSSI filter – Post read filter............................................................................... 38
7.1.12 Setting LED indication – Signaling ...................................................................................... 39
7.2 Testing read/write heads with the DTM ................................................................40
7.2.1 Starting the RFID test................................................................................................................ 40
7.2.2 Start window – Overview........................................................................................................ 41
7.2.3 RFID test – Main menu............................................................................................................. 42
7.2.4 RFID test – Basic test window................................................................................................ 43

Contents
4Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
7.2.5 RFID test – Tag actions window............................................................................................ 44
7.2.6 RFID test – Logger window .................................................................................................... 46
7.2.7 HF diagnostic window ............................................................................................................. 47
7.3 Querying device information with the DTM .........................................................48
7.4 Setting the IP address................................................................................................48
7.4.1 Setting the IP address via the Turck Service Tool........................................................... 48
7.5 Programming digital channels (DXP).....................................................................50
7.5.1 GPIOs of the DXP channels – Overview ............................................................................. 50
7.5.2 Setting DXP functions via script ........................................................................................... 51
7.5.3 Programming DXP channels with Python 3..................................................................... 51
7.5.4 Programming DXP channels with Node.js........................................................................ 53
7.5.5 Programming DXP channels with C or C++..................................................................... 55
7.6 Programming LED functions....................................................................................58
7.6.1 LEDs – Overview......................................................................................................................... 58
7.6.2 Setting LED functions via a script......................................................................................... 58
7.6.3 Programming LED functions with Python 3..................................................................... 59
7.6.4 Programming LED functions with Node.js ....................................................................... 60
7.6.5 Programming LED functions with C or C++..................................................................... 61
7.7 Creating a C application............................................................................................62
7.8 Starting the application automatically (Autostart) .............................................63
7.8.1 Autostart – Creating the configuration file (unit file) ................................................... 63
7.8.2 Example: Using the unit file ................................................................................................... 63
7.8.3 Activating the unit file.............................................................................................................. 64
7.9 Managing access rights.............................................................................................64
7.10 Installing Python packages ......................................................................................64
7.10.1 Example: Installing the Python module............................................................................. 65
8 Operation ........................................................................................................................................68
8.1 LEDs...............................................................................................................................68
9 Troubleshooting ............................................................................................................................69
10 Maintenance...................................................................................................................................70
10.1 Carrying out a Linux update via the web server ..................................................70
10.2 Carrying out a UHF update via the DTM ................................................................74
11 Repair...............................................................................................................................................81
11.1 Returning devices.......................................................................................................81
12 Disposal ...........................................................................................................................................81
13 Technical Data................................................................................................................................82
14 EU Declaration of Conformity .....................................................................................................84

V01.00 | 2019/04 5
1 About these Instructions
These operating instructions 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 in-
structions 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 a 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
Common synonyms for "data carriers" include "tag", "transponder", and "mobile storage
device". Read/write heads are also described as "transceivers" or "readers".
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
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 read/write heads:
Type designation Operating frequency Region
TN-UHF-Q300-EU-LNX 865…868 MHz Europe
TN-UHF-Q180L300-EU-LNX 865…868 MHz Europe
TN-UHF-Q300-NA-LNX 902…928 MHz North America (USA, Canada,
Mexico)
TN-UHF-Q180L300-NA-LNX 902…928 MHz North America (USA, Canada,
Mexico)
TN-UHF-Q300-CHN-LNX 920.5…924.5 MHz China
TN-UHF-Q180L300-CHN-LNX 920.5…924.5 MHz China
TN-UHF-Q300-KOR-LNX 917…920.8 MHz Korea
TN-UHF-Q180L300-KOR-LNX 917…920.8 MHz Korea
TN-UHF-Q300-BRA-LNX 915…928 MHz Brazil
TN-UHF-Q180L300-BRA-LNX 915…928 MHz Brazil
TN-UHF-Q300-RUS-LNX 866…868 MHz Russia
TN-UHF-Q180L300-RUS-LNX 866…868 MHz Russia
TN-UHF-Q300-AUS-LNX 920…926 MHz Australia
TN-UHF-Q180L300-AUS-LNX 920…926 MHz Australia
2.2 Scope of delivery
nRead/write head
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)

V01.00 | 2019/04 7
2.4 Manufacturer and service
Hans Turck GmbH & Co. KG
Witzlebenstraße 7
45472 Muelheim an der Ruhr
Germany
Turck supports you with your projects, from initial analysis to the commissioning of your applic-
ation. The Turck product database contains software tools for programming, configuration or
commissioning, data sheets and CAD files in numerous export formats. You can access the
product database at the following address: www.turck.de/products
For further inquiries in Germany contact the Sales and Service Team on:
nSales: +49 208 4952-380
nTechnology: +49 208 4952-390
Outside Germany, please contact your local Turck representative.

For Your Safety
8Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
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 read/write heads 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 designation Operating frequency
TN-UHF-…-EU-LNX 865…868 MHz
TN-UHF-…-NA-LNX 902…928 MHz
TN-UHF-…-CHN-LNX 920.5…924.5 MHz
TN-UHF-…-KOR-LNX 917…920.8 MHz
TN-UHF-…-BRA-LNX 915…928 MHz
TN-UHF-…-RUS-LNX 866…868 MHz
TN-UHF-…-AUS-LNX 920…926 MHz
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 read/write heads 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.

V01.00 | 2019/04 9
3.2 General safety notes
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 the UHF read/write heads may be harmful
to health. Observe minimum distances from the actively radiating surface of the UHF read/
write head:
Region Max. permissible
total radiant output power
Safety distance
Europe, Russia, China 2 W ERP (according to ETSI) > 0.24 m
USA, Canada, Brazil, Korea,
Australia, New Zealand
4 W EIRP > 0.30 m
Singapore 0.5 W ERP > 0.24 m

Product Description
10 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
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 con-
necting 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 also 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…

V01.00 | 2019/04 11
4.2 Properties and features
nTCP/IP
nFreely programmable Ethernet-based read/write head 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 read/write heads are used for contactless data exchange with tags. For this the controller
sends commands and data via the interface to the read/write head and receives the corres-
ponding response data from the read/write head. 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 read/write head is coded and trans-
ferred via an electromagnetic field, which at the same time supplies the tags with power.
A read/write head contains a transmitter and a receiver, an interface to the interface and a
coupling element (coil and dipole antenna) for communicating with the tag. Electromagnetic
wave propagation is used for the transmission between read/write head and tag on devices for
the UHF range.
IC
Read/write head Data carrier
UHF: electromagnetic wave
Fig.3: Operating principle of UHF-RFID
The antenna of the read/write head generates electromagnetic waves. This produces a trans-
mission window 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 read/write heads and
tags, as well as on the relevant environmental conditions.
Each read/write head can communicate with a number of tags. This requires the read/write
head and the tag to operate in the same frequency range. Depending on the power and fre-
quency used, the device ranges vary from a few millimeters up to several meters. The specified
maximum read/write distances only represent typical values under laboratory conditions
without allowing for the effect of materials. The achievable distances may vary due to compon-
ent tolerances, the mounting situation in the application, ambient conditions and the effect of
materials (particularly metal and liquids).

Product Description
12 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
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 multi-tag 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 or
the Accessories List for TBEN (D301367) under www.turck.com. The accessories are not part of
the scope of delivery.

V01.00 | 2019/04 13
5 Mounting
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 vertic-
ally). The max. 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 x 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…

Connecting
14 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
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 Eth-
ernet system.
Fig.6: M12 Ethernet connector
Connect the device to Ethernet as per the following pin layout (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 layout of the Ethernet connections
NOTE
With PoE transfer the power supply via PoE Mode A with 4-wire cables.

V01.00 | 2019/04 15
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 layout (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 layout of the power supply terminals

Connecting
16 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
6.3 Connecting digital sensors and actuators
The device has four 5-pin M12 plug connectors for connecting digital sensors and actuators.
Fig.10: M12 plug connectors for connecting digital sensors and actuators
Connect sensors and actuators to the device as per the following pin layout (max. tight-
ening torque 0.8 Nm).
4
13
2
5
v1 = Vaux2
2 = Signal In/Out
3 = GND V2
4 = Signal
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 ac-
tuators – Pin layout
Fig.12: Connections for digital sensors and ac-
tuators – Wiring diagram
Using the digital channels as outputs: Connect actuators to the external power supply.

V01.00 | 2019/04 17
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).

Commissioning
18 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
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 read/write head protocol is not implemented by default. The protocol must be
implemented by the user.
7.1 Setting read/write head parameters with the DTM
The UHF settings of the device can be assigned additional parameters via a DTM.
All the required Turck software components can be downloaded via the Turck Software Man-
ager. The Turck Software Manager is available free of charge from www.turck.com.
NOTE
The parameterization function is only available in English. All parameters are written
in the DTM.
The individual read/write heads are available in different variants. When a connection is made
to a connected read/write head, the DTM automatically detects the relevant device and deac-
tivates 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 a green arrow. Fixed paramet-
ers are indicated by gray arrows.
Fig.14: DTM – Example of adjustable and fixed parameters
Requirements for extended parameter setting
nPACTware™ must be installed.
nThe DTM for UHF read/write heads must be installed.
nThe device must be connected to a PC via the serial interface.

V01.00 | 2019/04 19
7.1.1 Connecting the device with the PC
Launch PACTware™.
Right-click Host PC in the project tree.
Click Add device.
Add RS485 RFID.
Confirm selection with OK.
Fig.15: Selecting RS485 RFID

Commissioning
20 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Right-click the Ethernet adapter.
Start the Topology scan.
Fig.16: Starting the Topology scan
Other manuals for TN-UHF LNX Series
1
This manual suits for next models
14
Table of contents
Other turck Scanner manuals