Moxa M-1401 Instrukcja Obsługi Strona 60

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 59
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-23
DO2K_GetMode
This function code is used to get the mode of a specific D/O
channel.
C/C++
Arguments
Return Value
int DO2K_GetMode( int hConnection,
BYTE bytChannel,
BYTE * wMode);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wMode: A pointer to the mode of tthe desired D/O
channel. The values are:
0: D/O mode
1: Pulse mode
Succeed MXIO_OK.
Fail R
e
f
e
r
t
o
R
et
ur
n
ode
s
.
DO2K_SetMode
This function code is used to set the mode for a specific D/O
channel.
C/C++
Arguments
Return Value
int DO2K_SetMode ( int hConnection,
BYTE bytChannel,
WORD wMode);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wMode: A pointer to the mode of the desired D/O
channel. The values are:
0: D/O mode
1: Pulse mode
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Przeglądanie stron 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag