Moxa M-1401 Manual Pagina 29

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 28
ioLogik MXIO DLL API Reference System Commands Sets
4-4
Ethernet I/O Connect Commands
MXEIO_Init
Initiate the socket, only for windows OS.
C/C++
Arguments
Return Value
int MXEIO_Init ();
None
Succeed MXIO_OK.
Fail Refer to Return Codes.
MXEIO_Exit
To terminates use of the socket, only for windows OS.
C/C++
Arguments
Return Value
int MXEIO_Exit ();
None
None.
MXEIO_Connect
This function establishes a connection to the port of the Ethernet
I/O. Once a connection is established, a handle will be
returned for additional functions.
C/C++
Arguments
Return Value
int MXEIO_Connect ( char *szIP,
WORD wPort,
DWORD dwTimeOut,
int * hConnection);
szIP: IP address of the Ethernet I/O to be
connected.
wPort: TCP port number of Ethernet I/O.
Please use 502 for the ioLogik 4000 and
E2000.
dwTimeOut: Timeout value in milliseconds for
establishing a network connection with th
e
ioLogik Ethernet adapter.
hConnection: Handle of the I/O device connection.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vista de pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 128 129

Comentarios a estos manuales

Sin comentarios