EasyManua.ls Logo

Lexicon MC-12 V2.0 - SERIAL COMMUNICATIONS PROTOCOL DEFINITION REV 1-3 - MC-12 Get Input Name by ID (MC-12)

Lexicon MC-12 V2.0 - SERIAL COMMUNICATIONS PROTOCOL DEFINITION REV 1-3
92 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Lexicon, Inc.
MC-12 Serial Communications Protocol Printed on: 10/10/02
© 2002 Lexicon, Inc. All rights reserved. 50 of 92
If a value is passed that exceeds the maximum value of that parameter the MC-12 will ignore the command
and transmit a NAK command with an error code DC_INVALID_DATA.
7.3.54 MC-12 Get Input Name by Id (MC-12)
This command is a request to MC-12 for the custom input name. MC-12 will respond with “Input Name
Packet”.
7.3.54.1 Command Packet Description
Application Header:
Command MC_CMD_GET_INPUT_NAME 0x47
Data Count 1 0x01
Application Data:
Data[0] InputId nn
7.3.54.2 Data Description
InputId:
Data Type: Unsigned 8 bit Integer
Definition/Conversion: Appendix F MC-12 Input Ids
7.3.54.3 Data Validation:
The InputId must be a valid Input number. If it is not the MC-12 will respond with a NAK packet and error
code DC_INVALID_INPUT.
7.3.54.4 Input Name Response Packet
Application Header:
Command MC_RESP_INPUT_NAME 0x96
Data Count
Number of Characters in
InputName + 2 nn
Application Data:
Data[0] InputId nn
Data[1]- Data[DataCount-1] InputName ch ch ch … 0x00
7.3.54.5 Data Description
InputId:
Data Type: Unsigned 8 bit Integer
Definition/Conversion: Appendix F MC-12 Input Ids
InputName:
Data Type: Null (0x00) terminated ASCII character string.
Max Length: INPUT_NAME_LENGTH defined in Appendix G Protocol Constants.

Table of Contents

Related product manuals