Moxa M-1401 Instrukcja Obsługi Strona 72

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 71
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-35
Pulse2K_SetOutputCounts
This function code is used to set the output counts for contiguous
pulse output channels.
C/C++
Arguments
Return Value
int Pulse2K_SetOutputCounts ( int
hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD dwOutputCounts[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
dwOutputCounts: An array that stores the output counts of
the contiguous pulse output chanels;
dwOutputCounts[0] represents the pulse
output count of the starting channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse2K_GetOutputCount
This function code is used to get the output count for a specific
pulse channel.
C/C++
Arguments
Return Value
int Pulse2K_GetOutputCount ( int hConnection,
BYTE
bytChannel,
DWORD * dwOutputCount);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
dwOutputCount: A pointer to the output count for the
desired channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Pulse2K_SetOutputCount
This function code is used to set the output count for a specific
pulse channel.
C/C++
Arguments
Return Value
int Pulse2K_SetOutputCount ( int hConnection,
BYTE bytChannel,
DWORD dwOutputCount);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
dwOutputCount: A pointer to the output count for the
desired channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Przeglądanie stron 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag