background image

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.

Summary of Contents for 100000897

Page 1: ...Your Global Automation Partner Instructions for Use TN UHF LNX UHF Reader...

Page 2: ...2 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com...

Page 3: ...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...

Page 4: ...ls 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 w...

Page 5: ...UTION 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 NO...

Page 6: ...nge 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 n UHF reader n...

Page 7: ...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...

Page 8: ...used in accordance with applicable national and international regu lations standards and laws n Any extended stay within the area of radiation of UHF readers may be harmful to health Ob serve a minim...

Page 9: ...nas 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...

Page 10: ...romagnetic 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...

Page 11: ...ested 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 t...

Page 12: ...holes spaced 100 mm apart horizontally and vertically The maximum length of the screws is 8 mm plus the thickness of the VESA bracket The devices can be mounted in any position Fasten the device with...

Page 13: ...ting 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 1 3 2 ETH1 PoE 1 TX 2 RX 3 TX 4 R...

Page 14: ...e 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 followi...

Page 15: ...ower 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 1 3 2 5 v 1 Vaux 2 DXP1...

Page 16: ...w 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...

Page 17: ...ager 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 wr...

Page 18: ...urck 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 Open PACTware Right click Host PC in the project tree Click Add device Add RS485...

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

Page 20: ...meterizing readers with the DTM 20 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com The connected devices are automatically detected and added to the project tree F...

Page 21: ...ded reader parameterization Right click the device Start the parameter setting Choose Parameterization or Online Parameterization The device must be connected to the PC for the Online Parameterization...

Page 22: ...rator password protected Channel wise display Toggles the view between standard display and channel wise display Load data from database Loads previously stored parameters from the database e g an exi...

Page 23: ...available for Turck service technicians All relevant settings for the successful parameter setting of an application are available in the Advanced access level Access level Description Initial passwo...

Page 24: ...1 5 Setting multiplex operation In multiplex operation several antennas can be controlled or switched on in sequence The example below shows the activation of the antennas in sequence The multiplex op...

Page 25: ...Antenna tab in the main menu At Antenna Antenna multiplexing Number of entries enter the number of antennas Fig 21 Entering the number of antennas Assign antennas with functions e g internal antenna R...

Page 26: ...4952 0 F 49 208 4952 264 more turck com www turck com Click Accept to save the settings For all antennas used set at Antenna configuration Maximal transmit time the time in which the particular antenn...

Page 27: ...R RUN APP LAM PWR RFON DATA DIAG USER Conducted power Pcond Cable attenuation dB Antenna gain GHW Radiated power PERP Antenna Fig 24 Power calculation relevant variables schematic representation The p...

Page 28: ...diated power can be stated in watts or in dBm The following table shows approximate values as a guide for converting between dBm and mW dBm mW dBm mW dBm mW dBm mW 1 1 25 9 8 17 50 25 316 2 1 6 10 10...

Page 29: ...internal antenna is limited to 1 W With external antennas 1 W of output power is provided at the TNC socket The power supply type is set automatically via Antenna configuration Power supply to the ext...

Page 30: ...Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Refer to the data sheet of the cable used for the cable attenuation Enter the cable attenuation at Antenna cable a...

Page 31: ...V02 00 2021 05 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...

Page 32: ...issioning Parameterizing readers with the DTM 32 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Set antenna gain at Antenna gain here 9 00 Fig 28 Setting antenna...

Page 33: ...at the TNC socket Pcond is calculated automatically by the DTM and displayed at Conducted power Fig 29 Display of the power at the TNC socket Click Accept to save the settings Set the power for each a...

Page 34: ...spots caused by interference The detection rate can be increased by switching the polarization Polarization switching is suitable for example in single tag applications in particularly metallic enviro...

Page 35: ...larization switching is activated in the DTM via the multiplex settings Set at Antenna Number of entries the value 2 Set at Antenna 1st entry the value Antenna LHCP Set at Antenna 2nd entry the value...

Page 36: ...transmit time set the time up to the polarization switch or activate the Switch to next antenna if no transponder was read option a If the Switch to next antenna if no transponder was read option is...

