This document should not be construed as a commitment on the part of Lexicon, Inc. The information it
contains is subject to change without notice. Lexicon, Inc. assumes no responsibility for errors that may
appear within this document.
Lexicon, Inc.
3 Oak Park
Bedford, MA 01730-1413 USA
Tel781-280-0300
Fax781-280-0490
www.lexicon.com
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
1 Documents
The following documents should also be used with this document to understand how this protocol can be used with
an MC-8.
070-15481 Rev 0 Manual, Owner’s, MC-8/MC-8B
MC1/DC2 Serial Port Definition, Protocol Version 0.5
070-13227 MANUAL,OWNER'S,DC2
070-13278 MANUAL,OWNER'S,MC1
1.1 Change List
2 Definitions
User Parameter:A user changeable variable that stores a specific value that describes an operating
condition for the MC-8 system.
HOST:The device initiating or receiving the serial communication packets to/from the MC-8.
MC-8:The Lexicon product receiving or transmitting the serial communication packets to/from
the HOST.
Nonvolatile RAM:The area of memory in an MC-8 that stores users adjustable parameters. The Nonvolatile
RAM is battery backed, to maintain values during MC-8 power down.
2.1 Protocol Version Cross-reference
All references to MC-8 shall be valid for both the MC-8 and SDP-5 products unless specifically documented
otherwise. All references to MC-1 shall be valid for the MC-1, DC-2 and SDP-3 products unless specifically
documented otherwise.
3 Abbreviations
SOPStart of Packet
EOPEnd of Packet
ACKAcknowledge
NAKNo Acknowledge
FPDFront Panel Display
4 General Description
The intention of the MC-8 serial port and protocol communication is for an external connected HOST to control and
obtain status from the MC-8. The protocol has been designed to focus on two specific goals. The first is HOST
uploading and downloading of MC-8 configuration, and system/effect setups. The second is HOST control of basic
user adjustable parameters.(i.e. input, volume, balance…)
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Rs-232 Serial Link
HOST
Lexicon MC-8
CD VOL
The MC-8 uses simple notification, command, response and acknowledgment packets to have communication
transactions with a given HOST. This protocol is designed for point to point communication between a HOST and
MC-8. The MC-8 Protocol is a 3 layered system. The MC-8 serial protocol allows for the MC-8, or the HOST, to
initiate a communication transaction. Most transactions are initiated by the HOST. MC-8 then responds to the
HOST command with either a response or acknowledgment packet. There are a few asynchronous notifications that
MC-8 initiates indicating system changes. Each transaction initiated must wait for a corresponding response before
initiating the next transmission.
The 3 protocol layers are: Physical, Data Link, and Application Layers.
The MC-8 Serial Protocol attempts to be as backward compatible with the MC-1 as possible. The basic structure of
the protocol has not changed.
The MC-8 will detect parity, framing and data overrun errors. If any of the physical layer errors are detected, the
complete packet is corrupted and the MC-8 will reset the transaction and begin to look for a start of packet byte.
4.4 MC-8 Receive Buffer
The MC-8 has an internal receive buffer. The buffer is 256 Bytes and will transmit a NAK packet with an error code
of DC_ERR_BUFFER_FULL to the HOST if the buffer is full. If the buffer is full, all data transmitted to the MC-8
will be ignored. Therefore, making the currently transmitted packet, if partially transmitted invalid.
4.5 MC-8 Hardware Verification
This test verifies the RS232 ports are working by comparing the transmitted signal (at pin 2) to the received signal
(at pin 3). The MC-8 transmits a known test signal just following a power up. The MC-8 monitors the serial port
receivers while transmitting the test signal. If the signals are the same, the test passes. In order to test this circuit,
RS232 Wraparound plug(s) are needed and must be installed at the female D9 connector(s) on the rear panel of the
MC-8 labeled “RS232”. The wraparound plug shorts pins 2 to 3, allowing for the MC-8 to receive the signal it is
transmitting. Once installed, power cycle the MC-8 and verify the following message is displayed on the FPD:
This message is displayed for about 2 seconds before entering normal operating mode. If no messages are displayed,
then both wrap tests failed.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
5 Data Link Layer
The data link layer is used to define a transmission packet. The layer appends a header and tail that encloses the
transmitted application packet data. The data link header will contain the start of packet byte and count of bytes to
follow. The data link tail will contain the end of packet byte.
Data Link Header:
Byte NumberDescriptionValue
First Byte(0)Start of Packet (SOP)0xF1
Byte(1)DLL Data Countnn
Application Header:
Byte(2)Commandnn
Byte(3)
Application Data:
Byte(4)Data[0]nn
Byte(5)Data[1]nn
…Data[…]nn
Last Data Byte -1Data[Data Count -1]nn
Data Link Tail:
Last ByteEnd of Packet (EOP)0xF2
APP Data Count (number of application data bytes to
Follow)nn
5.1 Errors
If the number of DLL data bytes received is the same as the data count and an EOP has not been received, the MC-8
responds by transmitting a NAK packet with an error code DC_ERR_INVALID_PACKET. The MC-8 then
continues to look for a SOP byte and will not process the erroneous application packet. The HOST can use this as an
indicator to retransmit the corrupted packet.
In addition, each byte of a packet must be received sequentially and within the INTER_PACKET_TIME. If any of
the bytes within a packet transmission exceeds the INTER_PACKET_TIME, the MC-8 will respond by transmitting
a NAK packet with an error code DC_ERR_INVALID_PACKET. The MC-8 then continues to look for a SOP byte
and will not process the erroneous application packet. The HOST can use this as an indicator to retransmit the
corrupted packet.
6 Application Layer
6.1 MC-8 Asynchronous Notification Packets
MC-8 has been designed to transmit the asynchronous notification packets following these system changes:
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
The notification packets are defined as follows:
6.1.1 Wakeup Notification
By transmitting the Wakeup Notification, MC-8 indicates the unit has just “powered on” or reset and is ready to
receive host commands. This notification is primarily for the HOST to know the status of the MC-8.
6.1.1.1 Notification Packet Description
Application Header:
CommandDC_WAKEUP0x01
Data Count00x00
Application Data:
N/A
6.1.1.2 Host Response
The MC-8 does not expect any response from the HOST.
6.1.2 Sleep Notification
By transmitting the Sleep Notification, MC-8 indicates the unit is shutting down into a standby mode. Because the
hard power switch could be activated independently of the MC-8 system software, hard power down will not be
notified. Acknowledgment of the Sleep Notification is not required. This notification is primarily for the HOST to
know the operating status of the MC-8.
6.1.2.1 Notification Packet Description
Application Header:
CommandDC_SLEEP0x02
Data Count00x00
Application Data:
N/A
6.1.3 Front Panel Display
MC-8 will transmit the front panel display buffer following the update to the MC-8 front panel display. The MC-8
front panel display is 2 X 20 ASCII character display. The HOST can enable transmission of this notification
message by sending Host Wakeup (7.3.29). To disable transmission the HOST can send Host Sleep (7.3.30).
Transmission of the display buffer is asynchronous to other host/MC-8 communication and will only transmit
following the completion of any communication exchanges in progress or pending.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Line1
Data Type:Null (0x00) terminated ASCII character string.
Max Length:DISP_LINE_LENGTH defined in Appendix G Protocol Constants.
Line2
Data Type:Null (0x00) terminated ASCII character string.
Max Length:DISP_LINE_LENGTH defined in Appendix G Protocol Constants.
The MC-8 includes 8 custom characters that are defined to display increments of a display block. (i.e. Volume Bar)
The custom characters are ASCII character codes 8E - 93(hex). The codes are used as follows:
'8E' - empty cell
'8F' - left 1 bar
'90' - left 2 bars
'91' - left 3 bars
'92' - left 4 bars
'93' - full cell
6.1.3.3 HOST Response
The MC-8 does not expect any response from the HOST.
6.1.4 MC-1 Parameter Change
MC-8 will transmit predetermined parameter change notifications. If a parameter value is changed due to any user
action or system action the MC-8 will transmit the current value of the parameter that is changing.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in the Supported
System Parameters table listed below.
MC1 Parameter Change Notification can be enabled/disabled by using the Communication Configuration Packet as
described in 6.3.19 Get Communication Configuration and 6.3.20
The MC8 disables these notifications in its default state.
Set Communication Configuration
6.1.4.1 Notification Packet Description
Application Header:
CommandDC_PARAM_CHG_MSG0x04
Data Count20x02
Application Data:
Data[0]ParamIdnn
Data[1]Valuenn
6.1.4.2 Data Description
ParamId:
Data Type:Unsigned 8 bit integer
Max:255.
Value:
The Current Value for this system parameter.
Data Type:Unsigned 8 bit integer
Max:Set by the Max Value per the Parameter Definition response Packet for the
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.1.4.3 HOST Response
The MC-8 does not expect any response from the HOST.
6.1.4.4 Supported System Parameters
The following parameters will be supported by this Parameter Change Notification:
ParameterMC-8 Parameter NameMC-1
ParamId(V4.00)
Current EffectPROGRAM1
MuteMUTE3
System VolumeVOLUME5
BalanceLR_BALANCE6
Input SelectionINPUT7
Zone 2 VolumeZ2_VOL154
Zone 2 BalanceZ2_BAL156
Zone 2 MuteZ2_MUTE157
BassBASS167
TrebleTREBLE168
LoudnessLOUDNESS169
TiltTILT174
Menu Background On/OffMENU_BKGND190
For Input Parameter Change Notifications the Input Value is a MC-8 to MC-1 input mapping, as shown in Appendix
E MC-1 Input Id's.
6.1.5 MC-8 Parameter Notification by Id
MC-8 will transmit parameter change notifications if they are enabled using the command described in 6.3.29
(MC8_Set_Parameter_Notification_By_Id). If a parameter value is changed due to any user action or system action
the MC-8 will transmit the current value of the parameter that is changing.
6.1.5.1 Command Packet Description
Application Header:
CommandMC_PARAM_NOTIFICATION_BY_ID0x05
Data Count240x18
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
ParameterMC-8 Parameter Name
Current Mode
HPARAM_MAIN_EFFECT
Main Zone Mute
Main Zone Volume
Main Zone Balance
Main Zone Input Selection
Zone 2 Input
Zone 2 Volume
Zone 2 Balance
Zone 2 Mute
Bass
Treble
Loudness
Tilt
Menu Background On/Off
HPARAM_MAIN_MUTE
HPARAM_MAIN_VOLUME
HPARAM_MAIN_BALANCE
HPARAM_MAIN_INPUT
HPARAM_ZONE_INPUT
HPARAM_ZONE_VOLUME
HPARAM_ZONE_BALANCE
HPARAM_ZONE_MUTE
HPARAM_MAIN_BASS
HPARAM_MAIN_TREBLE
HPARAM_MAIN_LOUDNESS
HPARAM_MAIN_TILT
HPARAM_OSD_BACKGND
See 6.9 MC8 V1.00 Parameter ID List for the Parameter ID definitions.
6.2 Acknowledgment Packets
Acknowledge and No Acknowledge packets are used to communicate transmission, packet and data validation status.
Both the HOST and MC-8 can transmit and receive these packets.
6.2.1 Acknowledge
6.2.1.1 Packet Description
Application Header:
CommandDC_ACK0xE0
Data Count10x01
Application Data:
Data[0]Commandnn
6.2.1.2 Data Description
Command:
DataType:Valid MC-8 command as defined in Appendix A Command Codes.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.2.2 No Acknowledge
6.2.2.1 Packet Description
Application Header:
CommandDC_NACK0xE1
Data Count20x02
Application Data:
Data[0]Commandnn
Data[1]ErrorCodenn
6.2.2.2 Data Description
Command:
DataType:Valid MC-8 command as defined in Appendix A Command Codes.
ErrorCode:
DataType:Error code as defined in Appendix B Error Codes.
6.3 Host Initiated Command Packets
The MC-8 serial communication protocol has been designed to respond to the following commands as described
below. Each command is transmitted to the MC-8 with the identified parameters. If the command is successfully
received and processed by the MC-8, the unit will respond with the described response packet or action.
6.3.1 Reset Unit
Commands the MC-8 to soft reset.
6.3.1.1 Command Packet Description
Application Header:
CommandDC_CMD_RESET0x10
Data Count00x00
Application Data:
N/A
6.3.1.2 MC-8 Response
The MC-8 will perform an internal reset. After reset the MC-8 will go through a soft power-up initialization. This
includes transmitting the “Wakeup Notification Packet”. A soft reset does not reinitialize the MC-8. Nonvolatile
RAM is maintained.
6.3.2 Restore
Commands the MC-8 to restore the system and effect parameters to the factory defaults.
6.3.2.1 Command Packet Description
Application Header:
Command DC_CMD_RESTORE_DEFAULTS0x13
Data Count 00x00
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.2.2 MC-8 Response
The MC-8 will reset, clear any saved system and effect parameters in Nonvolatile RAM, and restore the factory
default system and effect parameters. After reset the MC-8 will go through a soft power-up initialization. This
includes transmitting the “Wakeup Notification Packet”.
6.3.3 MC-1 Send IR Command
Transmits MC-1 IR command key codes to the MC-8.
This command has been maintained for backward compatibility to the MC-1. The MC-1 IR code functionality has
been mapped to the MC-8 IR code functionality as per the MC-1 to MC-8 IR code table. MC-8 users should use the
command described in 6.3.27 (MC-1_Send_IR_Command).
6.3.3.1 Command Packet Description
Application Header:
CommandDC_CMD_IR0x14
Data Count10x01
Application Data:
Data[0]KeyCodenn
6.3.3.2 Data Description
KeyCode:
Data Type:Unsigned 8 bit integer
Valid Values:Appendix C MC-1 IR-Codes
6.3.3.3 MC-8 Response
The KeyCode is processed as a valid IR code. No acknowledgment will be sent from MC-8.
6.3.3.4 Data Validation
The KeyCode data will be verified as a legal IR code. If the Code is not valid the MC-8 will not respond.
6.3.4 Get Unit Configuration
Request to MC-8 for its current unit configuration.
This command is supported for backward compatibility. MC-8 users should use the command described in 6.3.26
(MC-8_Get_Unit_Configuration). MC-8 will respond with “Unit Configuration Packet”. The HOST should use this
information to determine if any information saved by the HOST is current.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Total Number of Effects: An unsigned integer value indicating the maximum number of effects available for this
version of software. This should be used to determine the maximum EffectId used in the
“Get Effect Definition Packet”, “Get Effect Parameter Definition Packet”, “Set Effect
Name Packet”, and “Set Effect Parameter Values Packet”.
TimeStamp:Is a null terminated ASCII text string describing the build date and time of the current
software build. The Format of this text string is:
“yy/mm/dd(sp)hh:mm”
yy- is the last two digits of the year (i.e. year 1999 = 99, year 2000 = 00)
mm - is the month
dd- is the day
(sp) - is an ASCII space character (0x20)
hh - is the hour
mm - is the minute
6.3.5 Get System Status
Request to MC-8 for its current system status. MC-8 will respond with “System Status Packet”.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.32 (MC-8_Get_System_Status).
6.3.5.1 Command Packet Description
Application Header:
Command DC_CMD_GET_SYS_STATUS0x16
Data Count 00x00
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Maximum Value: 32
Conversion:0 = Front
16 = Center
32 = Back
Video Synch:
Data Type:Boolean.
TRUE:MC-8 has detected Video Sync for current video input
FALSE:MC-8 can not detect Video Sync for the current video input
6.3.6 Get Zone 2 Status
This command is a request to MC-8 for current Zone 2 Status. MC-8 will respond with “Zone2 Status Packet”.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.33 (MC8_Get_Zone_2_Status).
6.3.6.1 Command Packet Description
Application Header:
CommandDC_CMD_GET_ZONE2_STATUS 0x17
Data Count 00x00
Application Data:
N/A
6.3.6.2 Zone2 Status Response Packet
Application Header:
Command DC_RESP_ZONE2_STATUS0x82
Data Count 50x05
Application Data:
Data[0]Zone2 Volumenn
Data[1]Assigned Zone 2 Inputnn
Data[2]Zone2 Mute Activenn
Data[3]Reserved for Future Usenn
Data[4]Zone2 Balancenn
6.3.6.3 Data Description
Zone2 Volume:
Data Type:Unsigned 8 bit integer.
Maximum Value: 92
Conversion:0 = -80 dB
92 = +12 dB
Assigned Zone 2 Input:
Indicates the Zone 2 input that is currently assigned for the zone 2 outputs.
Data Type:Unsigned 8 bit integer.
Definition/Conversion:Appendix F MC-8 Input Ids
Data Type:Null (0x00) terminated ASCII character string.
Max Length:CUSTOM_NAME_LENGTH defined in Appendix G Protocol Constants.
6.3.8 Get Input Name by Id
This command is a request to MC-8 for the custom input name. MC-8 will respond with “Input Name Packet”.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.40 (MC8 Get Input Name By Id).
Data Type:Unsigned 8 bit Integer
Definition/Conversion:Appendix F MC-8 Input Ids
InputName:
Data Type:Null (0x00) terminated ASCII character string.
Max Length:INPUT_NAME_LENGTH defined in Appendix G Protocol Constants.
6.3.9 Set System Volume
This command is a request to the MC-8 to set the system volume with the value in this packet.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.34 (MC8_Set_System_Volume).
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.9.1 Command Packet Description
Application Header:
Command DC_CMD_SET_SYS_VOLUME0x21
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.9.2 Data Description
Value:
Data Type:Unsigned 8 bit integer.
Max:92
Conversion:0 = -80 dB
92 = +12 dB
6.3.9.3 MC-8 Response
The MC-8 will assign the value from the packet to the system volume.
6.3.9.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a DC_NAK command with an error code DC_INVALID_DATA.
6.3.10 Set Main Balance
Commands MC-8 to set the system balance to the value in this packet.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.35 (MC8_Set_Main_Balance).
6.3.10.1 Command Packet Description
Application Header:
CommandDC_CMD_SET_SYS_BALANCE0x22
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.10.2 Data Description
Value:
Data Type:Unsigned 8 bit integer.
Maximum Value: 32
Conversion:0 = Left
16 = Center
32 = Right
6.3.10.3 MC-8 Response
The MC-8 will assign the value from the packet to the system balance.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.10.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a DC_NAK command with an error code DC_INVALID_DATA.
6.3.11 Set Front/Back Balance
Commands MC-8 to set the front/back balance to the value in this packet.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.36 (MC-8_Set_Front_Back_Balance).
6.3.11.1 Packet Description
Application Header:
CommandDC_CMD_SET_FRONT_BACK_BALANCE0x23
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.11.2 Data Description
Value:
Data Type:Unsigned 8 bit integer.
Max:32
Conversion:0 = Front
16 = Center
32 = Back
6.3.11.3 MC-8 Response
The MC-8 will assign the value from the packet to the front/back balance.
6.3.11.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.12 Set Active Effect by Id
This command requests the MC-8 to set the active effect to the value in this packet.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.37 (MC8_Set_Active_Effect_By_Id).
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.12.1 Command Packet Description
Application Header:
CommandDC_CMD_SET_EFFECT0x24
Data Count10x01
Application Data:
Data[0]EffectIdnn
6.3.12.2 Data Description
EffectId:
Data Type:Unsigned 8 bit integer
Definition/Conversion: Appendix I MC-1 to MC-8 Effect ID Map.
6.3.12.3 MC-8 Response
The MC-8 will load the desired effect.
6.3.12.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.13 Set Zone2 Volume
Commands MC-8 to set the Zone 2 volume with the value in this packet.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.38 (MC8_Set_Zone2_Volume).
6.3.13.1 Command Packet Description
Application Header:
CommandDC_CMD_SET_ZONE2_VOLUME0x27
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.13.2 Data Description
Value:
Data Type:Unsigned 8 bit integer.
Max:92
Conversion:0 = -80 dB
92 = +12 dB
6.3.13.3 MC-8 Response
The MC-8 will assign the value from the packet to the Zone 2 volume.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.14 Set Zone2 Left/Right Balance
Commands MC-8 to set the Zone 2 balance to the value in this packet.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.39 MC8_Set_Zone2_Left_Right_Balance).
6.3.14.1 Packet Description
Application Header:
CommandDC_CMD_SET_ZONE2_BALANCE0x28
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.14.2 Data Description
Value:
Data Type:Unsigned 8 bit integer
Max:32
Conversion:0 = Left
32 = Right
6.3.14.3 MC-8 Response
The MC-8 will assign the value from the packet to the Zone 2 balance.
6.3.14.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.15 Set Custom Name
Sets the Custom Name that can be displayed when the unit powers up.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
FALSE:CustomName Disabled
CustomName:
Data Type:Null (0x00) terminated ASCII character string.
Max Length:CUSTOM_NAME_LENGTH defined in Appendix G Protocol Constants.
6.3.15.3 MC-8 Response
If the custom name enable is TRUE then the custom name banner is display on “power on”. If the Custom Name
Enable is FALSE the custom name is not displayed. The CustomName string is copied to Nonvolatile RAM. The
MC-8 will ACK when completed with this command.
6.3.15.4 Data Validation:
No data validation is done on the transmitted data.
6.3.16 Set Input Name by Id
Sets an Input Name to the transmitted value for a given input.
This command has been maintained for backward compatibility with MC-1. In order to maintain backward
compatibility, the MC-8 Parameters have been mapped to the MC-1 parameters as described in each Data
Description. MC-8 users should be using the command described in 6.3.41 (MC8_Set_Input_Name_By_Id).
6.3.16.1 Command Packet Description
Application Header:
CommandDC_CMD_SET_INPUT_NAME 0x2E
Data Count
Application Data:
Data[0]InputId0 to 7
Data[1]-Data[DataCount-1]InputNamech ch ch ... 0x00
Number of characters in
InputName + 2nn
6.3.16.2 Data Description
InputId:
Data Type:Unsigned 8 bit Integer
Description/Conversion: Appendix F MC-8 Input Id's
InputName:
Data Type:Null (0x00) terminated ASCII character string.
Max Length:INPUT_NAME_LENGTH defined in Appendix G Protocol Constants.
6.3.16.3 MC-8 Response
MC-8 will copy the InputName to the given input.
6.3.16.4 Data Validation:
The InputId must be a valid Input Id. If it is not the MC-8 will respond with a NAK packet and error code
DC_INVALID_INPUT. If the InputName string exceeds the INPUT_NAME_LENGTH, the MC-8 will truncate
the string to the INPUT_NAME_LENGTH.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.17 Host Wakeup
By transmitting the Wakeup Notification, the Host indicates it has just “powered on” or reset and is ready to receive
MC-8 Notifications or Responses. The Host is assumed to be asleep upon power up of the MC-8. Host status is
maintained during standby.
6.3.17.1 Command Packet Description
Application Header:
CommandHOST_WAKEUP0x11
Data Count00x00
Application Data:
N/A
6.3.17.2 Data Description
N/A
6.3.17.3 MC-8 Response
The MC-8 will respond to this command with an ACK.
6.3.18 Host Sleep
By transmitting the Sleep command, the Host indicates it has just “powered down” and will no longer respond to
MC-8 Notifications. No Acknowledgment is expected. The Host is assumed to be asleep upon power up of the MC-
8. Host status is maintained during standby.
6.3.18.1 Packet Description
Application Header:
CommandHOST_SLEEP0x12
Data Count00x00
Application Data:
N/A
6.3.18.2 Data Description
N/A
6.3.19 Get Communication Configuration
This command is a request to the MC-8 for the current communications configuration for the serial port and
protocol. The MC-8 responds to this command with a Communication Configuration Packet.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.19.2 Communication Configuration Response Packet
Application Header:
CommandDC_RESP_COM_CONFIG0x8C
Data Count10x01
Application Data:
Data[0]Configuration Register 0nn
6.3.19.3 Data Description
Data Word Bit Definition
00Acknowledge Enable
01Parameter Change Enable
Acknowledge Enable:
TRUE Indicates the MC-8 will transmit Acknowledge Notification’s to the Host.
FALSE Indicates the MC-8 will not transmit any positive Acknowledge Notification messages.
The MC-8 will always transmit NAK error notification messages.
Parameter Change Enable:
TRUE Indicates the MC-8 will transmit any parameter change Notification as specified in the
Parameter Change Notification Message.
FALSE Indicates the MC-8 will not transmit parameter change Notifications.
6.3.20 Set Communication Configuration
The Set Communication Configuration Command allows the serial port user to set up the various serial port/
protocol configuration parameters.
6.3.20.1 Command Packet Description
Application Header:
CommandDC_CMD_SET_COM_CONFIG0x30
Data Count10x01
Application Data:
Data[0]Configuration Register 0nn
6.3.20.2 Data Description
Data Word Bit Definition
00Acknowledge Enable
01Parameter Change Enable
Acknowledge Enable:
TRUE Indicates the MC-8 will transmit Acknowledge Notification’s to the Host.
FALSE Indicates the MC-8 will not transmit any positive Acknowledge Notification messages.
The MC-8 will always transmit NAK error notification messages.
Parameter Change Enable:
TRUE Indicates the MC-8 will transmit any parameter change Notification as specified in the
Parameter Change Notification Message.
FALSE Indicates the MC-8 will not transmit parameter change Notifications.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.20.3 MC-8 Response
The data values transmitted will be copied over to the registers stored in nonvolatile RAM. The MC-8 will respond
with an ACK Packet.
6.3.21 Set Mute
The Set Mute Command message allows the RS232 users to set/clear the MC-8 mute state directly.
6.3.21.1 Command Packet Description
Application Header:
CommandDC_CMD_SET_MUTE0x31
Data Count10x01
Application Data:
Data[0]Mute Statenn
6.3.21.2 Data Description
MUTE State:
ValueDefinitionDescription
0UNMUTEThe user mute state is set to unmuted. The MC-8 may still
1USER MUTEThe system volume decrements by the specified user
2FULL MUTEThe system is fully muted.
be muted for other internal reasons.
amount as set in the OUTPUT LEVELS Menu.
6.3.21.3 MC-8 Response
The MC-8 will set the mute state according to the value transmitted. The MC-8 may still be full muted if other
conditions require the audio path to be muted. This is only a direct access to the user mute state.
6.3.21.4 Data Validation
The data value transmitted to the MC-8 will be verified as a valid value. If it is valid the MC-8 will set/clear the
mute and respond with an ACK Packet. If the data value is invalid the MC-8 will respond with a
DC_INVALID_DATA error NAK.
6.3.22 Send Display String Command
This command allows the Host to send a 40 character string to the MC-8 for display on the OSD and Front Panel
Display.
6.3.22.1 Packet Description
Application Header:
CommandDC_CMD_SET_DISPLAY_STR 0x33
Data CountNumber of characters in the
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.22.2 Data Description
Display Command Flags:
WordBitDefinition
00FPD only: If set TRUE, the display string will only be sent to the FPD device for display.
01Undefined.
02Undefined.
03Undefined.
04Undefined.
05Undefined.
06Undefined.
07Undefined.
Display String:
Data Type:Null (0x00) terminated ASCII character string.
Max Length:40 Characters.
6.3.22.3 MC-8 Response
The display string is sent to the OSD and Front Panel Display. The MC-8 will ACK when completed with this
command.
6.3.22.4 Data Validation:
If a string length exceeds the 40 character maximum the string will be truncated before displaying and the MC-8
transmit a DC_NAK command with an error code DC_INVALID_DATA.
6.3.23 MC-8 Get Parameter Definition by Id
Request to MC-8 for a Parameter Definition by Parameter Id. MC-8 will respond with “MC-8 Parameter Definition
Packet”.
6.3.23.1 Command Packet Description
Application Header:
Command MC_GET_PARAM_BY_ID0x35
Data Count 20x02
Application Data:
Data[0]ParamId(LSB)nn
Data[1]ParamId(MSB)nn
6.3.23.2 Data Description
ParamId:
Data Type:Unsigned 16 bit Integer
Max Value:Max Parameter Count as reported by the MC-8 Unit Configuration Response Packet in
6.3.26.2
6.3.23.3 Data Validation:
If the ParamId is not a valid Id the MC-8 will respond with a NAK packet and error code DC_
INVALID_PARAM_ID.
Data Type:Unsigned 16 bit Integer
Max Value:Max Parameter Count as reported by the MC-8 Unit Configuration Response Packet in
6.3.26.2
ch ch ch …
0x00
ParamType:
Param Type NameParamTy
PARAM_TYPE_UINT80Unsigned 8 bit integer(0 to
PARAM_TYPE_UINT161Unsigned 16 bit integer(0 to
PARAM_TYPE_CSTR82Zero terminated string of 8
PARAM_TYPE_CSTR133Zero terminated string of 13
PARAM_TYPE_UINT324Unsigned 32 bit integer (0 to
PARAM_TYPE_BOOLEAN5Boolean( 0 to 1)1
PARAM_TYPE_INT86Signed 8 bit integer
PARAM_TYPE_BRANCH7Parameter BranchN/A
PARAM_TYPE_INT168Signed 16 bit integer
PARAM_TYPE_CSTR209Zero terminated string of 20
Data:
Type DescriptionData Size
pe ID
255)
65535)
ascii characters
ascii characters
4,294,967,295 )
(-127 to 128)
(-32,767 to 32,768)
ascii characters
The data value transmitted is dependent on the ParamType, as described above. The CurrentValue
is always packed starting at the CurrentValue [0] byte in the packet. For multi-byte data, the
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
values are packed LSB first(CurrentValue [0]) to MSB(CurrentValue [0+(num bytes-1)]). For
example: Setting a given signed 16 bit parameter to a value of -300 the data array would be
packed as follows:
All signed values are in the 2's compliment format.
Max Value:
This is a 16 bit value representing the maximum value for a parameter. Parameter values
exceeding the maximum will be limited to the maximum. This may be a signed or unsigned value
depending on the Parameter Type.
Min Value:
This is a 16 bit value representing the minimum value for a parameter. Parameter values
exceeding the minimum will be limited to the minimum. . This may be a signed or unsigned value
depending on the Parameter Type.
Parameter Path:
This is a zero terminated ASCII character string describing the parameter's name and path in the
units parameter tree structure.
Read Only:
Data Type:Boolean
TRUE:Parameter is read only
FALSE:Parameter is writeable
6.3.24 MC-8 Set Parameter Value by Id
MC-8 Set Parameter by Id command sets the parameter value equal to the value sent in the command packet and
then runs the appropriate functional changes associated with changing the given parameter.
6.3.24.1 Command Packet Description
Application Header:
CommandMC_CMD_SET_SYS_PARAM_VALUE_BY_ID 0x36
Data Count 240x18
Application Data:
Data[0]ParamId(LSB)nn
Data[1]ParamId(MSB)nn
Data[2]ParamTypenn
Data[3-23] Value[0 -20]nn nn nn…
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.24.2 Data Description
ParamId:
Data Type:Unsigned 16 bit Integer
Max Value:Max Parameter Count as reported by the MC-8 Unit Configuration Response Packet in
6.3.26.2
ParamType:
Param Type NameParam
Type
ID
PARAM_TYPE_UINT80Unsigned 8 bit integer(0 to
PARAM_TYPE_UINT161Unsigned 8 bit integer(0 to
PARAM_TYPE_CSTR82Zero terminated string of 8
PARAM_TYPE_CSTR133Zero terminated string of 13
PARAM_TYPE_UINT324Unsigned 32 bit integer (0 to
PARAM_TYPE_BOOLEAN5Boolean (0 to 1)1
PARAM_TYPE_INT86Signed 8 bit integer
PARAM_TYPE_BRANCH7Parameter BranchN/A
PARAM_TYPE_INT168Signed 16 bit integer
PARAM_TYPE_CSTR209Zero terminated string of 20
Type DescriptionData
Size
(Bytes)
1
255)
2
65535)
9
ascii characters
14
ascii characters
4
4,294,967,295 )
1
(-127 to 128)
2
(-32,767 to 32,768)
21
ascii characters
Value:
The data value transmitted is dependent on the ParamType, as described above. The Data Value is
always packed starting at the Value[0] byte in the packet. For multi-byte data, the values are
packed LSB first(Value[0]) to MSB(Value[0+(num bytes-1)]). For example: Setting a given
signed 16 bit parameter to a value of -300 the data array would be packed as follows:
All signed values are in the 2's compliment format.
6.3.24.3 Data Validation:
The ParamId must be a valid Parameter. The ParamType must be valid for the given ParamId. If either of these
condition is not true the MC-8 will respond with a NAK packet and error code DC _ INVALID_PARAM_ID. The
data value size cannot exceed the size of a given data type. A value that does exceed the size of a give data type will
be truncated to the appropriate size. The ParamType transmitted must match the ParamType for the Parameter being
transmitted, as per the Parameter Definition as transmitted by the MC_SYS_PARAM_DEF_PKT . If the types do
not match The MC-8 will transmit a NAK packet with a DC_INVALID_INPUT error code. The MC-8 will transmit
a NAK packet with a DC_ERR_READ_ONLY error code for read only parameters.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.25 MC-8 Set Parameter Value by Id, No Run
MC-8 Set Parameter by Id command sets the parameter value equal to the value sent in the command packet and
does not run the appropriate functional changes associated with changing the given parameter.
6.3.25.1 Command Packet Description
Application Header:
CommandMC_CMD_SET_SYS_PARAM_VALUE_BY_ID_NO_RUN 0x37
Data Count 240x18
Request to MC-8 for its current unit configuration. MC-8 will respond with “Unit Configuration Packet”. The
HOST should use this information to determine if any information saved by the HOST is current.
*Note: SW level indicates the status of the MC-8 internal application software.
Software Major Revision: An unsigned 8 bit integer value indicating the unit’s major software version. The host
should use this information to determine if new effects, effect parameters, or system
parameters have been added or removed.
Software Minor Revision: An unsigned 8 bit integer value indicating this units minor software version. Indicates the
units software operation has changed but effects, effect parameters, or system parameters
have not changed.
Protocol Major Revision: An unsigned 8 bit integer value indicating the serial communication protocol major
version. The host should use this value to determine if new commands, notifications, or
response packets have been added or deleted from this specification.
Protocol Minor Revision: An unsigned 8 bit integer value indicating the serial communication protocol minor
version. The host should use this value to determine if the existing commands,
notifications, or response packets have changed in this specification
Parameter Count:An unsigned 16 bit integer value indicating the maximum number of parameters for this
version of software. All Parameters are sequential ordered with in the unit so cycling
from ParamId 0 to ParamId = Parameter Count -1 allows for the host system to learn the
Parameter definitions for all Parameters defined for a given software version. The 16 bit
value is packed LSB followed by the MSB.
Total Number of Effects: An unsigned 8 bit integer value indicating the maximum number of effects available for
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
TimeStamp:Is a null terminated ASCII text string describing the build date and time of the current
software build. The Format of this text string is:
“yy/mm/dd(sp)hh:mm”
yy- is the last two digits of the year (i.e. year 2001=01, year 2002 = 02)
mm - is the month
dd- is the day
(sp) - is an ASCII space character (0x20)
hh - is the hour
mm - is the minute
SerialNumber:The Serial Number is an unsigned 32 bit integer holding the unique value of the current
unit.
6.3.27 MC-8 Send IR Command
This command allows the HOST to transmit IR command key codes to the MC-8.
6.3.27.1 Command Packet Description
Application Header:
CommandMC_CMD_IR0x39
Data Count10x01
Application Data:
Data[0]KeyCodenn
6.3.27.2 Data Description
KeyCode:
Data Type:Unsigned 8 bit integer.
Valid Values:Appendix D MC-8 IR-Codes
6.3.27.3 MC-8 Response
The KeyCode is processed as a valid IR code. No acknowledgment will be sent from MC-8.
6.3.27.4 Data Validation
The KeyCode data will be verified as a legal IR code. If the Code is not valid the MC-8 will not respond.
6.3.28 MC-8 Get Parameter Value by Id
Request to MC-8 for the current value of a given parameter. The MC-8 will respond with a “Parameter Value
Packet”.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
If ParamId exceeds the its maximum value, the MC-8 will ignore the command and transmit a DC_NAK
command with an error code DC_INVALID_PARAM_ID.
6.3.29.4 MC-8 Response
If a parameter has been enabled for notification the MC-8 will transmit its current value whenever it has
been changed due to any user or system action. For the details of the MC-8 notification packet, see 6.1.5
(MC8_Parameter_Notification_By_Id).
6.3.30 MC-8 Parameter Get Value String by Id
Request to MC-8 for the string representation of a given value for a given parameter. The MC-8 will respond with a
“Value String Response Packet”.
6.3.30.1 Command Packet Description
Application Header:
CommandMC_CMD_PARAM_GET_VALUE_STRING_BY_ID 0x3C
Data Count230x17
Application Data:
Data[0]ParamId (LSB)nn
Data[1]ParamId (MSB)nn
Data[2] - Data[22]Value[0] - Value[20]
nn nn
nn ..
6.3.30.2 Data Description
ParamId:
Data Type:Unsigned 16 bit integer.
Max: Max Parameter Count as reported by the MC-8 Unit Configuration
Response Packet in 7.3.39.2
Value:
See MC8_Value_Union_Description.
6.3.30.3 Data Validation
If ParamId exceeds the its maximum value, the MC-8 will ignore the command and transmit a DC_NAK
command with an error code DC_INVALID_PARAM_ID.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Min:-16 (0xF0) (Full Back)
Video Sync:
Data Type:Boolean.
TRUE:MC-8 has detected Video Sync for current video input
FALSE:MC-8 can not detect Video Sync for the current video input
6.3.33 MC-8 Get Zone Status
This command is a request to MC-8 for current Zone 2 Status. MC-8 will respond with “Zone2 Status Packet”.
6.3.33.1 Command Packet Description
Application Header:
CommandMC_GET_REC_ZONE2_STATUS 0x3F
Data Count 00x00
Application Data:
N/A
6.3.33.2 Zone2 Status Response Packet
Application Header:
Command MC_RESP_REC_ZONE2_STATUS 0x95
Data Count 50x05
Application Data:
Data[0]Zone2 Volumenn
Data[1]Assigned Zone 2 Inputnn
Data[2]Reserved For Future Usenn
Data[3]Zone2 Mute Activenn
Data[4]Zone2 Balancenn
6.3.33.3 Data Description
Zone2 Volume:
Data Type:Signed 8 bit integer (2’s compliment)
Max:+12 (0x0C) (12 dB)
Min:-80 dB (0xB0) (-80 dB)
Assigned Zone 2 Input:
Indicates the Zone 2 input that is currently assigned for the zone 2 outputs.
Data Type:Unsigned 8 bit integer.
Definition/Conversion:Appendix F MC-8 Input Ids
Zone2 Mute Active:
Data Type:Boolean.
TRUE:Zone2 Outputs are active.
FALSE: Zone 2 Outputs are not active.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Zone 2 Balance:
Data Type:Signed 8 bit integer (2’s compliment)
Max:16 (0x10) (Full Right)
Min:-16 (0xF0) (Full Left)
6.3.34 MC-8 Set System Volume
This command is a request to the MC-8 to set the system volume with the value in this packet.
6.3.34.1 Command Packet Description
Application Header:
Command MC_CMD_SET_SYS_VOLUME0x40
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.34.2 Data Description
Value:
Data Type:Signed 8 bit integer (2’s compliment)
Max:+12 (0x0C) (12 dB)
Min:-80 (0xB0) (-80 dB)
6.3.34.3 MC-8 Response
The MC-8 will assign the value from the packet to the system volume.
6.3.34.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a DC_NAK command with an error code DC_INVALID_DATA.
6.3.35 MC-8 Set Main Balance
Commands MC-8 to set the system balance to the value in this packet.
6.3.35.1 Command Packet Description
Application Header:
CommandDC_CMD_SET_SYS_BALANCE0x41
Data Count 10x01
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Value:
Data Type:Signed 8 bit integer (2’s compliment)
Max:+16 (0x10) (Full Right)
Min:-16 (0xF0) (Full Left)
6.3.35.3 MC-8 Response
The MC-8 will assign the value from the packet to the system balance.
6.3.35.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a DC_NAK command with an error code DC_INVALID_DATA.
6.3.36 MC-8 Set Front/Back Balance
Commands MC-8 to set the front/back balance to the value in this packet.
6.3.36.1 Packet Description
Application Header:
CommandMC_CMD_SET_FRONT_BACK_BALANCE0x42
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.36.2 Data Description
Value:
Data Type:Signed 8 bit integer (2’s compliment)
Max:+16 (0x10) (Full Front)
Min:-16 (0xF0) (Full Back)
6.3.36.3 MC-8 Response
The MC-8 will assign the value from the packet to the front/back balance.
6.3.36.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.37 MC-8 Set Active Effect by Id
This command requests the MC-8 to set the active effect to the value in this packet.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.37.2 Data Description
EffectId:
Data Type:Unsigned 8 bit integer
Definition/Conversion: Appendix I MC-1 to MC-8 Effect ID Map.
6.3.37.3 MC-8 Response
The MC-8 will load the desired effect.
6.3.37.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.38 MC-8 Set Zone2 Volume
Commands MC-8 to set the Zone 2 volume with the value in this packet.
6.3.38.1 Command Packet Description
Application Header:
CommandMC_CMD_SET_ZONE2_VOLUME0x45
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.38.2 Data Description
Value:
Data Type:Signed 8 bit integer (2’s compliment)
Max:+12 (0x0C) (12dB)
Min:-80 (0xB0) (-80 dB)
6.3.38.3 MC-8 Response
The MC-8 will assign the value from the packet to the Zone 2 volume.
6.3.38.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.39 MC-8 Set Zone2 Left/Right Balance
Commands MC-8 to set the Zone 2 balance to the value in this packet.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.3.39.1 Packet Description
Application Header:
CommandMC_CMD_SET_ZONE2_BALANCE0x46
Data Count 10x01
Application Data:
Data[0]Valuenn
6.3.39.2 Data Description
Value:
Data Type:Signed 8 bit integer (2’s compliment)
Max:+16 (0x10) (Full Right)
Min:-16 (0xF0) (Full Left)
6.3.39.3 MC-8 Response
The MC-8 will assign the value from the packet to the Zone 2 balance.
6.3.39.4 Data Validation
If a value is passed that exceeds the maximum value of that parameter the MC-8 will ignore the command and
transmit a NAK command with an error code DC_INVALID_DATA.
6.3.40 MC-8 Get Input Name by Id
This command is a request to MC-8 for the custom input name. MC-8 will respond with “Input Name Packet”.
6.3.40.1 Command Packet Description
Application Header:
Command MC_CMD_GET_INPUT_NAME0x47
Data Count 10x01
Application Data:
Data[0]InputIdnn
6.3.40.2 Data Description
InputId:
Data Type:Unsigned 8 bit Integer
Definition/Conversion:Appendix F MC-8 Input Ids
6.3.40.3 Data Validation:
The InputId must be a valid Input number. If it is not the MC-8 will respond with a NAK packet and error code
Data Type:Unsigned 8 bit Integer
Definition/Conversion:Appendix F MC-8 Input Ids
InputName:
Data Type:Null (0x00) terminated ASCII character string.
Max Length:INPUT_NAME_LENGTH defined in Appendix G Protocol Constants.
6.3.41 MC-8 Set Input Name by Id
Sets an Input Name to the transmitted value for a given input.
6.3.41.1 Command Packet Description
Application Header:
CommandMC_CMD_SET_INPUT_NAME 0x48
Data Count
Application Data:
Data[0]InputId0 to 7
Data[1]-Data[DataCount-1]InputNamech ch ch ... 0x00
6.3.41.2 Data Description
InputId:
Data Type:Unsigned 8 bit Integer
Description/Conversion: Appendix F MC-8 Input Ids
InputName:
Data Type:Null (0x00) terminated ASCII character string.
Max Length:INPUT_NAME_LENGTH defined in Appendix G Protocol Constants.
Number of characters in
InputName + 2nn
6.3.41.3 MC-8 Response
MC-8 will copy the InputName to the given input.
6.3.41.4 Data Validation:
The InputId must be a valid Input Id. If it is not the MC-8 will respond with a NAK packet and error code
DC_INVALID_INPUT. If the InputName string exceeds the INPUT_NAME_LENGTH, the MC-8 will truncate
the string to the INPUT_NAME_LENGTH.
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Appendix C DC-2, MC-1 IR-Codes
MC-1
Function
OffSTANDBY19Trigger OffTRIGGER1_OFF 99Zone-2: OffZONE_OFF59
OnON18Trigger OnTRIGGER1_ON 98Zone-2: OnZONE_DVD_258
OSD OffOSD02Menu Back Off BLUE82Reserved42
FrontPanel Off FP03reserved83Reserved43
LIGHTN/A N/A N/A
FrontPanel On FP04reserved84Reserved44
OSD OnOSD05Menu Back On BLUE85Status MenuINPUT_STATUS45
Menu UpUP_ARROW01Fade Front81Reserved41
5.1 Mono25Mono Logic
dts L7 Film26dts Logic 7
dts L7 Music27dts Music
dts 2-Channel28dts 2-Channel
dts Film29dts Film
dts THX30dts THX 5.1
2ch Analog Bypass31Bypass
5.1 Analog Bypass32Bypass
External Noise PLII33Prologic
External Noise Dolby Digital34Dolby Digital
External Noise dts35dts Film
Not Available on MC-836
Not Available on MC-837
Not Available on MC-838
Not Available on MC-839
Not Available on MC-840
Not Available on MC-841
Dts THX MUSIC42dts THX
5.1 THX MUSIC435.1 THX
Nightclub44Nightclub
Concert Hall45Concert Hall
Church46Church
Cathedral47Cathedral
Not Available on MC-848
L7 Music Surround49Music Surround
Panorama50Panorama
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Appendix I MC-1 to MC-8 Effect ID Map
MC-1
Effect
ID
0BypassAnalog Bypass
1ChurchChurch
2THX CinemaPL II THX
3TV LogicL7 TV
4Mono LogicMono Logic
5PanoramaL7 Film
6NightclubNightclub
7PrologicPrologic II
8Music LogicL7 Music
9Party2-Ch Surround
10N/Anone
11N/Anone
12Concert HallConcert Hall
13CathedralCathedral
14Music SurroundL7 Music Surround
15Logic 7L7 Film
162-Channel2-Channel
17DD 2.0 PrologicPrologic II
18DD 2.0 THX CinemaPL II THX
19DD 2.0 Logic 7L7 Film
20DD 2.0 Music SurroundL7 Music
21DD 2.0 2-Channel2-Channel
22Dolby DigitalDolby Digital
23THX 5.15.1 THX
245.1 Logic 75.1 L7 Film
255.1 Music5.1 L7 Music
265.1 2-Channel5.1 2-Channel
27dts Filmdts
28dts THX 5.1dts THX
29dts Logic 7dts L7 Film
30dts Musicdts L7 Music
31dts 2-Channeldts 2-Chan
32dts 2-Channeldts
33N/Anone
34N/Anone
35N/Anone
36N/Anone
37N/Anone
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Appendix J MC-8 Mode Ids
MC-8 Mode IDMC-8 Mode Name
0NONE
1N/A
2Internal Noise
3L7 Film
4L7 TV
5L7 Music
62-Ch Surround
72-Channel
8Mono Logic
9Mono Surround
10Mono
11Pro Logic
12Prologic II
13PLII Music
14THX Cinema
15Dts Neo6 Film
16Dts Neo6 Music
175.1 L7 Film
185.1 L7 TV
195.1 L7 Music
205.1 THX(ex) Ultra II
21Dolby Digital(Ex)
225.1 2-Channel
235.1 Mono Logic
245.1 Mono Surround
255.1 Mono
26dts L7 Film
27dts L7 Music
28dts 2-Channel
29dts Film
30dts THX
312ch Analog Bypass
325.1 Analog Bypass
33External Noise PLII
34External Noise Dolby Digital
35External Noise dts
36Not Available
37Not Available
38Not Available
39Not Available
40Not Available
41Not Available
42dts THX Music
435.1 THX Music
44NightClub
42Concert Hall
43Church
44Cathedral
45L7 Music Surround
46Panorama
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
Appendix K Application Notes and Examples
6.4 Box initializations:
6.4.1 MC-8:
When the MC-8 is powered on it will initialize the serial port and then transmit the DC_WAKEUP Packet,
and look for an ACK from the HOST. Currently, if an ACK is not received, the MC-8 continues to operate.
This message is mostly for the HOST to know if the MC-8 is in an operational state.
6.4.2 HOST:
When the HOST issues a HOST_WAKEUP Packet the MC-8 responds with an ACK and then transmits
the current FPD buffer with a DC_FPD notification. If the Host issues a HOST_WAKEUP command and
does not receive the ACK it should assume it is not connected or the MC-8 is not capable of responding on
the RS232 and therefore further serial communications will not be possible. If the MC-8 RS232 is capable
of communicating, the MC-8 will respond to a HOST_WAKEUP Command in any “Powered up” state
including standby.
6.5 Getting System Wide Status and Setup:
TBD
6.6 Downloading the System Setup to the MC-8:
TBD
6.7 Simple System Control & System Status:
The HOST can control the system via the IR commands thus making any direct IR code a direct command.
Because of some limitations in the IR codes the HOST also has direct control over the system volume,
balance, fader, effect selection, zone 2 volume, balance and input selection through dedicated commands.
6.8 Examples:
The following examples show the byte’s transmitted for the MC-8 Get Unit Configuration, and Send MC-1
IR, and Send MC-8 IR Commands . They are shown as they should be transmitted from left to right.
6.8.1 MC-8 Get Unit Configuration
The HOST initiates by sending the GET_UNIT_CONFIG command packet:
From the response packet we can see that the MC-8 is configured as a
Product Id is Lexicon MC-8
Software type COMPLETE
Software level of RELEASED
Software Version 1.00
Protocol Version 1.00
with 1080 parameters
and 51 effects,
and the software image was built
“02/12/31 17:05”
and has an internal serial number of
1128 (0x00 00 04 68)
Lexicon, Inc.
MC-8 Serial Communications ProtocolPrinted on: 04/01/03
6.8.2 Send MC-8 IR Command Example
SOPDLL DCCMDAppDC DATA0EOP
IR Key
F104390126F2
Code
This example shows how to transmit the IR command for “
MAIN_CD
”. 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 Appendix D MC-8 IR Codes.
Byte 5: End of Packet (F2 hex)
Appendix L MC8 V1.00 Parameter ID List
The following table is for
MC8 V1.00 reference only
and Protocol version changes. The MC8 can always be queried for the correct Parameter Id numbers and
Parameter Definition Packets.