Motion Control
ASDA-B3
7-60
7
1.
Read / write with panel:
Write
P5.011 = 11
P5.013
Not writable
with panel
Value of P5.011 (writing
address) adds 1
P5.011 = 12
Write
P5.012 = 100
Write
P5.012 = 200
Read
P5.012 = 100
Read
P5.012 = 200
Value of P5.011 (writing
address) adds 1
P5.011 = 13
Write
P5.012 = 300
Read
P5.013 = 100
P5.011 (reading
address) remains
P5.011 = 11
Write
P5.011 = 12
P5.011 (reading
address) remains
P5.011 = 12
Read
P5.012 = 300
Write
P5.011 = 13
Value of P5.011
(reading address)
adds 1
P5.011 = 12
Read
P5.013 = 200
Value of P5.011
(reading
address) adds 1
P5.011 = 1
Write to data array
Read from data array
Set the address
for writing the
first data
Write 100 to
Data array #11
Write 200 to
Data array #12
Write 300 to
Data array #13
Write
P5.011 = 11
Set the address
for reading the
first data
Read
Data array #11
Read
Data array #12
Read
P5.013 = 300
Read
Data array #13
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, 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.
Writing to the data array
Packet
Communi-
cation
Cmd
Start
address
Data
length
P5.011
P5.012
P5.013
Low bit
High bit
Low bit
High bit
Low bit
High bit
1
0x10
P5.011
6
words
11
0
100
0
200
0
2
0x10
P5.011
6
words
13
0
300
0
0
0
Reading the data array
Packet
Communi-
cation
Cmd
Start
address
Data
length
P5.011
P5.012
P5.013
Low bit
High bit
Low bit
High bit
Low bit
High bit
4
0x06
P5.011
-
11
0
-
-
-
-
5
0x03
P5.011
6
words
11
0
100
0
200
0
6
0x03
P5.011
6
words
13
0
300
0
0
0
Содержание ASDA-B3 Series
Страница 15: ... This page is intentionally left blank ...
Страница 53: ...Installation ASDA B3 2 24 2 This page is intentionally left blank ...
Страница 137: ...Wiring ASDA B3 3 84 3 This page is intentionally left blank ...
Страница 161: ...Test Operation and Panel Display ASDA B3 4 24 4 This page is intentionally left blank ...
Страница 285: ...Motion Control ASDA B3 7 66 7 This page is intentionally left blank ...
Страница 477: ...Parameters ASDA B3 8 192 8 This page is intentionally left blank ...
Страница 515: ...Absolute System ASDA B3 10 22 10 This page is intentionally left blank ...
Страница 747: ...Troubleshooting ASDA B3 13 54 13 This page is intentionally left blank ...
Страница 809: ...Accessories ASDA B3 B 32 B This page is intentionally left blank ...
Страница 813: ...Revision History ASDA B3 4 This page is intentionally left blank ...