MODBUS Communication
ASDA-B3
9-8
9
Example 3: function code 10H, write multiple words
When the master issues a write command to the first slave:
The slave writes two words 0BB8H and 0000H starting from the start address 0112H. In other
words, 0BB8H is written into 0112H and 0000H is written into 0113H. The maximum allowable
number of data in one single access is 8. The slave sends a response message to the master
after writing is complete.
ASCII mode:
Command Message (Master):
Response Message (Slave):
Start
‘:’
Start
‘:’
Slave Address
‘0’
Slave Address
‘0’
‘1’
‘1’
Function
‘1’
Function
‘1’
‘0’
‘0’
Start Data Address
‘0’
Start Data Address
‘0’
‘1’
‘1'
‘1’
‘1’
‘2’
‘2’
Data Number
(in words)
‘0’
Data Number
‘0’
‘0’
‘0’
‘0’
‘0’
‘2’
‘2’
Data Number
(in bytes)
‘0’
LRC
‘D’
‘4’
‘A’
Content of the
1
st
Data Frame
‘0’
End 1
(0DH) (CR)
‘B’
End 0
(0AH) (LF)
‘B’
‘8’
Content of the
2
nd
Data Frame
‘0’
‘0’
‘0’
‘0’
LRC
‘1’
‘3’
End 1
(0DH) (CR)
End 0
(0AH) (LF)
Содержание 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 ...