Moxa M-1401 Instrukcja Obsługi Strona 29

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag