Delta ASDA-A3 Series User Manual page 613

Hide thumbs Also See for ASDA-A3 Series:
Table of Contents

Advertisement

MODBUS Communication
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 complete. The calculation of
9
LRC and CRC is described as follows.
ASCII mode:
Command Message (Master):
Start
Slave Address
Function
Start Data Address
Data Content
LRC Check
End 1
End 0
RTU mode:
Command Message (Master):
Address
Slave Function
Start Data Address
Data Content
CRC Check Low
CRC Check High
Note: a silent interval of 10 ms is required before and after each transmission in RTU mode.
9-8
Response Message (Slave):
':'
'0'
'1'
'0'
'6'
'0'
'2'
'0'
'0'
'0'
'0'
'6'
'4'
'9'
'3'
(0DH) (CR)
(0AH) (LF)
Response Message (Slave):
01H
06H
02H (High)
00H (Low)
00H (High)
64H (Low)
89H (Low)
99H (High)
Start
Slave Address
Function
Start Data Address
Data Content
LRC Check
End 1
End 0
Address
Slave Function
Start Data Address
Data Content
CRC Check Low
CRC Check High
ASDA-A3
':'
'0'
'1'
'0'
'6'
'0'
'2'
'0'
'0'
'0'
'0'
'6'
'4'
'9'
'3'
(0DH) (CR)
(0AH) (LF)
01H
06H
02H (High)
00H (Low)
00H (High)
64H (Low)
89H (Low)
99H (High)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecm-a3 series

Table of Contents