5-6
Section
Communications Commands
86
Channel
Always 1.
Lock information
Set the corresponding bits in the following diagram to 1 to lock the corresponding pages.
If all of the bits in the lock information byte are set to 0, the LOCK command will read the
lock information that has been set for the ID Tag.
The following table shows the configuration of the “lock information” that con-
tains the lock bits for pages 1 through 6. Bits 2 through 7 are the lock bits for
pages 1 through 6. Bits 0 and 1 are always 0.
Consider the 8 bits of lock information as binary data and convert that binary
data to two hexadecimal digits when setting or reading the lock information.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page 6
Page 5
Page 4
Page 3
Page 2
Page 1
Always 0.
Always 0.
Once a page has been locked, it cannot be released.
Do not set “1” for a bit listed as “Always 0.” A command error will occur if one of
these bits is set to 1.
This example shows the command and response formats when locking pages 1
and 6 in an ID Tag that already has page 2 locked.
1, 2, 3...
1. The following diagram shows the lock information settings that lock pages 1
and 6.
Specify pages 1 and 6
Always 0
Binary settings
Hexadecimal equivalent
1
0
0
0
1
1 0
0
84
2. The required lock information setting is 84, so the following command will be
sent from the host device. (This is the main part of the command and does
not include the STX, ETX, BCC, and node number.)
Lock information
LK184
3. Pages 1, 2, and 6 are locked in this example, so the following response is
returned. (This is the main part of the response and does not include the
STX, ETX, BCC, node number, or retry flag.)
Lock information
LK008C
Specifies pages 1,2, and 6
Always 0
Binary settings
Hexadecimal equivalent
1
0
0
0
1
1 0
0
8C
The current lock settings can be checked by executing the LOCK command with
the lock information set to all zeroes.
1, 2, 3...
1. The following diagram shows the command format when just checking the
lock settings. (This is the main part of the command and does not include the
STX, ETX, BCC, and node number.)
Lock information
LK100
Lock Information
Precautions
Example 1:
Setting Locks
Example 2:
Checking Lock Settings
AUDIN - 7 bis rue de Tinqueux - 51100 Reims - France - Tel : 03.26.04.20.21 - Fax : 03.26.04.28.20 - Web : http: www.audin.fr - Email : [email protected]