^RL
^RL

^RL

The
^RL
command has two distinct formats and functions.
^RLM
Lock/Unlock the Specified Memory Bank
Locks a password or an entire memory bank in a writeable or unwriteable state. These locks/unlocks can be permanent or reversible.
^RLB
Permanently Lock Specified Memory Sections
Locks blocks of user memory in an unwriteable state.

Lock/Unlock RFID Tag Memory

^RLM – Lock/Unlock the Specified Memory Bank

The
^RLM
command locks/unlocks the specified password or memory bank on an RFID tag. You can use this command to do the following:
  • lock individual passwords, thereby preventing or allowing subsequent reads or writes of that password
  • lock individual memory banks, thereby preventing or allowing subsequent writes to those banks
  • Permanently lock (permalock) the lock status for a password or memory bank
Format:
^RLM,k,a,e,u
Parameters
Details
k =
kill password function
Values:
U
= unlock the kill password*
L
= lock the kill password*
O
= permanently unlock (Open) the kill password
P
= permanently lock (Protected) the kill password
a =
access password function
Values:
U
= unlock the access password*
L
= lock the access password*
O
= permanently unlock (Open) the access password
P
= permanently lock (Protected) the access password
e =
EPC memory bank function
Values:
U
= unlock the EPC memory bank*
L
= lock the EPC memory bank*
O
= permanently unlock (Open) the EPC memory bank
P
= permanently lock (Protected) the EPC memory bank
u =
USER memory bank function
Values:
U
= unlock the USER memory bank*
L
= lock the USER password bank*
O
= permanently unlock (Open) the USER memory bank
P
= permanently lock (Protected) the USER memory bank
* The access password must be set to something other than the default of 00000000 to use this value. See the examples for this command for guidance.

^RLB – Permanently Lock Specified Memory Sections

The
^RLB
command permanently locks (permalocks) one or more sections (individual sub‑portions) in a tag’s user memory. The section sizes for each tag is defined by the tag manufacturer.
Format:
^RLB,s,n
Parameters
Details
s =
starting section
Specify the starting section of memory to lock.
n =
number of sections
Specify the number of sections to lock.
Example:
The following command locks all memory banks using a previously specified access password.
^RLM,L,L,L,L^FS
Example:
The following command locks the user memory banks using a previously specified access password.
^RLM,,,,L^FS
Example:
The following command permalocks sections 0 to 4 of user memory using a previously specified access password.
^RLB,0,4^FS
Example:
This code does the following:
  • writes 12 bytes to user memory
  • writes “12345678” to the access password and “11223344” to the kill password
  • permalocks 6 sections of user memory using “12345678” as the access password
  • locks the kill and access passwords and permanently unlocks the EPC memory, using “12345678” as the access password
^XA ^RFW,H,0,12,3^FD112233445566778899001122^FS ^RFW,H,P^FD12345678,11223344^FS ^RLB,0,6^FS ^RLM,L,L,O^FS ^XZ
Example:
This code does the following:
  • writes 12 bytes to user memory
  • permalocks 6 sections of user memory using “00000000” as the access password
  • permalocks the kill password and access password using “00000000” as the access password
^XA ^RFW,H,0,12,3^FD112233445566778899001122^FS ^RLB,0,6^FS ^RLM,P,P^FS ^XZ