1. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
1/18
MPI COMMUNICATIONMPI COMMUNICATION
SIEMENS
SIEMENS
2. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
2/18
SIEMENS
Objectives
- Know Communication Methods.
- Configure GD Communication Files.
3. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
3/18
CP5511
Transmission rate 9.6 kbit/s to 12 Mbit/s
Interfaces 9-pin Sub D socket
for connection to
PROFIBUS
Module format : PCMCIA slot Type II
CP5611
Transmission rate 9.6 kbit/s to 12 Mbit/s
Interface 9-pin Sub-D socket
for connection to PROFIBUS
Module format : PCI card
Space requirements : 1 x PCI slot
CP Used For MPI Comm. With PC & Laptop
SIEMENS
4. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
4/18
Communication
Services
Data Volume
Interfaces
S7-Communication Functions
Up to 22 Byte (S7-300)
Up to 54 Byte (S7-400)
Global Data S7 Basis
Communication
S7 Extended
Communication
Up to 76Byte Up to 16 Byte (S7-300)
up to 64 Byte (S7-400)
MPI MPI MPI
CPs for
PROFIBUS
and Ethernet
MPI Communication Method
SIEMENS
5. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
5/18
- Data communication: 187.5 kbit/s to 12 Mbit/s
- Up to 32 bus nodes and up to 32 active
connections per CPU
- Communication services:
. PG/OP communication functions
. Global data communication for small data
volumes, without a programming
overhead
. S7 Basic communication for small
data volumes up to 76 bytes
MPI Communication
Add.= 1
Add.= 0
Add.= 3
Add.= 2
Add.= 4
Add.= 5
SIEMENS
7. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
7/18
Edit Hardware For The other Station - S7 300
Two station
SIEMENS
8. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
8/18
Edit Hardware For The other Station - S7 300
The address of the CPU for
the other station must have
a different address
SIEMENS
9. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
9/18
Configure The Network
Click on this icon to
edit the network
configuration
SIEMENS
18. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
18/18
SFC
SFC 65
NAME Short Description
X_SEND Send block for sending data to the X_RCV (Client) block
SFC 66 X_RCV Receive block for receiving the data of the X_SEND block
X_GET Read data from the partner PLCSFC 67
X_PUT Write data to the partner PLCSFC 68
X_ABORT Abort existing connectionSFC 69
I_GET Read data from the partner CPUSFC 72
I_PUT Write data to the partner CPUSFC 73
I_ABORT Abort connection to the partner CPUSFC 74
S7 Basic Communication
SIEMENS
20. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
20/18
- Data exchange using MPI, Profibus or Industrial Ethernet
- Configuring the connections via connection table
-The connections are configured during warm restart and exist
permanently (even in STOP mode)
- User data size up to 64 Kbytes
- Communications services also for controlling (Stop, Start) the partner
- SFBs:
- Data can also be read and written by an S7-300 (GET/PUT)
- Different tasks can be handled via one connection
S7 Extended Communication
SIEMENS
21. September 28, 2018SIMATIC S7
SIEMENS LTD EGYPT
21/18
SFB/SFC
SFB 8
NAME Short Description
USEND Send block for sending data to the URCV (Client) block
SFB 9 URCV Receive block for receiving data of the USEND block
BSEND
Send block for sending large data blocks to the BRCV
block (up to 64 KByte)
SFB 12
BRCV
Receive block for receiving large data blocks
(up to 64 Kbyte)
SFB 13
GET Read data from partner PLCSFB 14
Comm. Type
two-sided
two-sided
two-sided
two-sided
one-sided
PUT Write data to partner PLCSFB 15 one-sided
PRINT Send data to remote printerSFB 16 one-sided
START Perform complete restart at the partnerSFB 19 one-sided
STOP Put partner in the Stop stateSFB 20 one-sided
RESUME Perform restart at the partnerSFB 21 one-sided
STATUS
Status scan of the partner
(RUN, STOP, start-up, hold)
SFB 22 one-sided
USTATUS Receive the partner‘s status messagesSFB 23 one-sided
CONTROL Scan the internal status of an S7 connection + SFBSFC 62 ---
S7 Extended Communication
SIEMENS