Moxa M-1401 Manuel Page 29

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 129
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 128 129

Commentaires sur ces manuels

Pas de commentaire