MODBUS Communication
ASDA-A3
9-8
Revision December, 2017
9
Example 2: function code 06H, writing single word:
The master issues a command to the first slave and writes data 0064H to address 0200H. The
slave sends a response message to the master after writing is completed. The calculation of
LRC and CRC is described below.
ASCII mode:
Command Message (Master):
Response Message (Slave):
Start
‘
:
’
Start
‘
:
’
Slave Address
‘0’
Slave Address
‘0’
‘1’
‘1’
Function
‘0’
Function
‘0’
‘6’
‘6’
Start Data Address
‘0’
Start Data Address
‘0’
‘2’
‘2'
‘0’
‘0’
‘0’
‘0’
Data Content
‘0’
Data Content
‘0’
‘0’
‘0’
‘6’
‘6’
‘4’
‘4’
LRC Check
‘9’
LRC Check
‘9’
‘3’
‘3’
End 1
(0DH) (CR)
End 1
(0DH) (CR)
End 0
(0AH) (LF)
End 0
(0AH) (LF)
RTU mode:
Command Message (Master):
Response Message (Slave):
Address
01H
Address
01H
Slave Function
06H
Slave Function
06H
Start Data Address
02H (High)
Start Data Address
02H (High)
00H (Low)
00H (Low)
Data Content
00H (High)
Data Content
00H (High)
64H (Low)
64H (Low)
CRC Check Low
89H (Low)
CRC Check Low
89H (Low)
CRC Check High
99H (High)
CRC Check High
99H (High)
Note: A silent interval of 10 ms is required before and after each transmission in RTU mode.
Summary of Contents for ASD-A3-0121
Page 13: ...Revision December 2017 This page is intentionally left blank...
Page 43: ...Installation ASDA A3 2 20 Revision December 2017 2 This page is intentionally left blank...
Page 105: ...Wiring ASDA A3 3 62 Revision December 2017 3 This page is intentionally left blank...
Page 187: ...Operation Mode ASDA A3 6 36 Revision December 2017 6 This page is intentionally left blank...
Page 467: ...Parameters ASDA A3 8 210 Revision December 2017 8 This page is intentionally left blank...
Page 577: ...Specifications ASDA A3 A 28 Revision December 2017 A This page is intentionally left blank...
Page 597: ...Accessories ASDA A3 B 20 Revision December 2017 B This page is intentionally left blank...
Page 603: ...4 Revision December 2017 This page is intentionally left blank...