Delta ASD-A2 Series User Manual page 553

Table of Contents

Advertisement

ASDA-A2
Communication Data Structure
ASCII Mode:
Start
Slave Address
Function
Data (n-1)
.......
Data (0)
LRC
End 1
End 0
The start character of communication in ASCII mode is colon ':' (ASCII is 3AH), ADR is the ASCII
code of two characters. The end code is CR (Carriage Return) and LF (Line Feed). And the
communication address, function code, data content, error checking LRC (Longitudinal
Redundancy Check), etc are between the start character and end code.
RTU Mode:
Start
Slave Address
Function
Data (n-1)
.......
Data (0)
CRC
End 1
The start of communication in RTU (Remote Terminal Unit) mode is a silent interval. The end of it
is another silent interval. The communication address, function code, data content, error checking
CRC (Cyclical Redundancy Check), etc are between the start and the end.
9-8
Start character ': ' (3AH)
Communication address: 1-byte consists of 2 ASCII codes
Function code: 1-byte consists of 2 ASCII codes
Data content: n-word = 2n-byte includes 4n of ASCII code, n<=10
Error checking: 1-byte consists of 2 ASCII codes
End code 1: (0DH)(CR)
End code 0: (0AH)(LF)
A silent interval of more than 10ms
Communication address: 1-byte
Function code: 1-byte
Data content : n-word =2n-byte , n<=10
Error checking: 2-byte
A silent interval of more than 10ms
Chapter 9 Communications
Revision February, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents