Chapter 9 Communications
The format of data characters depends on the function code. The available function codes and
examples for AC servo drive are described as follows:
Example 1:
Function code: 03H, read N words (The maximum value of N is 10)
For example, reading continuous 2 words from starting address 0200H of AC servo drive. In
the response message (Slave), the content of starting data address 0200H is 00B1H and the
content of second data address 0201H is 1F40H.
ASCII Mode:
Command message (Master): Response message (Slave):
Start ‘:’ Start ‘:’
‘0’ ‘0’
Slave Address
‘1’
Slave Address
‘1’
‘0’ ‘0’
Function
‘3’
Function
‘3’
‘0’
‘0’
‘2’
Number of data
(In Byte)
‘4'
‘0’ ‘0’
Starting data
address
‘0’
‘0’
‘0’ ‘B’
‘0’
Content of
starting data
address 0200H
‘1’
‘0’ ‘1’
Number of data
(In Word)
‘2’ ‘F’
‘F’
‘4’
LRC Check
‘8’
Content of
second data
address 0201H
‘0’
End 1 (0DH)(CR) ‘E’
End 0 (0AH)(LF)
LRC Check
‘8’
End 1 (0DH)(CR)
End 0 (0AH)(LF)
9-8 Revision January 2011
Call 1(800)985-6929 for Sales
Call 1(800)985-6929 for Sales