Moxa M-1401 Manual Pagina 60

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 128 129

Comentarios a estos manuales

Sin comentarios