Chapter 8 MODBUS Communications ASDA-B2
8-10 Revision September 2013
RTU Mode:
Command message: Response message:
Slave address 01H Slave address 01H
Function 03H Function 03H
Starting data
address
02H (Upper bytes)
Number of data
(In Byte)
04H
00H (Lower bytes)
Number of data
(In Word)
00H
Contents of
starting data
address 0200H
00H (Upper bytes)
02H
B1H (Lower bytes)
CRC Check Low C5H (Lower bytes)
Contents of
second data
address 0201H
1FH (Upper bytes)
CRC Check High B3H (Upper bytes)
40H (Lower bytes)
CRC Check Low A3H (Lower bytes)
CRC Check High D4H (Upper bytes)
Please note that a silent interval of more than 10ms is required before and after data
transmission in RTU mode.
Example 2
Function code: 06H, write 1 word
For example, writing 100 (0064H) to starting data address 0200H of ASDA-B2 series with
address 01H.
ASCII Mode:
Command message: Response message:
Start ‘:’ Start ‘:’
Slave address
‘0’
Slave address
‘0’
‘1’ ‘1’
Function
‘0’
Function
‘0’
‘6’ ‘6’
Starting data
address
‘0’
Starting data
address
‘0’
‘2’ ‘2'
‘0’ ‘0’
‘0’ ‘0’
Content of data
‘0’
Content of data
‘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)
VARITEL INGENIERIA ELECTRONICA S.A.
info@varitel.com - www.varitel.com - Tel. (54) 11-4243-1171 / Fax: (54) 11-4292-7545
Manuel Baliña 456, Lomas de Zamora (B1832CCJ) Buenos Aires, Argentina.