Skip to Content
On this page

Turck RFID

Turck RFID tag memory read, write and dedicated debug driver

Compatible devices and models

Device series / model examplesConnection requirements
Turck RFID controllers exposing the read/write command interface used by this pluginConfigure the matching controller interface, channel and tag memory area. Lengths, passwords and commands depend on both tag and controller.

Prepare the reader and tag

  1. Confirm the matching command-service IP, TCP port and reader head in the vendor tool, then present an initialized tag. Other Turck Modbus/PROFINET interfaces do not replace this service.
  2. Create a TCP client channel, select Turck RFID and read tag information first. Capacity is block count multiplied by block size; block numbers are not byte offsets.
  3. If tag bytes 8 and 9 are 34 12, UInt16 address 8 reads 4660 with the default little-endian conversion. Compare raw Byte arrays before interpreting values.
  4. Boolean 10.3 selects bit 3 of byte 10, low-bit first. Valid bits are 0–7, not .15.

Packing and tag changes

Maximum packing defaults to 64 bytes, accepts 1–65535, and bounds each combined collection plan and each individual variable’s total byte length. To collect 128 Byte elements, set it to at least 128. Wire frames still carry at most 64 tag-data bytes and the driver splits the transfer. Multibyte values and String len must fit within tag capacity.

TCP reconnect or a no-tag error causes tag initialization to run again. After changing a tag, check its new UID and capacity before using the same offsets. Read back writable areas with the same type; locked blocks remain protected regardless of variable type.

Open the plugin

Enter “Development Configuration → Collection Configuration”, create a device and select “Turck RFID” in “Device Plugin”.

Supported channels and data types

Channel typePre-configuration check
TCP ClientConfirm network reachability of the device IP, port, and gateway to the device.

Optional data types: Boolean, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Float, Double, String

This list describes types allowed by the plugin editor. Address width, arrays, string length and read/write restrictions still follow this page; it does not mean that every address supports every type.

Plugin properties

SettingDescription
Maximum packing lengthDefaults to 64 bytes. Bounds a combined read plan and each variable’s total byte length. Larger plans still use 64-byte wire fragments.
Read/write timeoutDefaults to 3000 ms. Check tag presence, network and protocol errors before increasing the response wait.
Send delayDefaults to 0 ms before each request; does not change tag addresses or capacity.
Failure retriesDefaults to 3. More retries do not make an absent tag or locked block accessible.
Read/write duty and write priorityCommon collection scheduling settings; see Collection configuration. Keep defaults for ordinary tag collection.
Data formatDefaults to DCBA little-endian. UInt16 bytes 34 12 produce4660. Match the actual tag layout; Byte reads need no swapping.
Reverse string bytes within wordsEnable only for strings stored with bytes swapped within16-bit words; leave disabled for ordinary consecutive characters.

Turck RFID packing, request timing and little-endian data format

Address rules

  • Turck RFID Reader addresses use decimal tag byte positions, such as 0, 8, 120.
  • Boolean must use BYTE.bit explicitly, the bit number range is 0 to 7, for example 10.3.
  • The first read and write will read the tag UID, block number and block size; reinitialize after each TCP reconnect or no tag error.
  • A maximum of 64 tag data bytes can be read and written in a single frame, and larger ranges are automatically packetized by the driver.

Byte positions range from 0 to 65535, with the complete access also bounded by actual tag capacity. Array length counts elements: four UInt16 elements occupy eight bytes; four Boolean elements read four consecutive bits starting at the specified bit.

Turck RFID byte position8, UInt16 type and read-only variable

In Edit fields, Address offset is a tag byte position. Byte-order override (data) applies to this variable only. Encoding and string byte length (len) describe its reserved String area, for example 16;len=8;encoding=ASCII. Enable BCD only when required by the tag’s numeric representation. Leave variable-length-string override unset for ordinary fixed ASCII storage.

Turck RFID address offset and conversion overrides

Special methods

MethodPurposeParameters
ReadTagInfoAsyncRead tag informationNo parameters

Device debug

Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.

Dedicated debugging page

The dedicated protocol debug page reads RFID tag information. Use the common Read/Write panel to access tag memory.

Debugging notes

The dedicated page verification can be completed by reading the tag inventory information. There is no writing operation on the current page.

Functions

FunctionPurpose
Read tag informationReads the current tag UID, block count and block size without modifying tag memory.
Common read/write debugReads or writes tag memory using decimal byte offsets. Writes use the common Read/Write panel, rather than the dedicated tag-information page.

Verify the configuration

Read byte 0 of the same tag in a tag tool and compare value/UID; keep the tag fixed when reading subsequent bytes.

Writes and control operations require an approved test point and the site safety procedure.

Troubleshooting

  • Byte offsets differ from Boolean byte.bit addresses. Transfers use 64-byte fragments; validate tag presence/initialization before widening the range.
  • Special method execution fails: Check method parameters and permissions; control, write or reset methods also need to confirm that the device is in a state that allows operation.