Lexicon MC-12 用户指南

下载
页码 106
Lexicon 
MC-12 Serial Communications Protocol 
 
Printed on: 07/13/05 
1.5.3  Send MC-12 IR Command Example 
 
SOP DLL 
DC CMD AppDC
DATA0
EOP 
  
  
IR Key 
Code 
  
  
 
 
F1 04 39 01 28 F2 
 
This example shows how to transmit the IR command for “
MAIN_GAME
”.  This example command will select 
the GAME input for the Main Zone. The bytes are transmitted from left to right and they 
are defined as: 
 
Byte 0:  Start of Packet(F1 hex) 
 
Byte 1:  Data  Link Layer(DLL) Data Count(DC); for an IR command this would be 4 bytes to 
follow 
 
Byte 2:  The Application Layer Command, in this case it is 39 hex indicating this is an IR 
command packet. 
 
Byte 3:  The Application Layer Data Count(DC); for this packet it is 1 data byte to follow. 
 
Byte 4:   The Application Command Data: This IR Command Packet is transmitting Key Code 
MAIN_GAME
”(28 hex).  To transmit other IR Key Codes the user would replace this byte 
with other IR key codes as found in 
 
Byte 5:  End of Packet (F2 hex) 
 
1.6  MC12 V5.00 Parameter ID List 
The following table is for V5.00 reference only.  These Parameter Id Values will change with S/W and 
Protocol version changes.  The MC12 can always be queried for the correct Parameter Id numbers and 
Parameter Definition Packets. 
 
ParamId 
(dec) 
ParamId 
(hex) 
Parameter Name 
0 0x0000 
 
 
1 0x0001 
PARAM.INPUTS 
2 0x0002 
PARAM.INPUTS.OFF 
3 0x0003 
PARAM.INPUTS.OFF.INPNAME 
4 0x0004 
PARAM.INPUTS.OFF.DIGIN 
5 0x0005 
PARAM.INPUTS.OFF.ANLGIN 
6 0x0006 
PARAM.INPUTS.OFF.ANLGTRIM 
7 0x0007 
PARAM.INPUTS.OFF.TRIMMODE 
8 0x0008 
PARAM.INPUTS.OFF.VIDEOIN 
9 0x0009 
PARAM.INPUTS.OFF.CH2EFFCT 
10 0x000A 
PARAM.INPUTS.OFF.DDEFFCT 
11 0x000B 
PARAM.INPUTS.OFF.DTSEFFCT 
12 0x000C 
PARAM.INPUTS.OFF.MSRCMODE 
13 0x000D 
PARAM.INPUTS.OFF.RSRCMODE 
14 0x000E 
PARAM.INPUTS.OFF.ZSRCMODE 
15 0x000F 
PARAM.INPUTS.OFF.RECTRIM 
16 0x0010 
PARAM.INPUTS.OFF.SPDIF 
17 0x0011 
PARAM.INPUTS.OFF.ANLGBYPASS 
18 0x0012 
PARAM.INPUTS.OFF.DIGBYPASS 
19 0x0013 
PARAM.INPUTS.OFF.TRIGGER1 
© 2005 Harman Specialty Group All rights reserved. 
 
69 of 106