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 ................ 31 V01.00 | 2020/09...
Page 4
Command: Write and verify .................... 114 8.8.6 Command: Continuous mode.................... 116 8.8.7 Command: Get data from buffer command (Continuous mode/Continuous presence sensing mode) ...................... 118 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) .......... 121 8.8.9 Command: End Continuous (presence sensing) mode .......... 122 8.8.10 Command: Read/write head identification ............... 123 8.8.11 Command: Switch off HF read/write head ................ 124 8.8.12 Command: HF read/write head tuning................ 125 8.8.13 Command: Query HF read/write head address ...............
Page 6
Flow chart: Continuous mode with interruption before reading data .... 236 15.5 Flow chart: Continuous mode without interruption before reading data.. 237 16 Appendix: EU Declaration of Conformity .................. 238 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...
The product is designed according to state-of-the-art technology. However, residual risks still exist. Observe the following warnings and safety notices to prevent damage to persons and property. Turck accepts no liability for damage caused by failure to observe these warning and safety notices.
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 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 M12 connection to the power supply...
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 2,2 MΩ Fig. 4: Equivalent wiring diagram 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.
Removing the grounding clip: disconnect the direct grounding of the fieldbus level Use a flat screwdriver to slide the grounding clamp forward and remove it. Fig. 7: Removing the grounding clamp 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 XF1. Connect outgoing Ethernet cables to XF2. 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, L coded M12 connectors. V1 and V2 are galvanically isolated from each other. The maximum tightening torque is 0.8 Nm. Fig. 11: M12 connector for connecting the supply voltage ...
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 ex- ecuted (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
Change the IP address and if necessary the network mask and gateway. Accept the changes by clicking Set in device. Fig. 26: 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...
7.1.3 Setting the IP address via the web server NOTE The device must be in PGM mode in order to set the IP address via the web server. Open the web server. Log into the device as administrator. ...
Modbus TCP master Modbus TCP slave Adding an Ethernet adapter Right-click Device (TX707-P3CV01) in the project tree. Fig. 28: Project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 33
Select Add device. Select an Ethernet adapter. Click Add device. The Ethernet adapter appears as Ethernet (Ethernet) in the project tree. Fig. 29: Adding an Ethernet adapter V01.00 | 2020/09...
Page 34
Double-click the Modbus TCP Master. The Modbus master appears as Modbus_TCP_Master (Modbus TCP Master) in the pro- ject tree. Fig. 30: Adding a Modbus master 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 slave In the project tree right-click Modbus TCP Master (Modbus TCP Master). Select Add device. Double-click Modbus TCP Slave. The Modbus slave appears as Modbus_TCP_Slave in the project tree. Fig. 31: Adding a Modbus slave V01.00 | 2020/09...
Adapt the name of the slave in the project tree of the application. Fig. 32: Assigning a device name (here: TBEN_L5_4RFID_8DXP) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.3 Setting up network interfaces Ò Click Device Scan network. Select Modbus master and confirm with OK. Fig. 33: Setting up a network interface to the Modbus master Double-click Ethernet. Open the Network Adapter dialog in the General tab via the … button. ...
In the General tab enter the IP address of the slave. Fig. 35: Modbus slave – entering the IP address (here: 192.168.1.61) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.5 Defining Modbus channels (registers) Defining channel 0 (input data) Double-click the Modbus TCP Slave. Ò Select in the tab Modbus Slave Channel Add channel. Enter the following values: Name of channel Access type: Read holding registers Offset: 0x0000 Length: 64 registers (128 bytes) ...
Page 40
Click the Modbus TCPSlave I/O Mapping tab. Enter the address in the corresponding table column. Fig. 38: 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 ter- 0x0130 0x0142 0x0154 0x0166 minal VAUX Parameter error 0x0130 0x0142 0x0154 0x0166 Configuration via the DTM active 0x0130 0x0142 0x0154 0x0166...
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 ter- 0x0179 minal VAUX 8/9 Overvoltage at power supply ter- 0x0179 minal VAUX 10/11 Overvoltage at power supply ter- 0x0179 minal VAUX 12/13 Overvoltage at power supply ter- 0x0179 minal VAUX 14/15 Overvoltage at output...
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. 40: Opening the EDS Hardware Installation Tool V01.00 | 2020/09...
Page 50
The wizard for the installation of EDS files is started. Click Next to select the EDS file. Fig. 41: 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. 42: Option selection – registering an EDS file(s) V01.00 | 2020/09...
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. 43: 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. 44: Adding a new module V01.00 | 2020/09...
Page 54
Select Turck under Module Type Vendor Filters. Select the TBEN-RFID module. Confirm the selection with Create. Fig. 45: 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. 46: Setting the module name and IP address V01.00 | 2020/09...
Page 56
INT. Fig. 47: 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. 48: 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. 49: Setting the connection Fig. 50: 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. 51: TBEN-L…-4RFID-8DXP in the project tree V01.00 | 2020/09...
Connecting the device online with the controller Select the controller. Click Go online. Fig. 52: 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. 53: Click Download Confirm all the following messages. V01.00 | 2020/09...
7.3.4 Reading out process data Select Controller Tags in the project tree. Fig. 54: Controller tags 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 63
Parameter data (tben_4rfid:C), input data (tben_4rfid:I1) and output data (tben_4rfid:O1) can be accessed. Fig. 55: Access to parameter data, input data and output data V01.00 | 2020/09...
Page 64
Refer to the web server or the asso- ciated L5K file for the mapping of the used device. Fig. 56: EDS 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...
Page 65
Fig. 57: L5K file: Process input data – example V01.00 | 2020/09...
AutoMDIX Deactivated Notes on the correct connection of the Ethernet cables in QuickConnect applications are provided in the chapter [} 22]. 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 configuration assembly The configuration assembly is part of the assembly class of the device. Configure the configuration assembly in RSLogix. Activate QuickConnect via byte 9, bit 0 = 1 in the controller tags. Fig. 58: Configuring the configuration assembly in RSLogix (example: standard) Name Assembly Size...
Page 68
Activating QuickConnect via the web server Activate the Activate Quick Connect check box in the web server. Fig. 59: Activating QuickConnect in the web server Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
A new project has been created. The PLC has been added to the project. 7.4.1 Installing a GSDML file 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).
Page 70
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. 61: Installing a GSDML file Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.4.2 Connecting the device with the controller 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. 62: Connecting the device with the controller V01.00 | 2020/09...
7.4.4 Set the IP address in the TIA Portal Ò Ò Choose Device View Properties tab Ethernet addresses. Assign the required IP address. Fig. 64: Assigning the IP address V01.00 | 2020/09...
Connecting the device online with the controller Start online mode (connect online). The device was successfully linked to the controller. Fig. 65: Online mode Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.4.6 Setting module parameters Ò Choose Device view Device overview. Select the module to be set. Ò Ò Click Properties General Module parameters. Set the station parameters. Fig. 66: Setting module parameters V01.00 | 2020/09...
716…751 Diagnostics RFID channel 3 8DXP 144…147 DXP 752…753 DXP 608…609 DXP 144…147 DXP Basic parameters input data output data diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 77
Socket Channel Parameter data Process input data Process output data Diagnostic data Bytes Meaning Bytes Meaning Bytes Meaning 8DXP 754…757 DXP error Diag messages VAUX 148…155 VAUX 610…611 VAUX control settings output data Module 758…759 Module status status V01.00 | 2020/09...
XCVR18 XCVR17 XCVR32 XCVR31 XCVR30 XCVR29 XCVR28 XCVR27 XCVR26 XCVR25 Length of write data (WDS) Length of read data (RDS) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
11: NXP I-CODE SLI L 12: Fujitsu MB89R112 13: EM4233SLIC Read/write heads with firmware from V1.91 also support: 14: NXP SLIX2 15: TI Tag-it HFI Pro 16: Turck sensor tag 17: Infineon SRF55V02S 18: Infineon SRF55V10S 19: EM4233 20: EM4237 21: EM4237 SLIC...
Page 80
Size of the write data, default setting depends on the selected interface and field- Length of read data (RDS) Size of the read data, default setting depends on the selected interface and field- Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.1.3 HF applications – setting the bridging time (bypass time) Due to the expansion of the HF transmission zone the tag may drop out momentarily during a write or read operation and then later return again. The period between the dropout and the return to the transmission zone must be bridged so that the write or read operation is com- pleted.
68. The addressing is successful if the LED of the read/write head is permanently lit. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 85
Manually addressing read/write heads – Set HF read/write head address command 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.
Page 86
USB-interface RFID cable Power supply e.g. RK4.5T/S2500 STW-RS485-USB-PS Fig. 69: Connecting the read/write head via the interface converter 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 87
Launch the Turck Service Tool. Click Actions or press [F4]. Click Set HF RFID reader bus address. Fig. 70: Function selection – Set HF RFID reader bus address The HF RFID Reader Setup Tool window is opened. ...
Page 88
Fig. 72: Changing the read/write head Activate the required read/write heads in the parameter data via the appropriate XCVR bit. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.1.5 UHF applications – setting Continuous presence sensing mode Set adaptions to the Presence sensing behavior in the DTM. Optional: Set the grouping of the EPCs via the Start address parameter: 0: Grouping inactive 1: Grouping active (same EPC is not recorded again, only the counter incremented in the header) ...
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)
If two tags are detected in quick succession, the TP bit may remain set. The data of the second tag (UID and/or read data) is displayed. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
RFID channels – process output data Process output data – HF compact and UHF compact 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...
Page 96
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 bus mode Byte no. 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) Write fragment number (WFN) reserved reserved...
HF Inventory: Command executed once in the specified time (exception: Continuous mode) UHF Inventory: Command active for the entire specified time Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 99
Description Meaning Read fragment number (RFN) If the data to be read exceeds the size of the read data memory, the data is divided in max. 256 fragments. The fragments are numbered consecutively from 1…255. From fragment number 256 numbering starts again at 1. The sending of a fragment is confirmed by the device if the read fragment number appears in the process input data.
1: The output only switches back on after the overcurrent after the overcurrent is removed and the switch signal is reset. OEx… 0: Output deactivated 1: Output activated Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Digital channels – process input data Byte no. Reserved DXP15 DXP14 DXP13 DXP12 DXP11 DXP10 DXP9 DXP8 8.5.1 Meaning of the status bits Default values are shown in bold type. Designation Meaning DXP8 0: Digital channel 1 not active 1: Digital channel 1 active DXP9 0: Digital channel 2 not active 1: Digital channel 2 active...
0: Switch off digital channel 7 1: Switch on digital channel 7 DXP15 0: Switch off digital channel 8 1: Switch on digital channel 8 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Digital channels – setting switchable VAUX power supply 8.7.1 VAUX switchable power supply – parameter data Byte no. Reserved Reserved Reserved Reserved Reserved VAUX2P1C4Ch8Ch9 Reserved VAUX2P1C5Ch10Ch11 Reserved VAUX2P1C6Ch12Ch13 Reserved VAUX2P1C7Ch14Ch15 Meaning of the parameter bits Default values are shown in bold type. Designation Meaning VAUX2P1C4Ch8Ch9...
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...
RFID channels – overview of commands RFID commands are initiated via the command code in the process output data of an RFID channel. The commands can be executed with or without a loop counter function. The loop counter must be set individually for each new command. NOTE After commands are executed without the loop counter function, the device must be reset to the Idle state before a new command is sent.
Page 106
** The command is only supported by the TW-R…-M-B146 tags. *** The command is supported in HF Continuous bus mode. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.1 Command: Idle The Idle command switches the interface to Idle mode. The command execution is aborted. If a tag is in the detection range of an HF read/write head and single-tag mode is set, the Tag in de- tection range bit is set and the UID of the tag is indicated by default in the read data area. Which data is to be displayed can be set via the DTM, PROFINET or Modbus register.
Tag counter Ascending Write fragment no. Read fragment no. See description of the input data, [} 93] Read data, Bytes 0…n Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 109
Response (UHF) Loop counter See description of the input data, [} 93] Response code 0x0001 (hex.), 1 (dec.) Length Length of the read data 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]...
Page 110
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...
8.8.3 Read command The Read command causes the read/write head to read the data of tags in the detection range. 128 bytes are transferred in a read 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 appropri- ate tags.
UID or EPC of the tag to be written Byte 0…(size of the UID/EPC-1) Write data, Write data Byte (size of the EPC)…127 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 113
Response Loop counter See description of the input data, [} 93] Response code 0x0004 (hex.), 4 (dec.) Length Length of the read data Error code See description of the input data, [} 93] Tag within the See description of the input data, [} 93] detection range Data (bytes) available Increases during command execution...
UID or EPC of the tag to be written Byte 0…(size of the UID/EPC-1) Write data, Write data Byte (size of the EPC)…127 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 115
Response Loop counter See description of the input data, [} 93] Response code 0x0008 (hex.), 8 (dec.) Length Length of the read data Error code See description of the input data, [} 93] Tag within the See description of the input data, [} 93] detection range Data (bytes) available Increases during command execution...
Command timeout Not required Write fragment no. Read fragment no. See description of the output data, [} 98] 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 117
Response Loop counter See description of the input data, [} 93] Response code 0x0010 (hex.), 16 (dec.) Length Error code See description of the input data, [} 93] Tag within the See description of the input data, [} 93] detection range Data (bytes) available Increases during command execution Tag counter Increases with each read or written UID/EPC...
See description of the input data, [} 93] Write fragment no. Read fragment no. See description of the input data, [} 93] Read data Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 119
Data format in UHF applications The UHF read data is formatted by means of a header. The header has the following structure: Type Name Meaning uint8_t Size Data size uint8_t Block type 1: UID/EPC/RSSI etc. 2: Read data other values : reserved uint8_t Data [size] EPC/RSSI etc.
Page 120
Example: UID, grouping deactivated, HF bus mode Type Name Meaning uint8_t Data [64] uint16_t UID [64] uint8_t Reserved Reserved uint8_t Address Address of 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...
8.8.8 Command: Continuous presence sensing mode (UHF) 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 automatically switched on in Continuous presence sensing mode as soon as a tag is located in the detection range.
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.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, [} 98] Command code...
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.12 Command: HF read/write head tuning NOTE The command is only available for the TNLR-… and TNSLR-… HF read/write heads. The Read/write head tuning command enables HF read/write heads to be tuned automatically to their ambient conditions. The tuning values are saved until the next voltage reset in the read/write head.
Addresses of the connected read/write heads (uint8_t) the connected read/write heads] Read data, byte [number of the Not required connected read/write heads] ...127 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.14 Command: Set HF read/write head address NOTE The command is only available in HF bus mode. Only one bus-compatible read/write head can be connected to the interface during command execution. Deactivate read/write heads before manual addressing via the parameter data so that automatic address assignment is not executed.
Write fragment no. Read fragment no. See description of the input data, [} 93] 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 129
Example: Direct command in HF 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 0xE0 (CC), 0x00 (CI) – siehe BL ident-Protokoll Response Loop counter Response code...
Page 130
0x03 0x04 0x8B 0x00 0x00 0x20 0x01 0x01 Serial number: 0x01020304 Device type: 0x208B Software version: v1.00 Hardware version: v1.00 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 (set output power) Read the set power from the RAM of the read/write head. Request Loop counter Command code 0x0060 Read/write head address Length UID/EPC Start address Length Command timeout Write fragment no. Read fragment no.
Page 132
RFID channels – overview of commands The following table provides assistance in converting the power values from dBm to mW. 1.25 1000 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.16 Command: Set tag password NOTE The command is only available for applications with UHF tags and the HF tags TW-R…-M-B146. NOTE The command code for fast processing with the loop counter is 0x2102 (hex.) or 8450 (dec.). The Set tag password command sets a password in the tag. Tag protection is not activated until the Set tag protection command has also been carried out.
Page 134
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.17 Command: Set read/write head password NOTE The command is only available for applications with UHF tags and the HF tags TW-R…-M-B146. The Set read/write head password command directly sets a password for write access, read access or a Kill command. The password is stored temporarily in the memory of the read/write head.
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.19 Command: Set tag protection NOTE The command is only available for applications with UHF tags and the HF tags TW-R…-M-B146. 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.
Page 138
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.20 Command: Query HF tag protection status NOTE The command is only available for applications with HF tags and the HF tags TW-R…-M-B146. The Get HF tag protection status command queries with a direct command whether a specific area of the tag is password protected. When sending the command only one tag can be loc- ated in the detection range of the read/write head.
Page 140
Bit 7: Read protection, Page 7 UHF: Not required Read data, Byte 5 Read data, Byte 6 Read data, Byte 7 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.21 Command: Set permanent lock (Lock) NOTE The command code for fast processing with the loop counter is 0x2105 (hex.) or 8453 (dec.). The Set perma lock command permanently sets a complete memory block of the tag with a direct command and permanently locks it. When sending the command only one tag can be located in the detection range of the read/write head.
Page 142
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.22 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 chip information of an HF tag to be queried. For HF applic- ations the command is only available with automatic detection. In UHF applications the alloca- tion class identifier, tag mask designer identifier and tag model number are queried.
8.8.23 Command: Kill UHF tag NOTE The command is only available for UHF applications. 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.
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.25 Command: Backup settings of the UHF read/write head NOTE The command is only available for UHF applications. 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 the voltage of the interface is reset.
See description of the output data, [} 98] Write fragment no. Read fragment no. See description of the output data, [} 98] 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 149
Response Loop counter See description of the input data, [} 93] Response code 0x042 (hex.), 66 (dec.) Length See description of the input data, [} 93] 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]...
Page 150
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, [} 98] Command code 0x8000 (hex.), 32768 (dec.) Read/write head address See description of the output data, [} 98] Length UID/EPC Not required...
The start page shows status information and network settings. Fig. 73: 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 154
After the login, write access to input, output and parameter data is possible. Fig. 75: 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 155
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. 76: Setting parameters in the web server V01.00 | 2020/09...
Page 156
Select the operating mode via the Operating mode drop-down menu. Fig. 77: 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 157
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 158
Call the input data: Click Inputs in the navigation bar on the left of the screen. Fig. 79: Input data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 159
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. 80: Input data with successfully executed Read command V01.00 | 2020/09...
Page 160
Setting RFID interfaces via the web server Ò The read data can be called at RFID Read Data Inputs. Fig. 81: Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 161
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 162
Enter the read/write head address in the read/write head address parameter. Fig. 83: 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 164
Enter the IP address of the device (example: 192.168.1.254) Optional: Enter designation and device description. Confirm entries with OK. Fig. 86: 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 165
ü The project tree is fully open. Right-click the device in the project tree. Click Connect. After connecting, read and write access to input, output and parameter data is possible. Fig. 87: Complete project tree V01.00 | 2020/09...
Click the operating mode in the Online parameterization window. Select the required operating mode from the drop-down menu. Fig. 89: 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. 91: 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. 93: 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 171
The read data is displayed in the Measured value window. The data format is hexadecimal. Fig. 94: Executing a read command – window: Measured value V01.00 | 2020/09...
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 174
≤ 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 176
The Read command is executed as soon as there is a tag in the detection range of the read/write head. Fig. 96: 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 177
Ò 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. 97: Fragmentation –...
Page 178
Enter at Read fragment No. the consecutive number of the next fragment to be read (here: 1). Send the Read command: Click Submit. Fig. 98: 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 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
If no more data is present on the TBEN module, Read fragment No. will show the value 0. Fig. 100: 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 182
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. 102: 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 183
Ò 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. 103: Fragmentation –...
Page 184
Fig. 104: 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 185
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. 105: Fragmentation – no more data present on the TBEN module V01.00 | 2020/09...
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 189
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.
68 that is connected. If the LED on the read/write head is permanently lit, this indicates that the addressing is complete. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.6.3 HF Continuous bus mode – data query and speed All activated read/write heads are triggered within a bypass time + wait time. The set command (e.g. Inventory, Read, Write) in Continuous mode is processed within this time. Only one read/ write head sends data to the RFID interface during command execution of all activated read/ write heads.
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 195
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 197
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 198
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. 109: 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 199
Select the package file for TBEN-RFID interfaces and install. Fig. 110: Installing a package file After the installation has been successfully completed, the Package file is displayed as follows in the package manager: Fig. 111: Display of the Package file in the package manager V01.00 | 2020/09...
Page 200
RFID RFID universal data interface. Click OK to add the library to the project. Fig. 112: 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 201
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. 113: Calling the function block V01.00 | 2020/09...
Page 202
QB116 Address of the write data as array Fig. 114: 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 203
Fig. 115: 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. V01.00 | 2020/09...
Page 206
(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 207
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 descrip- tion 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 Green flashing No voltage or undervoltage at V2 LED BUS Meaning No voltage connected...
Page 210
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 214
Operation Example: Activating diagnostics via the PLC software Click RFID diagnostics. Fig. 120: 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 215
Do not close the window. Select the next free slot. Select DXP diagnostics and confirm with Plug device. Fig. 121: Selecting DXP diagnostics The diagnostics can be read via the PLC program. V01.00 | 2020/09...
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 217
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 218
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 219
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 220
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 222
The Expert mode on/off button is displayed in the menu bar. Activate Expert mode. The time measurement is shown. Fig. 122: 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 223
Example: Opening extended diagnostics in the web server Open the web server. Log into the device. Ò Choose Station RFID measurements. Fig. 123: Time measurement in the web server V01.00 | 2020/09...
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. 124: 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 227
Select BL Service Ethernet and confirm with OK. Fig. 125: Selecting the Ethernet interface Double-click the connected device. PACTware opens the bus address management. Fig. 126: Opening Bus Address Management V01.00 | 2020/09...
Page 228
PACTware shows the progress of the firmware update with a green bar at the bottom of the screen. Fig. 129: Firmware update in progress Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Observe our return acceptance conditions when returning the device to Turck. 12.1 Returning devices Returns to Turck can only be accepted if the device has been equipped with a Decontamination declaration enclosed. The decontamination declaration can be downloaded from https://www.turck.de/en/retoure-service-6079.php and must be completely filled in, and affixed securely and weather-proof to the outside of the packaging.
Configuration assembly instance PROFINET Addressing MinCycle Time 1 ms Diagnostics As per PROFINET alarm handling Automatic addressing Supported Media redundancy protocol (MRP) Supported Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 231
Technical data RFID No. of channels Connection technology Power supply 2 A per channel at 70 °C, short-circuit-proof Operation per channel 1 × HF or UHF read/write head, up to 32 bus- capable HF read/write heads with suffix / C53 (for static applications, if necessary additional power feed required) Mixed operation of...
Page 232
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
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...
= 0x0000 in.errorCode = [0x0001…0xffff ] new command desired? Fig. 131: 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...
Command Code := 0x0011 Read-Fragment +1 Data bytes available = 0 Done Fig. 133: 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...
Ort und Datum der Ausstellung / Name, Funktion und Unterschrift des Befugten / Place and date of issue Name, function and signature of authorized person Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 239
Over 30 subsidiaries and over 60 representations worldwide! 100013753 | 2020/09 100013753 www.turck.com...
Need help?
Do you have a question about the TBEN-LL-4RFID-8DXP and is the answer not in the manual?
Questions and answers