24 7.1.1 Setting the IP address via switches on the device 24 7.1.2 Setting the IP address via the Turck Service Tool 26 7.1.3 Setting the IP address via the web server 28 Connecting the device to a Modbus master 29...
Page 4
Idle command 138 8.8.2 Inventory command 139 8.8.3 Read command 142 8.8.4 Write command 143 8.8.5 Write and verify command 145 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 6
Flow chart: Continuous mode with interruption before reading data 234 15.5 Flow chart: Continuous mode without interruption before reading data 235 Appendix: EU conformity declaration 236 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 Operating instructions Declaration of Conformity...
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.
Rotary coding switches and DIP switch for setting the IP address SET button for activating the write accesses of the USB Host port functions 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 4 or 5-pin 7/8”...
4.4.3 RFID channels – Operating modes Five different data interfaces can be selected for the RFID channels: HF compact HF extended HF bus mode UHF compact UHF extended Different functions are available to the user, depending on the selected data interface. HF compact mode HF compact mode is suitable for transferring smaller data volumes of up to 128 bytes (e.g.
Page 14
UHF compact mode UHF compact mode enables up to 128 bytes of data to be transferred in single-tag applications (e.g. EPC). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
UHF extended mode UHF extended mode contains all the functions provided in UHF compact mode. It is also pos- sible to transfer more than 128 bytes. The operating mode is suitable for single-tag and multi- tag applications. The user can set a command timeout to define the time for the execution of a command.
Accessories for mounting, connecting and parameterizing can be found in product database or the Accessories List for TBEN (D301367) under www.turck.com. The accessories are not part of the scope of delivery. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Mounting Fasten the devices on a level, pre-drilled and grounded mounting surface. Fasten the module on the mounting surface with the two M6 screws. The maximum tightening torque for fastening the screws is 1.5 Nm. M6 (2x) max. 1.5 Nm 218 [5.58] Fig. 3: Fixing a device on a mounting plate V02.00 | 2018/08...
M12 plug connectors (Pin 5) for connecting the read/ write heads, sensors and actuators. A metal screw (3) connects the device with the reference potential of the system. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
5.1.2 Grounding the device (FG) Grounding strip and metal ring are connected to each other. A fixing screw through the bottom mounting hole of the module connects the shield of the fieldbus cables with the functional ground of the power supply and connected devices as well as the reference potential of the system.
Connecting the power supply The device is provided with two 7/8” pin plug connectors for connecting the power supply. The plug connectors are 4-pin (TBEN-L4) or 5-pin (TBEN-L5) connectors. V1 and V2 are electrically isolated from each other. The maximum tightening torque is 0.8 Nm. Fig. 10: 7/8”...
Connecting digital sensors and actuators The device has four 5-pin M12 plug connectors for connecting digital sensors and actuators. The maximum tightening torque is 0.8 Nm. Fig. 17: M12 plug connector for connecting digital sensors and actuators Connect the sensors and actuators to the device as per the pin layout below. 3 BU –...
Device damage through penetrating foreign objects or liquids is pos- sible. Close the cover securely over the switches. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 25
IP address to the client. PGM mode In PGM mode, the complete IP address is assigned manually via the Turck Service tool, FDT/DTM or via a web server. In PGM mode, the set IP address and the subnet mask are stored in the gateway memory.
The Turck Service Tool displays the connected devices. Fig. 22: Turck Service Tool – found devices Click the required device. Click “Change” or press F2. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 27
Fig. 23: Turck Service Tool – Selecting the device to be addressed NOTE Clicking the IP address of the device opens the web server. Change the IP address and if necessary the network mask and gateway. Accept the changes by clicking “Set in device”.
Write the new IP address, subnet mask and default gateway via “Submit” to the device. Fig. 25: 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...
TBEN-L5-4RFID-8DXP-CDS block module (IP address: 192.168.1.100) TN-Q80-H1147 HF read/write head Software used This example uses the following software: CODESYS 3.5.8.1 (download free of charge from www.turck.com) Prerequisites The programming software has been started. A new project has been created. The PLC has been added to the project.
Modbus TCP master Modbus TCP slave Adding an Ethernet adapter Right-click “Device (TX507-P3CV01)” in the project tree. Fig. 26: Project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 31
Select “Append device”. Select an Ethernet adapter. Click “Append device”. The Ethernet adapter appears as Ethernet (Ethernet) in the project tree. Fig. 27: Adding an Ethernet adapter V02.00 | 2018/08...
Page 32
Double-click “Modbus TCP master”. The Modbus TCP master appears as “Modbus_TCP_Master” in the project tree. Fig. 28: 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 33
Adding a Modbus slave Click Modbus slave in the project tree. Press F2. Enter a new device name (here: TBEN_L5_4RFID_CDS). The Modbus TCP slave appears as “Modbus_TCP_Slave” in the project tree. Fig. 29: Adding a Modbus slave V02.00 | 2018/08...
Press F2. Adapt the name of the slave in the application project tree (here: TBEN_L5_4RFID_CDS). Fig. 30: Renaming 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.3 Setting up network interfaces Ò Click “Device” “Scan network”. Select Modbus master (here: TX507-P3CV01) and confirm with OK. Fig. 31: Setting up a network interface to the Modbus master Select the “PLC Settings” tab. In the “Always refresh variables” drop-down menu, select “Activate 2 (always in the bus cycle task)”.
Page 36
In the “General” tab enter the IP address of the slave (here: 192.268.1,100 Fig. 34: Modbus slave – Entering the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.4 Setting Modbus channels (registers) Set channel 0 (input data) Double-click the Modbus TCP slave. Ò In the “Modbus slave channel” tab select “Add channel”. Enter the following values: Name of channel Access type: Read holding registers Offset: 0x0000 Length: 64 registers (128 bytes) ...
Page 38
Access type: Write Holding Registers Offset: 0x0000 Length: 64 registers (128 bytes) Confirm with OK. Fig. 36: Setting the WRITE registers Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.5 Setting the I/O mapping To create I/O mapping the local I/Os must be added to the project and connected with the Modbus master. Right-click the name of the project in the project tree. Select “Append device”. Double-click “TBEN-Lx-4RFID-8DXP-CDS”.
Page 40
Right-click “TBEN-Lx-4RFID-8DXP” in the project tree. Select “Append device”. Double-click “Ethernet”. Fig. 38: Attaching the Ethernet adapter to the local I/Os Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 41
Attaching the Modbus TCP slave to the local I/Os Right-click “Ethernet” in the project tree. Select “Append device”. Double-click “Modbus TCP slave device”. Fig. 39: Attaching the Modbus TCP slave to the local I/Os V02.00 | 2018/08...
Page 42
In the “Communication” tab click the “Scan network” button. Select TBEN-L5-4RFID-8DXP-CDS and confirm with “OK”. Fig. 40: Setting up the Ethernet interface to the connected TBEN-L5-4RFID-8DXP interface Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 43
Select the “PLC Settings” tab. In the “Always refresh variables” drop-down menu, select “Activate 2 (always in the bus cycle task)”. Fig. 41: Setting the “Always refresh variables” option V02.00 | 2018/08...
Page 44
Double-click “TBEN-Lx-4RFID-8DXP-CDS”. Enter the IP address of the Modbus slave (here: 192.168.1.100). Fig. 42: Modbus master – Entering the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.6 Writing the application to the device To establish communication between Modbus master and TBEN-L…-4RFID-8DXP-CDS an ex- ecutable application must be present in the device. Right-click “Application” in the project tree. Ò Choose “Add object” “Task configuration” in the context menu. Fig. 43: Adding a task for the application V02.00 | 2018/08...
Page 46
Right-click “Application” in the project tree. Ò Choose “Add object” “POU...” in the context menu. Fig. 44: Adding a POU Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 47
Add the POU to the application: Click OK. Fig. 45: Adding the POU to the application V02.00 | 2018/08...
Page 48
(here: HF compact). Fig. 46: Address of the “Tag present” input bit in the local I/Os of the RFID interface Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 49
Obtain the address for the “Tag present” output bit from the mapping for the slave device. Fig. 47: Address for the output bit V02.00 | 2018/08...
Page 50
Commissioning Transferring the mapping to the POU Fig. 48: Transferring the mapping to the POU Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.7 Connecting the device online with the controller Select device. Ò Click Online Login. 7.2.8 Reading out process data The process data can be interpreted if the device is connected online with the controller. Double-click the Modbus TCP slave. ...
The package file for TBEN-L…-4RFID-8DXP-CDS must be installed. The generic EDS file CDS_PN_DEVICE must be installed (downloaded free of charge from www.turck.com). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.1 Configuring the device in CODESYS as an EtherNet/IP™ slave Open CODESYS. Create a new standard project. Fig. 50: Creating a new standard project in CODESYS V02.00 | 2018/08...
Page 54
Commissioning Select the “TBEN-Lx-4RFID-8DXP-CDS” block module. Fig. 51: Selecting TBEN-4RFID-8DXP-CDS Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 55
This creates the device in the project tree. Fig. 52: TBEN-L5-4RFID-8DXP-CDS in the project tree V02.00 | 2018/08...
Page 56
Right-click “Device (TBEN-Lx-4RFID-8DXP-CDS)” in the project tree. Select “Append device”. Select an Ethernet adapter. Click “Append device”. Fig. 53: 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 57
Adding the EtherNet/IP™ slave Right-click “Ethernet (Ethernet)” in the project tree. Select “Append device”. Select an “EtherNet/IP™ device”. Click “Append device”. Fig. 54: Adding the EtherNet/IP™ slave V02.00 | 2018/08...
Page 58
The sockets defined as inputs in CODESYS correspond to the outputs in RS Logix and vice versa. Fig. 55: Assigning inputs and outputs Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 59
Inputs and outputs – Creating the mapping Example: The “Tag present” bit has to be sent to the controller via an output byte. Double-click the required operating mode in the project tree (here: HF compact). Select the “HF compact I/O image” tab. ...
Page 60
Example: Double-click “OUT_1_WORD” in the project tree. Assign the internal address for the “Tag present” bit to the output byte. Fig. 57: Mapping the I/O address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.2 Setting up the network interface Ò Click “Device” “Scan network”. Select TBEN-L5-4RFID-8DXP-CDS and confirm with OK. Fig. 58: Setting up the network interface V02.00 | 2018/08...
Page 62
In the “Always refresh variables” drop-down menu, select “Activate 1 (always in the bus cycle task)”. Fig. 59: Setting the “Always refresh variables” option Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 63
Double-click “Ethernet”. Select the network interface. Enter the address of the EtherNet/IP™ master (here: 192.168.0.100). Fig. 60: EtherNet/IP™ master – Entering the IP address V02.00 | 2018/08...
Page 64
Click the “Start” button. The connection is now displayed in the project tree. Fig. 61: Display of the connection in CODESYS Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.3 Installing an EDS file The generic EDS file for the device can be downloaded free of charge from www.turck.com the package for TBEN-L…-CDS. Ò Include an EDS file: Click “Tools” “EDS Hardware Installation Tool”. Fig. 62: Installing an EDS file...
Page 66
The wizard for the installation of EDS file is started. Click “Next” to select the EDS file. Fig. 63: Wizard for the installation of EDS files Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 67
Select the “Register an EDS file(s)” option and confirm with “Next”. Fig. 64: Selecting the “Register an EDS file(s)” option V02.00 | 2018/08...
Page 68
Enter a path for the memory location of the EDS file. Confirm with “Next”. The installation wizard guides you through the further installation. Fig. 65: 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.4 Connecting the device with the controller Ò Right-click “I/O configuration” “Ethernet”. Click “New Module”. Fig. 66: Adding a new module V02.00 | 2018/08...
Page 70
Assign a module name. Enter the IP address of the device (example: 192.168.1.100). Fig. 68: Setting the module name and IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 71
The device appears in the project tree. Fig. 69: TBEN-L…-4RFID-8DXP in the project tree V02.00 | 2018/08...
In online mode, the “Tag present” bit is displayed in the monitoring table. Fig. 70: “Tag present” bit in the monitoring table Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
TN-Q80-H1147 HF read/write head Software used This example uses the following software: CODESYS 3.5.8.1 (download free of charge from www.turck.com) SIMATIC STEP7 Professional V13 (TIA Portal) Generic GSDML file for PROFINET devices (available as download free of charge from www.turck.com) Requirements The package file for TBEN-L…-4RFID-8DXP-CDS must be installed.
Configuring the device in CODESYS as a PROFINET device Open CODESYS. Create a new standard project. Fig. 71: Creating a new standard project in CODESYS Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 75
Select the “TBEN-Lx-4RFID-8DXP-CDS” block module. Fig. 72: Selecting the master device V02.00 | 2018/08...
Page 76
Commissioning This creates the device in the project tree. Fig. 73: TBEN-L5-4RFID-8DXP-CDS 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 77
Adding an Ethernet adapter Right-click “Device (TBEN-Lx-4RFID-8DXP-CDS)” in the project tree. Select “Append device”. Select an Ethernet adapter. Click “Append device”. Fig. 74: Adding an Ethernet adapter V02.00 | 2018/08...
Page 78
Right-click “Ethernet (Ethernet)” in the project tree. Select “Append device”. Select “Profinet Device”. Click “Append device”. Fig. 75: Attaching the PROFINET device Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 79
Assigning inputs and outputs Right-click “Profinet_Device (Profinet Device)” in the project tree. Select “Append device”. Example: Double-click “IN 1 BYTE”. Example: Double-click “OUT 1 BYTE”. Click “Append device”. NOTE The sockets defined as inputs in CODESYS correspond to the outputs in the TIA Portal and vice versa.
Page 80
Find the internal device address of the “Tag present” bit from the I/O image for the selec- ted operating mode (here: HF compact). Fig. 77: Internal address for the “Tag present” bit Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 81
Example: Double-click “OUT_1_BYTE” in the project tree. Assign the internal address for the “Tag present” bit to the output byte. Fig. 78: Mapping the I/O address V02.00 | 2018/08...
Setting up the network interface Ò Click “Device” “Scan network”. Select TBEN-L5-4RFID-8DXP-CDS and confirm with OK. Fig. 79: Setting up the network interface Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 83
Select the “PLC Settings” tab. In the “Always refresh variables” drop-down menu, select “Activate 2 (always in the bus cycle task)”. Fig. 80: Setting the “Always refresh variables” option V02.00 | 2018/08...
Page 84
Select the network interface. Enter the IP address of the Modbus master (here: 192.168.0.254). Fig. 81: Modbus master – Entering the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 85
Connecting the device online Ò Click Online Login. Click the “Start” button. The connection is now displayed in the project tree. Fig. 82: Display of the connection in CODESYS V02.00 | 2018/08...
Create a new project TIA Portal. Fig. 83: Creating a new project TIA Portal Add a controller (here: CPU 1513-1 PN). Fig. 84: Adding a controller Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 87
Include the Turck Codesys device in the project. To do this, select the generic GSDML file “CDS3 PN Device” from the “Turck” folder. Fig. 85: Adding the Turck Codesys device V02.00 | 2018/08...
Page 88
Proper- Ò Ò ties General Ethernet address. Fig. 86: Assigning the IP address and PROFINET device name in the TIA Portal Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 89
Assigning inputs and outputs NOTE The sockets defined as inputs in CODESYS correspond to the outputs in the TIA Portal and vice versa. Example: Assign IN 1 Byte and OUT 1 Byte from the Hardware catalog to the device. Fig. 87: Assigning the inputs and outputs in the TIA Portal V02.00 | 2018/08...
Page 90
The process data (in this case: the set “Tag present” bit) can be visualized via monitoring tables. Creating a new monitoring table. Fig. 88: Creating the monitoring table Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 91
Loading the configuration in the controller Load the configuration in the controller. Fig. 89: Loading the configuration in the controller V02.00 | 2018/08...
The successful connection is now displayed in the project tree in CODESYS. Fig. 91: Successfully established connection – Display in CODESYS Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
TBEN-L5-4RFID-8DXP-CDS block module (IP address: 192.168.1.100) TBEN-2RFID-4DXP block module (IP address: 192.168.1.20) TN-Q80-H1147 HF read/write head Software used This example uses the following software: CODESYS 3.5.8.1 (download free of charge from www.turck.com) Requirements The package file for TBEN-L…-4RFID-8DXP-CDS must be installed. V02.00 | 2018/08...
Page 94
Defining the device as master in CODESYS Open CODESYS. Create a new standard project. Fig. 92: Creating a new standard project in CODESYS Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 95
Select the “TBEN-Lx-4RFID-8DXP-CDS” block module as master device. Fig. 93: Selecting the master device V02.00 | 2018/08...
Page 96
Commissioning This creates the device in the project tree. Fig. 94: TBEN-L5-4RFID-8DXP-CDS 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 97
Adding an Ethernet adapter Right-click “Device (TBEN-Lx-4RFID-8DXP-CDS)” in the project tree. Select “Append device”. Select an Ethernet adapter. Click “Append device”. Fig. 95: Adding an Ethernet adapter V02.00 | 2018/08...
Page 98
The device appears as “Modbus_TCP_Master” in the project tree. Modbus slaves can be connected to the Modbus master. Fig. 96: 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...
7.5.1 Setting up the network interface Double-click “Device (TBEN-L5-4RFID-8DXP-CDS” in the project tree. Choose the “Communication” tab. Click “Scan network”. Select TBEN-L and press OK or double-click to confirm. Fig. 97: Adding the network interface V02.00 | 2018/08...
Page 100
In the “Always refresh variables” drop-down menu, select “Activate 2 (always in the bus cycle task)”. Fig. 98: Selecting the “Always refresh variables” option Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 101
Double-click “Ethernet” in the project tree. Enter the IP address of the Modbus master (here: 192.168.1.100). Fig. 99: Modbus master – Entering the IP address V02.00 | 2018/08...
Page 102
Double-click “Modbus_TCP_slave” in the project tree. Enter the IP address of the Modbus slave (here: 192.168.1.20). Fig. 100: Modbus master – Entering the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
1. Fig. 103: Example: Process data Refer to the operating instructions of the connected slave for the mapping the channels (see figure below). Fig. 104: Example: Extract from the Modbus TCP Mapping for TBEN-L5-4RFID-8DXP-CDS V02.00 | 2018/08...
3 8DXP 144…147 DXP para- 752…753 DXP input 608…609 DXP output 144…147 DXP dia- Basic meters data data gnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 107
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 set- 610…611 VAUX out- control tings put data Module 758…759 Module status status V02.00 | 2018/08...
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 110
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.2 HF applications – Selecting the tag type In multitag applications select a tag type for executing the read and write commands. The automatic tag detection is not supported for the read and write commands in multi- tag mode. The tag types that can be selected depends on the firmware of the connected read/write head.
8.1.3 HF applications – Setting the bridging 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 drop out and the return to the transmission zone must be bridged so that the write or read operation is com- pleted.
(BYFI). To end Continuous 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...
Addressing read/write heads automatically NOTE Turck recommends making the read/write head address visible on the device. Read/write heads with the default bus address 68 can be automatically addressed. For this the corresponding XCVR bit must be set in the parameter data.
Page 116
RFID cable e.g. RK4.5T-…-RS4.5T/S2500 Ethernet cable e.g. RSSD-RJ45… Fig. 106: 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 117
Addressing read/write heads with an interface converter via the Turck Service Tool NOTE Turck recommends making the read/write head address visible on the device. The following accessories are required to address the read/write heads in HF bus mode. Ac- cessories are not supplied with the device and must be ordered separately.
Page 118
Select the COM port to which the interface converter is connected. Click “Read”. The found read/write head is displayed in the status message. Fig. 109: “HF-RFID-Reader Setup Tool” window Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 119
Enter the required address. Click “Change”. The new set address is displayed in the status message. Fig. 110: Changing the read/write head V02.00 | 2018/08...
Execute the “Restore settings UHF read/write head” command. The data stored in the interface is transferred to the read/write head. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
RFID channels – Evaluating process input data Evaluating process input data – HF compact and UHF compact modes Byte no. PROFINET Modbus EtherNet/ Response code (RESC) BUSY ERROR Response code (RESC) Loop counter for rapid processing (RCNT) reserved TNCx TREx PNSx CMON Length (LEN)
Page 122
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 123
Evaluating process input data – HF bus mode Byte no. PROFINET Response code (RESC) BUSY ERROR 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.
In Idle mode the size of fragments is stated. With a read command the number of the fragments containing data is stated. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Designation Meaning Write fragment no. (WFN) If the data to be written exceeds the size of the write data memory, the data is di- vided 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 write fragment num- ber appears in the process input data.
Write data Byte 4 Write data Byte 5 Write data Byte 6 Write data Byte 7 … … … Write data Byte 127 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 127
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 128
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 130
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 – Writing 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...
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...
Reset read/write head password 0x0101 257 Set tag protection 0x0103 259 Set tag protection with 0x2103 8451 fast command processing Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 137
Command Command code possible for hex. dec. compact extended bus mode compact extended Get HF tag protection 0x0104 260 status Set perma lock 0x0105 261 Set permanent lock with fast com- 0x2105 8453 mand processing Tag info 0x0050 80 Tag info with fast command 0x2050 8272 processing Kill UHF tag...
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 Inventory command The “Inventory” command causes the read/write head to search for tags in the detection range and read the UID, EPC or RSSI of the tags, if activated in the UHF read/write head. The inventory command can be executed in single-tag mode and in Multitag mode. NEXT mode is only pos- sible in single-tag mode.
Page 140
Size uint8_t Block type uint8_t Data [14] uint8_t EPC [12] uint16_t Number of the read operations (LSB Ò MSB) [2] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 141
Example: UHF read data (header and EPC, grouping with RSSI activated) Type Name Meaning uint8_t Size uint8_t Block type uint8_t Data [18] uint8_t Header [2] uint8_t EPC [12] uint16_t RSSI [2] uint16_t Number of the read operations (LSB Ò MSB) [2] Byte Content Meaning...
[} 124] Write fragment no. Read fragment no. see description of the input data, [} 124] 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 Write command The Write command causes the read/write head to write data to tags in the detection range. 128 bytes are transferred in a write operation by default. Larger data volumes can be trans- ferred in fragments. If a particular UID or EPC is entered, the read/write head only writes the ap- propriate tags.
Page 144
[} 124] Write fragment no. see description of the input data, [} 124] 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 Write and verify command 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 146
Write fragment no. see description of the input data, [} 124] 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 Continuous mode NOTE The continuous mode is only available in HF applications for single-tag applications. In Continuous mode, a user-defined command is sent to the read/write head and saved in the read/write head. With HF the following values can be set: Write, read, inventory, tag info. With UHF the commands write, read and inventory can be executed in Continuous mode.
Page 148
Write fragment no. Read fragment no. see description of the input data, [} 124] Read data see description of the input data, [} 124] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.7 “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 passes on data stored in the interface to the controller. The command is required to transfer read data to the controller in Continuous mode or in Con- tinuous presence sensing mode.
Page 150
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] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 151
Example: UID, grouping activated Type Name Meaning uint8_t Data [10] uint8_t UID [8] uint16_t Number of the read operations Example: Successful read command (64 bytes) Type Name Meaning uint8_t Data [64] uint8_t Read data [64] Example: Successful write command Type Name Meaning uint8_t...
Write fragment no. Read fragment no. see description of the input data, [} 124] Read data see description of the input data, [} 124] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.9 “Stop continuous (presence sensing) mode” command Continuous (presence sensing) mode can be stopped via the “Stop continuous (presence sens- ing) mode” command. The data in the buffer of the interface is not deleted after the command is executed and can still be scanned by the controller via the “Get data from buffer” command. Request Loop counter see description of the output data, [} 129]...
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 Switch off HF read/ command 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 over- lap.
8.8.13 “Get HF read/write head address” command 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 “Get HF read/write head address” command. If a non-bus-compatible read/write head is connected, the device outputs an error message.
[} 124] Write fragment no. Read fragment no. see description of the input data, [} 124] 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, [} 129]...
Page 160
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 161
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 162
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 163
The following table supports you in the conversion of power values from dBm to mW. 1.25 1000 V02.00 | 2018/08...
[} 129] 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 165
Response Loop counter see description of the input data, [} 124] Response code 0x0102 (hex.), 258 (dec.) Length not required Error code see description of the input data, [} 124] Tag within the see description of the input data, [} 124] detection range Data (bytes) available see description of the input data, [} 124] Tag counter...
[} 124] Write fragment no. Read fragment no. see description of the input data, [} 124] 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 Reset read/write head password command 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 sets a password for write access, read access or a kill command in the tag. The password function is switched off, there is no password exchange between the read/write head and the tag.
[} 124] Write fragment no. Read fragment no. see description of the input data, [} 124] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 171
Response Read data, Byte 0 Bit 0: Write protection, Page 0 Bit 1: Write protection, Page 1 Bit 2: Write protection, Page 2 Bit 3: Write protection, Page 3 Bit 4: Write protection, Page 4 Bit 5: Write protection, Page 5 Bit 6: Write protection, Page 6 Bit 7: Write protection, Page 7 UHF: not required...
[} 129] Write fragment no. Read fragment no. see description of the output data, [} 129] 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 173
Response Loop counter see description of the input data, [} 124] Response code 0x0105 (hex.), 261 (dec.) Length not required Error code see description of the input data, [} 124] Tag within the see description of the input data, [} 124] detection range Data (bytes) available see description of the input data, [} 124] 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 175
Response (UHF) Loop counter see description of the input data, [} 124] Response code 0x0050 (hex.), 80 (dec.) Length see description of the input data, [} 124] Error code see description of the input data, [} 124] Tag within the detection range see description of the input data, [} 124] Data (bytes) available see description of the input data, [} 124] Tag counter...
[} 124] Write fragment no. Read fragment no. see description of the input data, [} 124] 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 Restore settings UHF read/write head command 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.
[} 124] Write fragment no. Read fragment no. see description of the input data, [} 124] 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 “Get UHF read/write head error/status” command NOTE The command is only available for UHF applications. The “Get UHF read/write head error/status” command enables error/status messages of a con- nected UHF read/write head to be read. Request Loop counter see description of the output data, [} 129] Command code 0x042 (hex.), 66 (dec.) Read/write head address...
Page 180
Limit value for radiated power exceeded No free channel present Antenna resistance too high or tool low Reverse power too high PLL not locked Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 181
Evaluating read data – Device status Meaning Error in message generation (in Polling mode outside of memory area) Temperature warning Temperature too high Communication error Configuration invalid. Command execution not possible. Evaluating read data – RF mode Value Meaning 0x00 None (tag off) 0x01 Mode 1: Trigger is digital signal (edge), Timeout...
[} 124] Write fragment no. Read fragment no. see description of the input data, [} 124] 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...
Opening a web server The web server can either be opened via a web browser or via the Turck Service Tool. The call of the web server via the Turck Service Tool is described in the section “Setting the IP address”.
Enter the password in the Login field on the start page of the web server. Click “Login”. Fig. 112: Login field on the start page of the web server (marked in red) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 185
After the login, write access to input, output and parameter data is possible. Fig. 113: Web server – Start page after the login V02.00 | 2018/08...
Page 186
Select the operating mode via the “Operating Mode” drop-down menu. Fig. 115: “Operating Mode” drop-down menu 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 187
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 at the top left of the screen. ...
Page 188
Fig. 118: Input data with successfully executed read command Ò The read data can be called at “RFID Read Data” “Inputs”. Fig. 119: Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 189
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 8 bytes of a tag. Three read/write heads are connected to channel 0 of the interface. ...
Right-click Host PC in the project tree. Click “Add device”. Select BL Service Ethernet. Confirm selection with OK. Fig. 122: Selecting an Ethernet adapter Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 191
Right-click the Ethernet adapter in the project tree. Click “Add device”. Select TBEN-L5-4RFID-8DXP-CDS. Confirm selection with OK. Fig. 123: Selecting TBEN-4RFID-8DXP-CDS V02.00 | 2018/08...
Page 192
Click “Connect”. After connecting, read and write access to input, output and parameter data is possible. Fig. 125: Complete project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.10.2 Editing parameter data with the DTM – Online parameterization The online parameterization function enables parameter data to be changed and written to the device. Right-click the device in the project tree. Click “Online parameterization”. Fig. 126: Online parameterization Example: Selecting the operating mode ...
The process input data is displayed in the window on the right-hand side (example: the device is in Idle mode). Fig. 128: Measured value 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.4 Changing process output data with the DTM – Simulation The Simulation function of the DTM enables the process output data to be changed. Right-click the device in the project tree. Click “Simulation”. Select the required channel in the central window. 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. 130: Diagnostics 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.6 Example: Executing a read command with the DTM In the following example 8 bytes of a tag are read by an HF read/write head connected to chan- nel 0 of the interface. Right-click the device in the project tree. ...
Page 198
The read data is displayed in the “Measured value” window. The data format is hexadecimal. Fig. 132: Executing a read command – “Measured value” window Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
UHF read/write heads can be assigned additional parameters via a DTM. No parameters can be set in UHF read/write heads via the parameter data of the interface. The DTM for the specific device is available for download from www.turck.com. A comprehensive description of the settings for UHF read/write heads is provided in the oper- ating instructions for the specific device.
A change to the password for SFTP access also causes a change to the pass- word in the web server. Fig. 133: SFTP access via FileZilla (example) 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 the command code. The busy bit is set during command execution. The command is successful when the response code is the same as the command code and the error bit is not set.
Page 202
≤ 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 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 zero. If less data is read than the set size of the data interface, the fragment counter stays at 0.
Tag A Data Data Data Read (next tag) Tag A Read Read Tag B Data Data Data Fig. 134: NEXT mode (layout) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Using Inventory command and Continuous (presence sensing) mode Inventory command and Continuous (Presence Sensing) mode have different data transfer methods to the PLC. The Continuous mode is suitable for fast applications in which a command (e.g. read or write operation) has to be repeated. A repeated execution of the same command by the controller is not required.
Ethernet connection established, 100 Mbit/s green flashing Data transfer, 100 Mbit/s lit yellow Ethernet connection established, 10 Mbit/s yellow flashing Data transfer, 10 Mbit/s Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 207
LEDs TP0…TP3 Meaning No tag within the detection range lit green Tag within the detection range green flashing Tag in the detection range, command is processed flashing (1 Hz) red/ Connection with DTM. No connection to controller active. green lit red Diagnostics present LEDs Meaning...
Expected read/write head not found TRE… Read/write head reports error PNS… Parameter not supported by read/write head XD… Read/write head detuned Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.8.3 Diagnostic messages – Digital channels Byte no. VAUXC7 VAUXC6 VAUXC5 VAUXC4 reserved reserved reserved ERR15 ERR14 ERR13 ERR12 ERR11 ERR10 ERR9 ERR8 Meaning of the diagnostic bits Designation Meaning VAUXC4 Overvoltage at power supply terminal VAUX at socket 7 (channels 8 and 9) VAUXC5 Overvoltage at power supply terminal VAUX at socket 7 (channels 10 and 11) VAUXC6...
0x8203 33283 Command not supported in UHF applications 0x8204 33284 Command for multitag application with automatic tag detection not supported Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 211
Error code (hex) Error code (dec) Meaning 0x8205 33285 Command for applications with automatic tag detection not sup- ported 0x8206 33286 Command only supported for ap- plications with automatic tag de- tection 0x8207 33287 Command not supported for multi- tag application 0x8208 33288 Command not supported in HF bus...
Page 212
0xB06A 45162 Error when reading the system in- formation 0xB06B 45163 Error when reading the protection status of the tags Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 213
Error code (hex) Error code (dec) Meaning 0xB0AD 45229 Error when setting the read/write head address 0xB0BD 45245 Error when setting the transfer rate 0xB0DA 45274 Error with the “Tag in detection range” function 0xB0E0 45280 Error when reading the read/write head version 0xB0E1 45281...
Page 214
ISO 15693 error: Addressed memory area locked and not writ- able 0xF013 61459 ISO 15693 error: Write operation not successful Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 215
Error code (hex) Error code (dec) Meaning 0xF014 61460 ISO 15693 error: Addressed memory area could not be locked 0xF0A0…0xF0DF 61600…61663 Air interface error 0xF101 61697 Air interface error: CRC error 0xF102 61698 Air interface error: Timeout 0xF103 61699 Air interface error: UHF tag error 0xF108 61704 Air interface error: UHF tag outside...
Turck recommends the use of the industrially robust USB stick USB 2.0 Industrial Memory Stick (Ident No. 6827348). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.10.1 USB Host port – Function overview Both a read as well as write access to the device is possible via the USB Host port. NOTICE Use of recipes in CODESYS Corrupt files when files are manipulated in the USB_Data directory ...
Page 218
Load “USB_Data” folder from the memory medium to STOP WRITE the device. Existing files with the same name are overwritten. All other files remain unchanged. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.10.2 Executing USB functions Execute Backup_1 and Backup_2 Insert the USB stick in the device. The RUN LED flashes green at 4 Hz. The backup is executed. The backup is completed when the RUN LED flashes orange at 1 Hz. ...
Reset command. The settings are retained if a restart was carried out or the device was reset via 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 function as expected, first check whether ambient interference is present. If there is no ambient interference present, check the connections of the device for faults. If there are no faults, there is a device malfunction. In this case, decommission the device and replace it with a new device of the same type.
Example: Update the firmware with the PACTware™ FDT frame application Launch PACTware™. Ò Right-click HOST PC Add device. Fig. 135: 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 223
Select BL Service Ethernet and confirm with OK. Fig. 136: Select the Ethernet interface Double-click the connected device. PACTware™ opens the bus address management. Fig. 137: Opening Bus Address Management V02.00 | 2018/08...
Page 224
Maintenance Search for connected Ethernet devices: Click the “Search” icon. Select the required device. Fig. 138: Selecting the device Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 225
Click “Firmware Download” to start the firmware update. Fig. 139: Starting the firmware update V02.00 | 2018/08...
The firmware update is completed when the RUN LED flashes orange at 1 Hz. Remove the USB stick. Carry out a voltage reset. The device restarts. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Repair The device must not be repaired by the user. The device must be decommissioned if it is faulty. Observe our return acceptance conditions when returning the device to Turck. 12.1 Returning devices If a device has to be returned, bear in mind that only devices with a decontamination declara- tion will be accepted.
EtherNet/IP™ specification Device Level Ring (DLR) supported Number of TCP connections Number of CIP connections Input assembly instance Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 229
Technical data Output assembly instance Configuration Assembly Instance PROFINET Addressing MinCycle TIme 4 ms Diagnostics as per PROFINET alarm handling Automatic addressing supported Media redundancy protocol (MRP) supported RFID No. of channels Connection technology Power supply 2 A per channel at 70 °C, short-circuit-proof Operation per channel 1 ×...
Page 230
Material of window Lexan Material of screw 303 stainless steel Material of label Polycarbonate Halogen-free Mounting 2 fixing holes, Ø 6.3 mm 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...
Command Code := 0x0011 Read-Fragment +1 Data bytes available = 0 Done Fig. 144: Flow chart: 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...
Appendix: EU conformity declaration Appendix: EU conformity declaration Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 237
Over 30 subsidiaries and over 60 representations worldwide! D500066 | 2018/08 D500066 www.turck.com...
Need help?
Do you have a question about the TBEN-L5-4RFID-8DXP-CDS and is the answer not in the manual?
Questions and answers