Lexicon MC-12 用户指南

下载
页码 106
Lexicon 
MC-12 Serial Communications Protocol 
 
Printed on: 07/13/05 
If ParamId exceeds the its maximum value, the MC-12 will ignore the command and transmit a 
DC_NAK command with an error code DC_INVALID_PARAM_ID. 
7.3.42.4 MC-12 Response 
If a parameter has been enabled for notification the MC-12 will transmit its current value 
whenever it has been changed due to any user or system action.  For the details of the MC-12 
notification packet, see  
 
7.3.43  MC-12 Parameter Get Value String by Id (MC-12) 
Request to MC-12 for the string representation of a given value for a given parameter.  The MC-12 will 
respond with a “Value String Response Packet”. 
7.3.43.1  Command Packet Description 
Application Header: 
  
Command MC_CMD_PARAM_GET_VALUE_STRING_BY_ID 0x3C 
Data Count 
23 
0x17 
  
Application Data: 
Data[0] ParamId 
(LSB) 
nn 
Data[1] ParamId 
(MSB) 
nn 
Value[0] - Value[20] 
nn nn 
nn .. 
Data[2] - Data[22] 
 
7.3.43.2 Data Description 
 ParamId: 
 
 
Data Type: 
Unsigned 16 bit integer. 
 
 
Max:          
Max Parameter Count as reported by the MC-12 Unit Configuration 
  
 
 
             Response Packet in 7.3.39.2 
 
 Value: 
  See 
 
7.3.43.3 Data Validation 
If ParamId exceeds the its maximum value, the MC-12 will ignore the command and transmit a 
DC_NAK command with an error code DC_INVALID_PARAM_ID. 
 
7.3.43.4  MC-12 Value String Response Packet 
  
Application Header: 
Command MC_RESP_VALUE_STRING 
0x93 
Number of Characters in Value 
String + 1 
nn 
Data Count 
Application Data: 
  
Data[0] - Data[20] 
ch ch ch 
… 0x00 
Value String 
 
7.3.43.5 Data Description 
 Value 
String: 
© 2005 Harman Specialty Group All rights reserved. 
 
45 of 106