Page 37: ...g mode The Advanced access level allows the Tag data delay time and Carrier delay time parameters to be set individually n Tag data delay time Time in which the reader searches for a tag If a tag is f...

Page 38: ...ion tab is used to set the parameters for the configuration of the deBus messages All parameters and the settable values are written in the DTM Example switch on RSSI transmission Switch on RSSI trans...

Page 39: ...meters 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 here are used if the reader performs an Inventory command All pa...

Page 40: ...do not reduce the data traffic on the air interface and are not suitable for multi tag applications with many tags or high passing speeds All parameters and the settable values are written in the DTM...

Page 41: ...all read operations below an RSSI value of 45 dBm are filtered out Fig 39 Example setting the limit value for RSSI 7 1 12 Setting LED indication signaling The Signaling tab enables the default settin...

Page 42: ...laying the log of the communication between host or PC and reader n Logging of the interface communication between host or PC and reader n Send user specific deBus commands n Write tags with a user de...

Page 43: ...V02 00 2021 05 43 7 2 1 Starting the RFID Test Right click the device in the project tree In the context menu choose Additional functions RFID Test Fig 40 Starting the RFID Test...

Page 44: ...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 n Main menu n Basic test n Tag actions n Reader...

Page 45: ...ng command Reading the reader status Calls the status of the reader and provides the information in the Logger window Reading the reader version Calls the following information from the reader and pro...

Page 46: ...ing mode Poll all Shows all tags in the polling memory of the device in the tag list The function is only available in polling mode Delete tags polled by the reader Clears the polling memory of the re...

Page 47: ...for other read operations n Memory bank TID EPC UID PC access password or kill password n Start word n Number of words The read data is displayed in the Data area Write tag memory Starts the write op...

Page 48: ...ample execute tag actions Position the tag within the detection range of the reader Activate the trigger for the reader in the main menu Fig 45 Main menu activating trigger Basic test window Execute p...

Page 49: ...021 05 49 Tag actions window To read select Memory location Start word or Word length and click the appropriate icon To write enter values under Data and confirm with OK Fig 47 Execute tag action exam...

Page 50: ...eaders with the DTM 50 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com a Successful access is displayed via the status message at the bottom of the window Fig 48 E...

Page 51: ...V02 00 2021 05 51 7 2 6 RFID Test logger window The Logger window displays read write information and error messages The list can be cleared via the Delete button Fig 49 Messages in the Logger window...

Page 52: ...F diagnosis window Interference frequencies affecting the respective channels are displayed in the HF diagnosis window Fig 50 HF diagnosis window The following functions can be executed in the HF diag...

Page 53: ...nformation as well as regulations on the connected device Right click the device in the project tree Choose Additional functions Identify a The DTM shows the available information on the device accord...

Page 54: ...via the Turck Service Tool The device is factory set to IP address 192 168 1 254 The IP address can be set via the Turck Service Tool The Turck Service Tool is available free of charge from www turck...

Page 55: ...rvice Tool selecting the device to be addressed NOTE Clicking the IP address of the device opens the web server Change the IP address and if necessary the network mask and gateway Accept the changes b...

Page 56: ...rface with Python 3 Example 1 using the pySerial module import serial from module pySerial open serial interface on port 0 and set a timout of 8 seconds seri serial Serial dev COM0 timeout 8 change se...

Page 57: ...dev COM0 with baudrate 115200 and defaults of 8N1 no flow control serial Serial dev COM0 115200 write a bytestream serial write bytearray fromhex aa 07 07 49 00 41 23 Read up to 128 bytes with 500ms t...

Page 58: ...__wur ssize_t write int __fd const void __buf size_t __n __wur int close int __fd int main void choose Interface for connection const char Path dev COM0 struct termios options int fd count i unsigned...

Page 59: ...read p_InBuff currentBuff 0 p_InBuff while currentBuff 0 0xfe print p_InBuff count printf nData count i count 1 printf nValues n for i 0 i count i printf 02x p_InBuff p_InBuff close the Interface if...

