Contents About these Instructions........................ 5 Target groups........................ 5 Explanation of symbols used .................. 5 Other documents ...................... 5 Naming convention ..................... 5 Feedback about these instructions................ 5 Notes on the Product ........................ 6 Product Identification .................... 6 Scope of delivery ...................... 6 Legal Requirements .....................
Page 4
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 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
This symbol denotes actions that the user must carry out. RESULTS OF ACTION This symbol denotes relevant results of actions. Other documents Besides this document the following material can be found on the Internet at www.turck.com: Data sheet Approvals Configuration manual Naming convention Common synonyms for "data carriers"...
Legal Requirements The devices are subject to the following EU directives: 2014/30/EU (electromagnetic compatibility) 2011/65/EU (RoHS Directive) 2014/53/EU (RED Directive) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
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...
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. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
General safety notes The device only meets the EMC requirements for industrial areas and is not suitable for use in residential areas. The device may only be assembled, installed, operated, parameterized and maintained by professionally-trained personnel. The device may only be used in accordance with applicable national and international regu- lations, standards and laws.
Terminals are also provided for up to four external antennas. Device overview 61.7 46.125 Fig. 1: Dimensions – TN-UHF-Q180L300… 61.7 46.125 Fig. 2: Dimensions – TN-UHF-Q300… Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Properties and features TCP/IP Freely programmable Ethernet-based read/write head based on Linux Programming languages C, C++, NodeJS, Python Software components: SSH, SFTP, HTTP, IBTP, MTXP, DHCP, SNTP, Node.js 6.9.5 (LTS), Python Implementation of the protocol required 2 W (ERP) maximum output power 4 RP-TNC terminals for passive external UHF RFID antennas 4 configurable digital channels as 2 A PNP inputs and/or outputs 10 Mbps/100 Mbps transfer rate...
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. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
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 8 mm plus the thickness of the VESA bracket. The devices can be mounted in any position.
Fig. 7: Pin layout of the Ethernet connections NOTE With PoE transfer the power supply via PoE Mode A with 4-wire cables. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
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).
– Pin layout tuators – Wiring diagram Using the digital channels as outputs: Connect actuators to the external power supply. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
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).
The DTM for UHF read/write heads must be installed. The device must be connected to a PC via the serial interface. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
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 V01.00 | 2019/04...
Page 20
Commissioning Right-click the Ethernet adapter. Start the Topology scan. Fig. 16: Starting the Topology scan Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 21
The connected devices are automatically detected and added to the project tree. Fig. 17: Project tree V01.00 | 2019/04...
Start the parameter setting: Choose Parameterization or Online Parameterization. The device must be connected to the PC for the Online Parameterization. Fig. 18: Starting the parameterization Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.1.3 DTM main menu – Overview Fig. 19: DTM – main menu The main menu provides the following functions: Icon Function Description Show or hide information bar Shows or hides the information bar for the connected device and DTM version at the top of the screen Help on the DTM Starts the DTM help Help on the device...
16 sequences and can be used, for example, for gate applications. Fig. 20: Gate application – Schematic representation Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 25
Configuring multiplex operation – Example Choose the Antenna tab in the main menu. Ò Ò At Antenna Antenna multiplexing Number of entries enter the number of anten- nas. Fig. 21: Entering the number of antennas Assign antennas with functions (e.g. internal antenna: RHCP, LHCP, external antenna) Fig. 22: Example: Setting multiplex operation V01.00 | 2019/04...
Page 26
Maximal transmit time the time in which the particular antenna is to remain active and stay switched on. Fig. 23: Setting maximal transmit time Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.1.6 Setting antenna power The antenna power of the read/write head can be set for the specific application. The radiated power for the integrated antenna can be entered directly in the DTM. The power must be calcu- lated for external antennas. The following parameters must be used to calculate the radiated power (P Power to be output at the TNC socket of the read/write head cond...
Page 28
(circular) The different units can be converted as follows: = dBd = dBi - 2.15 = dBic - 5.15 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 29
Setting the power for external antennas via the DTM When supplied via Power over Ethernet (PoE), the radiated power for the internal antenna is limited to 1 W. With external antennas 1 W of output power is provided at the TNC socket. The Ò...
Page 30
Refer to the data sheet of the cable used for the cable attenuation. Enter the cable attenuation at Antenna cable attenuation. Fig. 26: DTM – Entering the cable attenuation Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 31
Refer to the data sheet of the external antenna for the antenna gain. Set the unit for the antenna gain at Antenna gain unit (here: dBd). Fig. 27: Setting the unit for the antenna gain Set antenna gain at Antenna gain (here: 9.00). Fig. 28: Setting antenna gain V01.00 | 2019/04...
Page 32
Fig. 29: Display of the power at the TNC socket Click Accept to save the settings. Set the power for each additional antenna. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.1.7 Setting antenna polarization The antenna polarization can be switched via the DTM. Switching the polarization makes it pos- sible to change null spots caused by interference. The detection rate can be increased by switching the polarization. Polarization switching is suitable for example in single tag applica- tions in particularly metallic environments.
Page 34
1st entry the value Antenna LHCP. Ò Set at Antenna 2nd entry the value Antenna RHCP. Fig. 34: Switching antenna polarization Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Ò At Antenna configuration Maximal transmit time set the time up to the polarization switch or activate the Switch to next antenna if no transponder was read. If the Switch to next antenna if no transponder was read option is activated, the read/ write head automatically switches after an Inventory operation without reading to the next multiplex sequence (Entry).
Transponder RSSI and select the enabled option. The RSSI value is displayed with the inventory in the read data. Fig. 37: Switching on the RSSI transmission Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.1.10 Setting the air interface parameters – EPC Class 1 Gen 2 The EPC Class1 Gen2 tab is used to set the EPC Class1 Gen2 parameters for the air interface. The parameters set are used if the read/write head performs an Inventory command. All para- meters and the settable values are written in the DTM.
Ò Ò At Post Read Filter RSSI filter switch on the RSSI filter. Fig. 39: Switching on the RSSI filter Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Ò Ò Set the limit values at RSSI Filter and RSSI filter Lower threshold. Example: All read operations below an RSSI value of -45 dBm are filtered out. Fig. 40: Example – Setting the limit value for RSSI 7.1.12 Setting LED indication – Signaling The Signaling tab enables the default settings for the USER LEDs to be edited.
Right-click the device in the project tree. Ò In the context menu choose Additional Functions RFID Test. Fig. 41: Starting the RFID test Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.2 Start window – Overview The RFID Test window consists of the following elements: Main menu Basic test Tag actions Logger Fig. 42: RFID test – Overview of start window V01.00 | 2019/04...
Voltage reset Factory reset: Reset to factory settings Reset read/write head status HF diagnostics Opens the window to the HF diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.4 RFID test – Basic test window Fig. 44: RFID test – Basic test window The following functions are available in the Basic test window: Icon Function Description Polling Shows the first tag in the polling memory of the device in the tag list.
Data to be written is displayed in the Data area. Switch access password on/off Switches the password for write or read access on or off. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 45
Example: Execute tag actions Position tag in detection range of the read/write head. Basic test window: Execute polling command in order to display tag in the tag list. Basic test window: Select tag from the tag list. Fig. 46: Selecting a tag ...
The Logger window displays read/write information and error messages. The list can be cleared via the Delete button. Fig. 50: Messages in the Logger window Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.7 HF diagnostic window The current power level of the read/write head is displayed for each channel in the HF dia- gnostics window. Fig. 51: HF diagnostics window The following functions can be executed in the HF diagnostics window: Icon Function Description Start/stop HF diagnostic Starts or closes the HF diagnostics...
Click the required device. Click Change or press [F2]. NOTE Clicking the IP address of the device opens the web server. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 49
Change the IP address and if necessary the network mask and gateway. Accept the changes by clicking Set in device. Fig. 53: Turck Service Tool – Changing the device configuration V01.00 | 2019/04...
Setting the switchable VAUX power supply – Diagnostics Socket Type GPIO Possible values Input VAUX0 0: VAUX error-free 1: Error or overvoltage Input VAUX1 on VAUX Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.5.2 Setting DXP functions via script A script is installed on the device for setting the DXP channels. The script is located under the following path: /usr/bin/dxp The script can be used with the following syntax: /usr/bin/dxp channel [value] The following example sets the value for the DXP0 channel to ON. /usr/bin/dxp 0 1 Parameter Possible values...
Page 52
# set active low to get the right value... fal.write("1") fal.close() # read DXP: fr = open("/sys/class/gpio/gpio" + ports[1] +"/value", "r") val=fr.read() fr.close() print(val) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.5.4 Programming DXP channels with Node.js NOTE The speed of the data transmission depends on the configured block size and the set transfer rate. The speed may possibly not be enough for time critical applica- tions. To achieve faster data processing, the process can be set as a real-time pro- cess.
Page 54
# set active low to get the right value... // read the GPIO / DXP... ' + res); return res; Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.5.5 Programming DXP channels with C or C++ The following example shows the programming of the digital I/O channels with Ansi C/C++. #include <stdio.h> #include <stdlib.h> #include <fcntl.h> // initialize function (use extern for C++) int access(const char *pfad, int modus); int main(void) { ...
Page 56
if((fh = fopen("/sys/class/gpio/gpio88/direction", "w")) != { fputs("out",fh); fclose(fh); } else { printf("failed on setting direction to write...\n"); return -1; } // write GPIO... Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
0: Switch off LED Green/red 1: Switch on LED 0: Switch off LED APPL Green/red 1: Switch on LED 0: Switch off LED Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.6.3 Programming LED functions with Python 3 The following example shows the programming of the LED functions with Python 3: import sys import time # write red LEDs: fw = open("/sys/class/leds/run_red/brightness", "w") fw.write("1") fw.close() fw = open("/sys/class/leds/appl_red/brightness", "w") fw.write("1") fw.close() fw = open("/sys/class/leds/err_red/brightness", "w") fw.write("1") fw.close()
= new LED('appl_red'); error_green_led = new LED('err_green'); error_red_led = new LED('err_red'); run_green_led = new LED('run_green'); run_red_led = new LED('run_red'); Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.6.5 Programming LED functions with C or C++ The following example shows the programming of the LED functions with Ansi C/C++. #include <stdio.h> #include <stdlib.h> // initialize function (use extern for C++) char* strcpy(char* target, const char* source); char* strcat(char* s1, const char* s2); int main(void) { // LEDs for the customer: char *appl_green_led = "appl_green";...
Create a make file. Save a make file in the same folder as the C application. Execute the make file with the “make” command. The C program is installed. Starting the application automatically (Autostart) An application can be executed automatically with the Autostart function after the RFID inter- face is started.
The ipkg package manager makes it possible to also install Py- thon modules at a later time. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.10.1 Example: Installing the Python module The following example explains the procedure for the installation of the Python sh module. The Python module is integrated at a later time in an existing firmware. Requirements PTXdist is installed on the Linux host system. The required Python module was downloaded (example: https://amoffat.github.io/sh/).
Page 66
… python3_3.5.0_armhf.ipk sh_1.12.14_armhf.ipk … Copy the ipk file to the TBEN device (e.g. with scp): scp ~/turck/TBEN-Lx-4RFID-8DXP-LNX/platform-tben-lx-linux/ packages/sh_1.12.14_armhf.ipk root@Target-IP:/directory/of/your/choice/ Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 67
Log into the TBEN device in order to install the “sh_1.12.14_armhf.ipk” package. Call up the ipkg manager to install the Python module: ipkg -force-depends install sh_1.12.14_armhf.ipk The module is available in the Python Interpreter. V01.00 | 2019/04...
I/O signal present Overload at output Flashing Flashing Overload of the auxiliary voltage APPL LED Meaning Flashing white Wink command active Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Troubleshooting If the device does not function as expected, first check whether ambient interference is present. If there is no ambient interference present, check the connections of the device for faults. If there are no faults, there is a device malfunction. In this case, decommission the device and replace it with a new device of the same type.
Turck Service Tool. Click Software in the web server. Fig. 55: Web server – Selecting the software Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 71
Ò Click File Upload Select File. Fig. 56: Web server – Upload function Select the update file on the host PC. Fig. 57: Selecting the update file V01.00 | 2019/04...
Page 72
Fig. 58: Web server – Loading the update file on the device Install the update file: Click Install. Fig. 59: Web server – Installing the update file Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 73
Restart the device to complete the update: Click Reboot. Fig. 60: Restarting the device V01.00 | 2019/04...
Example: Update the firmware with the PACTware™ FDT frame application Launch PACTware™. Ò Right-click HOST PC Add device. Fig. 61: Adding a device in PACTware™ Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 75
Select RS485 RFID and confirm with OK. Fig. 62: Selecting the RS485 interface V01.00 | 2019/04...
Page 76
Maintenance Right-click RS485 RFID. Click Add device in the context menu. Fig. 63: Adding a read/write head Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 77
Select the required read/write head. Fig. 64: Example – Selecting a read/write head Right-click TN-UHF-Q300-EU. Establish connection to the host PC: Click Establish connection in the context menu. Fig. 65: Establishing a connection V01.00 | 2019/04...
Page 78
In the context menu choose Other Functions RFID Test. Fig. 66: Starting the RFID test Click Firmware Update. Fig. 67: Firmware Update – Opening the menu Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 79
Click the Select BL File button. Fig. 68: Button – Selecting a BL file Select the update file from the local memory location. Fig. 69: Local memory location of the update file V01.00 | 2019/04...
Page 80
A completed firmware update is indicated by a status message and a yellow progress bar in the DTM. Fig. 71: Successful firmware update Reset the read/write head to complete the firmware update. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Observe our return acceptance conditions when returning the device to Turck. 11.1 Returning devices Returns to Turck can only be accepted if the device has been equipped with a Decontamination declaration enclosed. The decontamination declaration can be downloaded from https://www.turck.de/en/retoure-service-6079.php and must be completely filled in, and affixed securely and weather-proof to the outside of the packaging.
Signal current Low signal <1.5 mA Signal current High signal > 2 mA Type of input diagnostics Channel diagnostics Digital outputs Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 83
Technical Data No. of channels Connection technology of outputs M12, 5-pin Output type Type of output diagnostics Channel diagnostics V01.00 | 2019/04...
UHF-Q…L…-EU… comply with directive 2014/53/EU. The complete text of the EU declaration of conformity can be obtained from the following Internet address: www.turcks.com Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 85
Over 30 subsidiaries and over 60 representations worldwide! 100003067 | 2019/04 100003067 www.turck.com...
Need help?
Do you have a question about the TN-UHF LNX Series and is the answer not in the manual?
Questions and answers