Page 24
MNSNV102005Ver1.0
Chapter 6: Communication Protocol
Chapter 6: Communication Protocol
Chapter 6: Communication Protocol
Chapter 6: Communication Protocol
Chapter 6: Communication Protocol
In order to ensure good communications it is essential that the Hex address switch on the front of the SmartNet-V is
set correctly. The hex switch can be adjusted using a small flat head screwdriver.
An incorrect setting or having more than one chassis set to the same address will result in comms errors.
6.0 P
6.0 P
6.0 P
6.0 P
6.0 Paaaaaccccckkkkket Structure
et Structure
et Structure
et Structure
et Structure
The general form of packets sent to the SmartNet-V switches are detailed below;
<<<<<H
H
H
H
Heeeeead
ad
ad
ad
ader Byt
er Byt
er Byt
er Byt
er Byte 0
e 0
e 0
e 0
e 0><
><
><
><
><Head
Head
Head
Head
Header B
er B
er B
er B
er Byyyyyttttteeeee 1
11
11><
><
><
><
><FFFFFram
ram
ram
ram
rameeeee Add
Add
Add
Add
Address><R
ress><R
ress><R
ress><R
ress><Reeeeeserve
serve
serve
serve
served
dd
d
d><C
><C
><C
><C
><CMD
MD
MD
MD
MD><
><
><
><
><D
D
D
D
DA
A
A
A
ATA
TA
TA
TA
TA BY
BY
BY
BY
BYTE
TE
TE
TE
TES><BCC>
S><BCC>
S><BCC>
S><BCC>
S><BCC>
Where ;
<<<<<H
H
H
H
Header Byte 0
eader Byte 0
eader Byte 0
eader Byte 0
eader Byte 0>>>>>
Always 0xBE
<<<<<H
H
H
H
Header Byte 1
eader Byte 1
eader Byte 1
eader Byte 1
eader Byte 1>>>>>
Always 0xEF
<Ad
<Ad
<Ad
<Ad
<Add
dd
d
dress
ress
ress
ress
ress>>>>>
Frame address. Set by Hex switch on front of unit.
<Reserv
<Reserv
<Reserv
<Reserv
<Reserveeeeed
dd
d
d>>>>>
Reserved for future use (Always 0x00)
<<<<<C
C
C
C
CMD
MD
MD
MD
MD>>>>>
Command byte – Determines the number of bytes in DATA BYTES
<DATA
<DATA
<DATA
<DATA
<DATA B
BB
B
BYT
YT
YT
YT
YTE
EE
EESSSSS>>>>>
Number of bytes for associated CMD
<<<<<BCC>
BCC>
BCC>
BCC>
BCC>
XOR of all bytes in the string up to but not including BCC
On receipt of a valid data packet the SmartNet-V will either respond with an ACK (0x06) or a valid packet containing
the requested data.
7.0 Imp
7.0 Imp
7.0 Imp
7.0 Imp
7.0 Implllllemented Comm
emented Comm
emented Comm
emented Comm
emented Commaaaaands @ 18/11
nds @ 18/11
nds @ 18/11
nds @ 18/11
nds @ 18/11/////2003
2003
2003
2003
2003
No
No
No
No
Note
te
te
te
te::::: Commas shown in example byte strings below are not transmitted from the serial port they have only been added only
to aid legibility.
5.0 SmartNet-V Frame Switches
5.0 SmartNet-V Frame Switches
5.0 SmartNet-V Frame Switches
5.0 SmartNet-V Frame Switches
5.0 SmartNet-V Frame Switches
The communications port on the SmartNet-V allows for multiple chassis to be connected
together.
This is achieved by creating a loop between chassis using the comms IN and OUT ports on the front of the chassis.
i.e.
s
s
e
r
d
d
A
s
s
e
r
d
d
A
s
s
e
r
d
d
A
s
s
e
r
d
d
A
s
s
e
r
d
d
A
h
c
t
i
w
S
x
e
H
h
c
t
i
w
S
x
e
H
h
c
t
i
w
S
x
e
H
h
c
t
i
w
S
x
e
H
h
c
t
i
w
S
x
e
H
g
n
i
t
t
e
S
g
n
i
t
t
e
S
g
n
i
t
t
e
S
g
n
i
t
t
e
S
g
n
i
t
t
e
S
00000
00000
11111
11111
22222
22222
33333
33333
44444
44444
55555
55555
66666
66666
77777
77777
88888
88888
99999
99999
0
10
10
10
10
1
A
A
A
A
A
1
11
11
11
11
1
B
BBBB
2
12
12
12
12
1
C
C
C
C
C
3
13
13
13
13
1
D
D
D
D
D
4
14
14
14
14
1
EEEEE
5
15
15
15
15
1
FFFFF
Содержание SmartNet-V
Страница 4: ...Page 4 MNSNV102005Ver1 0...