Lexicon MC-12 用户指南

下载
页码 106
Lexicon 
MC-12 Serial Communications Protocol 
 
Printed on: 07/13/05 
7.3.25.4 Data Validation 
If a value is passed that exceeds the maximum value of that parameter the MC-12 will ignore the command 
and transmit a NAK command with an error code DC_INVALID_DATA. 
7.3.26  Set Custom Name (MC-12, MC-1) 
Sets the Custom Name that can be displayed when the unit powers up. 
7.3.26.1 Packet Description 
Application Header: 
  
  
Command DC_CMD_SET_CUST_NAME 0x2C 
Data Count 
Number of characters in 
CustomName + 2 
nn 
Application Data: 
 
  
Data[0] CustomNameEnable 
nn 
Data[1]-Data[DataCount-1]  CustomName 
ch ch ch … 0x00 
 
7.3.26.2 Data Description 
CustomNameEnable: Enables/Disables the Custom Name Display. 
 DataType: 
Boolean 
 TRUE: 
 CustomName 
Enabled 
 FALSE: 
 CustomName 
Disabled 
 
CustomName: 
Data Type: 
Null (0x00) terminated ASCII character string. 
Max Length: 
CUSTOM_NAME_LENGTH defined in 
7.3.26.3 MC-12 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-12 will ACK when completed with this command. 
7.3.26.4 Data Validation: 
No data validation is done on the transmitted data. 
7.3.27  Set Input Name by Id (MC-12, MC-1) 
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-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 
 
© 2005 Harman Specialty Group All rights reserved. 
 
31 of 106