ASDA-M Chapter 9 Communication
Revision December, 2014
9-11
Example1: function code 03H, access multiple words:
The Master issues the command to the 1
st
Slave and reads the continuous 2 words starting
from the start address 0200H. In response message from the Slave, the content of starting
address 0200H is 00B1H and the content of the 2
nd
data address 0201H is 1F40H. The
maximum allowable data in one single access is 10. The calculation of LRC and CRC will
be described in next chapter.
ASCII mode:
Command message from the Master: Response message from the Slave:
Start ‘:’ Start ‘:’
Slave Address
‘0’
Slave Address
‘0’
‘1’ ‘1’
Function
‘0’
Function
‘0’
‘3’ ‘3’
Starting data
address
‘0’
Number of data
(In Byte)
‘0’
‘2’ ‘4'
‘0’
The content of
starting address
0200H
‘0’
‘0’ ‘0’
Number of data
(In Word)
‘0’ ‘B’
‘0’ ‘1’
‘0’
The content of the
2
nd
data address
0201H
‘1’
‘2’ ‘F’
LRC Check
‘F’ ‘4’
‘8’ ‘0’
End 1 (0DH)(CR)
LRC Check
‘E’
End 0 (0AH)(LF) ‘8’
End 1 (0DH)(CR)
End 0 (0AH)(LF)