1/24/2012 2:08 AM | |
Joined: 10/7/2005 Last visit: 9/10/2024 Posts: 3020 Rating:
|
Hello Panov69 You have several ways to achieve what you want to achieve and here are some of them: 1.) Assumption:You havethe latestFirmware V3.2 based315 CPUandStep 7 V5.5: You can then do Profinet I/O based "direct data exhange" between them in an "indirect" way. Each of them can be a Profinet I/OController as well as an I/O device (aka I-Device) at thesame time (plus even being a shared Device at the same time, Profinet offers plenty of weird and wonderful constructions, not all of them always sensible, but it depends on the application). This will allow for rather fast "direct data exchange" bewteen all or some of them. Have a look at the SIMATIC PROFINET System Description for more on this (especially chapter 4.7 and 4.8) 2.) S7communciation based usageof GET(_E) and PUT(_E) will also work (and also with pre FW3.2PN CPU's). BSEND/BRCV as well USEND/URCV can also be used. 3.) Open IE comms via TCON, TSEND, TRCV etc. are another possible way 4.) Usage of Componnent based Automation (CBA) for which you'd require iMap though All up, plenty to choose from and below are a few main links which will hopefully help with the evaluation and decision making process (and you'll findmore examples and FAQ's with a search here): S7-300 CPU 31x -- Configuring and programming communication -- Configuring PROFINETinterfaces CPU-CPU communication with SIMATIC controllers (compendium) SIMATIC NET Quick Start Collection examples Questions to answer which will helpnarrowing down possible solutions: 1.) How much data do you want to (or need to) exchange between each CPU? 2.) How fast do you need to update the data? |
Cheers |
|
This contribution was helpful to
3 thankful Users |
1/24/2012 12:01 PM | |
Joined: 11/17/2010 Last visit: 4/2/2024 Posts: 216 Rating:
|
Hello fritz, Thank you for your complete answer. 1) At this time, I need to exchange a fewquantity of data : - Heartbeat between each processor to detect loss of communication in case of optical ring failure. Maybe, I coulddo it by evaluating error statusif I use communication bloc. - 1command to put system in safety position in case of gaz or flame detection. 2) I don't need fast data exchange. See attached the configuration of my network. AllCPU will be in the same project. Composition of HW Config of 0HLA CPU : - All Scalance for diagnostic in user program. - All others CPU as I-Device. Could you advice meto how implement direct exchange data ? Regards. AttachmentCommunication architecture.pdf (341 Downloads) |
This contribution was helpful to
1 thankful Users |
1/25/2012 2:52 AM | |
Joined: 10/7/2005 Last visit: 9/10/2024 Posts: 3020 Rating:
|
Hello Panov69 well, one way would/could be as followed: OHLA CPU: I/O Controller OHLC CPU: I/O Controller and I-Device OHRC,5HLB and 6HLB CPU's:I-device aswell as Shared Device Attached is pic to make sense out of the above. Having said that, just because it is (should be) possible, does not mean that is is the most sensible solution and the configuration of the above will be a bit cumbersome to say the least (and the best starting point for references and examples for this can be found in the previously mentioned manual). As all of these exchanges will take place viaProfinet I/O's, they will be very fast, but will also place a burden on your network which should considered and checked for suiteabilty of this solution and PN update times may need to be adjusted (THIS tool may help with the task). In light of the above and in your case(small amount of data and no need for Profinet RTtypicalupdate times), I'd say you'd be better off to configure S7 connections between the CPU's and employ GET/PUT instead. As for this: As you have F CPU's, I presume you use safety integrated for the safety program, correct? The question then is: Is the above mentioned signal/command a safety relevant one? (I assume it is)? If so, you MUST use safety related communcation for it (see chapter 9 of the SIMATIC Industrial Software SIMATIC Safety - Configuring and Programming for more on this). I hope this helps |
Cheers |
|
Follow us on