Industrial UHF read/write head|reader|reader CK-UR08-A01 register configuration method and strategy

Industrial UHF Read/Write Head|Reader|Card Reader CK-UR08-A01 Some registers are used to set the device address, communication baud rate, communication verification method and the working mode of the card reader, and some registers are used for display RFID card detection status and display command execution is normal, the set value of the settable register is saved after power-off, and the card reader will work with the current set value after power-on again.

The following will focus on the configuration method and strategy of industrial UHF read/write head|reader|reader CK-UR08-A01 register.

Table 1 Reader configuration register

address

0x0000

0x0001

0x0002

0x0003

0x0004

0x0005

0x0006

0x0007

0x0008

definition

Device address

Baud rate

Parity check

Card reader mode

Number of labels

Read and write area

Read and write start address

Inventory mode

Antenna switch

Comment

Default 2

115200 bps

No verification by default

Modbus RTU

Number of scan labels

Default User area

Default is 0

Default is 0

Default on

 

address

0x0009

0x000A

0x000B

0x000C

definition

Keep

Keep

Keep

Keep

Comment

 

 

 

 

 

1. Device address register add=0x0000

Register 0x0000 is used to save the slave ID of the device. When the device address is to be changed, write the corresponding ID number to the register. For example, if the device address is 0x01, write 0x01.

  1. ID=0 is the broadcast address, any device can receive ID.
  2. If the data of this register is 0xffff, it is the default factory device address 0x02.
  3. Use MODUBUS function code: 03 06 16, other function codes return error codes.
  4. Factory default value: Slave ID =0x0002.

2. Baud rate setting register add=0x0001

Write different values ​​to this register to change different baud rates. The relationship between baud rate and value is:

Table 2 Correspondence table of baud rate and register setting value

Baud rate

Register value (H)

4800

0001

9600

0002

19200

0003

38400

0004

115200

0005

115200

FFFF

invalid

Other value

  1. If the data in this register is 0xffff, it is the default factory baud rate of 115200.
  2. Use MODUBUS function code: 03 06 16, other function codes return error codes.
  3. Factory default value: baud rate=115200pbs.

3. Parity check bit setting register add=0x0002

Write different values ​​to this register to set the verification mode. The relationship between the verification mode and the value is:

Table 3 Correspondence table between parity check and register setting value

Verification method

Register value (H)

No verification

0001

Even parity

0002

Odd parity

0003

No verification

FFFF

invalid

Other value

  1. Use MODUBUS function code: 03 06 16, other function codes return error codes.
  2. Factory default value: no check digit.

4. Card reader mode register add=0x0003

Write different values ​​to this register to set different modes. The relationship between mode and value is:

Table 4 Correspondence table of card reader working mode and setting value

Card reader mode

Register value (H)

Standard MODBUS

0001

Standard MODBUS

FFFF

invalid

Other value

Mode function definition:

Standard MODBUS : Standard MODBUS RTU communication mode, one answer and one answer

5. The number of tags register add=0x0004

The tag quantity register is used to display the number of tags scanned by the card reader in normal use. The maximum number of tags that can be read is 10.

Note: When there is no tag in the sensing range, if the tag is read and written, the card reader will not be able to complete the operation normally. If there is no label, the register value returned after the read operation is 0.

6. Read and write area register add=0x0005

The read-write area register defaults to 3, which is the User area. When operating the tag, directly manipulate the User area data of the tag. The tag's read-write area is allocated as follows:

Table 5 Label reading and writing area

Carrier code body

Data area

R/W

label

RFU storage area

Read and write

EPC storage area

Read and write

TID storage area

Read only

USER storage area

Read and write

Note : The value recognized by the card reader when identifying the tag is the EPC value, which is stored in the register starting from the address 0x0002 of the EPC storage area, and the size of each register is 2 Bytes.

The corresponding relationship between the area of ​​the read-write area register and the value is as follows:

Table 6 Read and write area

Read and write area

Register value (H)

RFU storage area

0000

EPC storage area

0001

TID storage area

0002

EPC storage area

0003

EPC storage area

FFFF

invalid

Other value

 

7. Read and write start address register add=0x0006

This register can set the read and write start address of the read and write area, the default is 0.

​​​​​​​​​​​​​​8, inventory mode register add=0x0007

This register can be set to inventory mode, which is closed by default. The corresponding relationship is as follows:

Table 7 Inventory mode

Inventory mode

Register value (H)

Non-inventory mode

0000

Inventory mode

0001

Non-inventory mode

FFFF

invalid

Other value

 

9、天线开关寄存器 add=0x0008

该寄存器可配置天线开关,默认开启天线,当天线关闭后,无法寻卡。掉电不保存,对应关系如下:

表 8 天线开关

天线开关

寄存器数值(H)

关闭天线

0000

开启天线

0001

开启天线

FFFF

无效

其他值

 

更多关于工业超高频读写头|读写器|读卡器CK-UR08-A01寄存器的配置方法与攻略,华翔天诚科技欢迎您的交流!

Guess you like

Origin blog.csdn.net/Alex88389516/article/details/110939534