Moxa M-1401 Handbuch Seite 47

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 128 129

Kommentare zu diesen Handbüchern

Keine Kommentare