Moxa M-1401 Manual Pagina 31

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 30
ioLogik MXIO DLL API Reference System Commands Sets
4-6
MXIO_GetModuleType
This function reports the model name of the network adapter and
I/O modules.
C/C++
Arguments
Return Value
int MXIO_GetModuleType ( int hConnection,
BYTE bytSlot,
WORD * wType);
hConnection: I/O handle for a connection.
bytSlot: Slot number of the I/O to be checked,
from 0 to 32. The ioLogik 4000
network adapter’s slot number is always 0.
This parameter is inactive for ioLogik
E2000 and R2000 I/O.
wType: A pointer to the model name. For the model
name NA-4010, the value would be
0x4010
Refer to the Product Model and ID
Reference Table for more information.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
MXIO_ReadFirmwareRev
ision
This function reports the firmware revision for the ioLogik 4000
(network adapter), E2000, or R2000.
C/C++
Arguments
Return Value
int MXIO_ReadFirmwareRevision ( int hConnection,
BYTE bytRevision[ ] );
hConnection: I/O handle for a connection.
bytRevision: Stores the firmware revision
bytRevision[0] = major (A)
bytRevision[1] = minor (B)
bytRevision[2] = release (C)
bytRevision[3] = build (D)
format is A.B.C.D
Succeed MXIO_OK.
Fail R
e
f
e
r
t
o
R
et
ur
n
ode
s
.
MXIO_ReadFirmwareDate
This function reports the firmware release date for the ioLogik
4000 (network adapter), E2000, or R2000.
C/C++
Arguments
Return Value
int MXIO_ReadFirmwareDate ( int hConnection,
WORD wDate[ ] );
hConnection: I/O handle for a connection.
wDate: Firmware release date. For a firmware
release date of July 5, 2005, Word 0 =
0x0705 and Word 1 = 0x2005.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Vista de pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 128 129

Comentarios a estos manuales

Sin comentarios