Moxa M-1401 Manual Pagina 90

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 89
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-53
AO_WriteRaws
This function code is used to write the raw data values for
contiguous analog output channels.
C/C++
Arguments
Return Value
int AO_WriteRaws ( int hConnection,
BYTE bytSlot,
BYTE bytStartChannel,
BYTE bytCount,
WORD wValue[ ]);
hConnection: The handle for an I/O connection.
bytSlot: Slot number of the I/O module, from 1 to 32.
This parameter is inactive for the ioLogik
E2000 and R2000.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to write.
wValue: An array that stores raw data values for the
contiguous analog output channels. wValue[0]
represents the value of the starting analog
output channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
AO_ReadRaw
This function code is used to read the raw data value of a specific
analog output channel.
C/C++
Arguments
Return Value
int AO_ReadRaw ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
WORD * wValue);
hConnection: The handle for an I/O connection.
bytSlot: Slot number of the I/O module, from 1 to 32.
This parameter is inactive for the ioLogik
E2000 and R2000.
bytChannel: The desired channel.
wValue: A pointer to the raw data value of the desired
analog output channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vista de pagina 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 128 129

Comentarios a estos manuales

Sin comentarios