Feedback about these instructions................ 7 Notes on the product......................... 8 Product identification..................... 8 Scope of delivery ...................... 8 Legal requirements...................... 8 Turck service........................ 8 For your safety ............................ 9 Intended use........................ 9 General safety notes ....................... 9 Notes on Ex protection.................... 9 Ex approval requirements for use in Ex area..............
Page 4
Meaning of the status bits ....................... 111 8.4.2 Tag in detection range (TP) – using bit or pre-loading the command.... 113 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 5
RFID channels – process output data .............. 114 8.5.1 Meaning of the command bits.................... 120 Digital channels – setting parameter data ............ 122 8.6.1 Meaning of the parameter bits .................... 122 Digital channels – setting extended parameters (ext. I/O functions) .... 123 8.7.1 Meaning of the parameter bits ....................
Page 6
Flow chart: programming tags with a password.......... 257 16 Appendix: EU Declaration of Conformity .................. 258 17 Turck subsidiaries – contact information................... 260 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
We make every effort to ensure that these instructions are as informative and as clear as pos- sible. If you have any suggestions for improving the design or if some information is missing in the document, please send your suggestions to techdoc@turck.com. V02.00 | 2022/02...
CAD files in numerous export formats. The contact details of Turck subsidiaries worldwide can be found on p. [} 260]. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Intended use The TBEC-LL-4RFID-8DXP block module is an RFID interface for use in the Turck RFID system. The device is connected between the controller and the read/write devices and transmits com- mands from the controller to the read/write devices. Read data is sent to the controller via the device.
105 °C. The cables connected to XF1 and XF2 (Ethernet) must not be routed outside the plant. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Product description The device is designed with a fully encapsulated housing with degree of protection IP67/IP69K. Four RFID channels are provided for connecting read/write devices. Sensors and actuators can also be connected via eight digital I/O channels. The digital I/O channels can be configured as inputs or outputs as required.
PNP sensors or eight PNP DC actuators can be connected per input or output. The max- imum output current per channel is 2 A. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
4.4.1 Module object directory The object directory of the device contains the following object areas in accordance with ETG 5001: Index Area in the object directory 0x1000…0x1FFF Communication Area, as per ETG.5001.1 0x5000…0x5FFF Configured Module ID (only for internal use, manufacturer specific) 0x6000…0x6FFF Input Area (process input data) 0x7000…0x7FFF...
Page 14
The logged data is stored in the ring memory of the module. Fig. 2: HF bus mode setup Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 15
The following read/write heads can be used for HF bus mode: TN-M18-H1147/C53 TB-M18-H1147/C53 TN-M30-H1147/C53 TB-M30-H1147/C53 TN-CK40-H1147/C53 TB-Q08-0.15-RS4.47T/C53 TN-Q14-0.15-RS4.47T/C53 TN-Q80-H1147/C53 TN-R42TC-EX/C53 TN-R42TC-EX/C65 TNLR-Q80-H1147/C53 TNSLR-Q42TWD-H1147/C53 TNSLR-Q80WD-H1147/C53 HF bus mode supports the HF read/write heads from firmware version Vx.90. Continuous bus mode supports HF read/write heads from firmware version Vx.93. UHF compact mode UHF compact mode enables up to 128 bytes of data to be transferred in single-tag applications (e.g.
Get HF tag protection status Set permanent lock Kill UHF tag Restore settings UHF read/write head Backup settings UHF read/write head Reset Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
PNP DC actuators can be connected per input or output. The maximum output current per channel is 2 A. Technical accessories Accessories for mounting, connecting and parameterizing can be found in product database under www.turck.com. The accessories are not part of the scope of delivery. V02.00 | 2022/02...
Mount and screw the housing cover according to the following figure. The tightening torque for the Torx T8 screw is 0.5 Nm. Fig. 3: Mounting the device in protection housing TB-SG-L 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 NOTICE Mounting on uneven surfaces Device damage due to stresses in the housing Fix the device on a flat mounting surface. Use two M6 screws to mount the device. The device can be screwed onto a flat mounting plate. ...
Fieldbus level shielding The grounding of the fieldbus level can either be connected directly via the grounding clip (1) or connected and routed indirectly via an RC element to the module grounding. If the ground- ing is to be routed via an RC element, the grounding clip must be removed. In the delivery state, the grounding clip is mounted.
Connecting the power supply For the connection to the power supply, the device has two 5-pin, L coded M12 connectors. V1 and V2 are galvanically isolated. The maximum tightening torque is 0.6 Nm. Fig. 12: M12 connector for connecting the supply voltage ...
The user must determine by means of a power consumption analysis whether an additional power supply is required for the connected read/write heads (see information in the data sheet or tool at www.turck.com/hf-busmodus). The maximum permissible length of the bus is 50 m.
Page 26
Use the TN-R42TC-EX/C65 read/write head with an integrated bus terminating resistor as the last device. Do not connect a separate bus terminating resistor. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Commissioning A connection to an EtherCAT master is required for the commissioning. The device can only be configured and addressed via the EtherCAT master. The EtherCAT device functions, e.g. FoE or communication via EoE, must be supported by the EtherCAT master. The device is operational automatically once the cables are connected and the power supply is switched on.
CODESYS Turck_TBEC-LL-4RFID-8DXP_R1_ESI_V1-3_20210930_8303.xml Sysmac Studio Turck_TBEC-LL-4RFID-8DXP_R1_ESI_…_omron_….xml Example: Turck_TBEC-LL-4RFID-8DXP_R1_ESI_V1-3_Omron_20210930_8303.xml The current ESI files are available free of charge for download 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...
The device is connected to the Beckhoff controller with an xml file, the EtherCAT Slave Informa- tion (ESI). The device description file must be saved in TwinCAT Studio V3 for the connection. The ESI file for the device is available free of charge for download from www.turck.com. Ò...
Page 32
Updating the device catalog: TwinCAT EtherCAT Devices Reload Device Descrip- tions. The device description is loaded. Fig. 25: TwinCAT – updating the device catalog 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 Select the EtherCAT master used as the target system. Ò Scan the network for EtherCAT stations: right-click I/O Devices. Click Scan. Fig. 26: Scanning for devices V02.00 | 2022/02...
Page 34
The TBEC-LL-4RFID-8DXP appears in the Solution Explorer under the Ether- CAT master as Box 1 (TBEC-LL-4RFID-8DXP). Fig. 27: EtherCAT device as Box 1 in the Solution Explorer Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 35
At least one variable must be linked to connect online to the device. Fig. 28: Example of the linking of a variable V02.00 | 2022/02...
Page 36
The current status (here: OP) as well as the data points and the link are shown on the Online tab Fig. 31: EtherCAT Device – Online tab: status display (here: Operational), data points, link Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 37
Double-clicking the EtherCAT master causes the states of all connected devices to be displayed on the Online tab. Fig. 32: EtherCAT Master – Online tab: status display of all connected devices The following states are possible: Init: Device starts, no SDO and no PDO transfer Pre-operational (Pre-Op): SDO transfer, no PDO transfer Safe-operational (Safe-Op): SDO and PDO transfer (input data) The input data is updated cyclically, all outputs of the slaves are switched to the safe state.
Example: setting the HF bus mode for channel 3 Double-click Box 1 (TBEC-LL-4RFID-8DXP) in the project tree. Fig. 33: Project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 39
Choose the Slots tab. Select on the left the channel to be set (here: RFID control/status ch3). Select on the right the required operation mode (here: HF bus mode) Click the Add button [<]. Fig. 34: Selecting HF bus mode for channel 3 HF bus mode is set for channel 3.
Example: selecting tag type Double-click Box 1 (TBEC-LL-4RFID-8DXP) in the project tree. Fig. 36: Project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 41
Select the Startup tab. Double-click HF: Select Tag type RFID Module. In the Edit CANopen Startup Entry submenu double-click HF: Select Tag type RFID Module. Fig. 37: HF: Select Tag type RFID Module V02.00 | 2022/02...
Page 42
In the Set Value Dialog submenu select the tag in the Enum drop-down menu (here: Fujitsu MB89R112). Confirm selection with OK. The tag type is set. Fig. 38: Selecting a tag Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.5 Setting EtherCAT device parameters via the object dictionary NOTE Turck recommends only making changes in the startup parameters. In the project tree double-click Box 1 (TBEC-LL-4RFID-8DXP). Fig. 39: Project tree V02.00 | 2022/02...
Page 44
Single Update (recommended): The directory is updated once if a parameter was changed. Auto Update: The directory is updated continuously. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.3.6 Addressing a device via Explicit Device ID In the project tree double-click Box 1 (TBEC-LL-4RFID-8DXP). Ò Activate Explicit Device Identification (ADO 0x0134): EtherCAT Advanced Settings Ò Ò General Identification. In the Value field enter the Identification Value (hex.) which must match the rotary coding switches on the device (see [} 30]).
Identification Con- figured Station Alias (ADO 0x0012). Confirm the entry with OK. Fig. 42: TwinCAT – selecting Configured Station Alias Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 47
Ò Ò Ò Ò Activate EtherCAT tab Advanced Settings ESC Access E²PROM choose Configured Station Alias. Enter the Identification Value under New value (here: 4). Click Write to E²PROM. ð The master writes the identification value into the device. ...
To use the HotConnect function, a HotConnect group must be set up. Ò Right-click Box 1 (TBEC-LL-4RFID-8DXP) Add to HotConnect group. Fig. 44: TwinCAT – Add to HotConnect group Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 49
Select the relevant slave in the Add HotConnect group window (here: TBEC-LL-4RFID-8DXP). Define the Identification Value (hex.) for the HotConnect group (here: 4). Confirm with OK. Fig. 45: TwinCAT – Add HotConnect Group The device has been added to a HotConnect group, indicated by the small HC symbol at Box 1.
TwinCAT” ( [} 208]). The structures of the TwinCAT library must be ac- cessed for the linking. The library is available free of charge for download 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...
Software used This example uses the following software: CODESYS 3.5 SP14 (available as a free download at www.turck.com) ESI file for TBEC-LL-4RFID-8DXP (available as a free download at www.turck.com) 7.4.1 Installing ESI files The device is connected to controllers with an xml file containing EtherCAT slave information (ESI).
Page 52
Fig. 49: Installing a device description file The module is displayed as an installed device description in the device repository. Fig. 50: Installed device description 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 Requirements The used master must be EtherCAT-capable. The programming software has been opened. A new project has been created. Example: Creating a project with WinPLC Fig. 51: Example: Creating a project V02.00 | 2022/02...
Page 54
Click Append Device. Fig. 52: Adding a device The EtherCAT master appears as EtherCAT_Master (EtherCAT Master) in the project tree. Fig. 53: Project tree Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 55
Selecting a network adapter Double-click EtherCAT_Master (EtherCAT Master) in the project tree. In the General tab open the Select Network Adapter dialog via the Browse… button. Select the network adapter and confirm with OK. Fig. 54: Selecting a network adapter ...
Page 56
The configuration is possible in the logged out state. Ò Right-click EtherCAT_Master (EtherCAT Master) select Scan For Devices. Fig. 56: Scan for devices Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 57
Select an EtherCAT slave (here: TBEC-LL-4RFID-8DXP) in the following window and click Copy to project. Fig. 57: Copying found devices to the project The module appears with the standard settings from the ESI file (HF compact) in the project tree.
Page 58
Double-click TBEC_LL_4RFID-8DXP (TBEC-LL-4RFID-8DXP). Ò On the General tab Diagnostics the Operational status indicates the active connection. Fig. 58: Status: Operational Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.4.3 Configuring slots The slots are configured via the Plug Device function. Ò Click Online Logout. The configuration is possible in the logged out state. Example: setting the HF bus mode for channel 3 Ò Right-click an empty slot in the project tree select Plug Device.
Page 60
Connecting a device to controllers with CODESYS HF bus mode is set for channel 3. Fig. 60: HF bus mode is set for channel 3 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
The Configured Module ID and Reserved Elements (Res.) parameters are set by the system and must not be changed. Double-click TBEC_LL_4RFID-8DXP (TBEC-LL-4RFID-8DXP). Select the Startup Parameters tab. All set parameters of the module are displayed, but cannot be changed. The setting of the start parameters is carried out for each slot.
In the project tree double-click TBEC_LL_4RFID-8DXP (TBEC-LL-4RFID-8DXP). In the General tab activate the Expert Settings option. Fig. 63: Activating expert settings Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 63
Ò Click Online Login. Select the CoE Online tab. The object dictionary of the device is displayed with all device-specific parameters. Fig. 64: Object dictionary The display of the parameters depends on the device configuration. The parameters can be changed in the object dictionary.
7.4.7 Addressing a device via Configured Station Alias Double-click TBEC_LL_4RFID-8DXP (TBEC-LL-4RFID-8DXP) in the project tree. Ò Click Online Login. On the General tab activate the Configured Station Alias (ADO 0x0012) option under Identification. In the Value field enter the Identification Value.
Page 66
After the power up the newly inserted device is automatically detected by the master. The status in the Online tab switches automatically to OP. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Software used This example uses the following software: Omron Sysmac Studio Version 1.45 (minimum requirement: Version ≥ 1.41) ESI file for TBEC-LL-4RFID-8DXP and Omron controllers Requirements A new project has been created Sysmac Studio. The controller is integrated in the project.
Right-click the controller in the Network configuration area (Master). Click Display ESI library. Fig. 68: Displaying an ESI library Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 69
Select ESI file for TBEC-LL-4RFID-8DXP and Omron controllers. Click Install (file) to add the ESI file. Fig. 69: Installing a ESI file V02.00 | 2022/02...
The device can be connected to the master by drag and drop in offline mode or to the master in online mode. Offline mode: drag TBEC-LL-4RFID-8DXP onto the master. Fig. 70: Adding the device by drag and drop Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 71
Proceed as follows to add the device in online mode: Activate online mode of the master. Ò Right-click Master Compare and Merge with the Actual Network Configuration. The connected device is automatically detected. Fig. 71: Compare and merge with the actual network configuration V02.00 | 2022/02...
Page 72
Click Accept actual network configuration. Fig. 72: Accepting the network configuration Confirm all the subsequent messages. The network configuration is accepted. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.5.3 Configuring slots The slots can be configured in offline mode. Double-click the device in the project tree. Fig. 73: Device in the project tree Add the required configuration by drag and drop. The channel assignments can only be made for the slots intended for this.
Page 74
Click Transfer to controller in the Synchronize window. Fig. 76: Transferring a configuration to the controller Confirm all the subsequent messages. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 75
The figure below shows an example of a successful data transfer. Fig. 77: Successful data transfer The successful EtherCAT communication is displayed via a Play icon. Fig. 78: Play icon V02.00 | 2022/02...
The process data can be read out (example: HF read/write head connected to channel 0, tag present). Fig. 79: I/O image of the process data in Online mode Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
7.5.5 Setting parameters The parameters can only be set if the master is in Offline mode. Open the module via the project tree. Click Edit setting parameters. Fig. 80: Editing setting parameters V02.00 | 2022/02...
Windows Network. The EoE function is activated in the master. Fig. 81: TwinCAT – activating EoE in the master Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 79
Activating EoE in EtherCAT slave: In the project tree double-click Box 1 (TBEC-LL-4RFID-8DXP). Ò Click EtherCAT tab Advanced Settings. Ò In the Advanced Settings window select Mailbox EoE on the left. Enter the IP Address, Subnet Mask and Default Gateway.
Page 80
Enter the IP Address, Subnet Mask and Default Gateway. The EoE function is activated in the EtherCAT slave. Fig. 83: CODESYS – activating EoE in the EtherCAT slave Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 81
Requirement: The TBEC-LL-4RFID-8DXP already has an IP address. Add the Ethernet interface BL Service Ethernet to the project. Use the Add device function to add the TBEC-LL-4RFID-8DXP to the interface. Fig. 84: DTM – Adding a device V02.00 | 2022/02...
Page 82
Enter the IP address for TBEC-LL-4RFID-8DXP . Configure the device in the DTM. Fig. 85: DTM – Configuring the device 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: Slot Channel Parameter data Process input data Process output data Diagnostic data Bytes Meaning Bytes...
(VAUX put data Control) (VAUX Con- trol) 734…737 Device 612…613 Device Con- Status trol (Device (Device Status/Con- Status/Con- trol) trol) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 85
Modular device model/slot definition The TBEC-LL-4RFID-8DXP appears in the configuration software as a modular EtherCAT slave with 25 configurable slots. The slots are configured by adding or fitting predefined EtherCAT modules. The following table shows the possible slot and module assignments.
Page 86
(ARGEE is not yet supported by version 1.0.4.0.) I/O-ASSISTANT Force Mode active DIAG Module diagnostics available Undervoltage V2 Undervoltage V1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.2.2 Device Control (0xF200) Device control can be mapped to the process output data if the Device Status/Control module is fitted. Byte index index 0xF200 0x08… res. res. res. res. res. res. res. Wink 0x01 0x10… res. res. res. res. res.
0: No Deactivate I/O-ASSISTANT Force Force mode is activated, the DTM accesses the device. Mode 1: Yes Force mode is deactivated. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
11: NXP Icode SLIX-L 12: Fujitsu MB89R112 13: EM4233SLIC Read/write heads with firmware from Vx.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 92
Length of read data Size of the write data, default setting depends on the selected interface and field- Length of write data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.3.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 drop out 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 97
Manually addressing read/write heads – Setting a read/write head address NOTE Turck recommends making the bus address of the read/write head visible on the device. The label on the cable can be used to mark the address on the read/write head.
Page 98
USB-interface RFID cable Power supply e.g. RK4.5T/S2500 STW-RS485-USB-PS Fig. 88: Connecting the read/write head via the interface converter with a PC Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 99
Launch the Turck Service Tool. Click Actions or press [F4]. Click Set HF RFID Reader Bus Address. Fig. 89: Function selection – Set HF RFID reader bus address The HF-RFID Reader Setup Tool window opens. Select the COM port to which the interface converter is connected.
Page 100
Fig. 91: Changing the read/write head Activate the required read/write heads in the parameter data via the appropriate XCVR bit. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.3.5 UHF applications – setting Continuous presence sensing mode Set adaptions to the Presence sensing behavior in the DTM. Optional: Set the grouping of the EPCs via the Start address parameter: 0: Grouping inactive 1: Grouping active (same EPC is not recorded again, only the counter incremented in the header) ...
Execute the Restore settings UHF read/write head command. The data stored in the interface is transferred to the UHF reader. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 103
RFID channels – process input data Process input data – HF compact and UHF compact module NOTE The prefix for the variable link is not contained in the object dictionary. Prefix for Byte no. variable index subindex link Channel 0 Resp 0x6000 0x01...
Prefix for Byte no. variable index subindex link Channel 3 Resp 0x6090 0x01 Assignment identical to channel 0 (0x6000…0x6010) 0x60A0 0x01 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 105
Process input data – HF extended and UHF extended module NOTE The prefix for the variable link is not contained in the object dictionary. Prefix for Byte no. variable index subindex link Channel 0 Resp 0x6000 0x01 Response code (RESC) 0x02 Loop counter (RCNT) 0x0A…...
Page 106
0x01… 0…127 0x80 Channel 3 Resp 0x6090 0x01… 0…19 Assignment identical to channel 0 (0x6000…0x6010) 0x40 0x60A0 0x01… 0…127 0x80 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 107
Process input data – HF bus module NOTE The prefix for the variable link is not contained in the object dictionary. Prefix for Byte no. variable index subindex link Channel 0 Resp 0x6000 0x01 Response code (RESC) 0x02 Loop counter (RCNT) 0x0A…...
Page 108
0x01… 0…127 0x80 Channel 3 Resp 0x6090 0x01… 0…23 Assignment identical to channel 0 (0x6000…0x6010) 0x60 0x60A0 0x01… 0…127 0x80 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 109
Process input data – module diagnostics NOTE The prefix for the variable link is not contained in the object dictionary. Prefix for Byte no. variable index subindex link Diagnostics RFID channel 0 DgC0 0x60C0 0x08… VAUX PRMER DTM FIFO 0x01 0x10…...
Page 110
Assignment identical to diagnostics RFID channel 0 (0x60C0… 0x01 0x60C2) Dg1C3… 0x60CA 0x80… 0…15 Dg16C3 0x01 Dg32C3 0x60CB 0x80… 0…15 0x01 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.4.1 Meaning of the status bits Designation Meaning RESC Display of the last command executed Response Code RCNT Output of the command code requested by the loop counter Loop counter for fast processing 0: No (no tag present at read/write head) Tag present at read/write head 1: Yes (tag in detection range of read/write head) Tag in detection range of at least one read/write head)
Page 112
Tag present at read/write head bus mode) … (tag in detection range on the read/write head …) Read data, byte 0...127 Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
8.4.2 Tag in detection range (TP) – using bit or pre-loading the command The Tag in detection range bit is set automatically if a read/write device detects a tag. Apart from with some variants of Continuous mode, the bit in HF applications is set by default in all operation modes and in Idle mode.
Page 114
0x7060 0x01… 0x01… 0…11 Assignment identical to channel 0 (0x7000 and 0x7020) 0x0D 0x06 0x7080 0x01… 0x01… 0…127 0x80 0x80 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 115
Prefix for Byte no. variable index subindex link Channel 3 0x7090 0x01… 0x01… 0…11 Assignment identical to channel 0 (0x7000 and 0x7020) 0x0D 0x06 0x70B0 0x01… 0x01… 0…127 0x80 0x80 V02.00 | 2022/02...
Page 116
0x7030 0x01… 0x01… 0…19 Assignment identical to channel 0 (0x7000 and 0x7020) 0x18 0x11 0x7050 0x01… 0x01… 0…127 0x80 0x80 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 117
Prefix for Byte no. variable index subindex link Channel 2 0x7060 0x01 0x01 Assignment identical to channel 0 (0x7000 and 0x7020) 0x7080 0x01 0x01 Channel 3 0x7090 0x01 0x01 Assignment identical to channel 0 (0x7000 and 0x7020) 0x70B0 0x01 0x01 V02.00 | 2022/02...
Page 119
Prefix for Byte no. variable index subindex link Channel 1 0x7030 0x01… 0…23 Assignment identical to channel 0 (0x7000 and 0x7020) 0x39 0x7050 0x01… 0…127 0x80 Channel 2 0x7060 0x01… 0…23 Assignment identical to channel 0 (0x7000 and 0x7020) 0x39 0x7080 0x01…...
Page 120
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 121
Description Meaning If the data to be read exceeds the size of the read data memory, the data is di- Read fragment No. 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.
Page 122
1: Yes (the output only switches back on after the overcurrent is removed and current the switch signal is reset.) OEx… 0: No (output deactivated) Activate output 1: Yes (output activated) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 124
0: 0.2 ms 1: 3 ms Impulse stretch: 0…2550 ms (adjustable in 10 ms steps), default value: 10 ms Impulse stretch Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 125
Digital channels – process input data NOTE The prefix for the variable link is not contained in the object dictionary. Prefix for Byte no. variable index subindex link 0x60D0 Reserved DXP15 DXP14 DXP13 DXP12 DXP11 DXP10 DXP9 DXP8 DXP diagnostics DgDX 0x60E0 0x08…...
Page 126
Overvoltage at power supply terminal VAUX2 at socket 7 (channels 14 and 15) Overcurrent VAUX2 Pin1 X7 (Ch14/15) ERR... Error on channel ... Output overcurrent Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 127
Digital channels – process output data NOTE The prefix for the variable link is not contained in the object dictionary. Prefix for Byte no. variable index subindex link 0x70D0 0x08… Reserved 0x01 0x10… DXP15 DXP14 DXP13 DXP12 DXP11 DXP10 DXP9 DXP8 0x09 8.9.1...
Page 128
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...
Page 129
8.10.2 VAUX switchable power supply – output data NOTE The prefix for the variable link is not contained in the object dictionary. Prefix for Byte variable index sub- link index Vaux 0x7170 0x08… VAUX2 VAUX2 VAUX2 VAUX2 0x01 P1X7Ch P1X6Ch P1X5Ch P1X4Ch served...
Page 130
Tune HF read/write head 0x0080 128 – – Set read/write head password 0x0100 256 Reset read/write head password 0x0101 257 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 131
Command Command code Possible for hex. dec. compact extended bus mode compact extended Set tag password 0x0102 258 Set tag protection with loop counter 0x2102 8450 Set tag protection 0x0103 259 Set tag protection with loop counter 0x2103 8451 Get HF tag protection status 0x0104 260 Set permanent lock 0x0105 261...
Page 132
Not required Command timeout Not required Write fragment No. Not required Read fragment No. Not required 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 133
See description of the input data, p. [} 111]. Response Loop counter See description of the input data Response code 0x0000 (hex.), 0 (dec.) Length Length of the UID/EPC of the tag in the detection range Error code See description of the input data Tag within the See description of the input data detection range...
Page 134
See description of the output data Write fragment No. Read fragment No. See description of the output data 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 135
See description of the input data, p. [} 111]. Response (HF) Loop counter See description of the input data Response code 0x0001 (hex.), 1 (dec.) Length Length of the read data in bytes Error code See description of the input data Tag within the See description of the input data detection range...
Page 136
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 137
8.11.3 Command: Read The Read command causes the read/write device 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 device only reads the appropriate tags.
Page 138
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data, Bytes 0…n Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 139
8.11.4 Command: Write The Write command causes the read/write device 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 device only writes the appropriate tags.
Page 140
See description of the input data Write fragment No. See description of the input data Read fragment No. Read data, Byte 0…127 Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 141
8.11.5 Command: Change EPC length and write new EPC (UHF) NOTE The maximum EPC length of a tag depends on the chip type. Refer to the appropri- ate data sheet for the length. The Change EPC length and write new EPC (UHF) command causes the RFID module to auto- matically adapt the length for the EPC response set in the tag (change of the PC in the tag) and writes the EPC with this length to the tag.
Page 142
Optional: UID or EPC of the tag to be written Byte 0…(size of the UID/EPC - 1) Write data, Write data Byte (size of the EPC)…127 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 143
See description of the input data, p. [} 111]. Response Loop counter See description of the input data Response code 0x0008 (hex.), 8 (dec.) Length Length of the read data Error code See description of the input data Tag within the See description of the input data detection range Data (bytes) available...
Page 144
The HF parameters: Address in Continuous mode (ACM) and HF: Length in Continu- ous mode (LCM) cannot be changed when Continuous mode is running. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 145
See description of the output data, p. [} 120]. Request Loop counter See description of the output data Command code 0x0010 (hex.), 16 (dec.) Read/write head address See description of the output data Length of UID/EPC Not required Start address UHF Inventory 0: Grouping of the EPCs inactive, continuous detection 1: Grouping of the EPCs active, continuous detection >1: Not defined...
Page 146
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Read data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 147
Data format in UHF applications The UHF read data is formatted by means of a header. The header has the following structure: Type Name Meaning uint8_t Size Data size uint8_t Block type 1: UID/EPC/RSSI etc. 2: Read data Other values: reserved uint8_t Data [size] EPC/RSSI etc.
Page 148
Example: UID, grouping deactivated, HF bus mode Type Name Meaning uint8_t Data [64] uint16_t UID [64] uint8_t Reserved Reserved uint8_t Address Address of the read/write head Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 149
8.11.9 Command: Stop Continuous (presence sensing) mode Continuous and presence sensing mode can be stopped via the Stop Continuous (presence sensing) mode command. The data stored in the buffer memory of the interface is not deleted and can still be queried by the controller via the Read buffer (Cont. mode) command. See description of the output data, p.
Page 150
Write fragment No. Read fragment No. See description of the input data Read data See description of the input data Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 151
8.11.11 Command: HF read/write head off The HF read/write head off 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 ne- cessary if the devices are mounted very closely together and the detection ranges overlap.
Page 152
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...
Page 153
8.11.13 Command: Get UHF read/write head status/error NOTE The command is only available for UHF applications. The Query error/status of UHF read/write head command enables error/status messages of a connected UHF reader to be read. NOTE The command code for fast processing with the loop counter is 0x2042 (hex.) or 8258 (dec.).
Page 154
Limit value for radiated power exceeded No free channel present Antenna resistance too high or too 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 155
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...
Page 156
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 157
See description of the input data, p. [} 111]. Response (UHF) Loop counter See description of the input data Response code 0x0050 (hex.), 80 (dec.) Length See description of the input data Error code See description of the input data Tag present at read/write head See description of the input data Data (bytes) available See description of the input data...
Page 158
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Response to the direct command Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 159
Example: Direct command in HF applications (query read/write head version) Request Loop counter Command code 0x0060 Read/write head address Length of UID/EPC Start address Length Command timeout Write fragment No. Read fragment No. Write data 0xE0 (CC), 0x00 (CI) – see BL ident protocol Response Loop counter Response code...
Page 160
0x03 0x04 0x8B 0x00 0x00 0x20 0x01 0x01 Serial number: 0x01020304 Device type: 0x208B Software version: v1.00 Hardware version: v1.00 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 161
Example: Direct command in UHF applications (set output power) Read the set power from the RAM of the reader. Request Loop counter Command code 0x0060 Read/write head address Length of UID/EPC Start address Length Command timeout Write fragment No. Read fragment No.
Page 162
RFID channels – overview of commands The following table provides assistance in converting the power values from dBm to mW. 1.25 1000 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 163
8.11.16 Command: Get 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 Get HF read/write head address command. If a non-bus-compatible read/write head is connected, the device outputs an error message.
Page 164
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 165
8.11.18 Command: Tune HF read/write head NOTE The command is only available for the TNLR-… and TNSLR-… HF read/write heads. The Tune HF Read/write head command enables HF read/write heads to be tuned automatic- ally to their ambient conditions. The tuning values are saved until the next voltage reset in the read/write head.
Page 166
See description of the output data 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 167
See description of the input data, p. [} 111]. Response Loop counter See description of the input data Response code 0x0100 (hex.), 256 (dec.) Length Not required Error code See description of the input data Tag within the See description of the input data detection range Data (bytes) available See description of the input data...
Page 168
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 169
8.11.21 Command: Set tag password NOTE The command is only available for applications with UHF tags and the HF tags with chip types EM42… and NXP SLIX2. NOTE The command code for fast processing with the loop counter is 0x2102 (hex.) or 8450 (dec.).
Page 170
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 171
8.11.22 Command: Set tag protection NOTE The command is only available for applications with UHF tags and the HF tags with chip types EM42… and NXP SLIX2. NOTE The command code for fast processing with the loop counter is 0x2103 (hex.) or 8451 (dec.).
Page 172
Bit 5: Write protection, Page 5 Bit 6: Write protection, Page 6 Bit 7: Write protection, Page 7 UHF: 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
Request Write data, Byte 1 EM4233 SLIC: 0 NXP SLIX2: Bit 0: Write protection, Page 8 Bit 1: Write protection, Page 9 Bit 2: Write protection, Page 10 Bit 3: Write protection, Page 11 Bit 4: Write protection, Page 12 Bit 5: Write protection, Page 13 Bit 6: Write protection, Page 14 Bit 7: Write protection, Page 15...
Page 174
Bit 5: Reserved Bit 6: Reserved Bit 7: Reserved UHF: Not required Write data, Byte 7 Write data, Byte 8...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 175
See description of the input data, p. [} 111]. Response Loop counter See description of the input data Response code 0x0103 (hex.), 259 (dec.) Length Not required Error code See description of the input data Tag within the See description of the input data detection range Data (bytes) available See description of the input data...
Page 176
See description of the output data Write fragment No. Read fragment No. See description of the output data 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 177
See description of the input data, p. [} 111]. Response Loop counter See description of the input data Response code 0x0104 (hex.), 260 (dec.) Length Not required Error code See description of the input data Tag within the See description of the input data detection range Data (bytes) available See description of the input data...
Page 178
Bit 3: Read protection, Page 19 Bit 4: Reserved Bit 5: Reserved Bit 6: Reserved Bit 7: Reserved UHF: Not required 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...
Page 179
8.11.24 Command: Set permanent 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 device.
Page 180
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 181
8.11.25 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.
Page 182
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 183
8.11.26 Command: Restore settings UHF read/write head NOTE The command is only available for UHF applications. The Restore settings UHF read/write head command restores the parameters of a connected UHF reader from a backup (e.g. after a device swap). Type and firmware version must be identical for both readers.
Page 184
See description of the input data Write fragment No. Read fragment No. See description of the input data Read data Not required Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 185
8.11.28 Command: Reset The Reset command resets the read/write device and the interface. The input, output data and the buffer are cleared. See description of the output data, p. [} 120]. Request Loop counter See description of the output data Command code 0x8000 (hex.), 32768 (dec.) Read/write head address See description of the output data...
Page 186
Write 1 Kbyte 4 ms 800 ms ≤ 20 % Inventory (4 tags) 4 ms 300 ms ≤ 10 % Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 187
HF bus mode The time required for the cyclical processing of a command depends on the time in which the tag is located in the detection range of the read/write head (bypass time). The default setting is 48 ms. The bypass time can be set by the user. If a different bypass time is set, the difference to the time required for processing the command must be added to or deducted from it.
Page 188
The RFID data is stored in the buffer of the interface. Setting a new command: Set the new command code and set the loop counter to 0. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 189
HF applications – using Continuous mode In Continuous mode (HF) the read/write head can read or write up to 64 bytes (see the table for user data areas of the HF tags). The following parameters must be set in Continuous mode: Tag type Command in Continuous mode Length in Continuous mode...
Page 190
FIFO memory for each tag, at least 10 bytes of data must be read from the buffer. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 191
NOTE Data in the FIFO memory is not overwritten until it was transferred to the controller. New read operations are appended in the FIFO memory of the interface. To end Continuous mode, execute the End Continuous mode command (0x0012). ...
Page 192
68. The addressing is successfully completed if the LED of the read/write head is perman- ently lit. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 193
9.6.3 HF Continuous bus mode – data query and speed All activated read/write heads are triggered within a bypass time + wait time. The command is permanently stored once in the activated read/write heads. The set command (e.g. Inventory, Read, Write) in Continuous mode is processed within this time. Only one read/write head sends data to the RFID interface during command execution of all activated read/write heads.
Page 194
All read/write heads are activated and save data (max. 64 bytes per 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 195
Using NEXT mode NEXT mode can only be used in HF single-tag applications. An HF tag is always only read, written or protected if the UID is different to the UID of the last read or written tag. 9.8.1 Example: using NEXT mode for a read command ü...
Page 196
The device does not output an error message. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 197
Setting permanent write protection for EPC and USER memory area Write access password with the following parameters to the tag: Command code 0x0102 (Set tag password) Password: 4 bytes in the output data Set access password with the following parameters in the UHF reader: Command code 0x0100 (Set read/write head password) Password: 4 bytes in the output data ...
Page 198
HF bus mode The CODESYS and TwinCAT library contain the following elements: Documentation Function blocks Enums Types/DUTs Fig. 93: CODESYS library Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 200
Domain 1: EPC Domain 2: TID Domain 3: User memory Domain 4: Access password Domain 5: PC (size of EPC) Other: Reserved Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 201
Name Data type Meaning uiDataLength UINT Length for the selected command, e.g. length of the data to be read or written usiRWHeadAdress USINT Address of the read/write head that executes the command siLengthOfUidEpc SINT Entry for the EPC or UID length for addressing a specific tag to be read or written.
Page 202
POINTER TO BYTE Start address in the output data (ARRAY[..] OF BYTE) pDataTx POINTER TO BYTE Write data (ARRAY[..] OF BYTE) pDataRx POINTER TO BYTE Read data (ARRAY[..] OF BYTE) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 203
9.10.1 Incorporating a function block in CODESYS In order to run the function block, the package file for RFID interfaces must be installed. Ò Call the Package Manager in CODESYS: Click Tools Package Manager. Fig. 98: Opening the Package Manager ...
Page 204
RFID RFID universal data interface. Click OK to add the library to the project. Fig. 101: Installing a CODESYS library Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 205
Create program in which the function block can be called. Add Box from the CODESYS ToolBox to the project. Add FB_BusMode, FB_Compact or FB_Extended function block. Fig. 102: Calling the CODESYS function block V02.00 | 2022/02...
Page 206
Fig. 103: Activate the FB_Extended function block (example: Ch0, read or write 128 bytes) Fig. 104: FB_Extended function block – Overview of the 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 207
NOTE When using function blocks, the UID is not automatically displayed in Idle mode. The device does not have to be reset to Idle mode between two identical commands. The FB_BusMode and FB_Compact function blocks must be connected in the same way as the FB_Extended function block.
Page 208
To execute the function block, the library must be added in TwinCAT. Ò Call Library Repository in TwinCAT: Click PLC Library Repository. Fig. 105: Opening the Library Repository Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 209
Select the library file for RFID interfaces and install. Fig. 106: Installing the Library file V02.00 | 2022/02...
Page 210
RFID universal data interface TwinCAT. Click OK to add the library to the project. Fig. 107: Adding TwinCAT Library to the project Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 211
Create program in which the function block can be called. Add FB_BusMode, FB_Compact or FB_Extended function blocks. Fig. 108: Calling the TwinCAT function block Example: Connecting the FB_Extended function block (Ch0, read or write 128 bytes) Create the required instances for the function block. Fig. 109: Creating instances for the FB_Extended function block V02.00 | 2022/02...
Page 212
Confirm with OK. Fig. 111: Example: Linking an instance with the module register Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 213
The successful linking of the instance with the module is indicated by a small white arrow. Fig. 112: Example: Successful linking between stCh0_ExtendedInputMapping and Resp Fig. 113: Connecting an FB_Extended function block – overview of the inputs and outputs V02.00 | 2022/02...
Page 214
The FB_BusMode and FB_Compact function blocks must be connected in the same way as the FB_Extended function block. Refer to further information provided in the documentation in the TwinCAT Library. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 215
9.11 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 repeatedly. Repeated execution of the same command by the controller is unnecessary.
Page 216
The Ethernet terminals XF1 and XF2 each have an L/A LED. L/A LEDs Meaning No EtherCAT connection Green EtherCAT connection established Green flashing Data transfer Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 217
TP0…TP3 LEDs Meaning No tag within the detection range Green Tag present at read/write head Green flashing Tag present at read/write head, command is processed Red/green flashing Connection with DTM. No connection to controller active. (1 Hz) Diagnostics present CMD0…CMD3 LEDs Meaning Read/write head off Green...
Page 218
Channel 2 0xA060 0x20… 0…3 Assignment identical to channel 0 (0xA000…0xA002) 0x01 0xA061 0x80… 0…15 0x01 0xA062 0x80… 0…15 0x01 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 220
Parameter not supported by read/write head … PNS17…32 XD1…16 Antenna detuned at HF read/write head … XD17…32 HF 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...
Page 221
9.13.2 Diagnostic data – digital channels If the DXP diagnostics module is fitted in the configuration software (see [} 223]), the dia- gnostics data of the DXP channels are also mapped to the process input data (CoE index 0x60E0, [} 125]). Byte index subindex 0xA0D0...
Page 222
(ARGEE is not yet supported by version 1.0.4.0.) I/O-ASSISTANT Force Mode active DIAG Module diagnostics available Undervoltage V2 Undervoltage V1 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 223
9.14 Mapping diagnostics data in the process input data Activating diagnostics data mapping in TwinCAT Double-click Box 1 (TBEC-LL-4RFID-8DXP) in the project folder explorer. Select the slot for RFID diagnostics (RFID diagnostics) on the Slots tab. Select RFID diagnostics in the right-hand window and click the Add button.
Page 224
Mapping diagnostics data in the process input data The mapped diagnostics are displayed on the Slots tab. Fig. 115: TwinCAT – mapped diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 225
Activating diagnostics data mapping in CODESYS Include the device in an existing project and connect to the controller (example: CODESYS Control Win V3). Right-click slot 13 for the RFID diagnostics. Click Plug device. Fig. 116: CODESYS – selecting slot 13 for RFID diagnostics V02.00 | 2022/02...
Page 226
Select slot 15 for DXP diagnostics. Select DXP diagnostics and confirm with Plug device. Fig. 118: CODESYS – selecting DXP diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 227
Do not close the window. Select the last slot for device status/control. Select Device Status/Control and confirm with Plug device. Fig. 119: CODESYS – selecting Device Status/Control V02.00 | 2022/02...
Page 228
The mapped diagnostics are displayed in the project tree and can be read out via the PLC program. Fig. 120: CODESYS – mapped diagnostics Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 229
Example: reading Device Status/Control In the project tree double-click Device_status_control (Device Status/Control). Select the Modules I/O image tab. Fig. 121: Example: reading Device Status/Control V02.00 | 2022/02...
Page 230
1: Newest message was not read Acknowledge mode 0: No unacknowledged message 1: Diagnostic messages present that can be acknow- ledged Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 231
Subindex Name Data type Access Description mapping 0x05 Flags Flag for controlling sending and storing of diagnostic SIGNED16 messages. Bit 0: Enable sending of Emergencies see, “Sending Emergencies” – 0: Deactivated – 1: New diagnostic messages are set as Emergen- cies Bit 1: Deactivate Info messages –...
Page 232
0x…2A0 Overcurrent PWM output Ch… 0x…480…0x…49F Antenna detuned at HF read/write head 1…32 Ch… (HF read/write head 1…32 K… detuned) Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 233
Text ID Meaning 0x…4A0…0x…4BF Error reported by read/write head 1…32 Ch… 0x…4C0…0x…4DF Parameter not supported by read/write head 1…32 Ch… 0x…4E0…0x…4FF Not connected to read/write head 1…32 Ch… 0x…504 Buffer full 0x…505 Configuration via DTM active 0x…734 Overcurrent VAUX2 Pin1 X4 (Ch8/9) 0x…735 Overcurrent VAUX2 Pin1 X5 (Ch10/11) 0x…736...
Page 234
Force Mode active (Vendor specific) (generic, vendor specific) Module diagnostics available ARGEE project active (currently not supported) I/O Diagnostic message avail- able Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 235
9.17 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 236
0xB06B 45163 Error when reading the protection status of the tags 0xB0AD 45229 Error when setting the read/write head address Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 237
Error code (hex.) Error code (dec.) Meaning 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 Error when reading the extended read/write head version 0xB0F1 45297 Error with automatic read/write head tuning...
Page 238
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 239
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.
Page 240
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 241
Example: opening extended diagnostics with the PACTware FDT/DTM frame application In order to use extended diagnostics with PACTware, the EoE function must be activated in the EtherCAT master and in the EtherCAT slave. Open Diagnosis in PACTware. Select the RFID channel (here: Channel 0). The Expert mode on/off button is displayed in the menu bar.
Page 242
Factory settings. Fig. 123: Turck Service Tool – resetting the device to factory settings The device is reset to factory settings. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 243
9.19.2 Resetting the device via Object Dictionary The device is reset via the CoE index 0xFBF0 "Device Reset Command", subindex 0x01 "Com- mand". Write the reset command 74 65 73 65 72 66 as hexadecimal value in CoE index 0xFBF0:01.
Page 244
The output is deactivated per default. Enable the output function via para- does not switch meter Activate output (DXP_EN_DO =1). Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 245
Maintenance The firmware update is carried out according to the ETG specification ETG.5003.0002. The FoE protocol (File access over EtherCAT) is used for the firmware update of the device. The device must be in Bootstrap status for the update process. The firmware can be updated via TwinCAT or CODESYS.
Page 246
The INFO LED is orange during the firmware update. If the update is completed the device switches to normal operating mode. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 247
The Expert settings are activated on the General tab. The option Restart slaves automatically on the General tab is deactivated. Downloading the firmware file The firmware file for the device is available free of charge for download from www.turck.com. In the project tree double-click TBEC_LL_4RFID-8DXP (TBEC-LL-4RFID-8DXP).
Page 248
Disposal The devices must be disposed of correctly and must not be included in general household garbage. Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 249
Technical data Technical Data Type designation (ID) TBEC-LL-4RFID-8DXP (100002925) Power supply Power supply voltage 24 VDC Permissible range 18…30 VDC Total current V1 max. 8 A, V2 max. 9 A at 70 °C (UL: 55 °C) per module Voltage supply connection M12 male connector, L-coded Operating current V1: max.
Page 250
IP65/IP67/IP69K (not UL approved) MTTF 89 years acc. to SN 29500 (Ed. 99) 20 °C Housing material PA6-GF30 Housing color Black Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 251
Technical Data Material of window Lexan Material of screw 303 stainless steel Material of label Polycarbonate Halogen-free Mounting 2 fixing holes, Ø 6.3 mm FCC declaration NOTE This device complies with the limits for a Class A digital device, according to Part 15 of the FCC Rules.
Page 252
< 0x4000 done done in.errorCode = 0x0000 in.errorCode = [0x0001…0xffff ] new command desired? Fig. 127: Flow chart for command processing Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 254
= part 2…(n) acknowledge next fragment out.readFragmentNo := in.readFragmentNo done new command desired? Fig. 129: 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...
Page 255
15.4 Flow chart: Continuous mode with interruption before reading data Idle: Command Code = 0 Response Code = 0 Set output parameter: - „Start address“ = 1 (Grouping EPCs for UHF) - e.g. timeout Set command: Command Code = 0x0010 ERROR= TRUE Response Code = Command Code Error Code...
Page 256
*) After increasing the Read Fragment No., the new data will be shown in the read data input. Fig. 131: 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...
Page 257
15.6 Flow chart: programming tags with a password start define password write desired data to tag command: set_read/write_head_password (with default password of tag = 0000) command: set_tag_password (with new password) ERROR = TRUE response code = command code error code command: set_read/write_head_password (with new password)
Page 258
Ort und Datum der Ausstellung / Name, Funktion und Unterschrift des Befugten / Place and date of issue Name, function and signature of authorized person Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 259
EU-Konformitätserklärung Nr.: E5000M 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 Block I/O Module:...
Page 260
Turck Banner Malaysia Sdn Bhd Unit A-23A-08, Tower A, Pinnacle Petaling Jaya, Jalan Utara C, 46200 Petaling Jaya Selangor www.turckbanner.my Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com...
Page 261
Mexico Turck Comercial, S. de RL de CV Blvd. Campestre No. 100, Parque Industrial SERVER, C.P. 25350 Arteaga, Coahuila www.turck.com.mx Turck B. V. Netherlands Ruiterlaan 7, NL-8019 BN Zwolle www.turck.nl Austria Turck GmbH Graumanngasse 7/A5-1, A-1150 Wien www.turck.at Poland TURCK sp.z.o.o.
Page 262
Over 30 subsidiaries and over 60 representations worldwide! 100013756 | 2022/02 100013756 www.turck.com...
Need help?
Do you have a question about the TBEC-LL-4RFID-8DXP and is the answer not in the manual?
Questions and answers