Overview

The Feig RFID connector provides tag-based read and write access to a Feig (FEIG ELECTRONIC) RFID reader over TCP/IP, using the vendor's own FEDM SDK. It exposes tag presence, tag count, UID, and block-level read/write data as pollable tags, and supports on-demand inventory scans and block reads/writes via connector methods.

Every poll cycle performs a single inventory scan (hm().inventory()) and iterates whatever tags are detected in the field, updating each subscribed tag from that scan. Block-level reads/writes are genuine round-trips to the reader.

The connector detects when the underlying connection is lost and reconnects automatically without blocking the read cycle - reconnection runs on its own dedicated background thread once a connection has been established at least once.

Parameters

Name Values Description
Type FEIGRFID The connector type identifier.
IP IP address or hostname The IP address or hostname of the reader.
Port integer The reader's TCP port. Defaults to 10001.
Timeout milliseconds (integer) Connect timeout passed to the reader connector. Defaults to 1000.
UpdateRate milliseconds (integer) How often the connector performs an inventory scan. Defaults to 250.
ReconnectDelay milliseconds (integer) Delay between reconnect attempts while the reader is unreachable. Defaults to 5000.
BlockSize bytes (integer) Bytes per memory block, used when writing via WRITEBLOCK/Block Data Tags. Defaults to 4 (ISO15693 default).
RequestMode UNIDIRECTIONAL or BIDIRECTIONAL The FEDM request mode used when opening the reader session. Defaults to UniDirectional.

Supported Tag Types:

Tag Type Address Behaviour
Presence Tag via system tag %TAGPRESENT True when a tag is present in the reader's field.
Tag Count Tag via system tag %TAGCOUNT Number of tags currently detected in the field.
Uid Tag - The IDD/UID hex string of a detected tag.
Block Data Tag [IDD|]startBlock[:blockCount], e.g. 0:4 or E004...|2:1 Reads (and, via WRITEBLOCK, writes) a range of memory blocks. The optional IDD| prefix scopes the read/write to a specific tag UID when more than one tag may be present.

Connector Methods

Name Arguments Description
Inventory - Triggers an immediate inventory scan outside the normal poll cycle.
ReadBlock Address Reads a block range on demand, using the same [IDD|]startBlock[:blockCount] address format as Block Data Tags.
WriteBlock Address, Data Writes data to a block range on demand.

Addressing

The Address field only applies to Block Data Tags, using the format described above. Presence, count, and UID values are read via their dedicated tag types rather than an address. The same block read/write values are also available on demand via RunMethod("READBLOCK"/"WRITEBLOCK") rather than through a polled tag, if a one-off read/write is preferred over continuous polling.