Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Manuale Utente Pagina 178

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 528
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 177
Chapter 6 Interface API | PCI-DMC-A01 / PCI-DMC-B01
6-6 Revised March, 2012
6.8 _DMC_01_get_master_connect_status
FORMAT
I16 PASCAL _DMC_01_get_master_connect_status (U16 CardNo, U16* Protocol)
Purpose
Retrieves the connection status between the Master Card and the expansion module.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
Protocol U16* Selection
1: No link to module Node1
3: Link with module Node1 normal
4: Link with module Node1 broken
Example
U16 CardNo=0;
U16 Protocol =0;
I16 status = _DMC_01_get_master_connect_status (CardNo, &Protocol);
6.9 _DMC_01_get_mailbox_Error
FORMAT
I16 PASCAL _DMC_01_get_mailbox_Error (U16 CardNo, U32* error_cnt)
Purpose
Retrieves the number of MailBox errors.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
error_cnt U32* Number Unit Value of MailBox error counter
Example
U16 CardNo=0;
U32 error_cnt =0;
I16 status= _DMC_01_get_mailbox_Error (CardNo, &error_cnt);
Vedere la pagina 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 527 528

Commenti su questo manuale

Nessun commento