Moxa M-1401 Instrukcja Obsługi Strona 12

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 11
ioLogik MXIO DLL API Reference Programming Flow
2-2
Connecting to a Single Ethernet I/O
The MXIO Linux Library establishes a data tunnel using Modbus commands to communicate with
the Ethernet I/O. Access is usually established using TCP port number 502.
ioLogik 4000 remote I/O
IP: 192.168.8.1
Port: 502
ioLogik E2000 Ethernet I/O
IP: 192.168.8.1
Port: 502
Three steps are required to access remote I/O data using the MXIO Linux Library.
1. Use MXEIO_Connect to connect to the Ethernet I/O using IP:Port (e.g., 192.168.8.1:502).
MXEIO_Connect should return a handle.
2. Use the handle to access the desired I/O point with Modbus commands or direct I/O
commands.
3. To finish the operation, use MXEIO_Disconnect to release Windows system resources.
Program Flow I.
Connecting to a Single Ethernet I/O
MXEIO Connect
Direct I/O
Command Sets
Modbus Command Sets
MXEIO Disconnect
Przeglądanie stron 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 128 129

Komentarze do niniejszej Instrukcji

Brak uwag