Moxa M-1401 Manual Pagina 99

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 98
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-62
AO2K_GetPowerOnRaws
This function code is used to get the power on values of
contiguous A/O channels in raw data format.
C/C++
Arguments
Return Value
int AO2K_GetPowerOnRaws ( 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 power on values of the
contiguous A/O channels in raw data format.
wValue[0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
AO2K_SetPowerOnRaws
This function code is used to set the power on values of
contiguous A/O channels in raw data format.
C/C++
Arguments
Return Value
int AO2K_SetPowerOnRaws ( 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 set.
wValue: An array that stores the power on values of
contiguous A/O channels in raw data format.
wValue [0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail
Refer
t
o
Ret
ur
n
ode
s
.
AO2K_GetPowerOnRaw
This function code is used to get the power on value of a specific
analog output channel in raw data format.
C/C++
Arguments
Return Value
int AO2K_GetPowerOnRaw ( int hConnection,
BYTE bytChannel,
WORD * wValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wValue: A pointer to the power on value for the desired
channel in raw data format.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vista de pagina 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 128 129

Comentarios a estos manuales

Sin comentarios