Lexicon, Inc.
MC-12 Serial Communications Protocol
Printed on: 08/18/03
© 2003 Lexicon, Inc. All rights reserved.
35 of 94
7.3.36.4 Parameter Definition Response Packet
The following Packet has been defined as follows for MC-12 V1.00. Future releases may modify this
definition.
Application Header:
Command
MC_SYS_PARAM_DEF_PKT 0x8F
Data Count
110
0x6E
Application Data:
Data[0]
ParamId(LSB)
nn
Data[1]
ParamId(MSB)
nn
Data[2]
ParamType
nn
Data[3]
MAX Value(LSB)
nn
Data[4]
MAX Value(MSB)
nn
Data[5]
MIN Value(LSB)
nn
Data[6]
MIN Value(MSB)
nn
Data[7-27]
CurrentValue[0 -20]
nn nn nn…
Data[28]-Data[108]
Parameter Path
ch ch ch …
0x00
Data[108]
Read Only
nn
7.3.36.5 Data Description
ParamId:
Data Type:
Unsigned 16 bit Integer
Max Value:
Max Parameter Count as reported by the MC-12 Unit Configuration Response
Packet in 7.3.39.2
ParamType:
Param Type Name
ParamTy
pe ID
Type Description
Data Size
(Bytes)
PARAM_TYPE_UINT8
0
Unsigned 8 bit integer(0 to
255)
1
PARAM_TYPE_UINT16
1
Unsigned 16 bit integer(0 to
65535)
2
PARAM_TYPE_CSTR8
2
Zero terminated string of 8
ascii characters
9
PARAM_TYPE_CSTR13
3
Zero terminated string of 13
ascii characters
14
PARAM_TYPE_UINT32
4
Unsigned 32 bit integer (0 to
4,294,967,295 )
4
PARAM_TYPE_BOOLEAN
5
Boolean( 0 to 1)
1
PARAM_TYPE_INT8
6
Signed 8 bit integer
(-127 to 128)
1
PARAM_TYPE_BRANCH
7
Parameter Branch
N/A
PARAM_TYPE_INT16
8
Signed 16 bit integer
(-32,767 to 32,768)
2
PARAM_TYPE_CSTR20
9
Zero terminated string of 20
ascii characters
21
Data: