Chapter 9 Communications
Example 3:
Function code: 10H, write N words (The maximum value of N is 10)
For example, writing continuous 2 words into starting address 0112H of AC servo drive. The
content of first data address is 0BB8H and the content of second data address is 0000H.
ASCII Mode:
Command message (Master): Response message (Slave):
Start ‘:’ Start ‘:’
‘0’ ‘0’
Slave Address
‘1’
Slave Address
‘1’
‘1’ ‘1’
Function
‘0’
Function
‘0’
‘0’
‘0’
‘1’ ‘1'
‘1’ ‘1’
Starting data
address
‘2’
Starting data
address
‘2’
‘0’ ‘0’
‘0’
‘0’
‘0’ ‘0’
Number of data
(In Word)
‘2’
Number of data
‘2’
‘0’
‘D’
Number of data
(In Byte)
‘4’
LRC Check
‘A’
‘0’ End 1 (0DH)(CR)
‘B’
End 0 (0AH)(LF)
‘B’
Content of
first data
address
‘8’
‘0’
‘0’
‘0’
Content of
second data
address
‘0’
‘1’
LRC Check
‘3’
End 1 (0DH)(CR)
End 0 (0AH)(LF)
Revision January 2011 9-11
Call 1(800)985-6929 for Sales
Call 1(800)985-6929 for Sales