Moxa M-1401 Instrukcja Obsługi Strona 42

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 41
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-5
DI2K_SetFilters
This function code is used to set the filter of contiguous D/I
channels.
C/C++
Arguments
Return Value
int DI2K_SetFilters ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wFilter[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
wFilter: An array that stores the filter values of the
contiguous D/I channels. wFilter [0] represents
the value of the starting channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
DI2K_GetFilter
This function code is used to get the filter of a specific D/I
channel.
C/C++
Arguments
Return Value
int DI2K_GetFilter ( int hConnection,
BYTE bytChannel,
WORD * wFilter);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wFilter: A pointer to the filter value of the desired D/I
channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
DI2K_SetFilter
This function code is used to set the filter of a specific D/I
channel.
C/C++
Arguments
Return Value
int DI2K_GetFilter ( int hConnection,
BYTE bytChannel,
WORD wFilter);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wFilter: A pointer to the filter value of the desired D/I
channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Przeglądanie stron 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag