ProNet Plus Series AC Servo User's Manual
- 137 -
RTU mode: Sleep interval of at least 4 bytes transmission time (automatically changed according to different
communication speed).
ADR (communication address)
Valid communication address: 1 to 254
For example: communicate with the servo drive which address is 32 (20 in hex) :
ASCII mode:
ADR=‘2’, ‘0’=
>
‘2’=32
H
,
‘0’=30
H
RTU mode: ADR=20H
CMD (command reference) and DATA (data)
Data structure is determined by command code. Regular command code is shown as follows:
Command code: 03H, read N words(word), N
≦
20.
For example: read 2 words starting from 0200
H
from the servo drive whichaddress is 01 H.
ASCII mode:
Reference information:
Response information:
STX
“: ”
STX
“: ”
ADR
‘0’
ADR
‘0’
‘1’
‘1’
CMD
‘0’
CMD
‘0’
‘3’
‘3’
Data start address
‘0’
Data number
(count as byte)
‘0’
‘2’
‘4’
‘0’
Content of data start
address 0200
H
‘0’
‘0’
‘0’
Data number
(count as word)
‘0’
‘B’
‘0’
‘1’
‘0’
Content of second
data address 0201
H
‘1’
‘2’
‘F’
LRC checking
‘F’
‘4’
‘8’
‘0’
End 1
(0D
H
)(CR)
LRC checking
‘E’
End 0
(0A
H
)(LF)
‘8’
End 1
(0D
H
)(CR)
End 0
(0A
H
)(LF)
RTU mode:
Reference information:
Response information:
ADR
01
H
ADR
01
H
CMD
03
H
CMD
03
H
Data start address
02
H
(high-bit)
Data number
(count as byte)
04
H
00
H
(low-bit)
Data number
(count as word)
00
H
Content of data start
address 0200
H
00
H
(high-bit)
02
H
B1
H
(low-bit)
CRC checking
C5
H
(low-bit)
Content of second
data address 0201
H
1F
H
(high-bit)
CRC checking
B3
H
(high-bit)
40
H
(low-bit)
CRC checking
A3
H
(low-bit)
CRC checking
D3
H
(high-bit)
Reference code: 06
H
, write in one word
Содержание ProNet Plus Series
Страница 1: ...ProNet Plus Series AC Servo User s Manual Version V1 05...
Страница 216: ......