Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Bedienungsanleitung Seite 160

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 170
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 159
Publication ENET-UM527E-EN-P - October 2006
160 Socket Interface
Troubleshoot Socket
Applications
To help debug and troubleshoot applications, the socket interface
provides a set of web pages, located in the web server’s Advanced
Diagnostics folder.
Debugging Hints and Tips
Web Page Description
Socket Object Diagnostics Displays information about on each existing instance:
Instance number
Socket type – client, server, or listen
Local and remote ports and IP addresses
Send and receive buffer sizes
Socket up time and inactivity time
Socket state and last error state
Socket Object Statistics Displays attribute settings for each instance
Socket Object Log Displays a log of service requests (maximum of 50 log entries):
Service requests made to the socket object
For each request, shows parameters passed and the result of service (success / failure)
You can enable/disable logging for some services by setting Class attribute #8 (Log
Enable). See Socket Object Class Attributes on page 158.
Category Consideration
Web server module Make sure the web server module has a valid IP address. Also, if you communicate with
devices on different subnets, configure the web server with a valid subnet mask and
gateway address.
CreateSocket service Make sure the Destination tag is of type of DINT.
After creating the socket with the CreateSocket service, make sure you use the instance
number that CreateSocket returns in the subsequent socket services you call.
MSG instruction Make sure the Source Element is of a type that matches the request parameters for the
requested service. Also make sure the Source Length is the correct length for the service
parameters.
There is a limit to the number of active MSG instructions in a Logix controller. If a MSG
instruction is enabled and exceeds the maximum number of active MSG instructions, the
MSG instruction receives an error (.ER bit set).
OpenConnection service Make sure the Source Length includes the size of the Timeout parameter + Address Length
parameter + the Length of the address itself.
Seitenansicht 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 169 170

Kommentare zu diesen Handbüchern

Keine Kommentare