HRX-OM-Y120
Chapter 3 Serial communication
HRL Series
3.7
Communication sequence
3-7
3.7 Communication sequence
Starts with a request message from
the customer’s system (host), and
finishes with a response message from the product (slave). This
product operates as a slave. It does not send any requests.
●
Positive response
Based on the request message, reads
register/writes register and returns a
positive response.
●
Negative response
Returns a negative message when the
received request message is not
normal.
Refer t
●
No response
No response is returned when there is
an error in “slave address specification”
or”Checksum(LRC / CRC)”.
3.8 Message configuration
3.8.1 Message
frame
The message configuration is shown below. The communication of this
product uses 2 transmission modes, ASCII or RTU.
1
)
ASCII mode frame
For ASCII mode, the message starts with ASCII characters “:”(3Ah)
and ends with “CR/LF”(0Dh,0Ah). A response message will not be
returned unless the request includes [:] and [CR][LF]. This product
clears all previously received code when [:] is received.
Customer's system
(host)
This product
(slave)
Request message
Positive res
ponse
Request message
Negative re
sponse
Request message
No response
10
to
200ms
(
Response me
ssage
)
(
Response me
ssage
)