Delta ASD-A2-0121 Series User Manual page 272

Ac servo drive for network communication applications
Hide thumbs Also See for ASD-A2-0121 Series:
Table of Contents

Advertisement

Chapter 7 Motion Control
If users desire to read / write the data array via communication, the operation procedure is similar
to that of the panel. Moreover, the functions of P5-12 and P5-13 are the same. If users desire to
write 6 data, 100, 200, 300, 400, 500, and 600 into the address of data array via Modbus
communication command 0x10 (continuous writing), the content of the issued command is as the
followings:
Content of Communication Command: Write into Data Array
No.
Command
1
0x10
2
0x10
3
0x10
If users desire to read the value of data array in order to check the previous written content,
users can write the desired reading start address into P5-11 via MODBUS communication
command 0x06 (write 1 data). The issuing communication command is as the following:
Content of Communication Command: Set the Reading Address of Data Array
No.
4
Then, read the content of specified address by communication command 0x03 (continuous
reading). The issuing communication command is as follows:
Content of Communication Command:
Read Data Array
No.
Command
5
0x03
6
0x03
7
0x03
The return value on the right-hand side of the above table represents the read parameters, P5-11,
P5-12, and P5-13, which is also the content of address 11 ~ 16 in data array.
Start
Written
Add.
Amount
6
P5-11
(Word)
The first address
6
P5-11
(Word)
The third address
6
P5-11
(Word)
The fifth address
Command
0x06
Start
Read
Add.
Amount
6
P5-11
(Word)
6
P5-11
(Word)
6
P5-11
(Word)
P5-11
Low
High
Low
Word
Word
Word
11
0
The first data
13
0
The third data
15
0
The fifth data
Start Add.
P5-11
P5-11
Low
High
Word
Word
11
0
Read address
13
0
Read address
15
0
Read address
P5-12
High
Low
Word
Word
100
0
200
The second
300
0
400
The fourth data
500
0
600
The sixth data
Written Data
11
Return Data
P5-12
Low
High
Low
Word
Word
Word
100
0
200
Data of
address 11
address 12
300
0
400
Data of
address 13
address 14
500
0
600
Data of
address 15
address 16
ASDA-A2
P5-13
High
Word
0
data
0
0
P5-13
High
Word
0
Data of
0
Data of
0
Data of
7-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents