ASDA-A2
Example 3: function code 10H, write multiple words:
The Master issues command to the 1
0112H. That is to say, 0112H is written into 0BB8H and 0113H is written into 0000H. The
maximum allowable data in one single access is 10. The Slave sends the response message to
the Master after the writing is completed. The calculation of LRC and CRC will be described in the
following sections.
ASCII Mode:
Command message (Master):
Start
Slave Address
Function
Starting data
address
Number of data
(In Word)
Number of data
(In Byte)
The first data
content
The second data
content
LRC Check
End 1
End 0
9-12
Slave and writes 0BB8H and 0000H to the starting address
st
':'
'0'
'1'
'1'
'0'
'0'
'1'
'1'
'2'
'0'
'0'
'0'
'2'
'0'
'4'
'0'
'B'
'B'
'8'
'0'
'0'
'0'
'0'
'1'
'3'
(0DH)(CR)
(0AH)(LF)
Response message (Slave):
Start
Slave Address
Function
Starting data
address
Number of data
LRC Check
End 1
End 0
Chapter 9 Communications
':'
'0'
'1'
'1'
'0'
'0'
'1'
'1'
'2'
'0'
'0'
'0'
'2'
'D'
'A'
(0DH)(CR)
(0AH)(LF)