VRD-485 RFID READER WITH RS-485 INTERFACE
Revision number: 1.01
Review date: 1 December, 2021
www.technotrade.ua
page 11 from 13
Command 06
‘Write Single Register’
This command is recommended for setting the reader address and baud rate.
Request:
Request code
1 byte
0x06
Register number
2 bytes
0x0000
… 0x000B
Value (for example address
(High) and baud rate (Low))
2 bytes
0xXXXX
Response:
Response code
1 byte
0x06
Register number
2 bytes
0x0000
… 0x000B
Value (for example address
(High) and baud rate (Low))
2 bytes
0xXXXX
Example:
REQUEST
RESPONSE
Request code
0x06
Response code
0x06
Register High number
0x00
Register High number
0x00
Register Low number
0x00
Register Low number
0x00
Reader address 27
0x1B
Reader address 27
0x1B
Baud rate 9600
0x02
Baud rate 9600
0x02
In this example address of the reader is set to 27 and its baud rate is set to 9600.
Note!
If the baud rate value is not within the range 1
…
6
–
then the least possible baud rate is set (2400).
Response in case of the request error:
Response code
1 byte
0x86
Error code
1 byte
0x02
–
start register number is more than 0x000B