Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Manual de usuario Pagina 447

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 528
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 446
Chapter 33 Alarm Message API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 33-3
33.2 _DMC_01_get_alm_code
FORMAT
I16 PASCAL _DMC_01_get_alm_code (U16 CardNo, U16 NodeID, U16 SlotID, U32
*alm_code)
Purpose
Retrieves slave alarm code.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
alm_code U32* Number Unit Slave error code
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U32 alm_code;
/* Value of alm_code represents Slave error information. Please refer to the server manual for
details on server error codes. */
I16 status= _DMC_01_get_alm_code (CardNo, NodeID, SlotID, &alm_code);
Vista de pagina 446
1 2 ... 442 443 444 445 446 447 448 449 450 451 452 ... 527 528

Comentarios a estos manuales

Sin comentarios