Moxa M-1401 Manual Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 33
ioLogik MXIO DLL API Reference System Commands Sets
4-9
Adp4K_ClearStatus
This function code is used to clear the status of the ioLogik 4000
adapters.
C/C++
Arguments
Return Value
int Adp4K_ClearStatus ( int hConnection);
hConnection: The handle for an I/O connection.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Adp4K_ReadFirmwareDate
This function code is used to read the firmware release date.
C/C++
Arguments
Return Value
int Adp4K_ReadFirmwareDate ( int hConnection,
WORD wDate[ ]);
hConnection: The handle for a connection.
wDate: An array that stores the firmware release
date. For a firmware release date of July 5,
2005, wDate[0] will be 0X0705 and
wDate[1] will be 0X2005.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Adp4K_ReadSlotAmount
This function code is used to read the number of expansion slots.
C/C++
Arguments
Return Value
int Adp4K_ReadSlotAmount ( int hConnection,
WORD *wAmount);
hConnection: The handle for a connection.
wAmount: A pointer to the number of expansion slots.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Adp4K_ReadAlarmedSlot
This function code is used to read the number of expansion slots.
C/C++
Arguments
Return Value
int Adp4K_ReadAlarmedSlot ( int hConnection,
DWORD *dwAlarm);
hConnection: The handle for a connection.
dwAlarm: A pointer to the Alarm slot list. The
corresponding bit represents slot position.
The wAlarm bit 0 is represented by the first
slot and bit 31 is represented by the last slot.
The values are:
0: Normal slot.
1: Alarm slot.
Succeed MXIO_OK.
Fail
Refer
t
o
Ret
ur
n
ode
s
.
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 128 129

Comentarios a estos manuales

Sin comentarios