Connecting digital sensors and actuators.............. 26 Commissioning .......................... 27 Setting the IP address.................... 27 7.1.1 Setting the IP address via switches at the device............... 27 7.1.2 Setting the IP address via the Turck Service Tool............... 29 7.1.3 Setting the IP address via the web server ................ 32 V02.00 | 2020/08...
Page 4
Command: Write and verify .................... 115 8.8.6 Command: Continuous mode.................... 117 8.8.7 Command: Get data from buffer command (Continuous mode/Continuous presence sensing mode) ...................... 119 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 5
8.8.8 Command: Continuous presence sensing mode (UHF) .......... 122 8.8.9 Command: End Continuous (presence sensing) mode .......... 123 8.8.10 Command: Read/write head identification ............... 124 8.8.11 Command: Switch off HF read/write head ................ 125 8.8.12 Command: HF read/write head tuning................ 126 8.8.13 Command: Query HF read/write head address ...............
Page 6
Flow chart: Continuous mode with interruption before reading data .... 239 15.5 Flow chart: Continuous mode without interruption before reading data.. 240 16 Appendix: EU Declaration of Conformity .................. 241 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 EU Declaration of Conformity Approvals...
For further inquiries in Germany contact the Sales and Service Team on: Sales: +49 208 4952-380 Technology: +49 208 4952-390 Outside Germany, please contact your local Turck representative. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
These devices are designed solely for use in industrial areas. The TBEN-L…-4RFID-8DXP block module is an RFID interface for use in the Turck BL ident sys- tem. The device is connected between the controller and the read/write heads and transmits commands from the controller to the read/write heads.
The device is provided with the following operating elements: Rotary coding switch for setting the IP address Reset button for resetting to the default values Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Properties and features Glass fiber reinforced housing Shock and vibration tested Fully encapsulated module electronics Degree of protection IP65/IP67/IP69K Multiprotocol: EtherNet/IP device, Modbus TCP slave or PROFINET device PROFINET S2 system redundancy Up to 128 bytes of user data per read/write cycle per channel as well as use of fragments for larger data volumes Data interface for convenient use of the RFID functions 4 or 5-pin 7/8”...
4.4.2 Data transfer to the PLC In every write or read cycle, up to 128 bytes can be transferred on each channel. The data must be fragmented in order to transfer more than 128 bytes. The amount of data transferred per read or write cycle can be set as follows for different Ethernet protocols: PROFINET EtherNet/IP...
Different data is stored in the internal memory of the interface. The memory operates as a FIFO memory. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 15
A tool is provided at www.turck.com/hf-busmodus for calculating the power. Every connected read/write head supplies a “Tag present” signal in HF bus mode. HF bus mode is suitable for static applications and very slow dynamic applications because a command can only be processed by one read/write head at a time.
Restore settings of the UHF read/write head Backup settings of the UHF read/write head Query error/status of UHF read/write head Reset Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
4.4.7 Turck Field Logic Controller (FLC) The device supports logic processing with the Turck Field Logic Controller (FLC) function. This enables the device to perform small to medium complexity control tasks in order to relieve the processing load on the central controller. The FLCs can be programmed in the ARGEE engineer- ing environment.
To avoid material abrasion and color changes: Protect the device from direct sunlight, e.g. by using protective shields. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Grounding the device 5.2.1 Equivalent wiring diagram and shielding concept 4 x 15 nF 1 nF 1 nF 2,2 MΩ 2,2 MΩ Fig. 4: Equivalent circuit and shielding concept 5.2.2 Shielding of the fieldbus and I/O level The fieldbus and the I/O level of the modules can be grounded separately. Fig. 5: Grounding clip (1), grounding ring (2) and metal screw (3) The grounding ring (2) is the module grounding.
Use a flat screwdriver to slide the grounding clamp forward and remove it. Fig. 7: Use a flat slotted screwdriver to push the grounding clip forwards and remove it. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 21
Mounting the grounding clip: grounding the fieldbus level directly Place the grounding clamp between the fieldbus connectors by using a screwdriver in such way that the clamp contacts the metal housing of the connectors. The shielding of the fieldbus cables is connected to the grounding clip. Fig. 8: Mounting the grounding clip Grounding the device –...
Do not use crossover cables in QuickConnect and Fast StartUp applications. Connect incoming Ethernet cables to P1. Connect outgoing Ethernet cables to P2. 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 For the connection to the power supply, the device has two 5-pin 7/8" connectors. The power supply connectors are designed as 4-pole (TBEN-L4) or 5-pole (TBEN-L5) 7/8" connectors. V1 and V2 are galvanically isolated. The maximum tightening torque is 0.8 Nm. Fig. 11: TBEN-L4...
6.3.1 Connecting read/write heads for the HF bus mode In HF bus mode up to 32 bus-capable read/write heads per RFID channel can be connected to the device. The user must determine by means of a power consumption analysis whether an additional power supply is required for the connected read/write heads (see information in the data sheet).
Commissioning The device is operational automatically once the cables are connected and the power supply is switched on. Connected HF read/write heads are switched on automatically. Connected UHF read/write heads are switched off automatically and are activated automatically when a command is executed (apart from Idle mode).
Page 28
The following values are reset or deleted: IP address and subnet mask Parameters Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Setting the IP address via the Turck Service Tool The device is factory set to IP address 192.168.1.254 and does not have a PROFINET device name. 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 30
Fig. 27: Turck Service Tool – selecting the device to be addressed 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 31
Change the IP address and if necessary the network mask and gateway. Accept the changes by clicking Set in device. Fig. 28: Turck Service Tool – changing the device configuration V02.00 | 2020/08...
Write the new IP address, subnet mask and default gateway via Submit to the device. Fig. 29: Setting the IP address via the web server Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Connecting the device to a Modbus master Prerequisites The programming software has been started. A new project has been created. The PLC has been added to the project. 7.2.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...
Page 34
Click Add device. The Ethernet adapter appears as Ethernet (Ethernet) in the project tree. Fig. 31: 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 35
Adding a Modbus master Right-click Ethernet (Ethernet) in the project tree. Select Add device. Double-click the Modbus TCP Master. The Modbus master appears as Modbus_TCP_Master (Modbus TCP Master) in the pro- ject tree. Fig. 32: Adding a Modbus master V02.00 | 2020/08...
Page 36
Double-click Modbus TCP Slave. The Modbus slave appears as Modbus_TCP_Slave in the project tree. Fig. 33: 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...
7.2.2 Renaming a Modbus slave Click the Modbus slave in the project tree. Press [F2]. Adapt the name of the slave in the project tree of the application. Fig. 34: Assigning a device name (here: TBEN_L5_4RFID_8DXP) V02.00 | 2020/08...
Open the Network Adapter dialog in the General tab via the … button. Enter the IP address of the Modbus master. Fig. 36: Modbus master – entering the IP address (here: 192.168.1.26) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.4 Modbus TCP slave – setting the IP address Double-click the Modbus TCP slave. In the General tab enter the IP address of the slave. Fig. 37: Modbus slave – entering the IP address (here: 192.168.1.61) 7.2.5 Defining Modbus channels (registers) Defining channel 0 (input data) ...
Page 40
Click the Modbus TCPSlave I/O Mapping tab. Enter the address in the corresponding table column. Fig. 40: Changing channel addresses Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.6 Connecting the device online with the controller Select device. Ò Click Online Login. 7.2.7 Reading out process data The process data can be interpreted via the mapping if the device is connected online with the controller. Double-click the Modbus TCP Slave.
0xB045 head 17 … … … … … … HF bus mode: Activate read/write 0xB00F 0xB021 0xB033 0xB044 head 32 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 43
RFID channels – process input data Description Register Bit offset Bit length Channel 0 Channel 1 Channel 2 Channel 3 Response code 0x0000 0x004C 0x0098 0x00E4 Tag within the detection range 0x0002 0x004E 0x009A 0x00E6 HF read/write head switched on 0x0002 0x004E 0x009A...
Page 44
… … … … Write data Byte 126 0x084B 0x0897 0x08E3 0x092F Write data Byte 127 0x084B 0x0897 0x08E3 0x092F Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 45
RFID diagnostic data Description Register Bit offset Bit length Channel 0 Channel 1 Channel 2 Channel 3 Overvoltage at power supply 0x0130 0x0142 0x0154 0x0166 terminal VAUX Parameter error 0x0130 0x0142 0x0154 0x0166 Configuration via the DTM active 0x0130 0x0142 0x0154 0x0166 Memory full...
Page 46
Output value channel 12 0x0930 Output value channel 13 0x0930 Output value channel 14 0x0930 Output value channel 15 0x0930 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 47
Digital channels – diagnostic messages Description Register Bit offset Bit length Overvoltage at power supply 0x0179 terminal VAUX 8/9 Overvoltage at power supply 0x0179 terminal VAUX 10/11 Overvoltage at power supply 0x0179 terminal VAUX 12/13 Overvoltage at power supply 0x0179 terminal VAUX 14/15 Overvoltage at output 0x017A...
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...
7.3.1 Installing an EDS file The EDS file is available free of charge for download from www.turck.com. Ò Include an EDS file: Click Tools EDS Hardware Installation Tool. Fig. 42: Opening the EDS Hardware Installation Tool V02.00 | 2020/08...
Page 50
The wizard for the installation of EDS files is started. Click Next to select the EDS file. Fig. 43: Starting the EDS Wizard Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 51
Select the Register an EDS file(s) option and confirm with Next. Fig. 44: Option selection – registering an EDS file(s) V02.00 | 2020/08...
Page 52
Enter a path for the memory location of the EDS file. Confirm with Next. The Installation wizard guides you through the installation. Fig. 45: Selecting an EDS file Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.2 Connecting the device with the controller Ò Right-click I/O Configuration Ethernet. Click New Module. Fig. 46: Adding a new module V02.00 | 2020/08...
Page 54
Select Turck under Module Type Vendor Filters. Select the TBEN-RFID module. Confirm the selection with Create. Fig. 47: Selecting an EDS file for TBEN-L…-4RFID-8DXP Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 55
Assign a module name. Enter the IP address of the device. Fig. 48: Setting the module name and IP address V02.00 | 2020/08...
Page 56
INT. Fig. 49: Selecting an integer as a format for the input data and output data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 57
Select an EDS assembly. Fig. 50: Selecting an EDS assembly Selection options: Name Assembly Size Data per channel Note Standard In: 103 max. 128 bytes adjustable; only supported generic- Out: 104 ally Compact In: 120 16 bytes Out: 150 Mid-size In: 121 56 bytes Out: 151...
Page 58
Connecting a device to an EtherNet/IP controller Optional: Set the connection and port configuration. Fig. 51: Setting the connection Fig. 52: Setting the port configuration Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 59
The device appears in the project tree. Fig. 53: TBEN-L…-4RFID-8DXP in the project tree V02.00 | 2020/08...
Connecting the device online with the controller Select the controller. Click Go online. Fig. 54: Connecting the device online Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 61
In the following window (Connect To Go Online) click Download. Fig. 55: Click Download Confirm all the following messages. V02.00 | 2020/08...
Parameter data (tben_4rfid:C), input data (tben_4rfid:I1) and output data (tben_4rfid:O1) can be accessed. Fig. 57: Access to parameter data, input data and output data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 63
Example: Process input data – Tag in detection range of read/write head In the following example a tag is located in the detection range of the read/write head. The process data can be interpreted by means of the mapping. Refer to the web server or the associated L5K file for the mapping of the used device.
Page 64
Commissioning Connecting a device to an EtherNet/IP controller Fig. 59: L5K file: Process input data – example Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.5 Activating QuickConnect (QC) The devices support QuickConnect. QuickConnect enables the controller to establish connec- tions to EtherNet/IP nodes in less than 500 ms after the EtherNet/IP™ network is switched on. This requires the fast startup of the devices, particularly with fast tool changers on robot arms, e.g.
Page 66
Out 152 no longer be used due to the limited data size with EtherNet/IP. The configuration assembly is always 106. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 67
Activating QuickConnect via the class instance attribute Activate QuickConnect via the class instance attribute as follows: Class Instance Attribute Value 0xF5 0x01 0x0C 0: Deactivated (default) 1: Activated Activating QuickConnect via the web server Activate the Activate Quick Connect check box in the web server. Fig. 61: Activating QuickConnect in the web server V02.00 | 2020/08...
The GSDML file is available free of charge for download from www.turck.com. Ò Include the GSDML file: Click Options Manage general station description files (GSD). Fig. 62: Include the GSDML file Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 69
Install a GSDML file: Enter the memory location of the GSDML file and click Install. The device is included in the hardware catalog of the programming software. Fig. 63: Installing a GSDML file V02.00 | 2020/08...
Select the RFID interface from the hardware catalog and drag it to the hardware window. Connect the device with the controller in the hardware window. Fig. 64: Connecting the device with the controller Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Ò Choose Device View Properties tab Ethernet addresses. Assign the required IP address. Fig. 66: Assigning the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.4.5 Connecting the device online with the controller Start online mode (connect online). The device was successfully linked to the controller. Fig. 67: Online mode V02.00 | 2020/08...
Select the module to be set. Ò Ò Click Properties General Module parameters. Set the station parameters. Fig. 68: Setting module parameters Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Setting The device can be controlled, read and set via parameter data, process input data, process output data and diagnostic data. The following table shows the data mapping: Socket Channel Parameter data Process input data Process output data Diagnostic data Bytes Meaning Bytes...
Page 76
8DXP 754…757 DXP error Diag messages VAUX 148…155 VAUX 610…611 VAUX control settings output data Module 758…759 Module status status Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
RFID channels – parameter data Byte no. Operating mode (Mode) Select tag type (TAGTYPE) Bridging time (BYPASS) TERM ANTI HFIDLEMODE Reserved Command repetitions (CRET) HF: Command in Continuous mode (CCM) HF: Length in Continuous mode (LCM) HF: Address in Continuous mode (ACM) Reserved …...
0: Multitag mode off 1: Multitag mode on Diagnostic input filter (DID) 0: All diagnostic messages on 1: Diagnostic messages off Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 79
Designation Meaning Deactivate diagnostic HF read/ 0: Diagnostic messages of the read/write head on write head tuning (DXD) 1: Diagnostic messages of the read/write head off HF: Idle mode (HFIDLEMODE) Defines which data is to be displayed in idle mode (not available in the EDS file) 0: UID 1: 8 bytes of user data memory 2: UID and 8 bytes of user memory...
TP status bit of process input data indicate whether the tag is in the sensing range or not. Enter the required bridging time. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Addressing read/write heads automatically NOTE Turck recommends making the bus address of the read/write head visible on the device. The label on the cable can be used to mark the address on the read/write head. The appropriate labels can be ordered via Ident-No. 6936206.
Page 84
RFID cable e.g. RK4.5T-…-RS4.5T/S2500 Ethernet cable e.g. RSSD-RJ45… Fig. 70: Connecting the read/write head via the RFID interface with a PC Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 85
The appropriate labels can be ordered via Ident-No. 6936206. The following accessories are required to address the read/write heads in HF bus mode via the Turck Service Tool. Accessories are not supplied with the device and must be ordered separ- ately.
Page 86
Click Read. The found read/write head is displayed in the status message. Fig. 73: Window – HF RFID Reader Setup Tool Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 87
Enter the required address. Click Change. The new set address is displayed in the status message. Fig. 74: Changing the read/write head Activate the required read/write heads in the parameter data via the appropriate XCVR bit. V02.00 | 2020/08...
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...
8.1.6 UHF applications – transferring 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. ...
Read data Byte 4 Read data Byte 5 Read data Byte 6 Read data Byte 7 … … … 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 91
Process input data – HF extended and UHF extended modes Byte no. PROFINET Modbus EtherNet/ Response code (RESC) Loop counter for rapid processing (RCNT) Reserved TNCx TREx PNSx CMON Length (LEN) Error code (ERRC) Tag counter (TCNT) Data (bytes) available (BYFI) Read fragment no.
Page 92
Read data Byte 4 Read data Byte 5 Read data Byte 6 Read data Byte 7 … … 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...
8.2.1 Meaning of the status bits Default values are shown in bold type. Designation Meaning Response code (RESC) Display of the last command executed Loop counter for rapid Output of the command code requested by the loop counter processing (RCNT) Expected read/write head not 0: Read/write head expected by system connected connected with address x (TNCx)
Page 94
Tag in detection range of the connected read/write head (only available in HF bus mode) 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...
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. In HF applications the bit is set by default in all operating modes and in Idle mode. To set the bit in Idle mode in UHF applications, the read/write head must be set to Presence sensing mode via the DTM.
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 97
Writing process output data – HF extended and UHF extended modes Byte no. PROFINET Modbus EtherNet/ Command code (CMDC) Loop counter for rapid processing (RCNT) Memory area (DOM) – only available with UHF applications Start address (ADDR) Length (LEN) Length UID/EPC (SOUID) Reserved Timeout (TOUT) Read fragment number (RFN)
Page 98
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...
8.3.1 Meaning of the command bits Description Meaning Command code (CMDC) Enter the command code Loop counter for rapid pro- Loop counter for repeated processing of a command cessing (LCNT) 0: Loop counter off Memory area (DOM) – only use- 0: Kill password ful for UHF applications (with HF 1: EPC...
Page 100
User-defined write data or entry of a UID or EPC to select a specific tag for the command execution (if the Length of UID/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...
Digital channels – setting parameter data Byte no. reserved SRO15 SRO14 SRO13 SRO12 SRO11 SRO10 SRO9 SRO8 reserved OE15 OE14 OE13 OE12 OE11 OE10 8.4.1 Meaning of the parameter bits Default values are shown in bold type. Designation Meaning Manual reset of the output after 0: The output automatically switches back on after an overcurrent.
0: Digital channel 7 not active 1: Digital channel 7 active DXP15 0: Digital channel 8 not active 1: Digital channel 8 active Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Digital channels – process output data Byte no. Reserved DXP15 DXP14 DXP13 DXP12 DXP11 DXP10 DXP9 DXP8 8.6.1 Meaning of the command bits Default values are shown in bold type. Designation Meaning DXP8 0: Switch off digital channel 1 1: Switch on digital channel 1 DXP9 0: Switch off digital channel 2 1: Switch on digital channel 2...
2: VAUX2 24 VDC power supply at Pin 1 of channel 14 and channel 15 switchable via the process data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.7.2 VAUX switchable power supply – output data Byte no. Ch8Ch9 Ch10Ch11 Ch12Ch13 Ch14Ch15 reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved reserved Meaning of the command bits Default values are shown in bold type. Designation Meaning Ch8Ch9 0: VAUX2 24 VDC power supply at Pin 1 of channel 8 and channel 9 off 1: VAUX2 24 VDC power supply at Pin 1 of channel 8 and channel 9 on...
0x2102 8450 command processing Set read/write head password 0x0100 256 Reset read/write head password 0x0101 257 Set tag protection 0x0103 259 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 107
Command Command code Possible for hex. dec. compact extended bus mode compact extended Set tag protection with 0x2103 8451 fast command processing Query HF tag 0x0104 260 protection status Set permanent lock (Lock) 0x0105 261 Set permanent lock with fast 0x2105 8453 command processing Tag info...
Size of the fragments Read fragment no. Size of the fragments Read data, Bytes 0…n UID/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...
8.8.2 Command: Inventory The Inventory command causes the read/write head to search for tags in the detection range and read the UID, EPC of the tags, or if activated in the UHF read/write head, the RSSI. The In- ventory command can be executed in single-tag mode and in multitag mode. NEXT mode is only possible in single-tag mode.
Page 110
RSSI value. Refer to the following table for an example of the RSSI value: MSB…LSB MSB…LSB Two’s complement RSSI (dBm) (decimal) (binary) 252 253 11111100 11111101 -771 -77.1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 111
Example: UHF read data (header and EPC, grouping deactivated) Type Name Meaning uint8_t Size uint8_t Block type uint8_t Data [14] uint8_t EPC [12] Example: UHF read data (header and EPC, grouping activated) Type Name Meaning uint8_t Size uint8_t Block type uint8_t Data [14] uint8_t EPC [12]...
See description of the input data, [} 93] Write fragment no. Read fragment no. See description of the input data, [} 93] 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...
8.8.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 transferred in fragments. If a particular UID or EPC is entered, the read/write head only reads the appropriate tags.
Page 114
See description of the input data, [} 93] Write fragment no. See description of the input data, [} 93] 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...
8.8.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 op- eration.
Page 116
Write fragment no. See description of the input data, [} 93] 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...
8.8.6 Command: Continuous mode NOTE Continuous mode is only available in HF applications for single-tag applications. The repeated reading of the same tag is edge-triggered. In Continuous mode, a user-defined command is sent to the read/write head and saved in the read/write head.
Page 118
Write fragment no. Read fragment no. See description of the input data, [} 93] Read data See description of the input data, [} 93] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.7 Command: Get data from buffer command (Continuous mode/Continuous presence sensing 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 120
MSB) Ò uint32_t Time (LSB MSB) Ò uint16_t Phase (LSB MSB) uint16_t Number of the 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 121
Data format in HF applications In HF applications the data is not formatted by means of a header. Some examples of HF data are listed below. Example: UID, grouping deactivated Type Name Meaning uint8_t Data [8] uint8_t UID [8] Example: UID, grouping activated Type Name Meaning...
Write fragment no. Read fragment no. See description of the input data, [} 93] Read data See description of the input data, [} 93] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.9 Command: End Continuous (presence sensing) mode Continuous and presence sensing mode can be stopped via the Shut down Continuous (pres- ence sensing) mode command. The data in the buffer of the interface is not deleted after the command is executed and can still be called up by the controller via the Get data from buffer command.
Read data, Byte 38...41 Firmware status: ARRAY [0…] of BYTE: V (0x56), x, y, z (Vx.y.z) Read data, Byte 42...119 Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.11 Command: Switch off HF read/write head The Switch off HF read/write head command enables HF read/write heads to be switched off until a Write or Read command is present. The switching on and off of the read/write heads may be necessary if the devices are mounted very closely together and the detection ranges overlap.
See description of the input data, [} 93] Read data, Byte 0 Tuning value: TNLR-…: 0x00…0x0F TNSLR-…: 0x00…0x1F Read data, Byte 1 Received voltage value (0x00…0xFF) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.13 Command: Query HF read/write head address NOTE The command is only available in HF bus mode. The interface can query the addresses of all connected HF read/write heads via the Query HF read/write head address command. If a non-bus-compatible read/write head is connected, the device outputs an error message.
See description of the input data, [} 93] Write fragment no. Read fragment no. See description of the input data, [} 93] 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...
The commands are defined and interpreted by the entries in the write and data. NOTE The read/write head protocol is not part of this documentation and must be reques- ted from Turck and specially released. Send any inquiries about the read/write head protocol to Turck. Request Loop counter See description of the output data, [} 99]...
Page 130
Byte 8 – Software version x.y, y (0x77) The entire software version information consists of Byte 7 and Byte 8 (A1v77). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 131
Example: Direct command in UHF applications (scan read/write head version) Request Loop counter Command code 0x0060 Read/write head address Length UID/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 132
Length UID/EPC Start address Length Command timeout Write fragment no. Read fragment no. Write data 0x09 8A 3C 03 01 1E Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 133
The following table provides assistance in converting the power values from dBm to mW. 1.25 1000 V02.00 | 2020/08...
See description of the output data, [} 99] Write data, Byte 0...3 Password: ARRAY [0…3] OF BYTE Write data, Byte 4...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 135
Response Loop counter See description of the input data, [} 93] Response code 0x0102 (hex.), 258 (dec.) Length Not required Error code See description of the input data, [} 93] Tag within the See description of the input data, [} 93] detection range Data (bytes) available See description of the input data, [} 93] Tag counter...
See description of the input data, [} 93] Write fragment no. Read fragment no. See description of the input data, [} 93] 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...
8.8.18 Command: Reset read/write head password NOTE The command is only available for applications with UHF tags and the HF tags TW-R…-M-B146. The Reset read/write head password command directly resets a password for write access, read access or a Kill command in the read/write head. The password function is switched off, there is no password exchange between the read/write head and the tag.
See description of the output data, [} 99] Write fragment no. Read fragment no. See description of the output data, [} 99] 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 141
Response Loop counter See description of the input data, [} 93] Response code 0x0104 (hex.), 260 (dec.) Length Not required Error code See description of the input data, [} 93] Tag within the See description of the input data, [} 93] detection range Data (bytes) available See description of the input data, [} 93] Tag counter...
See description of the output data, [} 99] Write fragment no. Read fragment no. See description of the output data, [} 99] 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 143
Response Loop counter See description of the input data, [} 93] Response code 0x0105 (hex.), 261 (dec.) Length Not required Error code See description of the input data, [} 93] Tag within the See description of the input data, [} 93] detection range Data (bytes) available See description of the input data, [} 93] Tag counter...
Read data, Byte 10 Memory size: Block number (0x00…0xFF) Read data, Byte 11 Memory size: Byte/block (0x00…0x1F) Read data, Byte 12 IC reference Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 145
Response (UHF) Loop counter See description of the input data, [} 93] Response code 0x0050 (hex.), 80 (dec.) Length See description of the input data, [} 93] Error code See description of the input data, [} 93] Tag within the detection range See description of the input data, [} 93] Data (bytes) available See description of the input data, [} 93] Tag counter...
See description of the input data, [} 93] Write fragment no. Read fragment no. See description of the input data, [} 93] 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...
8.8.24 Command: Restore UHF read/write head settings NOTE The command is only available for UHF applications. The Restore settings UHF read/write head command restores the parameters of a connected UHF read/write head from a backup (e.g. after a device swap). Type and firmware version must be identical for both read/write heads.
See description of the input data, [} 93] Write fragment no. Read fragment no. See description of the input data, [} 93] 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...
8.8.26 Command: Query error/status of UHF read/write head NOTE The command is only available for UHF applications. The Query error/status of UHF read/write head command enables error/status messages of a connected UHF read/write head to be read. Request Loop counter See description of the output data, [} 99] Command code 0x042 (hex.), 66 (dec.)
Page 150
(data format: 16 bit, two’s complement) Channel: Number of the currently used channel (offset from the next available channel) Read data, byte (Length)...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 151
Evaluating read data – General status Meaning Read/write head was reset (after reset) Read/write head configuration damaged, default settings are used. Test mode active Tag present Evaluating read data – RF status Meaning Limit value for radiated power exceeded No free channel present Antenna resistance too high or too low Reverse power too high PLL not locked...
Page 152
Evaluating read data – I/O status Value Meaning Output 4 Output 3 Output 2 Output 1 Input 4 Input 3 Input 2 Input 1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.27 Command: Reset The Reset command resets the read/write head and interface. The input, output data and the buffer are cleared. Request Loop counter See description of the output data, [} 99] Command code 0x8000 (hex.), 32768 (dec.) Read/write head address See description of the output data, [} 99] Length UID/EPC Not required...
The start page shows status information and network settings. Fig. 75: Example: Web server – start page Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
A login is required in order to edit settings via the web server. The default password is “pass- word”. 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 156
After the login, write access to input, output and parameter data is possible. Fig. 77: Web server – start page after the login Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 157
Example: Setting the operating mode for channel 0 The operating mode of channel 0 is set to HF compact in the following example. Click RFID control/status 0 in the navigation bar on the left of the screen. Select Parameters. Fig. 78: Setting parameters in the web server V02.00 | 2020/08...
Page 158
Select the operating mode via the Operating mode drop-down menu. Fig. 79: Drop-down menu – Operation mode Save the settings: Click Submit. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 159
Example: Executing a Read command In the following example 8 bytes of a tag are read by a read/write head connected to channel 0 of the interface. Click RFID control/status 0 in the navigation bar on the left of the screen. ...
Page 160
Call the input data: Click Inputs in the navigation bar on the left of the screen. Fig. 81: Input data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 161
Refresh the page manually to display the latest status. The Read command is executed as soon as there is a tag in the detection range of the read/ write head. Fig. 82: Input data with successfully executed Read command V02.00 | 2020/08...
Page 162
Setting RFID interfaces via the web server Ò The read data can be called at RFID Read Data Inputs. Fig. 83: Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 163
Example: Executing a command in bus mode In the following example, the read/write head with address 2 is required in HF bus mode to read eight bytes of a tag. Three read/write heads are connected to channel 0 of the interface. ...
Page 164
Enter the read/write head address in the read/write head address parameter. Fig. 85: Reading tags in HF bus mode – process output data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.10 Testing and parameterizing RFID interfaces via the DTM The device can be tested and assigned parameters with the DTM (Device Type Manager) via PACTware. The different functions of the DTM are displayed by right-clicking the device in the project tree. You can start the following functions: Parameters: Adapt parameters to the actual application Measured values: Display of the data read by the RFID interface...
Page 166
Right-click the Ethernet adapter in the project tree. Click Add device. Select TBEN-L5-4RFID-8DXP. Confirm selection with OK. Fig. 87: Selecting TBEN-L…-4RFID-8DXP Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 167
Enter the IP address of the device (example: 192.168.1.254) Optional: Enter designation and device description. Confirm entries with OK. Fig. 88: Entering the IP address ü The project tree is fully open. Right-click the device in the project tree. ...
Click the operating mode in the Online parameterization window. Select the required operating mode from the drop-down menu. Fig. 91: Example – selecting the operating mode Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.10.3 Reading process input data with the DTM – measured value The measured value function of the DTM enables the reading of the process input data. Right-click the device in the project tree. Click Measured value. Select in the middle window the required channel. The process output data is displayed in the window on the right-hand side (example: the device is in Idle mode).
The process output data is displayed in the window on the right-hand side (example: the device is in Idle mode). Fig. 93: Simulation function of the DTM Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.10.5 Evaluating diagnostics with the DTM The diagnostics function of the DTM enables the diagnostics of all channels to be called. Right-click the device in the project tree. Click Diagnostics. Select in the middle window the required channel. The process output data is displayed in the window on the right-hand side (example: No diagnostics presents).
Select the command code from the drop-down menu (example: 0x0002 read). Fig. 95: Executing a read command – window: Simulation Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 173
The read data is displayed in the Measured value window. The data format is hexadecimal. Fig. 96: Executing a read command – window: Measured value V02.00 | 2020/08...
A comprehensive description of the settings for UHF read/write heads is provided in the oper- ating instructions for the specific device. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Operation NOTE The read and write data stored in the module is reset after a power reset. Executing a command and calling data 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 176
≤ 20 % Inventory (100 tags, read/ 4 ms 5500 ms ≤ 20 % write head in report mode, dynamic application) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Using fragmentation If more data is read than the set size of the data interface, the fragment counter is automatically incremented in the input data. To read more data, increase the fragment counter in the output data. Repeat process until the read or write fragment no. in the input data equals 0. If less data is read than the set size of the data interface, the fragment counter stays at 0.
Page 178
The Read command is executed as soon as there is a tag in the detection range of the read/write head. Fig. 98: Fragmentation – setting the Read command Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 179
Ò Call the input data via RFID control/status 0 Inputs. The following information is displayed in the input data: Response code: Read command successfully executed Data (bytes) available: Number of bytes that are still stored on the TBEN module and are not yet displayed in the read data Read fragment No.: Consecutive number of the next fragment to be read Fig. 99: Fragmentation –...
Page 180
Enter at Read fragment No. the consecutive number of the next fragment to be read (here: 1). Send the Read command: Click Submit. Fig. 100: Fragmentation – read second fragment Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 181
Ò Call the input data via RFID control/status 0 Inputs. The following information is displayed in the input data: Response code: Read command successfully executed Data (bytes) available: Number of bytes that are still stored on the TBEN module and are not yet displayed in the read data Read fragment No.: Consecutive number of the next fragment to be read Fig. 101: Fragmentation –...
Page 182
If no more data is present on the TBEN module, Read fragment No. will show the value 0. Fig. 102: Fragmentation – no more data present on the TBEN module Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.2.2 Example: Using fragmentation in the web server – write The following example describes the writing of 500 bytes in fragments of 128 bytes each. Open the web server of the device. Log into the device as administrator. Ò...
Page 184
If a tag is present in the detection range of the read/write head, the data is written directly and not stored on the TBEN module. Fig. 104: Fragmentation – executing a Write command Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 185
Ò Call the input data via RFID control/status Inputs. The following information is displayed in the input data: Response code: 0x8004 Busy – Write (write command active) Data (bytes) available: Number of bytes that are still stored on the TBEN module and were not yet written to the tag Write fragment No.: Consecutive number of the next fragment to be read Fig. 105: Fragmentation –...
Page 186
Fig. 106: Fragmentation – write second fragment Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 187
Repeat the operation until all data is present on the TBEN module. If the data was successfully written to the tag, the Response code changes to 0x0004 Write. Fig. 107: Fragmentation – no more data present on the TBEN module V02.00 | 2020/08...
The RFID data is stored in the buffer of the interface. Setting a new command: Set the new command code and set the loop counter to 0. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
HF applications – using Continuous mode In Continuous mode (HF) the read/write head can read or write up to 64 bytes (see the table for user data areas of the HF tags). The following parameters must be set in Continuous mode: Tag type Command in Continuous mode Length in Continuous mode...
UID [8] uint8_t Reserved uint8_t Address Read/write head address uint16_t Number of read operations (only if grouping is activ- ated) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 191
Execute Idle command (0x0000). The Idle command does not end Continuous mode. To pass on data from the FIFO memory of the interface to the controller, execute the Get data from buffer (0x0011) command. The address of the read/write head used is also transferred in addition to the read data.
Inventory 15 ms Read 25 ms Write 35 ms The default bypass time in HF bus mode is 48 ms. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 193
The following table shows when commands (CMD) are executed and data is exchanged (DATA). CMD: Command is executed. DATA: Data exchange DATA or CMD: If data is stored on the read/write head, the data is sent to the TBEN module. If no data is stored on the read/write head, the command is executed.
No data loss. The Get data from buffer command trans- fers the data to the controller. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Using NEXT mode NEXT mode can only be used in HF single-tag applications. An HF tag is always only read, written or protected if the UID is different to the UID of the last read or written tag. 9.8.1 Example: Using NEXT mode for a Read command ü...
If an incorrect access password is used for write accesses, the appropriate area cannot be written. The device outputs an error message. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 197
9.10 Use CODESYS function blocks Two function blocks are provided for the simple integration in (existing) CODESYS programs: FB_Compact FB_Extended Function block Operating mode FB_Compact HF compact UHF compact FB_Extended HF extended UHF extended The function blocks are part of the CODESYS package. FB_Compact FB_Extended BOOL...
(ARRAY[..] OF BYTE) pDataTx POINTER TO BYTE Write data (ARRAY[..] OF BYTE) pDataRx POINTER TO BYTE Read data (ARRAY [..] OF BYTE) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 199
Function blocks – output variables Name Data type Meaning xDone BOOL 1: Command successfully executed 0: Command not executed xBusy BOOL 1: Command active 0: No command active xError BOOL 1: Error detected, command execution aborted 0: No error detected xAborted BOOL 1: Command execution aborted by user...
Page 200
In order to run the function block, the package file for TBEN-RFID interfaces must be installed. Ò Call the Package Manager in CODESYS: Click Tools Package Manager. Fig. 111: Opening the Package Manager Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 201
Select the package file for TBEN-RFID interfaces and install. Fig. 112: Installing a package file After the installation has been successfully completed, the Package file is displayed as follows in the package manager: Fig. 113: Display of the Package file in the package manager V02.00 | 2020/08...
Page 202
RFID RFID universal data interface. Click OK to add the library to the project. Fig. 114: Installing a CODESYS library Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 203
Create program in which the function block can be called. Add Box from the CODESYS ToolBox to the project. Add FB_Compact or FB_Extended function block. Fig. 115: Calling the function block V02.00 | 2020/08...
Page 204
QB116 Address of the write data as array Fig. 116: Activate the FB_Extended function block (example: Read or write 128 bytes) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 205
Fig. 117: FB_Extended function block – overview of the inputs and outputs NOTE When using function blocks, the UID is not automatically displayed in Idle mode. The device does not have to be reset to Idle mode between two identical commands. V02.00 | 2020/08...
Page 208
(RFID_COMPACT_Mode) HwID_Read128B (RFID_EXTENDED_Mode) HwID_Write016B Hardware identifier for the write data (RFID_COMPACT_Mode) HwID_Write128B (RFID_EXTENDED_Mode) WriteDataBuffer16B POINTER Write data (RFID_COMPACT_Mode) WriteDataBuffer128B (RFID_EXTENDED_Mode) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 209
Output variables – FB10 and FB11 Name Data type Meaning RESC Response code, see description of the input data, [} 93] BUSY BOOL Status of the command execution, see description of the input data, [} 93] ERROR BOOL Error, see description of the input data, [} 93] RCNT_F Loop counter for fast processing, see descrip- tion of the input data, [} 93]...
9.13 LEDs The device has the following LED indicators: Power supply Group and bus errors Status Diagnostics PWR LED Meaning No voltage or undervoltage at V1 Green Voltage at V1 and V2 ok No voltage or undervoltage at V2 Flashing white Wink command active LED BUS Meaning...
Page 212
Green Input active Output active (max. 2 A) – Actuator overload Red flashing (1 Hz) Overload at the senor supply Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.14 Software diagnostic messages 9.14.1 Diagnostic messages – gateway functions Byte no. ARGEE DIAG Meaning of the diagnostic bits Designation Meaning Undervoltage at power supply connection V2 ARGEE ARGEE project active DIAG Module diagnostics present Force mode in the DTM active Internal error Undervoltage at power supply connection V1 9.14.2 Diagnostic messages –...
Module diagnostics present Force mode in the DTM active Internal error Undervoltage at power supply connection V1 Byte no. ARGEE DIAG Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Example: Activating diagnostics via the PLC software The following example describes the activation of diagnostic messages with CODESYS 3 in PROFINET. Include the device in an existing project and connect to the controller (example: Turck TX510-P3CV01 HMI). Right-click an empty slot.
Page 216
Operation Example: Activating diagnostics via the PLC software Click RFID diagnostics. Fig. 122: Selecting RFID diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 217
Do not close the window. Select the next free slot. Select DXP diagnostics and confirm with Plug device. Fig. 123: Selecting DXP diagnostics The diagnostics can be read via the PLC program. V02.00 | 2020/08...
Length of the UID outside of the permissible range 0x8210 33296 Length outside of the tag specification 0x8211 33297 Address outside of the tag specification Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 219
Error code (hex.) Error code (dec.) Meaning 0x8212 33298 Length and address outside of the tag specification 0x8213 33299 Memory area of the tag outside of the permissible range 0x8214 33300 Read/write head address outside of the permissible range 0x8215 33301 Value for timeout outside of the permissible range 0x8216...
Page 220
Error when restoring a backup (backup data damaged) 0xD105 53509 Error when restoring the default settings 0xD106 53510 Error with the tag function Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 221
Error code (hex.) Error code (dec.) Meaning 0xF0… 61… ISO -15693 error 0xF001 61441 ISO -15693 error: Command not supported 0xF002 61442 ISO -15693 error: Command not detected, e.g. incorrect input format 0xF003 61443 ISO -15693 error: Command option not supported 0xF00F 61455 ISO-15693 error: undefined error...
Page 222
UHF read/write head: Incorrect tag type specified in the command 0xF883 63619 Write command to a block failed 0xFFFE 65534 Timeout on the RS485 interface 0xFFFF 65535 Command aborted Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.17 Using extended diagnostics – time measurement for commissioning an application The time of the transmission from the tag to the interface is taken as the time measurement. The data transmission to a controller is not included. If a particular tag is selected in the HF: Select tag type parameter, the time measurement for the write command is already started with its activation.
Page 224
The Expert mode on/off button is displayed in the menu bar. Activate Expert mode. The time measurement is shown. Fig. 124: Time measurement in the DTM Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 225
Example: Opening extended diagnostics in the web server Open the web server. Log into the device. Ò Choose Station RFID measurements. Fig. 125: Time measurement in the web server V02.00 | 2020/08...
Reset command with command code 0x8000 in the event of an error. The settings are retained if a restart was carried out or the device was reset with the Reset command. 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 work as expected, proceed 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 case, decommission the device and replace it with a new device of the same type.
Example: Updating the firmware with the PACTware FDT frame application Launch PACTware. Ò Right-click HOST PC Add device. Fig. 126: 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 229
Select BL Service Ethernet and confirm with OK. Fig. 127: Selecting the Ethernet interface Double-click the connected device. PACTware opens the bus address management. Fig. 128: Opening Bus Address Management V02.00 | 2020/08...
Page 230
Select the required device. Fig. 129: Selecting the device Click Firmware Download to start the firmware update. Fig. 130: 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 231
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. 131: Firmware update in progress V02.00 | 2020/08...
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...
Technical Data Technical data Ident-No. TBEN-L4-4RFID-8DXP (100002462) TBEN-L5-4RFID-8DXP (100000836) Power supply Power supply voltage 24 VDC Permissible range 18…30 VDC Total current V1 max. 8 A, V2 max. 9 A at 70 °C per module Operating current V1: max. 200 mA V2: max. 50 mA RFID power supply Sockets C0..C3 from V1 2 A per channel at 70 °C, short-circuit-proof...
Page 234
Load type EN 60947-5-1: DC-13 Short-circuit protection Potential isolation Galvanic isolation from the fieldbus Voltage proof up to 500 VDC Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 235
Technical data Conformity with standard/directive Vibration test Acc. to EN 60068-2-6 Acceleration up to 20 g Shock testing Acc. to EN 60068-2-27 Drop and topple Acc. to IEC 60068-2-31/IEC 60068-2-32 EMC (electromagnetic compatibility) Acc. to EN 61131-2 Approvals and certificates UV resistant acc.
= part 2…(n) acknowledge next fragment out.readFragmentNo := in.readFragmentNo done new command desired? Fig. 134: Flow chart for command processing with fragmentation Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
*) After increasing the Read Fragment No., the new data will be shown in the read data input. Fig. 136: Flow chart for Continuous mode without 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...
Appendix: EU Declaration of Conformity EU-Konformitätserklärung Nr.: 5035-3M EU Declaration of Conformity No.: HANS TURCK GMBH & CO KG / We WITZLEBENSTR. 7, 45472 MÜLHEIM A.D. RUHR erklären in alleiniger Verantwortung, dass die Produkte declare under our sole responsibility that the products...
Page 242
Over 30 subsidiaries and over 60 representations worldwide! 100004010 | 2020/08 100004010 www.turck.com...
Need help?
Do you have a question about the TBEN-L 4RFID-8DXP Series and is the answer not in the manual?
Questions and answers