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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 528
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 179
Chapter 6 Interface API | PCI-DMC-A01 / PCI-DMC-B01
6-8 Revised March, 2012
6.12 _DMC_01_set_dio_output
FORMAT
I16 PASCAL _DMC_01_set_dio_output (U16 CardNo, U16 On_Off)
Purpose
Sets GPIO output pin status.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
On_Off U16 Selection
0: Disable
1: Enable
Example
U16 CardNo=0;
U16 On_Off =1;
I16 status= _DMC_01_set_dio_output (CardNo, On_Off);
6.13 _DMC_01_get_dio_output
FORMAT
I16 PASCAL _DMC_01_get_dio_output (U16 CardNo, U16* On_Off)
Purpose
Retrieves GPIO output pin status.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
On_Off U16* Selection
0: Disable
1: Enable
Example
U16 CardNo = 0;
U16 On_Off = 0;
I16 status = _DMC_01_get_dio_output (CardNo, &On_Off);
Vedere la pagina 179
1 2 ... 175 176 177 178 179 180 181 182 183 184 185 ... 527 528

Commenti su questo manuale

Nessun commento