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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 170
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 151
Publication ENET-UM527E-EN-P - October 2006
152 Socket Interface
where:
MSG Source Length
Specify 16 bytes (Timeout + Addr + BufLen) + number of bytes to
write
MSG Destination Element
The MSG instruction returns the number of bytes that were written.
Specify a DINT tag.
Considerations
See Programming Considerations on page 135 for more information.
Element Data Type Description
Timeout DINT Specify the timeout in milliseconds
ToAddr structure A user-defined structure that specifies the address to write.
Family INT Specify the address family. Must be 2.
Port INT Specify a local port number, or set to 0 (the local port number will be
chosen by the web server). For TCP client operations, specify 0 unless
you want a specific local port number. For TCP server communications,
specify the port number on which to accept incoming connection
requests. For UDP, to receive datagrams on a specific port, you must
specify a local port number.
Addr DINT Specify an IP address. Typically, set to 0 (any address).
BufLen DINT Specify the number of bytes of data to write.
Buf SINT array Specify the data to write.
Seitenansicht 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 169 170

Kommentare zu diesen Handbüchern

Keine Kommentare