Moxa M-1401 Manuel Page 12

  • 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 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
Vue de la page 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 128 129

Commentaires sur ces manuels

Pas de commentaire