Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Instrukcja Użytkownika Strona 447

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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);
Przeglądanie stron 446
1 2 ... 442 443 444 445 446 447 448 449 450 451 452 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag