Crystal nVision Lab Reference Manual do Utilizador Página 9

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 12
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 8
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 (unspecied 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 longRun 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.
Vista de página 8
1 2 3 4 5 6 7 8 9 10 11 12

Comentários a estes Manuais

Sem comentários