Page 60: ...off 0V 1 Input on 24V Output 88 0 Output off 0V 1 Output on 24V DXP1 Input 60 0 Input off 0V 1 Input on 24V Output 89 0 Output off 0V 1 Output on 24V DXP2 C1 Input 57 0 Input off 0V 1 Input on 24V Out...

Page 61: ...he 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...

Page 62: ...e set as a real time process The following example shows the programming of the digital I O channels with Python 3 import sys GPIOs OUT IN ports 88 59 write GPIO try set direction to write DXP fo open...

Page 63: ...sys class gpio gpio ports 1 value r val fr read fr close print val except export gpio if not done as yet f1 open sys class gpio export w f1 write ports 1 f1 close set direction to read DXP fo open sy...

Page 64: ...e faster data processing the process can be set as a real time process The following examples illustrate the programming of the digital I O channels with Node js Further information on Node js and the...

Page 65: ...etGpio IN switch from DXP to GPIO switch IN case 0 res 59 break case 1 res 60 break case 2 res 57 break case 3 res 58 break initialize the GPIO just to read set active low to get the right value read...

Page 66: ...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 choos...

Page 67: ...fh else printf failed on setting direction to read n return 1 set active low to read fputs 1 fh fclose fh else printf failed on setting active low n return 1 read GPIO if fh fopen sys class gpio gpio...

Page 68: ...t gpio if fh fopen sys class gpio export w fputs 88 fh fclose fh else printf failed on export to write n printf result i n int fh return 1 set direction to read if fh fopen sys class gpio gpio88 direc...

Page 69: ...V02 00 2021 05 69 fclose fh else printf failed on writing n return 1...

Page 70: ...n run_green Red run_red If the red and green of an LED are switched on at the same time the LED is orange NOTE During an ongoing firmware update the RUN LED is used by the system 7 7 2 Setting LED fun...

Page 71: ...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 Wait for 5 seconds time sleep 5 write green LEDs fw o...

Page 72: ...ite 0 fw close fw open sys class leds appl_red brightness w fw write 0 fw close fw open sys class leds err_red brightness w fw write 0 fw close Wait for 5 seconds time sleep 5 clean green LEDs fw open...

Page 73: ...js and the Node js packages is provided at n https nodejs org n https www npmjs com initialize the onoff box const Gpio require onoff Gpio initialize the leds which are free for the user appl_green_le...

Page 74: ...strcat char s1 const char s2 int main void LEDs for the customer char appl_green_led appl_green char appl_red_led appl_red char error_green_led err_green char error_red_led err_red char run_green_led...

Page 75: ...V02 00 2021 05 75 else printf failed on writing n return 1 return EXIT_SUCCESS...

Page 76: ...program n OSELAS toolchain 2014 12 0 arm cortexa8 linux gnueabihf gcc 4 9 2 glibc 2 20 binutils 2 24 kernel 3 16 sanitized The toolchain is available to download at http debian pengutronix de debian E...

Page 77: ...lo o opt OSELAS Toolchain 2014 12 0 arm cortexa8 linux gnueabihf gcc 4 9 2 glibc 2 20 binutils 2 24 kernel 3 16 sanitized bin arm cortexa8 linux gnueabihf gcc o helloExample hello o hello o hello c op...

Page 78: ...is restarted ExecStart path_to_programm app file A parameter can be transferred if required Example ExecStart path_to_programm app file parameter Further information on unit configuration files is ava...

Page 79: ...tivate The services file suffix is optional and can be omit ted Activate the unit file via the following command sudo systemctl enable setdxp service The created symlink is etc systemd system multi us...

Page 80: ...The device supports the standard Linux user management The access rights can be managed with the following standard Linux tools n adduser n addgroup n passwd User Rights Password root System administr...

Page 81: ...xplains the procedure for the installation of the Python sh module The Python module will be integrated at a later time in an existing firmware Requirements n PTXdist is installed on the Linux host sy...

Page 82: ...EPACK AGES foldername In the Target Install area specify the installation location of the Python module in the target system Example sh module for file in find SH_PKGDIR usr lib python PYTHON3_MA JORM...

