Send Quote Requests to info@automatedpt.com
Modbus Communication
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com
ASDA-A3
9
Example 2: function code 06H, writing single word.
In the following example, the master issues a write command to the first slave.
The slave writes data 0064H to address 0200H. 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 Content
LRC
End 1
End 0
‘:’
‘0’
‘1’
‘0’
‘6’
‘0’
‘2’
‘0’
‘0’
‘0’
‘0’
‘6’
‘4’
‘9’
‘3’
(0DH) (CR)
(0AH) (LF)
Response Message (Slave):
Start
Slave Address
Function
Start Data Address
Data Content
LRC
End 1
End 0
‘:’
‘0’
‘1’
‘0’
‘6’
‘0’
‘2'
‘0’
‘0’
‘0’
‘0’
‘6’
‘4’
‘9’
‘3’
(0DH) (CR)
(0AH) (LF)
RTU mode:
Command Message (Master):
Response Message (Slave):
Slave Address
Function
Start Data Address
Data Content
CRC (Check Low)
CRC (Check High)
01H
06H
02H (High)
00H (Low)
00H (High)
64H (Low)
89H (Low)
99H (High)
Slave Address
Function
Start Data Address
Data Content
CRC (Check Low)
CRC (Check High)
01H
06H
02H (High)
00H (Low)
00H (High)
64H (Low)
89H (Low)
99H (High)
Note: a silent interval of 10 ms is required before and after each transmission in RTU mode.
9-8
Send Quote Requests to info@automatedpt.com
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com