EasyManuals Logo

Shihlin electric SDE-100A2 User Manual

Shihlin electric SDE-100A2
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #183 background imageLoading...
Page #183 background image
175
(c) Data packet structure
Byte sign
Name
Description
STX
Start code
”(ASCII code 3Ah)
ADR
Device number
1 byte is composed of 2 ASCII code bytes.
CMD
Command code
1 byte is composed of 2 ASCII code bytes.
DATA(n-1)
Data code
The length of n words is equal to the one of 2n bytes.(n<=29)
So, there are 4n ASCII code bytes.
………
DATA(0)
LRC
LRC check value
1 byte is composed of 2 ASCII code bytes.
End1
End code 1
CR(ASCII code 0Dh)
End0
End code 0
LF( ASCII code 0Ah)
Communication data formats are described below.
STX
“ : ” character
ADR
The address code is from 1 to 32. For examplethe expression of number 18(hexadecimal 12h) is
divided into 1 and 2 in ASCII code. The address code 18 is expressed as 31h and 32h.
CMD and DATA
The DATA are varied according to different Command codes. To read 2 words which start address is
0100h from device number 1 as an example is described below.
Command code: 03h, read data
Command(host) Response(slave)
STX
:
STX
ADR
0
ADR
0
1
1
CMD
0
CMD
0
3
3
DATA
start address
0
DATA
byte length
0
1
4
0
content of
address 0100h
„0‟
0
„1‟
word length
0
0
0
„2‟
0
content of
address 0101h
„1‟
2
„2‟
LRC
F
„2‟
9
„1‟
End1
0Dh
LRC
C
End0
0Ah
2
End1
0Dh
End0
0Ah

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Shihlin electric SDE-100A2 and is the answer not in the manual?

Shihlin electric SDE-100A2 Specifications

General IconGeneral
BrandShihlin electric
ModelSDE-100A2
CategoryDC Drives
LanguageEnglish

Related product manuals