Send Quote Requests to info@automatedpt.com
ASDA-A3
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com
Modbus Communication
Example 3: function code 10H, writing multiple words.
In the following example, the master issues a write command to the first slave.
The slave writes data 0BB8H and 0000H starting from the start data address 0112H. In other
words, 0BB8H is written into 0112H and 0000H is written into 0113H. The maximum allowable
data in one single access is 8 words. The slave sends a response message to the master after
the writing is complete.
ASCII mode:
Command Message (Master):
Start
Slave Address
Function
Start Data Address
Data Quantity
(in words)
Data Quantity
(in bytes)
Content of the
1st Data Frame
Content of the
2nd Data Frame
LRC
End 1
End 0
‘:’
‘0’
‘1’
‘1’
‘0’
‘0’
‘1’
‘1’
‘2’
‘0’
‘0’
‘0’
‘2’
‘0’
‘4’
‘0’
‘B’
‘B’
‘8’
‘0’
‘0’
‘0’
‘0’
‘1’
‘3’
(0DH) (CR)
(0AH) (LF)
Response Message (Slave):
Start
Slave Address
Function
Start Data Address
Data Quantity
(in words)
LRC
End 1
End 0
‘:’
‘0’
‘1’
‘1’
‘0’
‘0’
‘1'
‘1’
‘2’
‘0’
‘0’
‘0’
‘2’
‘D’
‘A’
(0DH) (CR)
(0AH) (LF)
9
9-9
Send Quote Requests to info@automatedpt.com
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com