7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-229
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Reserved Port Numbers
The following local port numbers are reserved; you should not use these for other
purposes in the connection project engineering.
Table 7-8 Reserved Port Numbers
Protocol
Port number Service
TCP 20, 21 FTP
TCP 25 SMTP
TCP 80 HTTP
TCP 102 RFC1006
TCP 135 RPC -DCOM
UDP 161 SNMP_REQUEST
UDP 34964 PN IO
UDP 65532 NTP
UDP 65533 NTP
UDP 65534 NTP
UDP 65535 NTP
Condition Codes
The following table shows the condition codes formed by the DONE, ERROR and
STATUS parameters that must be evaluated by the user program.
Table 7-9 Condition Codes for FB55 IP_CONFIG
DONE ERROR STATUS Meaning
General codes relating to job execution
10 0000H Job completed without errors
00 8181H Job active
Errors detected on the interface between CPU and CP.
01
80A4H Communication error on the K-bus
or
Data error: Configuration by the user program is not set.
01 80B1H The amount of data to be sent exceeds the upper limit permitted for this
service. (upper limit = 16 Kbytes)
01 80C4H Communication error
The error can occur temporarily; it is usually best to repeat the job in the
user program.
01 80D2H Configuration error
The module you are using does not support this service.
FB55 IP_CONFIG - continued