Send Quote Requests to info@automatedpt.com
ASDA-A3
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com
Motion Control
2. Read / write with communication:
To read from or write to the data array through Modbus, use the communication command 0x10
to write consecutively, 0x06 to write single data, and 0x03 to read consecutively. First, use a
consecutive writing command to write 100 to Data array #11, 200 to Data array #12, and 300 to
Data array #13. When reading, use a single data writing command to set the start address as
Data array #11, and then use a consecutive reading command to read P5.011 - P5.013 (Data
array #11 and #12). This reads two values, so P5.011 is incremented by 2 and then it reads
Data array #13.
Communi-
Packet
cation
Cmd
Start
address
1
0x10 P5.011
2
0x10 P5.011
Packet
Communi-
cation
Start
address
Cmd
4
0x06 P5.011
5
0x03 P5.011
6
0x03 P5.011
Writing to the data array
Data
size
P5.011
P5.012
Low bit High bit Low bit High bit
6
words
11
0
100
0
6
words
13
0
300
0
Reading the data array
Data
size
P5.011
P5.012
Low bit High bit Low bit High bit
-
11
6
words
11
6
words
13
0
-
-
0
100
0
0
300
0
P5.013
Low bit High bit
200
0
0
0
P5.013
Low bit High bit
-
-
200
0
0
0
Table 7.2.1.2 Group 2 - reading and writing the data array
Parameter
P5.011
Address for
reading / writing
Window for
reading / writing
P5.100
Window #3 for
reading / writing
P5.101
Window #4 for
reading / writing
P5.102
Window #5 for
reading / writing
P5.103
Window #6 for
reading / writing
Description
Example 1
Specify the address for reading from
or writing to the data array
200
Description
Example 1
Address Content
Read from or write to the address
specified by P5.011.
200
1234
Read from or write to the first
address following the address
specified by P5.011.
Read from or write to the second
address following the address
specified by P5.011.
Read from or write to the third
address following the address
specified by P5.011.
201
2345
202
3456
203
4567
Example 2
797
Example 2
Address Content
797
5678
798
6789
799
7890
x
0
7
Send Quote Requests to info@automatedpt.com
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com
7-67