Page 83: ...o a If no errors have occurred the package with the sh module can be found at platform tben lx linux packages ls platform tben lx linux packages python3_3 5 0_armhf ipk sh_1 12 14_armhf ipk Copy the i...

Page 84: ...ing Off Wireless field deactivated Green Wireless field activated DATA LED Meaning Off No tag in the field no data transfer Yellow flashing Tag in the field data transfer via the air interface DIAG LE...

Page 85: ...roceed as follows Exclude environmental disturbances Check the connections of the device for errors Check device for parameterization errors If the malfunction persists the device is faulty In this ca...

Page 86: ...9 1 Rectifying errors Errors are displayed by an ERR LED lit red on the device Calling error messages in the DTM and rectifying them NOTE Contact Turck if the error persists after the reader is reset...

Page 87: ...shown in the DTM Fig 58 DTM diagnosis Rectifying error messages Click the Reset read write head button in the RFID test main menu Select Reset the read write head in the drop down menu a The reader i...

Page 88: ...e from www turck com NOTICE Interruption of the power supply during the firmware update Risk of device damage due to faulty firmware update Do not interrupt the power supply during the firmware update...

Page 89: ...V02 00 2021 05 89 Click File Upload Select File Fig 61 Web server upload function Select the update file on the host PC Fig 62 Selecting the update file...

Page 90: ...Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Load the update file on the device Click Upload Fig 63 Web server loading the update file on the device Install the upda...

Page 91: ...V02 00 2021 05 91 Restart the device to complete the update Click Reboot Fig 65 Restarting the device...

Page 92: ...n the DTM for the device and the latest firmware are available as a free download from www turck com NOTICE Interruption of the power supply during the firmware update Risk of device damage due to fau...

Page 93: ...V02 00 2021 05 93 Select RS485 RFID and confirm with OK Fig 67 Selecting the RS485 interface...

Page 94: ...nce Carrying out a UHF update via the DTM 94 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Right click RS485 RFID Click Add device in the context menu Fig 68 Add...

Page 95: ...05 95 Select the required reader Fig 69 Example selecting the reader Right click TN UHF Q300 EU Establish connection to the host PC Click Establish connection in the context menu Fig 70 Establishing a...

Page 96: ...ns Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Right click TN UHF Q300 EU In the context menu choose Other Functions RFID Test Fig 71 Starting the RFID test Click F...

Page 97: ...V02 00 2021 05 97 Click the Select BL File button Fig 73 Button selecting a BL file...

Page 98: ...Carrying out a UHF update via the DTM 98 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Select the update file from the local memory location Fig 74 Local storage...

Page 99: ...Firmware update Fig 75 Starting the firmware update A completed firmware update is indicated by a status message and a yellow progress bar in the DTM Fig 76 Successful firmware update Carry out a read...

Page 100: ...ing 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...

Page 101: ...active face Fiber glass reinforced polyamide PA6 GF30 black Vibration resistance 55 Hz 1 mm Shock resistance 30 g 11 ms Protection class IP67 No of channels 4 Electrical connection RP TNC Input impeda...

Page 102: ...GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com Technical Data Digital outputs No of channels 4 Connection technology of outputs M12 5 pin Output type PNP Type of output dia...

Page 103: ...Hans Turck GmbH Co KG hereby declares that wireless system read write heads of type TN UHF Q L EU comply with directive 2014 53 EU The complete text of the EU declara tion of conformity can be obtaine...

Page 104: ...11 rue de Courtalin Bat C Magny Le Hongre F 77703 MARNE LA VALLEE Cedex 4 www turckbanner fr Great Britain TURCK BANNER LIMITED Blenheim House Hurricane Way GB SS11 8YT Wickford Essex www turckbanner...

Page 105: ...w turck ru Sweden Turck Sweden Office Fabriksstr ket 9 433 76 Jonsered www turck se Singapore TURCK BANNER Singapore Pte Ltd 25 International Business Park 04 75 77 West Wing German Centre 609916 Sing...

Page 106: ...Over 30 subsidiaries and over 60 representations worldwide www turck com 100003067 2021 05 100003067...

Reviews: