![SMC Networks HRS090 Series Operation Manual Download Page 68](http://html.mh-extra.com/html/smc-networks/hrs090-series/hrs090-series_operation-manual_1299244068.webp)
HRX-OM-T004
Chapter 5 Simple communication protocol function
5.5
Message configuration
HRS090 Series
5-12
5.5 Message configuration
The message
configuration
is shown in the following. The explanation of
data in message is shown in the Table 5.5-1.
This product communicates in ASCII mode. ASCII mode is used from STX
to ETX. Hexadecimal value is used for BCC.
5.5.1
Message format
1) Request message format
1-1) Request message (Request to read)
STX
Slave Address
Request
Command
ETX
BCC
[STX]
XX
XX
[R]
XX
XX
XX
[ETX]
XX
1-2) Request message (Request to write)
STX
Slave Address
Request
Command
Writing data
ETX
BCC
[STX]
XX
XX
[W]
XX
XX
XX
XX
XX
XX
XX
XX
[ETX]
XX
1-3) Request message (Request to store the data
)
STX
Slave Address
Request
Command
ETX
BCC
[STX]
XX
XX
[W]
XX
XX
XX
[ETX]
XX
2) Response message format
2-1) Response message (Normal response to request to write)
STX
Slave Address
ACK
Command
Reading data
ETX
BCC
[STX]
XX
XX
[ACK]
XX
XX
XX
XX
XX
XX
XX
XX
[ETX]
XX
2-2) Response message (Normal response to request to write or store the data)
STX
Slave Address
ACK
ETX
BCC
[STX]
XX
XX
[ACK]
[ETX]
XX
2-3) Response message (Response when a receiving error occurred)
STX
Slave Address
NAK
ETX
BCC
[STX]
XX
XX
[NAK]
XX
[ETX]
XX
Response is not returned unless STX and ETX (BCC) are included in the request. This product clears all
previously received code when STX is received.
Exception code
Summary of Contents for HRS090 Series
Page 5: ...HRX OM T004 Contents HRS090 Series 6 3 2 Setting and checking 6 3 ...
Page 6: ......
Page 56: ......
Page 83: ......