Moxa M-1401 Instrukcja Obsługi Strona 47

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 46
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-10
Cnt2K_GetStartStatuses
This function code is used to get the start statuses of contiguous
D/I channels in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetStartStatuses ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD * dwStatus);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
dwStatus: A pointer to the start statuses of the contiguous
D/I channels; each bit holds the start status of
one channel. A bit value of 0 represents the
status of the start channel. A bit value of 1
represents the second channel’s status. The
values are :
0: stop
1: start
Succeed MXIO_OK.
Fail Refer to Return Codes.
Cnt2K_SetStartStatuses
This function code is used to set the start statuses of contiguous
D/I channels in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_SetStartStatuses ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD dwStatus);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
dwStatus: A pointer to the start statuses of the contiguous
D/I channels; each bit holds the start status of
one channel. A bit value of 0 represents the
status of the start channel. A bit value of 1
represents the second channel’s status. The
values are :
0: stop
1: start
Succeed MXIO_OK.
Fail Refer to Return Codes.
Przeglądanie stron 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag