show the entry list
Industrial Ethernet S7-300/400 CPs -- Product information -- System description (protocols)
What are the differences between OPEN MODBUS / TCP Redundant V1 and OPEN MODBUS / TCP Redundant V2?
What should you watch out for when you enable the "SNMP" function in the configuration of the security module?
Which security modules support dynamic DNS and can use it to communicate with each other?
What should you watch out for when enabling and using the security functions of CP343-1 Advanced and CP443-1 Advanced?
What should you watch out for when upgrading from previous modules to the successor module CP443-1 or CP443-1 Advanced?
How do you verify the authenticity of the Siemens modules CP343-1 and CP443-1?
What should you watch out for when operating a port of CP343-1, 6GK7343-1CX10-0XE0 and 6GK7343-1EX30-0XE0 with firmware V2.1 or higher, with 10 Mbit/s half duplex?
Which IO controllers and IO devices support the following functions: IRT, prioritized startup, MRP, PROFIenergy, Shared device, I device and clock-synchronized mode?
Where do you procure the firmware extension for the CP 343-1 ERPC for database connection?
Which SIMATIC S7-300/S7-400 modules support the NTP time-of-day message and how do you activate this kind of time synchronization?
Which modules can you use when implementing software redundancy?
Which types of connection/protocols do the S7-300/400 CPUs and the CPs support by default?
Which PROFINET nodes support automatic commissioning and the replace device without interchangeable medium function?
Which PROFINET nodes support the extended PN diagnostics and what do you have to configure?
Using C-PLUG with network components and SIMATIC CPs
What properties have the communication services and protocols that can be used in the Industrial Ethernet network?
Behavior of the communication processors during data transfer via TCP connections without RFC 1006
What should you watch out for with the ICMP Redirect (Internet control message protocol) function regarding the IP address of the router used for Industrial Ethernet CPs?
What should you pay attention to with the autonegotiation function for negotiating the LAN mode in Industrial Ethernet CPs?
What is the connection between subnet masks and IP addresses with regard to subnetting and supernetting (Classless Inter Domain Routing CIDR)?
What are the requirements for using the S7 routing function and which modules can you implement?
In the case of open TCP/IP communication via Industrial Ethernet using T blocks with IE CPs and CPUs, why are different amounts of messages sent when the maximum length of 1452 bytes of user data is transferred?
What properties, advantages and special features does the ISO protocol offer?
What properties, advantages and special features does the UDP protocol offer?
What properties, advantages and special features does the ISO-on-TCP protocol offer?
What properties, advantages and special features does the S7 protocol offer?
What properties, advantages and special features does the TCP protocol offer?
What are the requirements for disabling the PROFINET CBA interface for CP443-1EX40?
"Time Wait" with TCP connection setup
What are the different data block lengths for the various protocols of Send/Receive communication?
What is RFC1006 and what do I need this service for?
Meaning and function of the "Keep Alive" in TCP connections
PROFIBUS S7-300/400 CPs -- Product information -- System description
What is the difference between "normal routing" and data record routing?
Which modules can you use when implementing software redundancy?
What are the functional restrictions of old releases and firmware versions for the S7-400 CPUs operating in conjunction with the CP443-5 Extended V6.1?
Which types of connection/protocols do the S7-300/400 CPUs and the CPs support by default?
Which SIMATIC S7 modules support the "Direct Data Exchange" function (internode communication)?
Meaning of the numeric display in the NCM diagnostics buffer
Which protocols does CP 342-5 support?
Different block behavior of the FC5 and FC50 for Ind. Ethernet S7 300 CPs
What are the requirements for using the S7 routing function and which modules can you implement?
What properties, advantages and special features does the DP protocol offer?
What properties, advantages and special features does the FMS protocol offer?
What properties, advantages and special features does the S7 protocol offer?
What properties, advantages and special features does the FDL protocol offer?
What properties, advantages and special features does the S7 protocol offer?
Part number:

Description:
All SIMATIC S7 and C7 controllers have integrated S7 communication services with which the user program can read and write data. The S7-400 controllers use SFBs, the S7-300 and C7 controllers use FBs. These functions are available to you regardless of the bus system used, so that you can use S7 communication via Industrial Ethernet, PROFIBUS or MPI.

The S7 Protocol can be inserted as follows in the ISO-OSI reference model:

( 46 KB )
Fig. 01 - Position in the ISO-OSI reference model

S7 protocol services:
 
Services Description
PUT / GET A unidirectional read/write service for transferring small volumes of data to and from a station.
USEND / URCV A bidirectional uncoordinated service for transferring medium-sized volumes of data between two stations.
BSEND / BRCV A bidirectional block-oriented service for transferring large volumes of data between two stations.

Service properties:
The S7 protocol permits transfer of data from 1 byte to 64 Kbytes. The volume spectrum depends on the service and hardware used.
 
Service / Properties BSEND / BRCV USEND / URCV PUT / GET
Max. data length
S7-300 / S7-400
32 KB / 64 KB 1) 160  bytes / 440 bytes 2) 160  bytes / 400 bytes 2)
Possible address ranges
S7-300 / S7-400
M, D/M, T, C, I, Q, D M, D/M, T, C, I, Q, D M, D/M, T, C, I, Q, D
Data consistency
S7-300 / S7-400
Total length per job  4) Total length per job  4) 8-32 bytes / 32 bytes to total length 3,4)
Communication concept Client / Client Client / Client Client / Server
Max. number of connections  See CPU specification See CPU specification See CPU specification
Blocks
S7-300 / S7-400
FB/SFB 12 "BSEND"
FB/SFB 13 "BRCV"
FB/SFB 8 "USEND"
FB/SFB 9 "URCV"
FB/SFB 15 "PUT"
FB/SFB 14 "GET"
1) Corresponds to the max. length of a data block of the system concerned in each case.
2) Corresponds to the total volume of user data for the SFB / FB in the case of Industrial Ethernet.
3) Depending on the CPU used.
4) In the user program you must make sure that the data block is not modified during data transfer.

Advantages of the S7 protocol:

  • Independent of the bus medium (PROFIBUS, Industrial Ethernet (ISO or TOP), MPI).
  • Can be used on all S7 data areas.
  • Transfer of up to 64Kbytes in one job.
  • Level 7 protocol ensures automatic acknowledgment of the data records.
  • Low processor and bus load during transfer of large volumes of data, because it is optimized for SIMATIC communication.

The S7 protocol is supported by all available S7 controllers and communication processors. Furthermore, PC systems with appropriate hardware and software support communication via the S7 protocol.

Notes:

  • Entry ID 20987358 provides a complete example of S7 communication with BSEND/BRCV via PROFIBUS.
  • General information on communication via SIMATIC S7 is available in Entry ID 20982954.

 Entry ID:26483647   Date:2007-09-24 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour