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 EC Declaration of Conformity Feedback about these instructions We make every effort to ensure that these instructions are as informative and as clear as pos- sible.
For further inquiries in Germany contact the Sales and Service Team on: Sales: +49 208 4952-380 Technology: +49 208 4952-390 Outside Germany, please contact your local Turck representative. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
These devices are designed solely for use in industrial areas. The TBEN-S2-2RFID-4DXP block module is an RFID interface for use in the Turck BL ident® sys- tem. The device is connected between the controller and the read/write head and transmits commands from the controller to the read/write heads.
Four configurable digital channels as 0.5 A PNP inputs or outputs Integrated web server LEDs and diagnostics Programmable with FLC/ARGEE Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Operating principle The BL ident® interfaces connect the RFID system with the higher-level controller system. The interfaces are provided with a fieldbus interface and fieldbus-independent I/O electronics with an RFID interface. The interface signals of up to four sensors and actuators can also be pro- cessed via four configurable digital channels.
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 13
In Continuous HF bus mode, a command is performed simultaneously at all read/write heads in a bus topology. The logged data is stored in the ring memory of the module. RFID connection cable (e.g. RK4.5T-0.3-RS4.5T/S2503) TBEN-S2-2RFID-4DXP VT2-FKM5-FKM5-FSM5 TN-M30-H1147/C53 TN-M18-H1147/C53 up to 32 per port TN-CK40-H1147/C53 Fig. 2: HF bus mode setup...
If the command was successfully ex- ecuted, the command code is output in the response data. 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.
Push down the locking lever and close until the locking lever engages with an audible click (4). Repeat steps 1 to 4 until the module group is complete. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Mounting onto a mounting plate The devices are fixed on a pre-drilled mounting plate with two M4 screws. The maximum tight- ening torque for the M4 screws is 1.3 Nm Mount the modules or the module composites according to the following figure. Fig. 5: Mounting the device to a mounting plate.
The TBNN-S0-DRS adapters for mounting the TBEN-S modules on a DIN rail (TS 35) connect the grounding contact (4) of the modules with the DIN rail and thus FG. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
5.5.2 Ground the device (FE) Grounding clip and grounding ring are connected together. If a common reference potential for I/O level and fieldbus level is not required: remove the grounding clip to disconnect the fieldbus shield. Grounding the device – Mounting on DIN rail ...
Do not use crossover cables in QuickConnect and Fast Start-Up applications. Connect incoming Ethernet cables to P1. Connect outgoing Ethernet cables to P2. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Connecting the power supply The device is provided with two 4-pin M8 plug connectors for connecting the power supply. V1 and V2 are electrically isolated from each other. NOTICE Interchanging of Ethernet- and power cables Destruction of module electronic Observe using the correct M8-connectors when connecting Ethernet- and power cables: - Ethernet: P1 and P2, supply voltage: X1and X2...
VB2-FKM5-FSM5.205-FSM5.305/ S2550. Connect a terminating resistor (e.g. RSE57-TR2/RFID) behind the last read/write head. RFID connection cable (e.g. RK4.5T-0.3-RS4.5T/S2503) TBEN-S2-2RFID-4DXP VT2-FKM5-FKM5-FSM5 TN-M30-H1147/C53 TN-M18-H1147/C53 up to 32 per port TN-CK40-H1147/C53 Fig. 22: HF bus mode setup...
– Wiring diagram The channels are assigned to the slots as follows: Channel Slot DXP (Ch4) DXP (Ch5) DXP (Ch6) DXP (Ch7) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
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 DTM, the web server, a DHCP server or PROFINET DCP. The following example shows the setting of the IP address via the Turck Service Tool.
Page 26
Fig. 28: Turck Service Tool – select the device to be addressed NOTE Clicking the IP address of the device opens the web server. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 27
Change the IP address and if necessary the network mask and gateway. Accept the changes by clicking Set in device. Fig. 29: Turck Service Tool – Change device configuration 05.00 | 2019/11...
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.2.1 Connecting the device with the controller To connect the device to the controller, the following components must be added in CODESYS first of all: Ethernet adapter Modbus TCP master Modbus TCP slave Adding an Ethernet adapter Right-click Device (TX507-P3CV01) in the project tree. Fig. 30: Project tree 05.00 | 2019/11...
Page 30
Click Add device. The Ethernet adapter appears as Ethernet (Ethernet) in the project tree. Fig. 31: Adding an Ethernet adapter Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 31
Adding a Modbus master Right-click Ethernet (Ethernet) in the project tree. Select Add device. Double-click the Modbus TCP Master. The Modbus master appears as Modbus_TCP_Master (Modbus TCP Master) in the pro- ject tree. Fig. 32: Adding a Modbus master 05.00 | 2019/11...
Page 32
Double-click Modbus TCP Slave. The Modbus slave appears as Modbus_TCP_Slave in the project tree. Fig. 33: Adding a Modbus slave Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.2 Renaming a Modbus slave Click the Modbus slave in the project tree. Press F2. Adapt the name of the slave in the project tree of the application. Fig. 34: Assigning a device name (here: TBEN-S2-2RFID_4DXP) 05.00 | 2019/11...
Open the Network Adapter dialog in the General tab via the … button. Enter the IP address of the Modbus master. Fig. 36: Modbus master – Entering the IP address (here: 192.168.1.60) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.4 Modbus TCP slave – Setting the IP address Double-click the Modbus TCP slave. In the General tab enter the IP address of the slave. Fig. 37: Modbus slave – Entering the IP address (here: 192.268.1.61) 05.00 | 2019/11...
Access type: Read holding registers Offset: 0x0000 Length: 64 registers (128 bytes) Confirm with OK. Fig. 38: Defining READ registers Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 37
Defining channel 1 (output 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: Write multiple registers Offset: 0x0800 Length: 64 registers (128 bytes) ...
Double-click the Modbus TCP slave. Click the Modbus TCP slave I/O image tab. The process data is displayed. Fig. 41: Process data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.2.8 Modbus TCP – Mapping RFID channels – Parameter data Description Register Bit offset Bit length Channel 1 Channel 2 Operating mode 0xB000 0xB012 Select tag type 0xB000 0xB012 Bridging time 0xB001 0xB013 HF: Multitag mode 0xB002 0xB014 HF: Heartbeat read/write head 0xB002 0xB014 RS 485 terminating resistor...
Page 40
Read data Byte 65 0x002C 0x007B … … 0x0000 … Read data Byte 126 0x004B 0x0097 Read data Byte 127 0x004B 0x0097 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 41
RFID channels – Process output data Description Register Bit offset Bit length Channel 1 Channel 2 Command code 0x0800 0x084C Loop counter 0x0801 0x084D Memory area (only UHF) 0x0801 0x084D Start address 0x0802 0x084E Length 0x0804 0x0851 Length UID/EPC 0x0805 0x0851 Antenna no.
Page 42
Input value channel 4 0x00BC Input value channel 5 0x00BC Input value channel 6 0x00BC Input value channel 7 0x00BC Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 43
Digital channels – Output data Description Register Bit offset Bit length Output value channel 4 0x0898 Output value channel 5 0x0898 Output value channel 6 0x0898 Output value channel 7 0x0898 Digital channels – diagnostic messages Description Register Bit offset Bit length Overvoltage at power supply ter- 0x00BD...
The programming software has been started. A new project has been created. The PLC has been added to the project. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.1 Installing an EDS file The EDS file is available free of charge for download from www.turck.com. Ò Include an EDS file: Click Tools EDS Hardware Installation Tool. Fig. 42: Opening the EDS Hardware Installation Tool 05.00 | 2019/11...
Page 46
The wizard for the installation of EDS files is started. Click Next to select the EDS file. Fig. 43: Starting the EDS Wizard Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 47
Select the Register an EDS file(s) option and confirm with Next. Fig. 44: Option selection – Registering an EDS file(s) 05.00 | 2019/11...
Page 48
Enter a path for the memory location of the EDS file. Confirm with Next. The Installation wizard guides you through the installation. Fig. 45: Selecting an EDS file Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.2 Connecting the device with the controller Ò Right-click I/O Configuration Ethernet. Click New Module. Fig. 46: Adding a new module 05.00 | 2019/11...
Page 50
Select Turck under Module Type Vendor Filters. Select TBEN-S2-2RFID-4DXP. Confirm the selection with Create. Fig. 47: Selecting an EDS file for TBEN-S2-2RFID-4DXP Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 51
Assign a module name. Enter the IP address. Fig. 48: Setting the module name and IP address 05.00 | 2019/11...
Page 52
In the following window select INT. Fig. 49: Selecting an integer as a format for the input data and output data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 53
Optional: Set the connection and port configuration. Fig. 50: Setting the connection Fig. 51: Setting the port configuration 05.00 | 2019/11...
Page 54
Connecting a device to an EtherNet/IP™ controller The device appears in the project tree. Fig. 52: TBEN-S2-2RFID-4DXP 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...
7.3.3 Connecting the device online with the controller Select the controller. Click Go online. Fig. 53: Connecting the device online 05.00 | 2019/11...
Page 56
In the following window click (Connect To Go Online) Download. Fig. 54: Click Download Confirm all the following messages. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.4 Reading out process data Select Controller Tags in the project tree. Fig. 55: Controller tags in the project tree Parameter data (tben_2rfid:C), input data (tben_2rfid:I1) and output data (tben_2rfid:O1) can be accessed. Fig. 56: Access to parameter data, input data and output data 05.00 | 2019/11...
Page 58
In the following example a tag is located in the detection range of the read/write head. The process data can be interpreted by means of the mapping. Fig. 57: Process input data – Example Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.5 EtherNet/IP™ – Mapping Description Assembly instance Size (words) Input Output RFID channels – Parameter data Description Register Bit offset Bit length Channel 1 Channel 2 Operating mode 0x000A 0x0041 Select tag type 0x000B 0x0042 Bridging time 0x000C 0x0043 HF: Multitag mode 0x000D 0x0044 HF: Heartbeat read/write head...
Page 60
Read data Byte 65 0x002D 0x0079 … … … … Read data Byte 126 0x004C 0x0098 Read data Byte 127 0x004C 0x0098 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 61
RFID channels – Process output data Description Word offset Bit offset Bit length Channel 1 Channel 2 Command code 0x0001 0x004D Loop counter 0x0002 0x004E Memory area (only UHF) 0x0002 0x004E Start address 0x0003 0x004F Length 0x0005 0x0051 Length UID/EPC 0x0006 0x0052 Read/write head address...
Page 62
… … Expected read/write head 31 not con- 0x00AA 0x00BC nected Expected read/write head 32 not con- 0x00AA 0x00BC nected Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 63
DXP channels – Parameter data Description Register Bit offset Bit length DXP 4 – Manual reset of the output 0x0076 after an overcurrent DXP 5 – Manual reset of the output 0x0077 after an overcurrent DXP 6 – Manual reset of the output 0x0078 after an overcurrent DXP 7 –...
Page 64
Bit length Module diagnostic available ARGEE project active Undervoltage V2 Undervoltage V2 Internal error Force mode active in the DTM Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.6 Activating QuickConnect (QC) The devices support QuickConnect. QuickConnect enables the controller to establish connec- tions to EtherNet/IP™ nodes in less than 500 ms after the EtherNet/IP™ network is switched on. This requires the fast startup of the devices, particularly with fast tool changers on robot arms, e.g.
Page 66
Activate QuickConnect via the class instance attribute as follows: Class Instance Attribute Value 0xF5 0x01 0x0C 0: deactivated (default) 1: activated 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 web server Tick the Activate Quick Connect check box in the web server. Fig. 59: Activating QuickConnect in the web server 05.00 | 2019/11...
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.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). Fig. 60: Include the GSDML file 05.00 | 2019/11...
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 05.00 | 2019/11...
Ò Choose Device View Properties tab Ethernet addresses. Assign the required IP address. Fig. 64: Assigning the IP address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.4.5 Connecting the device online with the controller Start online mode (connect online). The device was successfully linked to the controller. Fig. 65: Online mode 05.00 | 2019/11...
Fig. 66: Setting module parameters 7.4.7 PROFINET – Mapping The PROFINET mapping is the same as the data mapping described in the “Settings” chapter. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Setting The device can be controlled, read and set via parameter data, process input data, process out- put data and diagnostic data. The following table shows the data mapping: Socket Channel Parameter data Process input data Process output data Diagnostic data Bytes Meaning Bytes...
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 78
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 (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 83
Manually addressing read/write heads – Set read/write head address command NOTE Turck recommends making the bus address of the read/write head visible on the device. For information on addressing the read/write heads via the RFID interface with the Set HF read/ write head address command see page [} 126].
Page 84
Launch the Turck Service Tool. Click Actions or press [F4]. Click Set HF RFID Reader Bus Address. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 85
Fig. 70: Function selection – Set HF RFID reader bus address The HF-RFID Reader Setup Tool window opens. 05.00 | 2019/11...
Page 86
Enter the required address. Click Change. The new set address is displayed in the status message. Fig. 72: Changing the read/write head Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 87
Activate the required read/write heads in the parameter data via the appropriate XCVR bit. 05.00 | 2019/11...
Execute the Restore UHF read/write head settings 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 – Process input data Process input data – HF compact and UHF compact modes Byte no. PROFINET Modbus EtherNet/ IP™ Response code (RESC) Loop counter for rapid processing (RCNT) Reserved TNCx TREx PNSx CMON Length (LEN) Error code (ERRC) Tag counter (TCNT) Read data Byte 0 Read data Byte 1...
Page 90
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 bus mode Byte no. PROFINET 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. Write fragment no. Reserved Reserved Reserved...
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...
Page 93
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.
UID are indicated at the same time in Idle mode. If two tags are de- tected in quick succession, the TP bit may remain set. The UID of the second tag 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/ IP™ 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)
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: Con- tinuous 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 no. (RFN) If the data to be read exceeds the size of the read 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 read fragment number appears in the process input data.
1: Digital filter and pulse extension activated Pulse extension (IST) Pulse extension: 0…2550 ms (adjustable in 10 ms steps), default value: 10 ms 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. DXP7 DXP6 DXP5 DXP4 8.6.1 Meaning of the status bits Default values are shown in bold type. Designation Meaning DXP4 0: Digital channel 1 not active 1: Digital channel 1 active DXP5 0: Digital channel 2 not active 1: Digital channel 2 active DXP6...
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 103
Command Command code Possible for hex. dec. compact extended bus mode compact extended Query HF tag 0x0104 260 protection status Set permanent lock (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...
Size of the fragments Read fragment no. Size of the fragments Read data, Bytes 0…n UID/EPC of the tag in the detection range Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.2 Command: Inventory The Inventory command causes the read/write head to search for tags in the detection range and read the UID, EPC of the tags, or if activated in the UHF read/write head, the RSSI. The In- ventory command can be executed in single-tag mode and in multitag mode. NEXT mode is only possible in single-tag mode.
Page 106
Example: UHF read data (header and EPC, grouping deactivated) Type Name Meaning uint8_t Size uint8_t Block type uint8_t Data [14] uint8_t EPC [12] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 107
Example: UHF read data (header and EPC, grouping activated) Type Name Meaning uint8_t Size uint8_t Block type uint8_t Data [14] uint8_t EPC [12] uint16_t Number of the read operations (LSB Ò MSB) [2] Example: UHF read data (header and EPC, grouping with RSSI activated) Type Name Meaning...
Page 108
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.
Page 110
See description of the input data, [} 92] Write fragment no. Read fragment no. See description of the input data, [} 92] Read data, Bytes 0…n Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.4 Command: Write The Write command causes the read/write head to write data to tags in the detection range. 128 bytes are transferred in a write operation by default. Larger data volumes can be trans- ferred in fragments. If a particular UID or EPC is entered, the read/write head only reads the ap- propriate tags.
Page 112
See description of the input data, [} 92] Write fragment no. See description of the input data, [} 92] Read fragment no. Read data, Byte 0...127 Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.5 Command: Write and verify The Write and verify command writes a number of bytes defined by the user. The written data is also sent back to the interface and verified. 128 bytes are transferred by default in a write op- eration.
Page 114
Write fragment no. See description of the input data, [} 92] Read fragment no. Read data, Not required Byte 0…MIN (127, set length-1) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.6 Command: Continuous mode NOTE Continuous mode is only available in HF applications for single-tag applications. The repeated reading of the same tag is edge-triggered. In Continuous mode, a user-defined command is sent to the read/write head and saved in the read/write head.
Page 116
Write fragment no. Read fragment no. See description of the input data, [} 92] Read data See description of the input data, [} 92] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.7 Command: Get data from buffer command (Continuous mode/Continuous presence sensing mode) NOTE The command code for fast processing with the loop counter is 0x2011 (hex.) or 8209 (dec.). The Get data from buffer command (Continuous mode) passes on data stored in the interface to the controller.
Page 118
MSB) Ò uint32_t Time (LSB MSB) Ò uint16_t Phase (LSB MSB) uint16_t Number of the read operations (LSB Ò MSB) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 119
Data format in HF applications In HF applications the data is not formatted by means of a header. Some examples of HF data are listed below. Example: UID, grouping deactivated Type Name Meaning uint8_t Data [8] uint8_t UID [8] Example: UID, grouping activated Type Name Meaning...
Write fragment no. Read fragment no. See description of the input data, [} 92] Read data See description of the input data, [} 92] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.9 Command: End Continuous (presence sensing) mode Continuous and presence sensing mode can be stopped via the Shut down Continuous (pres- ence sensing) mode command. The data in the buffer of the interface is not deleted after the command is executed and can still be called up by the controller via the Get data from buffer command.
Read data, Byte 38...41 Firmware status: ARRAY [0…] of BYTE: V (0x56), x, y, z (Vx.y.z) Read data, Byte 42...119 Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.8.11 Command: Switch off HF read/write head The Switch off HF read/write head command enables HF read/write heads to be switched off until a write or read command is present. The switching on and off of the read/write heads may be necessary if the devices are mounted very closely together and the detection ranges over- lap.
8.8.13 Command: Query HF read/write head address NOTE The command is only available in HF bus mode. The interface can query the addresses of all connected HF read/write heads via the Query HF read/write head address command. If a non-bus-compatible read/write head is connected, the device outputs an error message.
See description of the input data, [} 92] Write fragment no. Read fragment no. See description of the input data, [} 92] 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 read 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, [} 98]...
Page 128
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 129
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 130
0x09 8A 3C 03 01 1E 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 un- til the Set tag protection command has also been carried out.
Page 132
See description of the input data, [} 92] Write fragment no. Read fragment no. See description of the input data, [} 92] 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 ac- cess or a kill command. The password is stored temporarily in the memory of the read/write head.
See description of the input data, [} 92] Write fragment no. Read fragment no. See description of the input data, [} 92] 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 136
See description of the input data, [} 92] Write fragment no. Read fragment no. See description of the input data, [} 92] 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 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 138
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 140
See description of the input data, [} 92] Write fragment no. Read fragment no. See description of the input data, [} 92] 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, [} 92] Write fragment no. Read fragment no. See description of the input data, [} 92] 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 147
Response Loop counter See description of the input data, [} 92] Response code 0x042 (hex.), 66 (dec.) Length See description of the input data, [} 92] Error code See description of the input data, [} 92] Tag within the See description of the input data, [} 92] detection range Data (bytes) available See description of the input data, [} 92]...
Page 148
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 and output data and the buffer are also 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 pages (device IP address: 192.168.1.20) 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 to edit settings via the web server. The default password is "password". NOTE For security reasons, 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 152
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 153
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 05.00 | 2019/11...
Page 154
Select the operating mode via the Operating mode drop-down menu. Fig. 77: Drop-down-Menü – 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 155
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 156
Call the input data: Click Inputs in the navigation bar on the left of the screen. Fig. 79: Input data Refresh the page manually to display the latest status. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 157
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 05.00 | 2019/11...
Page 158
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 159
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 160
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 162
Right-click the Ethernet adapter in the project tree. Click Add device. Select TBEN-S2-2RFID-4DXP. Confirm selection with OK. Fig. 85: Selecting TBEN-S2-2RFID-4DXP Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 163
Enter the IP address of the device (example: 192.168.1.20). Optional: Enter designation and device description. Confirm entries with OK. Fig. 86: Entering the IP address ü The project tree is fully open. Right-click the device in the project tree. ...
Click the operating mode in the Online parameterization window. Select the required operating mode from the drop-down menu. Fig. 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 input 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: No diagnostics presents). Fig. 92: 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 a read/write head connected to channel 0 of the interface. Right-click the device in the project tree. Click Simulation.
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 NOTE A command is successful when the response code is the same as the command code. Set the parameters for the command.
Page 170
≤ 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 0. If less data is read than the set size of the data interface, the fragment counter stays at 0.
Page 172
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 173
Ò 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 174
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 175
Ò 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 176
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 178
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 179
Ò 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 180
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 181
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 05.00 | 2019/11...
To end Continuous mode, execute the End Continuous mode command (0x0012). 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...
Using HF bus mode 9.5.1 Executing commands in HF bus mode Set the parameter data. Select the HF bus mode operating mode. Activate the connected read/write heads. Set the input data. Specify the command code. ...
CMD Action Time Bypass time Waiting Bypass time Waiting Bypass time Waiting Bypass time Waiting time time time time 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 HF bus mode In HF Continuous mode 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...
Query UID in HF Continuous bus mode There are three ways of querying the UID in HF Continuous bus mode. Use HF bus mode in Idle Use the Inventory command in HF bus mode Use HF Continuous bus mode with the Inventory command The following tables describe the benefits and disadvantages of the particular applications.
Tag A Data Data Data Read (next tag) Tag A Read Read Tag B Data Data Data Fig. 106: 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 the UHF password function 9.9.1 Access password A write or read protection for EPC and user memory can be set with an access password. Write access password with the following parameters to the tag: Command code 0x0102 (set tag password) Password: 4 bytes in the output data Length: 4 bytes ...
Page 190
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 191
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 192
Fig. 109: Opening the Package Manager Select the package file for TBEN-RFID interfaces and install. Fig. 110: Installing a Package file Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 193
Fig. 111: Display of the Package file in the Package Manager Ò Ò Ò Ò Add the CODESYS library: Choose Add Library Turck Application RFID RFID universal data interface. Click OK to add the library to the project. Fig. 112: Installing a CODESYS library...
Page 194
Add Box from the CODESYS ToolBox to the project. Add FB_Compact or FB_Extended function block. Fig. 113: Calling the function block Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 195
Create the required instances for the function block: Map inputs and outputs directly to the addresses of the corresponding module registers. Activate the function block. In the following example 128 bytes can be read or written via the function block. The input and output data and the write and read data is assigned in the example as follows: Byte Meaning...
Page 196
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. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
UHF extended The function blocks can be downloaded as elements of example programs free of charge at www.turck.com. The example programs are available for TIA V14 and TIA V15 and the Siemens S7-1200 and S7-1500 controllers. The required command can be selected via the FC20 and FC30 functions. More parameters can be set on function block FB10 (Compact) and FB11 (Extended).
Page 198
Length of UID/EPC in bytes, see description of the output data, [} 98] TOUT Timeout, see description of the output data, [} 98] Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 199
Name Data type Meaning Read fragment no., see description of the out- put data, [} 98] Write fragment no., see description of the out- put data, [} 98] HwID_Read016B Hardware identifier for the read data (RFID_COMPACT_Mode) HwID_Read128B (RFID_EXTENDED_Mode) HwID_Write016B Hardware identifier for the write data (RFID_COMPACT_Mode) HwID_Write128B (RFID_EXTENDED_Mode)
Page 200
Write fragment no., see description of the in- (RFID_EXTENDED_Mode) put data, [} 92] ReadDataBuffer 16B Read data (RFID_COMPACT_Mode) ReadDataBuffer 128B (RFID_EXTENDED_Mode) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.12 Using Inventory command and Continuous (presence sensing) mode The Inventory command and Continuous (presence sensing) mode transfer data to the PLC in different ways. Continuous mode is suitable for high-speed applications, in which a command (e.g. read or write) is to be performed repetitively. Repeated execution of the same command by the controller is unnecessary.
Ethernet connection established, 100 Mbit/s Flashing Data transfer, 100 Mbit/s Ethernet connection established, 10 Mbit/s 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 203
RFID channel LEDs Ident 0 and Ident 1 TP… LED green TP… LED red Meaning No tag within the detection range Tag within the detection range Flashing Tag in the detection range, command is processed Flashing (1 Hz) Flashing (1 Hz) Connection with DTM.
Expected read/write head not found TRE… Read/write head reports error PNS… Parameter not supported by read/write head XD… Read/write head not tuned Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.14.3 Diagnostic messages – Digital channels Byte no. VAUX VAUX ERR7 ERR6 ERR5 ERR4 Meaning of the diagnostic bits Designation Meaning VAUX Overvoltage at power supply terminal VAUX ERR... Error message on channel x 9.14.4 Diagnostic messages – Module status Meaning of the diagnostic bits Designation Meaning...
Include the device in an existing project and connect to the controller (example: Turck TX510-P3CV01 HMI). Right-click an empty slot. Click Plug device. Fig. 119: Selecting an empty slot for diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 207
Click RFID diagnostics. Fig. 120: Selecting RFID diagnostics 05.00 | 2019/11...
Page 208
Select DXP diagnostics and confirm with Plug device. Fig. 121: Selecting DXP diagnostics The diagnostics can be read via the PLC program. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
9.16 Reading error codes The error codes are part of the process input data. Error code (hex.) Error code (dec.) Meaning 0x8000 32768 Channel not active 0x8001 32769 Read/write head not connected 0x8002 32770 Memory full 0x8003 32771 Block size of the tag not supported 0x8004 32772 Length exceeds the size of the read fragment...
Page 210
Error when reading the protection status of the tags 0xB0AD 45229 Error when setting the read/write head address 0xB0BD 45245 Error when setting the transfer rate 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 0xB0DA 45274 Error with the “Tag in detection range” function 0xB0E0 45280 Error when reading the read/write head version 0xB0E1 45281 Error when reading the extended read/write head version 0xB0F1 45297 Error with automatic read/write head tuning 0xB0F8 45304 Error when resetting a command in Continuous mode...
Page 212
UHF read/write head: The requested object is not in the volatile memory. 0xF835 63541 UHF read/write head: The command is temporarily not permissible. 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 0xF836 63542 UHF read/write head: The opcode is not valid for this type of configuration memory. 0xF880 63616 UHF read/write head: no tag in the field 0xF881 63617 UHF read/write head: The EPC of the command does not match the EPC in the detection range.
Duration of a read command Duration of a write command Cycle time of HF bus mode Cycle time of 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...
Page 215
Example: Opening extended diagnostics with the PACTware™ FDT/DTM frame application Open Diagnose in PACTware™. Select the RFID channel (here: Channel 0). 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 05.00 | 2019/11...
Page 216
Open the web server. Log into the device. Ò Choose Station RFID measurements. Fig. 123: Time measurement 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...
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. 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 219
Select BL Service Ethernet and confirm with OK. Fig. 125: Selecting the Ethernet interface Double-click the connected device. PACTware™ opens the busaddress management. Fig. 126: Opening the busaddress management 05.00 | 2019/11...
Page 220
Executing the Firmware Update Search for connected Ethernet devices: Click the Search icon. Select the required device. Fig. 127: 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 221
Click Firmware Download to start the firmware update. Fig. 128: Starting the firmware update 05.00 | 2019/11...
Disposal The devices must be disposed of correctly and must not be included in normal household garbage. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Technical data Technical data Power supply Power supply voltage 24 VDC Permissible range 18…30 VDC Total current max. 4 A per voltage group Total current V1 + V2 max. 5.5 A at 70 °C per module Voltage supply connection 2 × M8, 4-pin Operating current V1: max.
Page 224
Load type EN 60947-5-1: DC-13 Short-circuit protection Potential isolation Galvanic isolation from the fieldbus, voltage proof up to 500 VDC Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 225
Technical data Conformity with standard/directive Vibration test according to EN 60068-2-6, acceleration up to 20 g Shock testing Acc. to EN 60068-2-27 Drop and topple Acc. to IEC 60068-2-31/IEC 60068-2-32 EMC (electromagnetic compatibility) Acc. to EN 61131-2 Approvals and certificates UV resistant acc.
= part 2…(n) acknowledge next fragment out.readFragmentNo := in.readFragmentNo done new command desired? Fig. 132: Flow chart for command processing with fragmentation Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
*) After increasing the Read Fragment No., the new data will be shown in the read data input. Fig. 134: Flow chart for Continuous mode without interruption before reading data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Appendix: Declaration of Conformity EU-Konformitätserklärung Nr.: 5035-2M EU Declaration of Conformity No.: HANS TURCK GMBH & CO KG / We WITZLEBENSTR. 7, 45472 MÜLHEIM A.D. RUHR erklären in alleiniger Verantwortung, dass die Produkte declare under our sole responsibility that the products...
Page 232
Over 30 subsidiaries and over 60 representations worldwide! D500064 | 2019/11 D500064 www.turck.com...
Need help?
Do you have a question about the TBEN-S2-2RFID-4DXP and is the answer not in the manual?
Questions and answers