turck TN-UHF CDS Series Instructions For Use Manual

turck TN-UHF CDS Series Instructions For Use Manual

Uhf read/write device
Table of Contents

Advertisement

Your Global Automation Partner
TN-UHF-...-CDS
UHF Read/Write Head
Instructions for Use

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TN-UHF CDS Series and is the answer not in the manual?

Questions and answers

Summary of Contents for turck TN-UHF CDS Series

  • Page 1 Your Global Automation Partner TN-UHF-…-CDS UHF Read/Write Head Instructions for Use...
  • Page 2 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 3: Table Of Contents

    Contents About these Instructions........................ 7 Target groups........................ 7 Explanation of symbols used .................. 7 Other documents ...................... 7 Naming convention ...................... 7 Feedback about these instructions................ 7 Notes on the Product .........................  8 Product identification.....................  8 Scope of delivery ...................... 8 Legal requirements......................
  • Page 4 Transfer process data from CODESYS to the cloud ............ 139 7.11.6 Manage data node points from CODESYS symbol table.......... 140 7.12 Setting up a CODESYS OPC UA server.............. 142 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 5 Setting .............................. 147 RFID channels – parameter data ................ 147 8.1.1 Meaning of the parameter bits .................... 148 8.1.2 Setting Continuous presence sensing mode.............. 148 8.1.3 Transferring the read/write head settings.................  149 RFID channels – process input data ................  150 8.2.1 Meaning of the status bits .......................
  • Page 6 Flow chart: Continuous mode with interruption before reading data ....  222 15.5 Flow chart: Continuous mode without interruption before reading data.. 223 16 EU Declaration of Conformity ...................... 224 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 7: About These Instructions

    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"...
  • Page 8: Notes On The Product

    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...
  • Page 9: Manufacturer And Service

    45472 Mülheim 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...
  • Page 10: For Your Safety

    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...
  • Page 11: General Safety Notes

    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.
  • Page 12: Product Description

    The device has the following LED indicators: Power supply Group and bus errors Status Diagnostics An audible alarm can also be set using software tools. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 13: Properties And Features

    Properties and features Rectangular, height 180 or 300 mm Active front face, UV-resistant Four terminals for passive UHF RFID antennas Four configurable digital channels, which can be configured as PNP inputs and/or 0.5 A outputs 2 W (ERP) maximum output power Programmable according to IEC 61131-3 with CODESYS V3 CODESYS V3 PLC Runtime CODESYS OPC UA server...
  • Page 14: Functions And Operating Modes

    UHF RFID system. HF RFID systems can be run parallel to UHF RFID systems in an installation. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 15: Combination Of Uhf Read/Write Heads And Tags

    4.4.2 Combination of UHF read/write heads and tags The UHF read/write heads form a transmission zone for which the size depends on the combin- ation of read/write head and tag. The listed maximum read/write distances only represent typ- ical values under laboratory conditions without the effect of materials. The achievable dis- tances may be different due to component tolerances, mounting location in the application, ambient conditions and the effect of materials (particularly metal).
  • Page 16: Rfid Commands

    The device is compatible with the following CODESYS versions: CODESYS CODESYS Firmware CODESYS programming runtime version package environment 3.5.12.10 3.5.11.20 1.0.1.0 1.0.1.0 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 17: Technical Accessories

    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. V02.00 | 2020/08...
  • Page 18: Installing

    [4.96] [1.82] 46.1 [1.82] [3.94] 219 [8.62] [3.94] 219 [8.62] Fig. 4: Rear view – TN-UHF-Q180… Fig. 5: Rear view – TN-UHF-Q300… Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 19: Connecting

    Connecting 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).
  • Page 20: Connecting The Power Supply

    3 = GND 4 = TX/RX + 5 = PE 24 VDC / COM Fig. 9: Pin assignment of the power supply terminals Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 21: Connecting Digital Sensors And Actuators

    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.
  • Page 22: Connecting External Antennas

    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). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 23: Commissioning

    Parameterizing read/write heads 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 Manager. The Turck Software Manager is available free of charge from www.turck.com.
  • Page 24: Connecting The Device With The Pc

    Right-click Host PC in the project tree. „ Click Add device. „ Add BL Service Ethernet. „ Confirm selection with OK. Fig. 15: Selecting an Ethernet adapter Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 25 „ Right-click the Ethernet adapter. „ Start the Topology scan. Fig. 16: Starting the Topology scan V02.00 | 2020/08...
  • Page 26 Parameterizing read/write heads with the DTM The connected devices are automatically detected and added to the project tree. Fig. 17: Project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 27: Starting The Extended Read/Write Head Parameter Setting

    7.1.2 Starting the extended read/write head parameter setting „ 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. Fig. 18: Starting the parameterization V02.00 | 2020/08...
  • Page 28: Dtm Main Menu - Overview

    The following setup windows can be opened in tabs via the main menu: Basic setup Antenna Antenna configuration Communication EPC Class1 Gen2 Post read filter Signaling Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 29: Choosing The Access Level

    NOTE Modifications made in the Administrator access level can result in serious changes to operation. The Administrator access level is therefore only available for Turck service technicians. All relevant settings for the successful parameter setting of an application are available in the Advanced access level.
  • Page 30: Setting Multiplex Operation

    „ At Antenna Antenna multiplexing Number of entries enter the number of anten- nas. Fig. 22: Entering the number of antennas Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 31 „ Assign antennas with functions (e.g. internal antenna: RHCP, LHCP, external antenna) Fig. 23: Example: setting multiplex operation V02.00 | 2020/08...
  • Page 32 Maximal transmit time the time in which the particular antenna is to remain active and stay switched on. Fig. 24: Setting the maximum transmit time Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 33: Setting Antenna Power

    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 calculated 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 34 Antenna gain in relation to an isotropic radiator (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 35 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 36 Refer to the data sheet of the cable used for the cable attenuation. „ Enter the cable attenuation at Antenna cable attenuation. Fig. 27: 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 37 „ 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. 28: Setting the unit for the antenna gain V02.00 | 2020/08...
  • Page 38 Commissioning Parameterizing read/write heads with the DTM „ Set antenna gain at Antenna gain (here: 9.00). Fig. 29: Setting antenna gain Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 39 The power at the TNC socket (P ) is calculated automatically by the DTM and displayed at cond Conducted power. Fig. 30: Display of the power at the TNC socket „ Click Accept to save the settings. „ Set the power for each additional antenna separately. V02.00 | 2020/08...
  • Page 40: Setting Antenna Polarization

    Fig. 31: Antenna polarization circular (RHCP) Fig. 32: Antenna polarization circular (LHCP) Fig. 33: Antenna polarization linear (vertical) Fig. 34: Antenna polarization linear (horizontal) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 41 Switching antenna polarization Polarization 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 Antenna RHCP.
  • Page 42 Inventory operation without reading to the next multiplex sequence (Entry). Fig. 36: Switching polarization automatically Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 43: Switching On Presence Sensing Mode

    7.1.8 Switching on Presence sensing mode In order to use the Continuous presence sensing mode command, the Presence sensing mode must be activated in the read/write head. In Presence sensing mode, the read/write heads are automatically switched on as soon as a tag is located in the detection range. Ò...
  • Page 44: Transferring The Rssi Value - Communication

    Transponder RSSI and select the enabled option. The RSSI value is displayed with the inventory in the read data. Fig. 38: Switching on RSSI transmission Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 45 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.
  • Page 46: Setting The Rssi Filter - Post Read Filter

    RSSI outside of the set limit values are filtered out and not displayed. Ò „ At Post read filter RSSI filter switch on the RSSI filter. Fig. 40: 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...
  • Page 47: Setting Led Indication - Signaling

    Ò Ò „ Set the limit values at Post read filter RSSI filter Lower threshold. Example: all read operations below an RSSI value of -45 dBm are filtered out. Fig. 41: 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.
  • Page 48: Parameterizing Read/Write Heads With The Web Server

    In the delivery state the device has the IP address 192.168.1.254. To open the web server via a web browser, enter http://192.168.1.254 in the address bar of the web browser. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 49: Editing Settings In The Web Server

    A login is required in order to edit settings via the web server. The default password is “password”. NOTE To ensure greater security, Turck recommends changing the password after the first login. „ Enter the password in the Login field on the start page of the web server.
  • Page 50 Parameterizing read/write heads with the web server „ Change the password after the first login. Fig. 43: Web server – changing the password Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 51 The start page is displayed with the device information after the login. Fig. 44: Web server – start page „ Click UHF RFID CONFIG & DEMO to display and set the device parameters. Fig. 45: Web server – UHF RFID CONFIG & DEMO V02.00 | 2020/08...
  • Page 52 Fig. 46: Web server – GO ONLINE „ Click Parameter in the navigation bar on the left of the screen. Fig. 47: Web server – Parameter dialog Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 53 All parameters of the device are displayed. NOTE The parameters are arranged in the web server in the same way as in the UHF DTM. Information on the parameters is provided at [} 28]. The access level displayed in the web server corresponds to the Advanced level in the DTM. Fig. 48: Web server –...
  • Page 54: Testing Read/Write Heads With The Dtm

    The connection between the read/write head and the PC must be established. A project must have been created in PACTware. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 55: Starting The Rfid Test

    7.3.1 Starting the RFID Test „ Right-click the device in the project tree. Ò „ In the context menu choose Additional functions RFID Test. Fig. 49: Starting the RFID Test V02.00 | 2020/08...
  • Page 56: Start Window - Overview

    The RFID Test window consists of the following elements: Main menu Basic test Tag actions Reader Status Logger Fig. 50: RFID Test – overview of the start window Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 57: Rfid Test - Main Menu

    7.3.3 RFID Test – main menu Fig. 51: RFID Test – main menu The main menu provides the following functions: Icon Function Description DTM help Starts the DTM help. Trigger start/ON Starts the trigger for command execution (standard view). Ends the trigger for command execution (displayed after Trigger stop/OFF clicking the start button).
  • Page 58: Rfid Test - Basic Test Window

    If the polling memory of the read/write head is full, the ERR LED is lit red and indicates an internal error. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 59: Rfid Test - Tag Actions Window

    7.3.5 RFID Test – Tag actions window The functions in the Tag actions window are available if a tag is selected in the tag list of the Basic test window. Fig. 53: RFID Test – Tag actions window The following functions are available in the Tag actions window: Icon Function Description...
  • Page 60 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. 55: Basic test – tag selection Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 61 „ 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. 56: Execute tag action (example: read) V02.00 | 2020/08...
  • Page 62 Testing read/write heads with the DTM Successful access is displayed via the status message at the bottom of the window. Fig. 57: Example: read successful Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 63: Rfid Test - Logger Window

    7.3.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. 58: Messages in the Logger window 7.3.7 HF diagnosis window Interference frequencies affecting the respective channels are displayed in the HF diagnosis window.
  • Page 64: Testing Read/Write Heads With The Web Server

    Command builder: Use of the Command builder is reserved for Turck Support and is not designed for setting device parameters or device operation. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 65 RFID Test enables EPC information on tags to be displayed and read out in single tag and multitag mode. The received RSSI values are displayed as a curve in relation to time. Fig. 61: Example of RFID Test: Detection of a tag with received RSSI values over time and the number of read opera- tions V02.00 | 2020/08...
  • Page 66 The currently received power level for each channel of the read/write head is displayed in the UHF Diagnostics window. Fig. 62: Example of UHF Diagnostics: Received power level per channel Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 67: Querying Device Information With The Dtm

    Querying device information with the DTM The DTM provides access to hardware and software information as well as regulations on the connected device. „ Right-click the device in the project tree. Ò „ Choose Additional functions Identify. Fig. 63: Calling up Identification V02.00 | 2020/08...
  • Page 68 The DTM shows the available information on the device according to the selected access level. Fig. 64: Device information for TN865-Q175L200-H1147 in the Advanced access level Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 69: Setting The Ip Address

    Setting the IP address 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.com.
  • Page 70 Change the IP address and if necessary the network mask and gateway. „ Accept the changes by clicking Set in device. Fig. 68: Turck Service Tool – changing the device configuration Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 71: Setting The Ip Address Via The Web Server

    7.6.2 Setting the IP address via the web server „ Open the web server. „ Log into the device as administrator. „ Click Network configuration. „ Change the IP address and if necessary also the subnet mask and default gateway. „...
  • Page 72: Connecting The Device To A Modbus Master

    The programming software has been started. A new project has been created. The PLC has been added to the project. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 73: Connecting The Device With The Controller

    7.7.1 Connecting the device with the controller To connect the device to the controller, the following components must be added in CODESYS first of all: Ethernet adapter Modbus TCP master Modbus TCP slave Adding an Ethernet adapter „ Right-click Device (TX707-P3CV01) in the project tree. Fig. 70: Project tree V02.00 | 2020/08...
  • Page 74 „ Click Append device. The Ethernet adapter appears as Ethernet (Ethernet) in the project tree. Fig. 71: Adding an Ethernet adapter Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 75 Adding a Modbus master „ Right-click Ethernet (Ethernet) in the project tree. „ Select Append device. „ Double-click Modbus TCP Master. The Modbus master appears as Modbus_TCP_Master in the project tree. Fig. 72: Adding a Modbus master V02.00 | 2020/08...
  • Page 76 „ Double-click Modbus TCP Slave. The Modbus slave appears as Modbus_TCP_Slave in the project tree. Fig. 73: Adding a Modbus slave Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 77: Renaming A Modbus Slave

    7.7.2 Renaming a Modbus slave „ Click Modbus slave in the project tree. „ Press [F2]. „ Adapt the name of the slave in the project tree of the application (here: TN_UHF_Q300_EU_CDS). Fig. 74: Renaming a Modbus slave V02.00 | 2020/08...
  • Page 78: Setting Up Network Interfaces

    „ Select Modbus master (here: TX707-P3CV01) and confirm with OK. Fig. 75: Setting up a network interface to the Modbus master Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 79 „ Select the PLC Settings tab. „ In the Always update variables drop-down menu, select the Enabled 2 (always in bus cycle task) option. Fig. 76: Selecting the option: Always update variables V02.00 | 2020/08...
  • Page 80 Double-click Ethernet. „ Enter the IP address of the Modbus master (here: 192.168.1.70). Fig. 77: Modbus master – enter the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 81 „ Double-click the Modbus TCP slave. „ In the General tab enter the IP address of the slave (here: 192.268.1.20). Fig. 78: Modbus slave – entering the IP address V02.00 | 2020/08...
  • Page 82: Setting Modbus Channels (Registers)

    Access type: Read holding registers Offset: 0x0000 Length: 64 registers (128 bytes) „ Confirm with OK. Fig. 79: Setting the READ register Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 83 Set channel 1 (output data) „ Double-click the Modbus TCP slave. Ò „ Select in the Modbus Slave Channel tab Add channel. „ Enter the following values: Name of channel Access type: Write holding registers Offset: 0x0000 Length: 64 registers (128 bytes) „...
  • Page 84: Setting The I/O Mapping

    Select Add device. „ Double-click Q300. The local I/Os appear in the project tree. Fig. 81: Adding local I/Os to the project Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 85 Attaching the Ethernet adapter to the local I/Os „ Right-click Q300 (Q300) in the project tree. „ Select Add device. „ Double-click Ethernet. Fig. 82: Attaching the Ethernet adapter to the local I/Os V02.00 | 2020/08...
  • Page 86 „ Select Add device. „ Double-click Modbus TCP Slave Device. Fig. 83: Attaching the Modbus TCP slave to the local I/Os Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 87 „ Define the size of the input and output data for the Modbus slave (here: 64 registers each) Fig. 84: Defining the size for input and output data V02.00 | 2020/08...
  • Page 88 In the Communication Settings tab click the Scan network button. „ Select TN-UHF-Q300-CDS and confirm with OK. Fig. 85: Setting up an Ethernet interface to the 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 89 „ Select the PLC Settings tab. „ In the Always update variables drop-down menu, select the Enabled 2 (always in bus cycle task) option. Fig. 86: Setting the option – Always update variables option V02.00 | 2020/08...
  • Page 90 Double-click Q300 [connected] (Q300). „ Enter the IP address of the Modbus slave (here: 192.168.1.100). Fig. 87: Modbus master – entering the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 91: Writing The Application To The Device

    7.7.6 Writing the application to the device An executable application must be present in the device in order to establish communication between Modbus master and TN-UHF-Q300-CDS. „ Right-click Application in the project tree. Ò „ Choose Add Object Task Configuration in the context menu. Fig. 88: Adding a task for the application V02.00 | 2020/08...
  • Page 92 Right-click Application in the project tree. Ò „ Choose Add Object POU in the context menu. Fig. 89: Adding a POU Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 93 „ Add the POU as a program to the application: Click Add. Fig. 90: Adding the POU to the application V02.00 | 2020/08...
  • Page 94 Confirm the adding of the POU in the entry dialog with OK. Fig. 91: Confirming the adding of the POU in the entry dialog Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 95 Mapping local I/Os to I/Os of the Modbus master „ Obtain the address of the Continuous mode active input bit from the mapping for the selected operating mode (here: UHF compact). Fig. 92: Address of the input bit in the local I/Os of the RFID interface – Continuous mode active V02.00 | 2020/08...
  • Page 96 Obtain the address for the Continuous mode active output bit from the mapping for the slave device. Fig. 93: Address for the output bit Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 97 „ Transfer the mapping to the POU Fig. 94: Transferring the mapping to the POU V02.00 | 2020/08...
  • Page 98: Connecting The Device Online With The Controller

    The process data is displayed. In this example the Continuous mode active bit is set if the read/write head is in Continuous mode. Fig. 95: Example: process data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 99: Connecting A Device To An Ethernet/Ip Controller

    This example uses the following software: CODESYS 3.5.12.1 (download free of charge from www.turck.com) SIMATIC STEP7 Professional V15 (TIA Portal) Generic GSDML file for Turck UHF read/write heads (available as download free of charge from www.turck.com) Requirements The package file for TBEN-L…-4RFID-8DXP-CDS must be installed.
  • Page 100: Configuring The Device In Codesys As A Profinet Device

    Configuring the device in CODESYS as a PROFINET device The device must have been created in the project tree. Fig. 96: TN-UHF-Q300-CDS-EU in the project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 101 Adding an Ethernet adapter „ Right-click Device (Q300) in the project tree. „ Select Append device. „ Select an Ethernet adapter. „ Click Add Device. Fig. 97: Adding an Ethernet adapter V02.00 | 2020/08...
  • Page 102 Right-click Ethernet (Ethernet) in the project tree. „ Select Append device. „ Select Profinet Device. „ Click Add Device. Fig. 98: Attaching the PROFINET device Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 103 Assigning inputs and outputs „ Right-click Profinet_Device (Profinet Device) in the project tree. „ Select Append device. „ Example: double-click IN 1 BYTE. „ Example: double-click OUT 1 BYTE. „ Click Add Device. NOTE The slots defined as inputs in CODESYS correspond to the outputs in the TIA Portal and vice versa.
  • Page 104 Find the internal device address of the Continuous mode active bit from the I/O image for the selected operating mode (here: UHF compact). Fig. 100: Bit: Tag present – internal address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 105 „ Example: double-click OUT_1_BYTE in the project tree. „ Assign the internal address for the Continuous mode active bit to the output byte. Fig. 101: Mapping the I/O address V02.00 | 2020/08...
  • Page 106: Setting Up The Network Interface

    Ò „ Click Device (Q300) Scan network. „ Select TN-UHF-Q300-EU-CDS and confirm with OK. Fig. 102: Setting up the network interface Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 107 „ Select the PLC Settings tab. „ In the Always update variables drop-down menu, select the Enabled 2 (always in bus cycle task) option. Fig. 103: Setting the option – Always update variables option V02.00 | 2020/08...
  • Page 108 Select the network interface. „ Enter the IP address of the PROFINET master (here: 192.168.0.254). Fig. 104: PROFINET master – entering the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 109 Connecting the device online Ò „ Click Online Login. „ Click the Start button. The connection is now displayed in the project tree. Fig. 105: Display of the connection in CODESYS V02.00 | 2020/08...
  • Page 110: Connecting A Device To A Siemens Controller In The Tia Portal

    Connecting a device to a Siemens controller in the TIA Portal „ Add a controller to the project (here: CPU 1513-1 PN). Fig. 106: Adding a controller Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 111 „ Include the Turck Codesys device in the project. To do this, select the generic GSDML file CDS3 PN Device from the Turck folder. Fig. 107: Adding the Turck Codesys device V02.00 | 2020/08...
  • Page 112 Enter IP address and PROFINET device name in the TIA Portal (Device configuration Ò Ò Properties General Ethernet addresses). Fig. 108: Setting the IP address and PROFINET device name in the TIA Portal Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 113 Assigning inputs and outputs NOTE The slots defined as inputs in CODESYS correspond to the outputs in the TIA Portal and vice versa. „ Example: assign IN 1 Byte and OUT 1 Byte from the Hardware catalog to the device. Fig. 109: Assigning the inputs and outputs in the TIA Portal V02.00 | 2020/08...
  • Page 114 Loading the configuration in the controller „ Load the configuration in the controller. Fig. 110: Loading the configuration in the controller Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 115: Reading Out Process Data

    7.9.4 Reading out process data In online mode, the CONTINUOUS_MODE_ACTIVE bit is displayed in the monitoring table. Fig. 111: Bit in the monitoring table – CONTINUOUS_MODE_ACTIVE The successful connection is now displayed in the project tree in CODESYS. Fig. 112: Successfully established connection – display in CODESYS V02.00 | 2020/08...
  • Page 116: Starting The Device As The Modbus Master

    Defining the device as master in CODESYS „ Select TN-UHF-Q300-CDS-EU UHF read/write head (Q300) as master device. Fig. 113: Selecting the master device Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 117 This displays the device in the project tree. Fig. 114: TN-UHF-Q300-CDS-EU in the project tree V02.00 | 2020/08...
  • Page 118 Right-click Device (Q300) in the project tree. „ Select Append device. „ Select an Ethernet adapter. „ Click Add Device. Fig. 115: Adding an Ethernet adapter Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 119 Adding a Modbus master „ Right-click Ethernet (Ethernet) in the project tree. „ Select Append device. „ Double-click Modbus TCP Master. The device appears as Modbus_TCP_Master in the project tree. Modbus slaves can be connected to the Modbus master. Fig. 116: Adding a Modbus master V02.00 | 2020/08...
  • Page 120 Select Append device. „ Double-click Modbus TCP Slave. The device appears as Modbus_TCP_Slave in the project tree. Fig. 117: Adding a Modbus slave Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 121: Setting Up The Network Interface

    7.10.1 Setting up the network interface „ Double-click Device (Q300) in the project tree. „ Choose the Communication Settings tab. „ Click Scan network. „ Select TN-UHF-Q300-CDS-EU and confirm with OK or a double-click. Fig. 118: Adding the network interface V02.00 | 2020/08...
  • Page 122 In the Always update variables drop-down menu, select the Enabled 2 (always in bus cycle task) option. Fig. 119: Selecting an option – Always update variables option Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 123 „ Double-click Ethernet (Ethernet) in the project tree. „ Enter the IP address of the Modbus master (here: 192.168.1.20). Fig. 120: Modbus master – enter the IP address V02.00 | 2020/08...
  • Page 124 Double-click Modbus_TCP_Slave in the project tree. „ Enter the IP address of the Modbus slave (here: 192.168.1.100). Fig. 121: Modbus slave – entering the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 125: Setting Modbus Channels (Registers)

    7.10.2 Setting Modbus channels (registers) Set channel 0 (input data) „ Double-click Modbus TCP Slave. Ò „ Select in the Modbus slave channel tab Add channel. „ Enter the following values: Name of channel Access type: Read input registers Offset: 0x0000 Length: 64 registers (128 bytes) „...
  • Page 126 Access type: Write multiple registers Offset: 0x0000 Length: 64 registers (128 bytes) „ Confirm with OK. Fig. 123: Setting the WRITE registers Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 127: Connecting Modbus Master And Modbus Slave Online

    7.10.3 Connecting Modbus master and Modbus slave online „ Select the slave device. Ò „ Click Online Login. 7.10.4 Reading out process data The I/O image of the slave can be viewed in Online mode. „ Double-click the Modbus TCP slave. „...
  • Page 128: Linking The Device To The Turck Cloud

    DHCP server, e.g. to a router or in the same network. Fig. 126: Web server – ethernet port settings Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 129 DNS server A DNS must be accessible for internet access. The DNS server can be configured automatically via DHCP or manually. Fig. 127: Web server – setting up a DNS server V02.00 | 2020/08...
  • Page 130: Register Or Login User And Project In The Cloud

    Request user data from the cloud administrator. Newly created users receive a confirma- tion email. „ Follow the link to the new user account in the email and assign a user password. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 131: Creating A Cloud Project

    7.11.2 Creating a Cloud project Ò Ò „ Create a project via ADMINISTRATE PROJECTS Create a project. „ Assign a project via Project and select a service user. „ Complete the entry via CHECK INPUT. Fig. 128: Creating a cloud project V02.00 | 2020/08...
  • Page 132 Click ORDER AND ACTIVATE WITH COSTS and create the project. Fig. 129: Turck Cloud – paying to order and activating the project Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 133 Fig. 130: Turck Cloud – project created, link to project URL The entered service user receives an email as a purchase and vendor order confirmation. The email also contains a link to the project URL. V02.00 | 2020/08...
  • Page 134: Activate A Device As Cloud Gateway In Turck Cloud Portal

    Ò Ò „ Add the gateway to a project via ADMINISTRATION GATEWAYS Activate Gateway. Fig. 131: Turck Cloud – activate gateway Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 135 Complete the entry via CHECK INPUT. NOTE The gateway user name should be unique and only used once in the project. It is not associated with the user name. Fig. 132: Turck Cloud Portal – activating TN-UHF-…-CDS as a cloud gateway (step 1) V02.00 | 2020/08...
  • Page 136 The person responsible for the project receives an email as a purchase and vendor order confirmation. The email also contains a link to the project URL. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 137: Configuring The Cloud Access In The Web Server

    7.11.4 Configuring the Cloud access in the web server Enter Cloud access data (credentials) Ò In the web server, the access data for the Turck Cloud are entered under CLOUD Creden- tials. Ò „ Activate the portal access via Turck Cloud Portal Enable „...
  • Page 138 The cloud connection status (Status) shows that the device is connected to the cloud. Fig. 135: Webserver – cloud connection established (Status) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 139: Transfer Process Data From Codesys To The Cloud

    7.11.5 Transfer process data from CODESYS to the cloud The process data of the device (TN-UHF-…-CDS) from a CODESYS project is transferred via a symbol configuration in the CODESYS project to the Turck Cloud. Ò „ Add the symbol configuration in the CODESYS project via Application Append object Ò...
  • Page 140: Manage Data Node Points From Codesys Symbol Table

    (see Clean Data Nodes (Nodes)). Fig. 137: Webserver – Cloud – Node Options Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 141 Fig. 138: Webserver – Cloud – Clean data nodes (Nodes) „ Select data nodes to be deleted. „ Delete marked data nodes via the Delete button The data nodes including the historical data are also deleted in the Turck Cloud Portal. V02.00 | 2020/08...
  • Page 142: Setting Up A Codesys Opc Ua Server

    The programming software has been started. A new project has been created. The PLC has been added to the project. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 143 Example: setting up a CODESYS OPC UA server „ Add the symbol configuration in CODESYS. „ Activate OPC UA features. Fig. 139: CODESYS – adding OPC UA features V02.00 | 2020/08...
  • Page 144 Select the functions in the symbol configuration that are to be transferred to the OPC UA client (in this case: test_counter, TagPresent and UID). Fig. 141: CODESYS – symbol configuration Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 145 „ Write data to the device. „ Open the OPC UA client (example: UA Expert). „ Establish the connection between the OPC UA server and OPC UA client. Fig. 142: UA Expert: establishing a connection V02.00 | 2020/08...
  • Page 146 Setting up a CODESYS OPC UA server The data is displayed in the OPC UA client. Fig. 143: UA Expert – data in the OPC UA client Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 147: Setting

    Setting RFID channels – parameter data Byte no. Operating mode (Mode) Reserved Reserved Reserved Reserved Command repetitions (CRET) Reserved Reserved Reserved Reserved … Reserved Reserved Reserved Reserved Reserved Length of write data (WDS) Length of read data (RDS) V02.00 | 2020/08...
  • Page 148: Meaning Of The Parameter Bits

    „ To end Continuous presence sensing mode and clear the FIFO memory of the interface send the Reset command (0x0800). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 149: Transferring The Read/Write Head Settings

    8.1.3 Transferring the read/write head settings The Backup function enables the settings of a UHF read/write head to be transferred, e.g. when swapping a device. „ Execute the Backup settings of the UHF read/write head command. The settings for the read/write head are saved in the interface. „...
  • Page 150: Rfid Channels - Process Input Data

    Tag counter (TCNT) Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Read data Byte 0 … … … Read data Byte 127 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 151 Process input data – UHF extended mode Byte no. PROFINET Modbus EtherNet/ Response code (RESCUHF) Loop counter for rapid processing (RCNT) Reserved TRE1 PNS1 CMON Length (LEN) Error code (ERRC) Tag counter (TCNT) Data (bytes) available (BYFI) Read fragment no. Write fragment no.
  • Page 152: Meaning Of The Status Bits

    In Idle mode the size of fragments is stated. With a write command the number of fragments containing data is stated. Read data User-defined read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 153: Tag In Detection Range (Tp) - Using Bit Or Pre-Loading The Command

    8.2.2 Tag in detection range (TP) – using bit or pre-loading the command The Tag in detection range bit is set automatically if a read/write head detects a tag. To set the bit in Idle mode, the read/write head must be set to Presence sensing mode via the DTM.
  • Page 154: Rfid Channels - Process Output Data

    Write data Byte 4 Write data Byte 5 Write data Byte 6 Write data Byte 7 … … … Write data Byte 127 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 155 Process output data – UHF extended mode Byte no. PROFINET Modbus EtherNet/ Command code (CMDCUHF) Loop counter for rapid processing (RCNT) Memory area (DOM) Start address (ADDR) Length (LEN) Length of EPC (SOUID) reserved Timeout (TOUT) Read fragment number (RFN) Write fragment number (WFN) Reserved Reserved...
  • Page 156: Meaning Of The Command Bits

    User-defined write data or entry of an EPC to select a specific tag for the com- mand execution (if the Length of EPC (SOUID) command parameter is greater than 0). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 157: Digital Channels - Process Input Data

    Digital channels – process input data Byte no. DXP7 DXP6 DXP5 DXP4 8.4.1 Meaning of the status bits Default values are shown in bold type. Designation Meaning DXP4 0: Digital channel 1 not active 1: Digital channel 1 active DXP5 0: Digital channel 2 not active 1: Digital channel 2 active DXP6...
  • Page 158: Rfid Channels - Overview Of The Commands

    Set permanent lock (Lock) 0x0105 Set permanent lock with fast 0x2105 8453 command processing Tag info 0x0050 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 159 Command Command code Possible for hex. dec. compact extended Tag info with fast command 0x2050 8272 processing Kill UHF tag 0x0200 Kill UHF tag with 0x2200 8704 fast command processing Restore UHF read/write head 0x1000 4096 settings Backup settings of the UHF read/write 0x1001 4097 head...
  • Page 160: Command: Idle

    Size of the fragments Read fragment no. Size of the fragments Read data, Bytes 0…n EPC of the tag in the detection range Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 161: Command: Inventory

    8.5.2 Command: Inventory The Inventory command causes the read/write head to search for tags in the detection range and read the EPC or RSSI of the tag if activated in the UHF read/write head. The inventory command can be executed in single-tag mode and in Multi-tag mode. NOTE The command code for fast processing with the loop counter is 0x2001 (hex.) or 8193 (dec.).
  • Page 162 EPC [12] Ò uint16_t Number of the antenna (LSB MSB) [2] Ò uint16_t Number of the read operations (LSB MSB) [2] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 163 Example: UHF read data (header and EPC, grouping with RSSI activated) Type Name Meaning uint8_t Size uint8_t Block type uint8_t Data [20] uint8_t EPC [12] uint16_t RSSI [2] Ò uint16_t Number of the antenna (LSB MSB) [2] Ò uint16_t Number of the read operations (LSB MSB) [2] Byte Content...
  • Page 164: Command: Read

    See description of the input data, [} 152] Write fragment no. Read fragment no. See description of the input data, [} 152] Read data, Bytes 0…n Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 165: Command: Write

    8.5.4 Command: Write The Write command causes the read/write head to write data to tags in the detection range. 128 bytes are transferred in a write operation by default. Larger data volumes can be trans- ferred in fragments. If a particular EPC is entered, the read/write head only writes the appropri- ate tags.
  • Page 166 See description of the input data, [} 152] Write fragment no. See description of the input data, [} 152] Read fragment no. Read data, Byte 0...127 Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 167: Command: Write And Verify

    8.5.5 Command: Write and verify The Write and verify command writes a number of bytes defined by the user. The written data is also sent back to the interface and verified. 128 bytes are transferred by default in a write operation.
  • Page 168 Write fragment no. See description of the input data, [} 152] Read fragment no. Read data, Not required Byte 0…MIN(127, set length-1) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 169: Command: Continuous Mode

    8.5.6 Command: Continuous mode In Continuous mode, a user-defined command is sent to the read/write head and saved in the read/write head. The commands write, read and inventory can be executed in Continuous mode. The parameters for Continuous mode must be set directly in the read/write head. The command is continuously executed until the user terminates Continuous mode.
  • Page 170 Write fragment no. Read fragment no. See description of the input data, [} 152] Read data See description of the input data, [} 152] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 171: Command: Get Data From Buffer (Continuous Mode)

    8.5.7 Command: Get data from buffer (Continuous mode) NOTE The command code for fast processing with the loop counter is 0x2011 (hex.) or 8209 (dec.). The Get data from buffer command (Continuous mode) passes on data stored in the interface to the controller.
  • Page 172 Phase (LSB MSB) Ò uint16_t Number of the antenna (LSB MSB) [2] Ò uint16_t Number of read operations (LSB MSB) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 173: Command: Uhf Continuous Presence Sensing Mode

    8.5.8 Command: UHF continuous presence sensing mode In Continuous presence sensing mode, a user-defined command (write, read, inventory) is sent to the UHF read/write head and saved in the read/write head. The read/write heads are auto- matically switched on in Continuous presence sensing mode as soon as a tag is located in the detection range.
  • Page 174: Command: End Continuous (Presence Sensing) Mode

    See description of the input data, [} 152] Write fragment no. Read fragment no. See description of the input data, [} 152] Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 175: Command: Read/Write Head Identification

    8.5.10 Command: Read/write head identification The Read/write head identification command scans the following parameters of the connec- ted read/write head: Ident No. Serial number Hardware version Firmware status The parameters are contained in the read/write head in the identification record. Request Loop counter See description of the output data, [} 156]...
  • Page 176: Direct Read/Write Head Command

    Write fragment no. Read fragment no. See description of the input data, [} 152] Read data Response to the direct command Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 177 Example: Direct command in UHF applications (scan read/write head version) Request Loop counter Command code 0x0060 Read/write head address Length of EPC Start address Length Command timeout Write fragment no. Read fragment no. Write data 0x02 (CMD), 0x00 (application) – see debus protocol Response Loop counter Response code...
  • Page 178: Command: Set Tag Password

    See description of the input data, [} 152] Write fragment no. Read fragment no. See description of the input data, [} 152] Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 179: Command: Set Read/Write Head Password

    8.5.13 Command: Set read/write head password The Set read/write head password command directly sets a password for write access, read access or a kill command in the tag. The password is stored temporarily in the memory of the read/write head. After the voltage of the read/write head is reset, the password must be set again in the read/write head.
  • Page 180: Command: Reset Read/Write Head Password

    See description of the input data, [} 152] Write fragment no. Read fragment no. See description of the input data, [} 152] Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 181: Command: Set Tag Protection

    8.5.15 Command: Set tag protection NOTE The command code for fast processing with the loop counter is 0x2103 (hex.) or 8451 (dec.). The Set tag protection command defines password protection for the tag with a direct com- mand. For this it has to be specified whether a write protection or a read protection should be set and the area of the tag to which the password applies.
  • Page 182 See description of the input data, [} 152] Write fragment no. Read fragment no. See description of the input data, [} 152] Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 183: Command: Tag Info

    8.5.16 Command: Tag info NOTE The command code for fast processing with the loop counter is 0x2050 (hex.) or 8272 (dec.). The Tag info command enables the following chip information of a tag to be scanned: Allocation class identifier Tag mask designer identifier Tag model number The data is queried from the GSI record of the tag.
  • Page 184 Impinj Monza 5 0xE2 0x001 0x130 – Impinj Monza R6 0xE2 0x001 0x160 – Impinj Monza R6-P 0xE2 0x001 0x170 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 185: Command: Permanently Deactivate Uhf Tags (Kill)

    8.5.17 Command: Permanently deactivate UHF tags (Kill) NOTE The command code for fast processing with the loop counter is 0x2200 (hex.) or 8704 (dec.). The Kill UHF tag command makes the tag memory unusable. After a kill command, the tag can neither be read nor written.
  • Page 186: Command: Restore Uhf Read/Write Head Settings

    See description of the input data, [} 152] Write fragment no. Read fragment no. See description of the input data, [} 152] Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 187: Command: Backup Settings Of The Uhf Read/Write Head

    8.5.19 Command: Backup settings of the UHF read/write head The Backup settings of the UHF read/write head command saves the current settings of the connected read/write head in the memory of the interface. The backup is retained also after a voltage reset.
  • Page 188: Command: Query Error/Status Of Uhf Read/Write Head

    See description of the output data, [} 156] Write fragment no. Read fragment no. See description of the output data, [} 156] Write data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 189 Response Loop counter See description of the input data, [} 152] Response code 0x042 (hex.), 66 (dec.) Length See description of the input data, [} 152] Error code See description of the input data, [} 152] Tag within the See description of the input data, [} 152] detection range Data (bytes) available See description of the input data, [} 152]...
  • Page 190 Trigger is a command 0x08 Reserved 0x10 DCU controlled read operation 0x20 Continuous mode 0x80 Automatic trigger (presence sensing mode) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 191 Evaluating read data – I/O status Value Meaning Output 4 Output 3 Output 2 Output 1 Input 4 Input 3 Input 2 Input 1 V02.00 | 2020/08...
  • Page 192: Command: Reset

    See description of the input data, [} 152] Write fragment no. Read fragment no. See description of the input data, [} 152] Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 193: Setting Devices Via The Web Server

    Setting devices via the web server The devices can be set and commands sent to the devices via the integrated web server. „ Open the web server and log in as user (see [} 48]) Write access to input data, output data and parameter data is possible after the login. Example: operating mode setting In the following example the operating mode is set to UHF Compact.
  • Page 194 The receipt of the command is confirmed automatically in the input data at Response code. Fig. 146: Web server – executing the Inventory command Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 195 The Inventory command is executed as soon as there is a tag in the detection range of the read/write head. Fig. 147: Web server – input data with successful Inventory command V02.00 | 2020/08...
  • Page 196 Setting devices via the web server The read data can be called at RFID read data ch0. Fig. 148: Web server – read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 197: Operation

    Operation Executing a command and calling data NOTE A command is successful when the response code is the same as the command code. „ Set the parameters for the command. „ Set command code. Set the command code. The command is successful when the response code is the same as the command code and no error message is present.
  • Page 198: Using Inventory Command And Continuous (Presence Sensing) Mode

    Terminate command: Terminate command: 1. Timeout 1. Timeout 1. Timeout 2. Automatically after 2. Separate command 2. Separate command command execution Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 199: Leds

    LEDs The device has the following LED indicators: Power supply Group and bus errors Status Diagnostics The APPL LED can be programmed in CODESYS according to the application. PWR LED Meaning No power supply Green Power supply error-free Yellow Undervoltage within tolerance range Undervoltage outside of tolerance range RFON LED Meaning...
  • Page 200 Ethernet connection established, 100 Mbit/s Green flashing Data transfer, 100 Mbit/s Lit yellow Ethernet connection established, 10 Mbit/s Yellow flashing Data transfer, 10 Mbit/s Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 201: Software Diagnostic Messages

    Software diagnostic messages 9.6.1 Diagnostic messages – gateway functions Meaning of the diagnostic bits Designation Meaning Force mode in the DTM active Internal error V1oPoE Undervoltage detected at power supply terminal V1 or power sourcing equipment (PSE) type 1 DIAG Module diagnostics present Byte no.
  • Page 202: Diagnostic Messages - Digital Channels

    Force mode in the DTM active Internal error V1oPoE Undervoltage detected at power supply terminal V1 or power sourcing equip- ment (PSE) type 1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 203: Reading Error Codes

    Reading error codes The error codes are part of the process input data. Error code (hex.) Error code (dec.) Meaning 0x8000 32768 Channel not active 0x8001 32769 Read/write head not connected 0x8002 32770 Memory full 0x8003 32771 Block size of the tag not supported 0x8004 32772 Length larger than the size of the read fragment...
  • Page 204 Error when switching the UHF tag on or off 0xD083 53379 Error when reading from a tag 0xD084 53380 Error when writing to a tag Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 205 Error code (hex.) Error code (dec.) Meaning 0xD085 53381 Software trigger error 0xD088 53384 Error when outputting a command according to EPC Class1 Gen2 0xD100 53504 Error with the Backup function 0xD101 53505 Error with the Backup function (required memory not available) 0xD102 53506 Error when restoring a backup...
  • Page 206: Troubleshooting

    If the malfunction persists, the device is faulty. In this case, decommission the device and replace it with a new device of the same type. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 207: 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 read/write head is reset. „ Right-click the device in the project tree.
  • Page 208 Select Reset the read/write head in the drop-down menu. The read/write head is reset. Fig. 151: DTM – Reset the 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 209 Calling error messages in the web server and rectifying them NOTE Contact Turck if the error persists after the read/write head is reset. „ Log in to the web server (see [} 49]). „ Click Diagnostics in the navigation bar on the left of the screen.
  • Page 210 Select the Reset command via the Command code drop-down menu: 0x8000 Reset The read/write head is reset. Fig. 153: Web server – resetting the 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 211: Maintenance

    The firmware of the device can be updated via FDT/DTM. The PACTware FDT frame application, the DTM for the device and the latest firmware can be downloaded free of charge from www.turck.com. NOTICE Interruption of the power supply during the firmware update Risk of device damage due to faulty firmware update „...
  • Page 212 Executing the firmware update via FDT/DTM „ Select BL Service Ethernet and confirm with OK. Fig. 155: Selecting the Ethernet interface Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 213 „ Double-click the connected device. PACTware opens the bus address management. Fig. 156: Opening Bus Address Management V02.00 | 2020/08...
  • Page 214 Select the required device. Fig. 157: Selecting the device „ Click Firmware Download to start the firmware update. Fig. 158: Starting the firmware update Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 215 „ Select BL Service Ethernet and confirm with OK. PACTware shows the progress of the firmware update with a green bar at the bottom of the screen. Fig. 159: Firmware update in progress V02.00 | 2020/08...
  • Page 216: Repair

    Disposal The devices must be disposed of correctly and must not be included in general household garbage. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 217: Technical Data

    Technical Data Technical Data Electrical data Operating voltage 18…30 VDC DC rated operational current ≤ 1000 mA Data transmission Electromagnetic AC field Wireless communication and protocol stand- ISO 18000-6C ards EN 302208 EPCglobal Gen 2 Antenna polarization Circular/linear, adjustable Antenna half power beam width 65°...
  • Page 218 Channel diagnostics Digital outputs No. of channels Connection technology of outputs M12, 5-pin Output type Type of output diagnostics Channel diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 219: Appendix: Flow Charts Showing The Operation Of The Device

    Appendix: Flow charts showing the operation of the device The flow charts explain the operation of the device as well as the processing of commands. 15.1 Flow chart: Command processing Start idle: out.commandCode := 0 out.loopCount := 0 in.responseCode <> 0 initiate command: out.commandCode := 0x0002 READ...
  • Page 220: Flow Chart: Rapid Command Processing With Loop Counter

    = 0x0000 in.errorCode = [0x0001…0xffff ] new command desired? Fig. 161: Flow chart for fast command processing with loop counter Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 221: Flow Chart: Command Processing With Fragmentation

    15.3 Flow chart: Command processing with fragmentation Start idle: out.loopCount := 0 out.commandCode := 0 out.writeFragmentNo := 0 out.readFragmentNo := 0 in.loopCount <> 0 in.responseCode <> 0 initiate command and send 1st fragment: out.loopCount = out.loopCount+1 out.commandCode := [0x0001…0x3FFF] out.length = length of writedata out.writeFragmentNo := 1 out.writeData := part 1 in.write FragmentNo <>...
  • Page 222: Flow Chart: Continuous Mode With Interruption Before Reading Data

    Command Code := 0x0011 Read-Fragment +1 Data bytes available = 0 Done Fig. 163: Flow chart for Continuous mode with interruption before reading data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 223: Flow Chart: Continuous Mode Without Interruption Before Reading Data

    15.5 Flow chart: Continuous mode without interruption before reading data Idle: Command Code = 0 Response Code = 0 Set output parameter: - „Start address“ := 1 (Grouping EPCs for UHF) Set command: Command Code := 0x0010 ERROR= TRUE Response Code = Command Code Error Code Set parameter: „Length“...
  • Page 224: Eu Declaration Of Conformity

    TN-UHF-Q…L…-EU… comply with directive 2014/53/EU. The complete text of the EU declara- tion of conformity can be obtained from the following Internet address: www.turck.com Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
  • Page 225 Over 30 subsidiaries and over 60 representations worldwide! 100003065 | 2020/08 100003065 www.turck.com...

Table of Contents