Technical Forum

SIMATIC Panel

S7200 and TP177B or TP177A communication

Thread Starter: Muthkrish   Started: 1/19/2009 5:08 PM   Replies: 6

« Previous thread Next thread »
Page 1 of 1 (7 items)
  1/19/2009, 5:08 PM
Joined 1/16/2008
Last visit: 6/6/2014
Posts: 34
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Dear Sir

Can TP177A or TP177B communicate with two numbers of S7200 - CPU226 which configured as a master and slave cpu on MPI network.

If yes please find the attached program screens and guide me any changes in the configuration.

Thanks and regards

Muthukrishnan
A&D-CCR Coimbatore

Attachment: PLC_screen.pdf  (144 Downloads)

Top
  1/19/2009, 5:28 PM
Joined 9/11/2006
Last visit: 5/16/2013
Posts: 37
Rating:
Rated: Outstanding [4 out of 5 / rated 1 time(s)]. (1) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 


For the S7-200s you have to have the HMI be the master for WinCC to work.

To attach more than one PLC via MPI and to share data between the PLCs you need to setup a back channel communications protocol in your tag database on WinCC. By this I mean you need to run all communications between the PLCs through the HMI. To do this setup the tags you need to share in WinCC tag database on both PLCs. Then on the trigger PLC (where the data originates) make sure the tag has the SET VALUE event linked to the other tag on the CHANGE VALUE trigger. Then make sure you include the tag on an active screen, there is not much logic here but it is the only way that WinCC will ensure the data transfer on compile (if a tag is not used in compile then it is not included).

For example in my application where I have this setup:

Pressure originates in PLC 1
PLC 2 is the network PLC to communicate to other devices

In the HMI I have a tag for Pressure_PLC1 and Pressure_PLC2
Pressure_PLC1 is the original data so the HMI have an output display for Pressure_PLC1. In Pressure PLC1 under Events the SetValue trigger is enabled with Tag(Out)=Pressure_PLC2 and Value=Pressure_PLC1

When the Pressure changes in PLC1 the tag value changes and it writes the data to PLC 2. It is not elegant but it does work for what you were describing. In the TP177 you have 1000 tags to use so it can work if your communications are efficient.

This lets the HMI control both PLCs while transferring data between the two.

I hope this gives you some ideas.

Regards

Eric

Top
  1/19/2009, 5:50 PM
Joined 1/16/2008
Last visit: 6/6/2014
Posts: 34
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Thank you Mr.Eric

I have doubt in communication settings, i am configuring one CPU as a master and another as a slave, if i use same configuration and same program with OP77A it started working but same network system is not working with TP177B

Regards

Muthulee



=== Edited by MuthuLee @ 1/19/2009 5:51 PM [GMT ] ===


Top
  1/19/2009, 5:57 PM
Joined 9/11/2006
Last visit: 5/16/2013
Posts: 37
Rating:
Rated: Outstanding [4 out of 5 / rated 1 time(s)]. (1) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Both PLCs need to be slaves when on the same network as the TP177. That makes the way it cycles through communications between the PLCs kind of tough so you have to frame your program around the limitations of the MPI structure from the TP177.

Having the tags trigger though the HMI will work, but it is not a conventional system, and it takes a good bit of extra work to do it. For lack of a better way to describe it...it makes your HMI program on WinCC a real pain in the butt.

Top
  1/19/2009, 6:03 PM
Joined 1/16/2008
Last visit: 6/6/2014
Posts: 34
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
erblaha wrote:

Both PLCs need to be slaves when on the same network as the TP177. That makes the way it cycles through communications between the PLCs kind of tough so you have to frame your program around the limitations of the MPI structure from the TP177.

Having the tags trigger though the HMI will work, but it is not a conventional system, and it takes a good bit of extra work to do it. For lack of a better way to describe it...it makes your HMI program on WinCC a real pain in the butt.



But why the same network configuration working with OP77A ....why not with TP177B
Top
  1/20/2009, 8:16 AM
Joined 7/24/2006
Last visit: 11/24/2014
Posts: 2211
Rating:
Rated: Outstanding [3.78 out of 5 / rated 285 time(s)]. (285) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi,

here is a link to a special FAQ for this case. As you can see a TP177B can connect to max. 4 S7-200 PLC's via MPI. But at the end of the first table you will find a note than an MPI-Master can normal not connect to a PPI-Master.

But at least one S7-200 PLC has to be PPI-Master because you exchange data between the S7-200 PLC's also.

PPI would help in the TP177B but in PPI only one PLC connection is possible.

I hope this helps.

Regards

Helmut
Top
  1/20/2009, 8:54 AM
Joined 5/28/2008
Last visit: 6/23/2014
Posts: 900
Rating:
Rated: Outstanding [3.44 out of 5 / rated 128 time(s)]. (128) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello together,

I think Helmut forgot the Link:

here it is... http://support.automation.siemens.com/WW/view/de/14188898

regards
manfred
Top
Page 1 of 1 (7 items)
Actions