Lexicon MC-12 用户指南

下载
页码 106
Lexicon 
MC-12 Serial Communications Protocol 
 
Printed on: 07/13/05 
Max Length: 
CUSTOM_NAME_LENGTH defined in 
7.3.13  Get Input Name by Id (MC-12, MC-1) 
This command is a request to MC-12 for the custom input name. MC-12 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-12 Parameters have been mapped to the MC-1 parameters as described in each Data 
Description.  MC-12 users should be using the command described in 
 
7.3.13.1  Command Packet Description 
Application Header: 
  
Command DC_CMD_GET_INPUT_NAME  0x2D 
Data Count  1 
0x01 
Application Data: 
  
Data[0] InputId 
nn 
 
7.3.13.2 Data Description 
InputId: 
Data Type: 
 
Unsigned 8 bit Integer 
Definition/Conversion: 
7.3.13.3 Data Validation: 
The InputId must be a valid Input number.  If it is not the MC-12 will respond with a NAK packet and 
error code DC_INVALID_INPUT. 
 
7.3.13.4  Input Name Response Packet 
Application Header: 
  
  
Command DC_RESP_INPUT_NAME 
0x8A 
Data Count 
Number of Characters in 
InputName + 2 
Nn 
Application Data: 
 
  
Data[0] InputId  Nn 
Data[1]- Data[DataCount-1] InputName 
ch ch ch … 0x00 
 
7.3.13.5 Data Description 
InputId: 
 
Data Type: 
 
Unsigned 8 bit Integer 
Definition/Conversion: 
 
InputName: 
Data Type: 
Null (0x00) terminated ASCII character string. 
Max Length: 
INPUT_NAME_LENGTH defined in 
7.3.14  Get FPD Control Registers (MC-1) 
This command is not supported by the MC-12. 
© 2005 Harman Specialty Group All rights reserved. 
 
25 of 106