4-3-5. Lock Status Request Command (9)
W? commands allows you to obtain destination lock status.
Command format
Control command
@[sp]W?<Lvl>,<Dest>
Control command
BYTE No.
1
2
Command
@
[sp]
<Dest>: Destination number that you wish to obtain lock status
Command response
BYTE No.
1
2
Response
CR
LF
Command Response
There are the following three types of response (status).
(1) Dest 1 lock status: LOCK ALL is applied from the unit ID10.
Response @ W?0,0
W!00,A,1
>
(2) Dest 2 lock status: LOCK OTHER is applied from the unit ID11.
Response @ W?0,1
W!01,B,2
>
(3) Dest3 lock status: Not locked
Response @ W?0,2
W!02,0,0
>
@[sp]W!<Dest>,<ID>,
3
4
5
6
W
?
<Lvl>
,
3
4
5
6
W
!
<Lvl> <Dest>
Echo
LOCK ALL is applied from the unit ID10 (0x0A) to Dest 1.
New line
Prompt
Echo
LOCK OTHER is applied from the unit ID11 (0x0B) to Dest 2.
New line
Prompt
Echo
Dest 3 is not locked.
New line
Prompt
46
Command response
7
8
<Dest> CR
7
8
9
,
<ID>
,
10
11
12
0
CR
LF
1
2