Entry type: FAQ, Entry ID: 24352751, Entry date: 12/11/2009
(0)
Rate

Which types of connection/protocols do the S7-300/400 CPUs and the CPs support by default?

  • Entry
  • Associated product(s)

Instructions:
You can connect your controller to various subnetworks depending on which S7-300/400 CPU or CP you are using. The following types of connection/protocols can be used for these subnetworks.
  

Subnet

Connection types/Protocols

MPI
(Multiple Protocol Interface)

S7 communication (S7-300 only as a server)
GD communication (global data communication)
S7 basic communication

PROFIBUS

DP distributed I/O
(via an integrated port, CP342-5 and CP443-5 extended)
FMS - Field bus message specification
(via CP343-5 and CP443-5 Basic)
FDL - Field bus data link
(only via PROFIBUS CP)
S7 communication
(S7-300 only as a server1))

Industrial Ethernet / PROFINET

S7 communication
(via an Ethernet CP or integrated PN interface)
ISO transport
(via Ethernet CP)
ISO-on-TCP (via Ethernet CP or an integrated PN interface)
TCP (via Ethernet CP or an integrated PN interface)
UDP (via Ethernet CP or an integrated PN interface)
E-mail
(via Ethernet CP)
FTP (via Ethernet CP)
PROFINET IO (via Ethernet CP or an integrated PN interface)
CBA (via Ethernet CP or an integrated PN interface)
MODBUS TCP(via Ethernet CPs or integrated PN interface, see Entry ID: 22660304 2))

PTP (point-to-point)

RK 512
3964(R)
ASCII
various print drivers
Modbus (RTU) (master/slave) 2)
Data highway DF1 2)
...

1) S7 300: Client functionality only via CP342-5 from FW V5.2
2)
These types of connection/protocol cannot be configured as standard in STEP 7 and must be installed afterwards.

The manuals on the Ethernet or PROFIBUS CPs tell you which communication services they support.
Furthermore, the following entries contain an overview of the communication services for S7-300/400 Ethernet CPs and S7-300/400 CPUs with integrated PN interface.
 

Module

Entry ID

S7-400  Ethernet CPs 15368142
S7-300 Ethernet CPs 16767769
S7-300/400 CPUs with an integrated PN interface 18909487

The "Technical Data" chapter of the manuals on the S7 300/400 CPUs describe which communication services can be used via the integrated interfaces in the controllers:
 

Module

Entry ID

CPU S7 300

12996906

CPU S7 400
(without an
integrated PN interface)

14016796

CPU S7 400
(with an integrated PN interface)

23904550

Note about S7 communication:
The S7-300 supports S7 communication via the FB14/15 "GET/PUT", FB12/13 "BSEND/BRCV" or FB8/9 "USEND/URCV" function blocks. It works via:

  • the integrated PN interface with the function blocks from the Standard Library -> Communication Blocks.
  • CPs with the function blocks from the SIMATIC_NET_CP library.

In the S7-400, data exchange takes place via the SFB14/15 "GET/PUT", SFB12/13 "BSEND/BRCV" or SFB8/9 "USEND/URCV" function blocks. They can be found in the Standard Library -> System Function Block

Note about communication via the integrated PN interface of the CPU:
Data exchange by means of TCP, ISO-on-TCP and UDP protocols takes place via open IE communication. The connection and data exchange are configured via the following communication blocks:

  • UDT 65 "TCON_PAR" with the data structure for assigning parameters to the connection
  • UDT 66 "TCON_ADR" with the data structure of the addressing parameters of the remote partner (UDP)
  • FB 65 "TCON" for establishing the connection
  • FB 66 "TCON" for clearing down the connection
  • FB 63 "TSEND" for transmitting data via TCP and ISO-on-TCP
  • FB 64 "TRCV" for receiving data via TCP and ISO-on-TCP
  • FB 67 "TUSEND" for transmitting data via UDP
  • FB 68 "TURCV" for receiving data via UDP

You can find further information about the programming and use of the individual types of connection in the following manuals.
 

Manual

Entry ID

System software for S7-300/400
System
and standard functions

1214574
S7 basic communication
S7 communication
Open communication via Industrial Ethernet
PROFINET I/O (SFC 14/15 ("DPRD_DAT/DPWR_DAT")

S7-CPs for PROFIBUS
Configuration and commissioning

1158693
SEND/RECEIVE communication via an FDL connection
DP
FMS

S7-CPs for Industrial Ethernet
Configuration and commissioning

8777865
SEND/RECEIVE communication via
ISO-on-TCP, TCP, UDP or ISO transport connection
PROFINET I/O (FC 9/10 "PNIO_SEND/PNIO_RECV")

Information technology in a
SIMATIC S7 with CP 343–1 IT / CP 343–1 IT GX20 and CP 443–1 IT

1172744
FTP, E-MAIL

PROFINET IO
From PROFIBUS DP to PROFINET IO
Programming manual

19289930