
Reference Manual V1.10
Software Versions 3.xx
Page 56
X300-621-110
18.
Appendix - rinWIRE Protocol
The protocol uses ASCII characters with a single master POLL / RESPONSE message structure. All
information and services are provided by registers each of which has its own register address.
Basic Message Format
The basic message format is as follows:
ADDR
CMD
REG
:
DATA
Header
Data
ADDR
ADDR is a two character hexadecimal field corresponding with the following:
ADDR
Field Name
Description
80
H
Response
‘0’ for messages sent from the master (POLL).
‘1’ for messages received from a module
(RESPONSE)
40
H
Error
Set to indicate that the data in this message is an
error code and not a normal response.
20
H
Reply
Required
Set by the master to indicate that a reply to this
message is required by any slave that it is
addressed to. If not set, the slave should silently
perform the command.
00
H
..
1F
H
Module
Address
Valid addresses are 01
H
to 1F
H
(1 .. 31).
00
H
is the broadcast address. All sensors must
process broadcast commands. When replying to
broadcasts, sensors reply with their own address in
this field.
Note:
The hexadecimal codes are combined in the fields described above when multiple options are
active at the same time. For example an error response message from sensor address 5 would
have an ADDR code of C5
H
(80
H
+ 40
H
+ 05
H
).