Moxa M-1401 Instrukcja Obsługi Strona 52

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 51
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-15
Cnt2K_GetPowerOnValue
This function code is used to get power on values when specific
D/I channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetPowerOnValue ( int hConnection,
BYTE bytChannel,
BYTE * bytValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytValue: A pointer to the power on value for specific
channel. The values are:
0: OFF
1: ON
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Cnt2K_SetPowerOnValue
This function code is used to set the power on value of a specific
D/I channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_SetPowerOnValue ( int hConnection,
BYTE bytChannel,
BYTE bytValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytValue: Stores the power on value for the desired
channel. The values are:
0: OFF
1: ON
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Przeglądanie stron 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag