Moxa M-1401 Handbuch Seite 59

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 58
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-22
Digital Output Commands for ioLogik E2000, R2000
DO2K_GetModes
This function code is used to get the mode of contiguous D/O
channels.
C/C++
Arguments
Return Value
int DO2K_GetModes ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wMode[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
wMode: An array that stores the modes of contiguous
D/O channels. The values are:
0: D/O mode
1: Pulse mode
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
DO2K_SetModes
This function code is used to set the modes of contiguous D/O
channels.
C/C++
Arguments
Return Value
int DO2K_SetModes ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wMode[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
wMode: An array that stores the modes of contiguous
D/O channels. The values are:
0: D/O mode
1: Pulse mode
Succeed MXIO_OK.
Fail Refer to Return Codes.
Seitenansicht 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 128 129

Kommentare zu diesen Handbüchern

Keine Kommentare