Delta-electronics High-Speed PCI 12-Axis Motion Control Card PCI-DMC Manual do Utilizador Página 181

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 180
Chapter 6 Interface API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 6-9
6.14 _DMC_01_get_dio_input
FORMAT
I16 PASCAL _DMC_01_get_dio_input (U16 CardNo, U16* On_Off)
Purpose
Retrieves GPIO input 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_input (CardNo, &On_Off);
6.15 _DMC_01_get_cycle_time
FORMAT
I16 PASCAL _DMC_01_get_cycle_time (U16 CardNo, I32 *time)
Purpose
Retrieves current cycle time for finding/checking devices. Time must be less than 1000 us.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
time I32* Number Time value must be less than 1000
Example
U16 CardNo=0;
I32 taskTime=0;
/* Get device cycle time. Value of taskTime must be less than 1000 */
I16 status= _DMC_01_get_cycle_time (CardNo, &taskTime);
Vista de página 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 527 528

Comentários a estes Manuais

Sem comentários