How do you configure a specified and an unspecified S7 connection for data exchange between S7-300 and/or S7-400 by way of Industrial Ethernet CPs?
You can use the S7 communication through S7 connections, among others, for data exchange by way of the Industrial Ethernet CPs of S7-300 and S7-400.
Below we describe how to configure a specified and an unspecified S7 connection for sending and receiving data by way of an Industrial Ethernet CP of S7-300 and S7-400.
S7_Connection_en.pdf ( 2722 KB )
The function blocks and system functions below are called in the user program of the CPU for sending and receiving data by way of the configured S7 connection.
The Entry IDs below contain sample programs for programming the function blocks and system functions in the user program of S7-300 and S7-400 for sending and receiving data by way of a configured S7 connection.
- FB/SFB8 "USEND" and FB/SFB9 "URCV": 18516417
- FB/SFB12 "BSEND" and FB/SFB13 "BRCV": 18516182
- FB/SFB14 "GET" and FB/SFB15 "PUT": 18610307 and 1819293.
More information about communication over the Industrial Ethernet with S7-300 and S7-400 is available in the entries below.
|26483647||What properties, advantages and special features does the S7 protocol offer?|
|30564821||Functions (FC) and Function Blocks (FB) for SIMATIC NET S7 CPs Programming Manual|
|44240604||System and Standard Functions for S7-300/400 Volume 1 and Volume 2|
|24352751||Which types of connection/protocols do the S7-300/400 CPUs and the CPs support by default?|