Set Arrayitem(Rv8) - Lexicon RV-8 V2.0 - SERIAL PROTOCOL DEFINITIONS REV 1-8 Manual

Serial protocol definition
Table of Contents

Advertisement

Lexicon

7.3.5 Set ARRAYITEM(RV8)

This command will set the array item to the value supplied by the data.
7.3.5.1 Command Packet Description
Application Header:
Command MC_CMD_SET_ARRAYITEM
Data Count Num Bytes/ArrayItem + 5
Application Data:
Data[0]
Data[1]
Data[2]
Data[3]
Data[4]
Data[5]..Dat
a[Num
Bytes/ArrayI
tem+5]
7.3.5.2 Data Description
Value:
Data Type:
The data can be a simple type or an aggregate of several types. It the arrayitem contains
16 bit or 32 numeric data, the protocol assumes little-endian byte ordering.
7.3.5.3 RV-8 Response
RV-8 will set the Array Item to the values sent to it from this packet and transmit a DC_ACK
command.
7.3.5.4 Data Validation
If the ParamID is invalid, the RV8 will ignore the command and transmit a DC_NAK command
with an error code DC_INVALID_DATA.
If the index command is greater than or equal to the number of ArrayItems in the array, the RV-8
will ignore the command and transmit a DC_NAK command with an error code
DC_ERR_BAD_ARRAY_INDEX.
If the number of bytes per arrayitem in the packet is different from what RV-8 expects for the
number of bytes per arrayitem, RV8 will ignore the command and transmit a DC_NAK command
with an error code DC_ERR_ARRAYITEM_SIZE_MISMATCH.
ParamID of Array(LSB)
ParamID of Array(MSB)
ParamType
Index(LSB)
Index(MSB)
ArrayItem Data
RV-8 Serial Communications Protocol
0x4B
0xnn
0xnn
0xnn
0x0B
0xnn
0xnn
0xnn
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rv-8

Table of Contents