Salicru CV30 User Manual page 104

Inverter controlvit
Table of Contents

Advertisement

7.2.3 ASCII mode
Name
Communication protocol belongs to hexadecimal system. The meaning of message character in ASCII:
"0"..."9", "A"..."F", each hex is represented by the ASCII message corresponds to the character.
Coding
Character
system
ASCII CODE
Character
ASCII CODE
Starting bit, 7/8 data bit, check bit and stop bit. The data formats are listed as below:
11-bit character frame:
Starting
Data
bit
format
10-bit character frame:
Starting
bit
In ASCII mode, the frame header is ":" ("0*3A"), frame end is "CRLF" ("0*0D" "0*0A") by default. In ASCII mode, all the
data bytes, except for the frame header and frame end, are transmitted in ASCII code mode, in which four high bit
groups will be sent out first and then, four low bit groups will be sent out. In ASCII mode, the data length is 8 bit. As for
'A'~'F', its capital letters is adopted for ASCII code. The data now adopts LRC checkout which covers slave address to
data information. The checksum equals to the complement of the character sum of all the participated checkout data.
Standard structure of ASCII frame:
START
Address Hi
Address Lo
Function Hi
Function Lo
DATA(N-1)
...
DATA(0)
LRC CHK Hi
104 - 140
'0'
'1'
0x30
0x31
'8'
'9'
0x38
0x39
BIT1
BIT2
BIT3
BIT1
BIT2
BIT3
8-bit address is formed by the combination of two ASCII codes
8-bit address is formed by the combination of two ASCII codes
nx8-bit data content is formed by combination of 2n (n≤16) ASCII codes
Definition
'2'
'3'
0x32
0x33
'A'
'B'
0x41
0x42
BIT4
BIT5
BIT6
BIT4
BIT5
':' (0x3A)
Communication address:
Function code:
Data content:
LRC check code:
'4'
'5'
'6'
0x34
0x35
0x36
'C'
'D'
'E'
0x43
0x44
0x45
Check
BIT7
BIT8
bit
BIT6
BIT7
Check bit Stop bit
Communication protocol
'7'
0x37
'F'
0x46
Stop
bit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents