
176
Se
ct
io
n 7
Me
ss
age
Det
a
ils
RFID System
User's Manual
(Modbus TCP)
Section 7
Host Communications Specifications
LOCK
This query locks the specified memory in the RF Tag.
It will no longer be possible to write data to the locked memory. The lock cannot be released.
Query Format
Unit to lock depends on the RF tag.
For details, refer to
Response Format
Normal Response
Error Response
Execution Example
Locking Four Blocks/Sectors Starting from Block/Sector 2 in the RF Tag
TX: 00000000000BFF10A20000020400020004
RX: 000000000006FF10A02000002
Parameter
Description
Register address
The register address (A200 hex) that specifies locking memory.
Word count
Number of words of lock information (0002 hex)
Byte count
Number of bytes of lock information (04 hex)
Lock
information
Lock number
Specify in 4-digit hexadecimal the first block or sector number to lock.
Lock count
Specify in 4-digit hexadecimal the number of blocks or sectors to lock.
Parameter
Description
Register address
Contains the register address that was specified in the query.
Word count
Contains the word count that was specified in the query.
Parameter
Description
Exception code
For details, refer to
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Byte 10
Byte 11
Byte 12
Byte 13
···
Byte 16
Transaction
identifier
Protocol
identifier
Field length
Unit
identifier
Function code
Register
address
Word count
Byte count
Lock information
X
X
0000 hex
000B hex
FF hex
10 hex
A200 hex
0002 hex
04 hex
4 bytes
Byte 13
Byte 14
Byte 15
Byte 16
Lock number
Lock count
2 bytes
2 bytes
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Byte 10
Byte 11
Transaction
identifier
Protocol
identifier
Field length
Unit
identifier
Function code
Register address
Word count
X
X
0000 hex
0006 hex
FF hex
10 hex
A200 hex
0002 hex
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Transaction
identifier
Protocol identifier
Field length
Unit
identifier
Function
code
Exception
code
X
X
0000 hex
0003 hex
FF hex
90 hex
1 byte