Harman Kardon SIG2.0 Owners Manual - Page 7

Example Of Message Creation

Page 7 highlights

SIGNATURE BUS PROTOCOL MASTER DOCUMENT Revised 2-24-98 EXAMPLE OF MESSAGE CREATION Create a Power On command from a Signature 3.0 to a Signature 2.0 in a single 2.0 / single 3.0 system. Preamble = 7Eh Target Device Type = 20h Target Unit ID = 01h Source Device Type = 30h Source Unit ID = 01h Length = 03h Modifier = 01h Command = 02h Data = 01h 0111 1110b (7Eh) 0010 0000b (20h) 0000 0001b (01h) 0011 0000b (30h) 0000 0001b (01h) 0000 0011b (03h) 0000 0001b (01h) 0000 0010b (02h) + 0000 0001b (01h) 0 1101 0111b (sum = 0D7h) 1101 0111b (truncating = D7h) 0010 1000b (inverting bits = 28h) 0010 1000b (28h ≠ 7Eh, so don't add 01h) Preamble Byte 7Eh Target Device Type 20h Target Unit ID 01h Checksum = 28h Source Device Type 30h Source Unit ID 01h Data Length 03h Command Modifier 01h Command Byte 02h Data Byte(s) 01h Checksum Byte 28h Page 7 of 20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19

SIGNATURE
B
US
P
ROTOCOL
M
ASTER
D
OCUMENT
Revised 2-24-98
Page 7 of 20
E
XAMPLE OF
M
ESSAGE
C
REATION
Create a Power On command from a Signature 3.0 to a Signature 2.0
in a single 2.0 / single 3.0 system.
Preamble = 7E
h
Length = 03
h
Modifier = 01
h
Target Device Type = 20
h
0111 1110
b
(7E
h
)
0010 0000
b
(20
h
)
0000 0001
b
(01
h
)
0011 0000
b
(30
h
)
0000 0001
b
(01
h
)
0000 0011
b
(03
h
)
0000 0001
b
(01
h
)
0000 0010
b
(02
h
)
+ 0000 0001
b
(01
h
)
0 1101 0111
b
(sum = 0D7
h
)
1101 0111
b
(truncating = D7
h
)
0010 1000
b
(inverting bits = 28
h
)
0010 1000
b
(28
h
7E
h
, so don’t add 01
h
)
Checksum = 28
h
Command = 02
h
Target Unit ID = 01
h
Source Device Type = 30
h
Source Unit ID = 01
h
Data = 01
h
Source
Device Type
Target
Device Type
Target
Unit ID
Source
Unit ID
Command
Modifier
Data
Length
Preamble
Byte
Command
Byte
Data
Byte(s)
Checksum
Byte
30
h
20
h
01
h
01
h
01
h
03
h
7E
h
02
h
01
h
28
h