Chapter 4 Parameters

RTU mode:

 

 

 

 

 

 

 

 

Command message:

 

Response message:

 

 

Error response message

ADR

01H

 

ADR

 

01H

 

ADR

01H

CMD

03H

 

CMD

 

03H

 

CMD

90H

 

 

 

 

 

 

 

 

 

Starting data

01H

 

Number of data

 

04H

 

Error code

02H

 

 

 

 

 

 

 

 

 

address

01H

 

data 0101H

 

17H

 

CRC CHK LOW

CDH

Number of data

00H’

 

content

 

70H

 

CRC CHK HIGH

C1H

(Word)

02H

 

0102H

 

08H

 

 

 

 

 

 

 

 

 

 

 

 

CRC CHK Low

94H

 

content

 

98H

 

 

 

CRC CHK High

37H

 

CRC CHK LOW

 

FBH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CRC CHK HIGH

 

36H

 

 

 

 

 

 

 

 

 

 

 

 

Command code: 06H, write a word

For example, writing 6000(1770H) to address 0100H of AMD with address 01H.

ASCII mode:

Command message:

STX

‘:’

ADR 1

‘0’

ADR 0

‘1’

CMD 1

‘0’

 

 

CMD 0

‘6’

data

‘0’

starting

‘1’

address

‘0’

 

‘0’

data

‘1’

 

 

 

‘7’

 

‘7’

 

‘0’

LRC CHK 1

‘7’

LRC CHK 0

‘7’

END 1

CR

 

 

END 0

LF

Response message:

STX

‘:’

ADR 1

‘0’

ADR 0

‘1’

CMD 1

‘0’

 

 

CMD 0

‘6’

data

‘0’

starting

‘1’

address

‘0’

 

‘0’

data

‘1’

 

 

 

‘7’

 

‘7’

 

‘0’

LRC CHK 1

‘7’

LRC CHK 0

‘7’

END 1

CR

 

 

END 0

LF

Error response message

STX

‘:’

ADR 1

‘0’

ADR 0

‘1’

CMD 1

‘8’

 

 

 

CMD 0

‘6’

Error

‘0’

code

‘2’

LRC CHK 0

‘6’

LRC CHK 1

‘D’

END 1

CR

 

 

 

END 0

 

LF

Revision July 2008, EG03, SW V1.06

4-75

Page 126
Image 126
Delta Electronics VFD-G manual Cdh