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 1: function code 03H, accessing multiple words.
In the following example, the master issues a read command to the first slave.
The slave accesses two continuous words starting from the start data address 0200H. In the
response message from the slave, the content of the start data address 0200H is 00B1H, and
the content of the second data address 0201H is 1F40H. The maximum allowable data in one
single access is 10 words.
ASCII mode:
Command Message (Master):
Start
Slave Address
Function
Start Data Address
Data Quantity
(in words)
LRC
End 1
End 0
‘:’
‘0’
‘1’
‘0’
‘3’
‘0’
‘2’
‘0’
‘0’
‘0’
‘0’
‘0’
‘2’
‘F’
‘8’
(0DH) (CR)
(0AH) (LF)
Response Message (Slave):
Start
Slave Address
Function
Data Quantity
(in bytes)
Content of Start Data
Address 0200H
Content of the 2nd Data
Address 0201H
LRC
End 1
End 0
‘:’
‘0’
‘1’
‘0’
‘3’
‘0’
‘4'
‘0’
‘0’
‘B’
‘1’
‘1’
‘F’
‘4’
‘0’
‘E’
‘8’
(0DH) (CR)
(0AH) (LF)
RTU mode:
Command Message (Master):
Response Message (Slave):
Slave Address
Function
Start Data Address
Data Quantity
(in words)
CRC (Check Low)
CRC (Check High)
01H
03H
02H (High)
00H (Low)
00H
02H
C5H (Low)
B3H (High)
Slave Address
Function
Data Quantity
(in bytes)
Content of Start Data
Address 0200H
Content of the 2nd Data
Address 0201H
CRC (Check Low)
CRC (Check High)
01H
03H
04H
00H (High)
B1H (Low)
1FH (High)
40H (Low)
A3H (Low)
D4H (High)
Note: a silent interval of 10 ms is required before and after each transmission in RTU mode.
Send Quote Requests to info@automatedpt.com
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com
9
9-7