[?]: MPI COMMUNICATION between cpu 413 & cpu 315

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
mogz
Posts: 40
Joined: Sun Apr 15, 2007 8:16 am
Location: Europe

[?]: PLCSIM with 2 S7 300 CPU's exchange Global data via MPI

Post by mogz »

Is it possible to use PLCSIM to a test project where 2 S7 300 CPU's exchange Global data via MPI connection?
I am using S7 ver 5.5 with PLCSIM V5.4 sp4
I have tried and cannot get it to work?
kriztof
Posts: 96
Joined: Fri Nov 16, 2007 3:18 pm
Location: Europe

Re: PLCSIM

Post by kriztof »

No, GD doesn't work with PLCSIM. These are available options for communication between multiple CPU modules:
SFB8 "USEND"
SFB9 "URCV"
SFB12 "BSEND"
SFB13 "BRCV"
SFB15 "PUT"
SFB14 "GET"
SFB19 "START"
SFB 20 "STOP"
SFB 22 "STATUS"
SFB 23 "USTATUS"

https://support.automation.siemens.com/ ... aller=view
maher
Posts: 112
Joined: Fri Aug 29, 2008 8:44 pm
Location: Egypt

[?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by maher »

Hi all
I have got two cpus cpu 413& cpu 315 , I look forward to establish connection between them by using MPI communication ( define global data ) .

I used sfc60 & sfc61 but no transferring occurred , I don't know what is reason ?

are they supported to these sfc ?

please, let me know the right way to configure this network if it possible

from where can I know if my cpu are supported to these sfc ?

I test this by using plcsim that's right or wrong ?

Maher
sania
Site Admin
Posts: 1387
Joined: Sat Aug 13, 2005 6:15 am

Re: [?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by sania »

cpu -> modul information -> perfomance data
maher
Posts: 112
Joined: Fri Aug 29, 2008 8:44 pm
Location: Egypt

Re: [?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by maher »

I looked for SFC60 & SFC61 in the most of CPU 300, but I didn't find it that's right or wrong?
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: [?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by Umencho »

Yes, they are valid only in case of S7-400 CPU. Take a look there http://support.automation.siemens.com/W ... n/21537047 in order to chouse the right functions...

Best regards
maher
Posts: 112
Joined: Fri Aug 29, 2008 8:44 pm
Location: Egypt

Re: [?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by maher »

Umencho wrote:Yes, they are valid only in case of S7-400 CPU. Take a look there http://support.automation.siemens.com/W ... n/21537047 in order to chouse the right functions...

Best regards
According to your link I found the S7 Basic Communication , it has to be supported to all of cpu 300 , but when I go online by using plcsim to check availability of SFC 65 “X_SEND“ SFB 66 “X_RCV by ( performance data ), but I didn't find it in there.

So how is it possible??????????
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: [?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by Umencho »

I just checked in CPU314C and they are there.
I don't know what is wrong in your case.
Online with the CPU and CTRL+D -> Performance Data...
Another confirmation is comming from http://support.automation.siemens.com/W ... en/8861817
maher
Posts: 112
Joined: Fri Aug 29, 2008 8:44 pm
Location: Egypt

Re: [?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by maher »

Could I use pcs library comm in cfc for plc 300 & plc 400 to establish the communication to each other ( fb209 & fb210 )???????????????

Regards,
Maher
Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: [?]: MPI COMMUNICATION between cpu 413 & cpu 315

Post by Umencho »

So, the FB209 SEND_R block represents a simple user interface to SFB 12 "BSEND" and the FB210 REC_R block represents a simple user interface to SFB 13 "BRCV". Pay attention there because SFB12&13 are available only in case of S7-400
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