Moxa M-1401 Manual Pagina 62

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 61
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-25
DO2K_GetPowerOnValue
This function code is used to get the power on value for a specific
D/O channel.
C/C++
Arguments
Return Value
int DO2K_GetPowerOnValue ( int hConnection,
BYTE bytChannel,
BYTE * bytValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytValue: A pointer to the power on value of the desired
D/O channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
DO2K_SetPowerOnValue
This function code is used to set the power on value for a specific
D/O channel.
C/C++
Arguments
Return Value
int DO2K_SetPowerOnValue ( int hConnection,
BYTE bytChannel,
BYTE bytValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
bytValue: Stores the power on value of a specific D/O
channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Digital Input/Output Commands for ioLogik E2000
DIO2K_GetIOMode
This function code is used to get specific channel's DI/DO mode.
C/C++
Arguments
Return Value
int DIO2K_GetIOMode ( int hConnection,
BYTE bytChannel,
BYTE * bytMode);
hConnection: The handle for an I/O connection.
bytChannel: The specific channel to be get.
bytMode: A pointer that stores the specific channel's
DI/DO mode. The values are :
0 : INPUT DI mode
1 : OUTPUT DO mode
Succeed MXIO_OK
Fail Refer to Return Codes.
Vista de pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 128 129

Comentarios a estos manuales

Sin comentarios