Lexicon, Inc.
DC-2/MC-1 Serial Communications Protocol
Max:
7.3.7.3 Data Validation:
The ParamId must be a valid parameter number. If it is not the DC-2/MC-1 will respond with a NAK
packet and error code DC_ERR_ INVALID_PARAM_NUMBER.
7.3.7.4 Get System Parameter Definition by Name Command Packet
Application Header:
Command
Data Count
Application Data:
Data[0]-Data[DataCount-1] ParamName
7.3.7.5 Data Description
ParamName:
Data Type:
Max Length:
7.3.7.6 Data Validation:
The ParamName must be a valid Parameter name. If it is not the DC-2/MC-1 will respond with a NAK
packet and error code DC_ERR_ INVALID_PARAM_NAME.
7.3.7.7 System Parameter Definition Response Packet
This packet describes the defining information for a given system parameter.
Application Header:
Command
Data Count
Application Data:
Data[0]
Data[1]
Data[2]
Data[3]- Data[DataCount-1]
7.3.7.8 Data Description
ParamId:
The Integer Id assigned to this system parameter.
Data Type:
Max:
MaxValue:
Maximum Value allowed for this system parameter.
Data Type:
Max:
Value:
The Current Value for this system parameter.
Data Type:
Max:
ParamName:
Data Type:
Max Length:
Set by the System Parameter Count in the "Unit Configuration Packet".
DC_CMD_GET_SYS_PARAM_BY_NAME
strlen(ParamName) + 1
Null(0x00) terminated ASCII character string.
PARAM_NAME_LENGTH defined in Appendix E Protocol Constants.
DC_RESP_SYS_PARAM_DEF
3 + strlen(ParamName) + 1
ParamId
MaxValue
Value
ParamName
Unsigned 8 bit integer
Set by the System Parameter Count in the "Unit Configuration Packet"
Unsigned 8 bit integer
255
Unsigned 8 bit integer
MaxValue(in this Packet)
Null(0x00) terminated ASCII character string.
PARAM_NAME_LENGTH defined in Appendix E Protocol Constants.
Printed on: 10/19/00
0x19
nn
ch ch ch ... 0x00
0x83
nn
nn
nn
nn
ch ch ch ... 0x00
17 of 44
Need help?
Do you have a question about the DC-2 and is the answer not in the manual?
Questions and answers