Crystal nVision Lab Reference User Manual
Page 9

Module Queries and Commands
7
nVision Programming Instructions
acknowledgement of a command
The nVision always returns some indication to let you know a command or query was received and acted on. The return code for a command is eight
hexadecimal digits.
X
after the query or command the nVision will give the following responses:
Query:
[
answer to query
]
|
[
error code
]
Command:
|
[
error code
]
X
General error codes
The error code can give you valuable information and can be broken down as follows:
Form: ABBCCCCC
A
BB
CCCCC
Error/Success
Section
Error/Status Code
When
|00000000
is returned you have successfully communicated with the nVision.
A
- Error/Success
0
= Success
8
= Error
Note:
All other values have a reserved meaning.
BB
- Section
00
= Success
01
= Microprocessor
02
= Chassis
03
= Module
Note:
All other values have a reserved meaning.
CCCCC
- Error/Status Code (represented as hexadecimal values)
00000
= Success
00001
= General (unspecified error)
00006
= Zero limit exceeded
00008
= Changes not allowed while administrator password is set
0000F
= Command not supported
00100
= Message from PC too long (max of 254 characters) or command is too long–Run Tag max length is 22 characters
00102
= Command not found
00105
= Incorrect number of parameters for the command
00106
= Module requested is not present
00107
= Parameter is not valid for the command
0010C
= Chassis in not in the correct state to accept the command
00200
= Parameter is out of range for the command
Note:
All other values have a reserved meaning.