Lexicon MC-8 V1.0 - SERIAL COMMUNICATIONS PROTOCOL DEFINITION REV 1-4 Manual page 31

Serial communications protocol
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents