Rockwell-automation 8520-9API 9/Series OCI API Developer's Guide Manual de usuario Pagina 81

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 263
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 80
4–33OCI Data Server Data Items
Publication 8520-6.6 - August 1999
COMMAND_ERROR_CODE
Data Type INT
Read/Write Read only
Array Index none
Control Type Lathe/Mill/Grinder
1
1
Grinder Control Type is not available for Release 1 of 9/PC.
Use this command to identify the status of OCI commands issued to
the CNC (see the API command chapter in this manual). Once a
command is issued the command error code changes to 3000
indicating the control is executing the command. Refer to Appendix
C for a listing of the command errors.
The sign bit for this word is toggled after each error condition
(except 3000) to allow the PC to identify a transition in this value in
the event multiple commands execute on the CNC quickly. To
identify the actual error you must strip the most significant bit from
this items value. Strip this sign bit by anding the value returned by
this item with 32767 (7FFF). The resulting value can be used in
appendix C to identify the error. The following table shows the
value of Command_Error after a request has been made to the CNC
to execute three different commands, the first of which is a bad
command request, the second and third executes successfully:
Value of
Command_Error
Value after sign
bit removed
Indicates
0 0 Status OK
3000 3000 Executing Command
35786 3018 Bad Command Request
3000 3000 Executing Command
0 0 Status OK
3000 3000 Executing Command
8000 0 Status OK
Error Message Data Items
Vista de pagina 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 262 263

Comentarios a estos manuales

Sin comentarios