User's Manual

7 Modbus/TCP Communications
7 - 28
UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
Function
This command locks or unlocks the memory of the RF Tag in the communications field.
Command Format
Note 1. When an area is locked, the specified password is written to the access password area in the RF Tag.
2. If an address error, lock error, or RF Tag system error occurs when locking an area, the access pass-
word area in the RF Tag will be cleared to all zeros.
3. When an RF Tag is unlocked, the access password area in the RF Tag will be cleared to all zeros.
Response Formats
Normal Response
LOCK
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 identi-
fier
Protocol identifier Field length Unit
identifier
Function
code
Register address Word count
X X 0000 hex 000F hex FF hex 10 hex 8000F hex 0004 hex
Byte-12 Byte-13 Byte-14 Byte-15 Byte-16 Byte-17 Byte-20
Byte
count
Lock operation Area to lock/unlock Password
08 hex 2 bytes 2 bytes 4 bytes
Parameter Description
Lock operation Specify locking or unlocking.
0000 hex: Unlock
0001 hex: Lock
If you specify locking the EPC, TID, or user area, you will no longer be able to write data to
that area.
If you specify locking the access password, you will no longer be able to read the access
password area.
When you unlock an area, specify all of the areas that have been locked.
Area to
lock/unlock
Specify one or more of the EPC, TID, and user areas.
EPC area: 0001 hex
TID area: 0002 hex
User area: 0004 hex
Access password: 0008 hex
If all zeros is specified, a command parameter error will occur.
Password Specify the access password to set in the Tag in 8-digit hexadecimal (32 bits) (00000000 hex).
Locking: The access password to set in the RF Tag to lock.
Unlocking: The access password in the RF Tag to unlock.
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 identi-
fier
Protocol identifier Field length Unit
identifier
Function
code
Register address Word count
X X 0000 hex 0006 hex FF hex 10 hex 2 bytes 2 bytes
Parameter Description
Register address The register address from the command is set
Word count The word count from the command is set.