6. MSCS Protocol
1. Comport Configuration
1. Baudrate :
115200
2. Data Bits:
8
3. Parity :
None
4. Stop Bits :
1
5. Flow Control : None
2. Protocol Form
•
Send To PDP
Sub Com-
Command
PDP ID
Data
End
mand
4byte
2byte
4byte
Variable
1byte
•
Receive From PDP
Sub Com-
Command
PDP ID
Data
End
mand
4byte
2byte
4byte
Variable
1byte
3. Protocol Value
3.1 Command
•
Send To PDP
Char
k(0x6B)
M(0x4D)
Send To PDP
(Send Data)
Hex
0x36
0x3B
0x34
0x3D
•
Receive From PDP
Char
k(0x6B)
N(0x4E)
Receive From PDP
(Response Data)
Hex
0x36
0x3B
0x34
0x3E
3.2 PDP ID
2byte : ID[1](high byte) + ID[0](low byte)
Ex) PDP ID =>
ID[1] = ((PDP ID)&0xF0>>4) +
0x30; //high byte
ID[0] = (PDP ID & 0x0F) + 0x30;
//low byte
2byte of Broadcast On Command : ID[1](high byte) + ID[0]
(low byte)
Ex) PDP ID =>
ID[1] = 0x3F;
//high byte
ID[0] = 0x3E;
//low byte
3.3 Sub Command
•
Power Command
Char
R(0x52)
n(0x6E)
Power On
Hex
0x35
0x32
0x36
0x3E
Char
R(0x52)
f(0x66)
Power Off
Hex
0x35
0x32
0x36
0x36
•
Auto Power Command
Char
R(0x52)
M(0x4D)
Auto Power On
Hex
0x35
0x32
0x34
0x3D
Char
R(0x52)
m(0x6D)
Auto Power Off
Hex
0x35
0x32
0x36
0x3D
•
Multi Scale Command
Char
M(0x4D)
s(0x73)
Multi Scale
Hex
0x34
0x3D
0x37
0x33
•
Tracking Command
Char
R(0x52)
a(0x61)
Tracking Auto
Hex
0x35
0x32
0x36
0x31
Char
R(0x52)
F(0x46)
Tracking Manual
Frequency
Hex
0x35
0x32
0x34
0x36
Char
R(0x52)
P(0x50)
Tracking Manual
Phase
Hex
0x35
0x32
0x35
0x30
Char
R(0x52)
L(0x4C)
Tracking Manual
Line Start
Hex
0x35
0x32
0x34
0x3C
Char
R(0x52)
X(0x58)
Tracking Manual
Pixel Start
Hex
0x35
0x32
0x35
0x38
•
Test Pattern Command
Char
R(0x52)
5(0x35)
Test Pattern
Red
Hex
0x35
0x32
0x33
0x35
Char
R(0x52)
6(0x36)
Test Pattern
Green
Hex
0x35
0x32
0x33
0x36
Char
R(0x52)
7(0x37)
Test Pattern
Blue
Hex
0x35
0x32
0x33
0x37
Char
R(0x52)
8(0x38)
Test Pattern
White
Hex
0x35
0x32
0x33
0x38
Char
R(0x52)
9(0x39)
Test Pattern
Screen
Hex
0x35
0x32
0x33
0x39
•
SoftWare Reset Command
Char
R(0x52)
R(0x52)
SoftWare
Reset Master
Hex
0x35
0x32
0x35
0x32
Char
R(0x52)
R(0x72)
SoftWare
Reset Slave
Hex
0x35
0x32
0x37
0x32
37
37
•
APL Command
Char
R(0x52)
x(0x78)
APL On
Hex
0x35
0x32
0x37
0x38
Char
R(0x52)
y(0x79)
APL Off
Hex
0x35
0x32
0x37
0x39
•
Shut Down Command
Char
R(0x52)
S(0x53)
Shut Down
Disable
Hex
0x35
0x32
0x35
0x33
Char
R(0x52)
H(0x48)
Shut Down
Master Enable
Hex
0x35
0x32
0x34
0x38
Char
R(0x52)
h(0x68)
Shut Down
Slave Enable
Hex
0x35
0x32
0x36
0x38
•
Picture Control Graphic User Mode Command
Char
G(0x47)
a(0x61)
User Mode
Graphic - Brightness
Hex
0x34
0x37
0x36
0x31
Char
G(0x47)
b(0x62)
User Mode
Graphic - Contrast
Hex
0x34
0x37
0x36
0x32
Char
G(0x47)
c(0x63)
User Mode
Graphic - Sharpness
Hex
0x34
0x37
0x36
0x33
Char
G(0x47)
d(0x64)
User Mode
Graphic – Color
Hex
0x34
0x37
0x36
0x34
Char
G(0x47)
e(065)
User Mode
Graphic - Tint
Hex
0x34
0x37
0x36
0x35
•
Picture Control White Balance Command
Char
G(0x47)
A(0x41)
White Balance
Gain R
Hex
0x34
0x37
0x34
0x31
Char
G(0x47)
B(0x42)
White Balance
Gain G
Hex
0x34
0x37
0x34
0x32
Char
G(0x47)
C(0x43)
White Balance
Gain B
Hex
0x34
0x37
0x34
0x33
Char
G(0x47)
D(0x44)
White Balance
Offset R
Hex
0x34
0x37
0x34
0x34
Char
G(0x47)
E(0x45)
White Balance
Offset G
Hex
0x34
0x37
0x34
0x35
Char
G(0x47)
F(0x46)
White Balance
Offset B
Hex
0x34
0x37
0x34
0x36
38
38
Infinitely expandable
•
Picture Control Graphic Data Command
Char
G(0x47)
r(0x72)
Graphic Data
Gain R
Hex
0x34
0x37
0x37
0x32
Char
G(0x47)
s(0x73)
Graphic Data
Gain G
Hex
0x34
0x37
0x37
0x33
Char
G(0x47)
t(0x74)
Graphic Data
Gain B
Hex
0x34
0x37
0x37
0x34
Char
G(0x47)
u(0x75)
Graphic Data
Offset R
Hex
0x34
0x37
0x37
0x35
Char
G(0x47)
v(0x76)
Graphic Data
Offset G
Hex
0x34
0x37
0x37
0x36
Char
G(0x47)
w(0x77)
Graphic Data
Offset B
Hex
0x34
0x37
0x37
0x37
•
Picture Control Video Data Command
Video Data
Char
V(0x56)
r(0x72)
Luminance Bright-
Hex
0x35
0x36
0x37
0x32
ness
Char
V(0x56)
s(0x73)
Video Data
Luminance Contrast
Hex
0x35
0x36
0x37
0x33
Char
V(0x56)
t(0x74)
Video Data
Cr
Hex
0x35
0x36
0x37
0x34
Char
V(0x56)
u(0x75)
Video Data
Cb
Hex
0x35
0x36
0x37
0x35
Char
V(0x56)
v(0x76)
Video Data
Color
Hex
0x35
0x36
0x37
0x36
Char
V(0x56)
w(0x77)
Video Data
Tint
Hex
0x35
0x36
0x37
0x37
•
Get Data Command
Char
R(0x52)
A(0x41)
Get Data
Tracking Manual
Hex
0x35
0x32
0x34
0x31
Char
G(0x47)
T(0x54)
Get Data
Total Data
Hex
0x35
0x32
0x35
0x34
•
OSD Info Command
Char
R(0x52)
I(0x49)
OSD Info
Hex
0x35
0x32
0x34
0x39