Delta ASDA-A3 Series User Manual page 614

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

Advertisement

ASDA-A3
Example 3: function code 10H, writing multiple words:
The master issues a command to the first slave and writes data 0BB8H and 0000H to the start
data address 0112H. In other words, 0BB8H is written into 0112H and 0000H is written into 0113H.
The maximum allowable data in one single access is 8. The slave sends a response message to
the master after the writing is complete. The calculation of LRC and CRC is described as follows.
ASCII mode:
Command Message (Master):
Start
Slave Address
Function
Start Data Address
Data Number
(in words)
Data Number
(in bytes)
Content of the 1
Frame
nd
Content of the 2
Frame
LRC Check
End 1
End 0
':'
'0'
'1'
'1'
'0'
'0'
'1'
'1'
'2'
'0'
'0'
'0'
'2'
'0'
'4'
'0'
'B'
st
Data
'B'
'8'
'0'
'0'
Data
'0'
'0'
'1'
'3'
(0DH) (CR)
(0AH) (LF)
Response Message (Slave):
Start
Slave Address
Function
Start Data Address
Data Number
LRC Check
End 1
End 0
MODBUS Communication
':'
'0'
'1'
'1'
'0'
'0'
'1'
'1'
'2'
'0'
'0'
'0'
'2'
'D'
'A'
(0DH) (CR)
(0AH) (LF)
9
9-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecm-a3 series

Table of Contents