Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Manual do Utilizador Página 143

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 170
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 142
Publication ENET-UM527E-EN-P - October 2006
Socket Interface 143
Considerations
Use the instance returned by CreateSocket on subsequent service
requests.
Use a MOV instruction to move the instance to another MSG tag (the
.Instance field).
If you use a local port number that is already in use by the web server,
you receive an EADDRINUSE error (see Error Codes section). The
web server uses these port numbers:
20, 21 – FTP
25 – SMTP
80 – HTTP
123 – NTP
161 – SNMP
2222 – EtherNet/IP
44818 – EtherNet/IP
OpenConnection
The OpenConnection service does one of the following:
Opens a TCP connection with the specified destination address
For UDP, associates a destination IP address and port number
with the specified socket
MSG Configuration Parameters
To call this service, click in the MSG instruction and enter the
values displayed below.
Parameter Value
Service Type OpenConnection
Service Code 4c
Class 342
Instance from CreateSocket
Attribute 0
Vista de página 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 169 170

Comentários a estes Manuais

Sem comentários