HRX-OM-S010
Chapter 5 Simple communication protocol function
HRS100/150 Series
5.8
Command explanation
5-19
5.8.4
Command:LOC Key-lock setting (R)
Read the key-lock condition set in 5.8.5
‘’Command: LOC’’.
It is different from the key-lock information which is set by the operation
display panel
.
Request message <Normal> (Master to Slave)
STX
Slave Address
Request
Command
ETX
BCC
[STX]
XX
XX
[R]
[L]
[O]
[C]
[ETX]
XX
Response message <Normal> (Slave to Master)
STX
Slave Address
ACK
Command
Reading data
ETX
BCC
[STX]
XX
XX
[ACK]
[L]
[O]
[C]
XX
XX
XX
XX
XX
[ETX]
XX
Communication example
○Slave Address
:
No 1
○BCC selection
Request message
Response message
Code
Contents
Code
Contents
01
Slave Address
01
Slave Address
R
Request message to read
[ACK]
Normal response message
LOC
Key-lock setting
LOC
Key-lock setting
[12h]
BCC value
00001
Read information
(
00001
:
All locked
)
[77h]
BCC value
This product
(Request)
[
STX
]
01RLOC[ETX][12h]
(Response)
[
STX
]
01
[
ACK]LOC00001[ETX][77h]
Your system
Data is sent and
received in ASCII
code.