Moxa M-1401 Manual Pagina 75

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 74
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-38
Pulse2K_SetStartStatus
This function code is used to set the start status for a specific pulse
channel.
C/C++
Arguments
Return Value
int Pulse2K_SetStartStatus ( int hConnection,
BYTE bytChannel,
BYTE bytStatus);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytStatus: Stores the start status of the desired channel.
The values are :
0: stop
1: start
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Pulse2K_GetPowerOnValues
This function code is used to get the power on values for
contiguous pulse channels.
C/C++
Arguments
Return Value
int Pulse2K_GetPowerOnValues ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD * dwValue);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
dwValue: A pointer to the power on values of the
contiguous pulse channels; each bit holds the
value of one channel. A bit value of 0
represents the power on value of the start
channel. A bit value of 1 represents the value
of the second pulse channel. The values are:
0: stop
1: start
Succeed MXIO_OK.
Fail Refer to Return Codes.
Vista de pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 128 129

Comentarios a estos manuales

Sin comentarios