Moxa M-1401 Manual Pagina 45

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 44
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-8
Cnt2K_GetOverflow
This function code is used to get the overflow status of a specific
D/I channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetOverflow( int hConnection,
BYTE bytChannel,
BYTE * bytStatus);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytStatus: A pointer to the overflow status of the desired
channel. The values are :
0: Normal
1: Overflow
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Cnt2K_ClearOverflow
This function code is used to clear the overflow status of a specific
D/I channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_ClearOverflow ( int hConnection,
BYTE bytChannel);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Cnt2K_GetFilters
This function code is used to get the filter value of contiguous D/I
channels in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetFilters ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wFilter[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
wFilter: An array that stores the filter values for the
contiguous D/I channels.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vista de pagina 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 128 129

Comentarios a estos manuales

Sin comentarios