Set Parameter Value By Id, No Run - Lexicon RV-8 V1.10 - SERIAL COMMUNICATIONS PROTOCOL DEFINITION REV 1-7 Manual

Serial communications protocol definition
Table of Contents

Advertisement

Lexicon, Inc.
RV-8 Serial Communications Protocol
PARAM_TYPE_INT16
PARAM_TYPE_CSTR20
PARAM_TYPE_ARRAY
PARAM_TYPE_ARRAYITEM
Value:
The data value transmitted is dependent on the ParamType, as described above. The
Data Value is always packed starting at the Value[0] byte in the packet. For multi-byte
data, the values are packed LSB first(Value[0]) to MSB(Value[0+(num bytes-1)]). For
example: Setting a given signed 16 bit parameter to a value of -300 the data array would
be packed as follows:
Value[0] = 0xd4
Value[1] = 0xfe
Value[2 - 13] = don't care.
All signed values are in the 2's compliment format.
7.3.14.3 Data Validation:
The ParamId must be a valid Parameter. The ParamType must be valid for the given ParamId. If either of
these condition is not true the RV-8 will respond with a NAK packet and error code DC _
INVALID_PARAM_ID. The data value size cannot exceed the size of a given data type. A value that
does exceed the size of a give data type will be truncated to the appropriate size. The ParamType
transmitted must match the ParamType for the Parameter being transmitted, as per the Parameter Definition
as transmitted by the MC_SYS_PARAM_DEF_PKT . If the types do not match The RV-8 will transmit a
NAK packet with a DC_INVALID_INPUT error code. The RV-8 will transmit a NAK packet with a
DC_ERR_READ_ONLY error code for read only parameters.

7.3.15 Set Parameter Value by Id, No Run

RV-8 Set Parameter by Id command sets the parameter value equal to the value sent in the command
packet and does not run the appropriate functional changes associated with changing the given parameter.
© 2005 Lexicon, Inc. All rights reserved.
8
Signed 16 bit integer
(-32,767 to 32,768)
9
Zero terminated string of 20
ascii characters
10
Unsigned 16 bit number
representing the number of
elements in the array, another
16 bit number representing the
number of bytes in an
ArrayItem
11
Unsigned 16 ParamId,
Unsigned 8 bit ParamType,
Unsigned 16 ArrayItem Index,
Unsigned 8 Databytes 0 to
128
Printed on: 07/26/05
2
21
4
133
22 of 72

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rv-8

Table of Contents