Moxa M-1401 Handbuch Seite 60

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 128 129

Kommentare zu diesen Handbüchern

Keine Kommentare