Create the RFID XML definition file for RFID reader
- Last UpdatedFeb 17, 2025
- 2 minute read
Steps:
-
Begin by copying and pasting the following text into a text editor, such as Notepad.
<?xml version="1.0" encoding="utf-8"?>
<Readers>
<Reader Name="CN70" Class="UHF" PercentRadioStrength="66">
<TagDefinition Name ="Format#1" TagFormatNumber ="1">
<Field Name="EPC" DataSegment="EPC" DataType="UnsignedByte" Offset="32" Length="12" Format="HEX"/>
<DataSegment Name="User_Data" Offset="0">
<Field Name="ASSET_NAME" DataType="Char8Bit" Offset="0" Length="60" Format="ASCII"/>
</DataSegment>
</TagDefinition>
</Reader>
</Readers>
-
Modify the following parameters as required for your purposes:
-
DataSegment indicates the memory bank from which the field is read. Valid values are EPC and User_Data.
For example, valid combinations of settings for DataSegment, DataType, and Format (respectively) are as follows:
EPC /UnsignedByte / HEX
User_Data / Char8Bit / ASCII
-
DataType and Length together indicate the type and size of data.
Supported Data Types include:
-
UnsignedByte: 8-bit Unsigned Byte (0 - 255)
-
SignedByte: 8-bit Signed Byte (-127 - 127)
-
UnsignedWord: 16-bit Unsigned Word (0 – 65535)
-
SignedWord: 16-bit Signed Word (-32768 – 32768)
-
UnsignedDWord: 32 -bit Unsigned Word (0 – 4294967295)
-
SignedDWord: 32-bit Signed Word (-2147483647 – 2147483647)
-
Single: 32-bit Single Precision Float
-
Double: 64-bit Double Precision Float
-
Char7Bit: 7-bit character
-
Char8Bit: 8-bit character
-
DateTime: 32-bit long represents a Unix time – i.e., the number of second elapsed since midnight January 1st, 1970
-
Time: 11 bits of hour and minute (5-bit 24 hour, 6-bit minute)
-
Date: 17 bits of date (4-bit month, 5-bit day, and 8-bit year within 1900-2155)
-
-
Offset indicates the bit in the memory bank from which to start the read.
-
Format indicates the display format. Valid values are HEX and ASCII.
Supported Formats include:
-
ASCII: A string of 7-bit ASCII characters
-
HEX: A string of hexadecimal characters
-
Decimal: A decimal number.
-
StandardDateTime: Formats the field as a general date/time pattern, e.g. 6/15/2009 1:45 PM
-
-
PercentRadioStrength is an integer between 38 and 100 inclusive that represents the scanning power of the RFID antenna. The value 66, as shown earlier, is recommended. A value of 100 corresponds to the maximum 27dBm power of the antenna.
-