Moxa M-1401 Manual Pagina 84

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 83
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-47
AI2K_ReadMaxRaws
This function code is used to read the maximize raw data values
for contiguous A/I channels.
C/C++
Arguments
Return Value
int AI2K_ReadMaxRaws ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wValue[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
wValue: An array that stores the maximize raw data
values for the contiguous A/I channels;
wValue[0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
AI2K_ResetMaxs
This function code is used to reset the maximize values of
contiguous A/I channels.
C/C++
Arguments
Return Value
int AI2K_ResetMaxs ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to be reset.
Succeed MXIO_OK.
Fail Refer to Return Codes.
AI2K_ReadMax
This function code is used to read the maximize value for a
specific A/I channel.
C/C++
Arguments
Return Value
int AI2K_ReadMax ( int hConnection,
BYTE bytChannel,
double * dValue);
hConnection: The handle for an I/O connection.
bytChannel: The specific channels to be read.
dValue: A pointer to the maximize value of the desired
A/I channel. The unit is VDC for the voltage
module, and mA for the current module.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vista de pagina 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 128 129

Comentarios a estos manuales

Sin comentarios