Chapter 8 MODBUS Communications
|
ASDA-AB Series
Revision January 2009
8-11
STX (Communication Start)
ASCII Mode: ’:’ character
RTU Mode: A silent interval of more than 10ms
ADR (Communication Address)
The valid communication addresses are in the range of 1 to 254.
For example, communication to AC servo drive with address 16 decimal:
ASCII Mode: ADR=’1’,’0’ => ‘1’=31H
,
’0’=30H
RTU Mode: ADR = 10H
CMD (Command Codes) and DATA (Data Characters)
The format of data characters depends on the command code. The available command codes and examples
for AC servo drive are described as follows:
Command 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 with address 01H.
ASCII Mode:
Command message:
Response message:
STX ‘:’
STX ‘:’
‘0’
‘0’
ADR
‘1’
ADR
‘1’
‘0’
‘0’
CMD
‘3’
CMD
‘3’
‘0’
‘0’
‘2’
Number of data
(Count by byte)
‘4'
‘0’
‘0’
Starting data
address
‘0’
‘0’
‘0’
‘B’
‘0’
Contents of starting
data address
0200H
‘1’
‘0’
‘1’
Number of data
‘2’
‘F’
‘F’
‘4’
LRC Check
‘8’
Contents 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)
Summary of Contents for AC Servo Drive ASDA-AB
Page 1: ......
Page 13: ...Table of Contents ASDA AB Series Revision January 2009 This page intentionally left blank...
Page 85: ...Chapter 5 Trial Run and Tuning Procedure ASDA AB Series 5 8 Revision January 2009...
Page 246: ...Chapter 8 MODBUS Communications ASDA AB Series Revision January 2009 8 3 Cable Connection...
Page 307: ...Chapter 12 Application Examples ASDA AB Series 12 10 Revision January 2009...