CNET CWC-854 Manual do Utilizador Página 91

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 109
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 90
ThinkCore IA241/240 Linux User’s Manual Programmer’s Guide
6-9
to except the error signal. If you set to zero, it will not detect the duration time. You can set 40 ms
to 3600000 ms by increase 20 ms.
Output
OK will be zero.
DIN_EVENT_HIGH_TO_LOW
Digital Input Signal
duration
int get_din_event(int diport, int *mode, long int *duration)
Description
Get the set event for digital input port.
Input
int diport - the digital output port number. It is 0 to 3.
int *mode - Save the set event.
long int *duration - Save the set duration time value.
Output
OK will be zero.
Special Note
Don’t forget to link the library libmoxalib & libpthread for DI/DO programming, and also
include the header file moxadevice.h. The DI/DO library only can be used by one program at a
time.
Vista de página 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 108 109

Comentários a estes Manuais

Sem comentários