Technical Forum

Communication / Networks

Connecting (30) S7-1200 DP slaves to one S7-1200 Master

Thread Starter: AutoMaster   Started: 5/1/2012 10:22 AM   Replies: 12

« Previous thread Next thread »
12» Page 1 of 2 (13 items)
  5/1/2012, 10:22 AM
Joined 12/20/2010
Last visit: 2/28/2013
Posts: 21
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) 
Hi,

I have project with the following config. :
One S7-1200 Master must communicate with (30) slaves of S7-1200 CPUs using Profibus-DP network.

I'm planning to add (3) Profibus-DP Master modules: CM 1243-5 at the left of master CPU.

Each Master CM will be connected to (10) DP slaves modules CM 1242-5 at each slave CPU.
So: 3 ( CM Master) x 10 ( CM Slaves) = 30 Slaves.  cool

According to the manuals, each master CM module will able to communicate with max:
16 - [ 2 (The other two CM masters) - 1 (Profinet port at master CPU) ] = 13 slaves

Q1: Is this configuration correct ?

Q2: If this config ok, can you send me link/document about how to config. Cyclic communication in the TIA software between the master and the slaves ?

Thanks in advance.
Top
  5/1/2012, 10:55 AM
Joined 12/22/2006
Last visit: 5/18/2013
Posts: 1295
Rating:
Rated: Excellent [4.01 out of 5 / rated 151 time(s)]. (151) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

In the manual of the CM (http://support.automation.siemens.com/WW/view/en/49851842)
it
is stated at page 9:
"For the constellation STEP 7 V11.0 and CPU firmware V2.0, resources are available for a

maximum 16 DP slaves in total per station."

This is a limit per station, not per CM!! Rnf:lblSmileyTooltip_


Best regards
jklm

Suggestion was helpful? Thanks to rate it.
Top
  5/1/2012, 11:18 AM
Joined 12/20/2010
Last visit: 2/28/2013
Posts: 21
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 jklm,

Thanks a lot for your advise. (although its bad new for me!  
cry)

The reason I decide to use Profibus network is that there is slaves 2 Km & 4 Km far from the master station... and as far as i know, the max segment in profinet is only 100 m !

Is there any solution to my required network using profinet ?
(may be using repeaters
Rnf:lblSmileyTooltip_ )

Thanks again.
Top
  5/1/2012, 11:32 AM
Joined 12/27/2007
Last visit: 5/10/2013
Posts: 251
Rating:
Rated: Very Good [2 out of 5 / rated 4 time(s)]. (4) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
you can use a distributed S7 1200-S7 1200 communication system....it works fine...

Regards,
Prats
Top
  5/1/2012, 12:02 PM
Joined 12/20/2010
Last visit: 2/28/2013
Posts: 21
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) 
Hi Prats,

I have no problem with using S7-1200  <==>  S7-1200 communication ...

But the problem is the distance limit of Profinet to only 100 m while I need 4 Km !
Top
  5/1/2012, 12:26 PM
Joined 4/24/2006
Last visit: 5/22/2013
Posts: 4674
Rating:
Rated: Excellent [4.12 out of 5 / rated 428 time(s)]. (428) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

Think about the Fiber optic solution, when you want long distance

Best regards,

Wizard
Top
  5/1/2012, 12:51 PM
Joined 12/22/2006
Last visit: 5/18/2013
Posts: 1295
Rating:
Rated: Excellent [4.01 out of 5 / rated 151 time(s)]. (151) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

Have a look to the familiy XB000 of switches:
http://support.automation.siemens.com/WW/view/en/32983806

There are copper models, and models with fiber optic (XB004-1).

Pay attention that the number of PNIO devices supported by a S7-1200 as controller has also limits. Extract of the system manual of S7-1200 V2.0: "extract of the For PROFINET and PROFIBUS, the CPU supports a total of 16 devices.  As an IO controller using PROFINET RT, the S7-1200 communicates with up to 8 PN devices on the local PN network or through a PN/PN coupler (link).".
 
And this is also true for S7 connections.
Extract of the system manual:

Number of asynchronous communication connections supported

- 3 CPU-to-CPU S7 connections for server GET/PUT data

- 8 CPU-to-CPU S7 connections for client GET/PUT data




=== Edited by jklm @ 5/1/2012 1:31 PM [GMT ] ===
system limitations added

=== Edited by jklm @ 5/1/2012 12:56 PM [GMT ] ===



Best regards
jklm

Suggestion was helpful? Thanks to rate it.
Top
  5/1/2012, 1:05 PM
Joined 12/20/2010
Last visit: 2/28/2013
Posts: 21
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 jklm,

I have another idea for this configuration ...

Let's suppose that the DP address of master station is 32
Now I will distribute the addresses of 30 slaves like this:

Group #1: addresses range 1 ~ 10
Group #2: addresses range 11 ~ 20
Group #3: addresses range 21 ~ 30

- Now, I will provide stations 1,11,21 with two DP CM modules..
[1] CM 1242-5 slave DP to communicate with the master station #32 as slave.
[2] CM 1243-5 master DP to communicate with the rmaining stations in the group
      (ex. station 1 will be master of stations 2 ~10)

- All sub stations (2~10, 12~20, 22~30) will have CM 1242-5 slave DP only.

- The master station #32 will have one master DP CM 1243-5 module to communicate with the stations 1, 11, and 21.

- This way, the data of stations 2~9 will be transfered to station #1 and then to master station #32
And the same thing is applied to stations groups 2 and 3.

Is this solution correct ?

Thanks in advance.

Top
  5/2/2012, 8:27 AM
Joined 3/5/2010
Last visit: 5/18/2013
Posts: 97
Rating:
Rated: Excellent [4.5 out of 5 / rated 2 time(s)]. (2) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
AutoMaster

I think the implementation that you intend to use is impossible.
If I understand correctly, you want to install three Profibus Master modules (CM 1243-5) to one CPU.

Unfortunatelly as stated at the CM 1243-5 manual page 25, paragraph 4.1:
"You can configure a maximum of three CMs/CPs per station, of which only one may be a DP
master (CM 1243-5)."

 
If you try adding three CM1243-5 modules on CPU, step7 will not compile the setup.

Further to that, without knowing the application and the number of IO my feeling is that if you have 30 slave plcs then it is quite an extended application with quite an extended programm. Assuming you use a 1214 CPU, are you sure that the 50kB of program memory are enough for your application? If the application is extended with lots of IO and with the prospect to grow, then you may have to consider moving up a notch and using a more powerfull and extendable platform like the 300.

Regards
Top
  5/2/2012, 4:51 PM
Joined 2/16/2011
Last visit: 5/17/2013
Posts: 222
Rating:
Rated: Excellent [4.07 out of 5 / rated 15 time(s)]. (15) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
AutoMaster wrote:
Hi Prats,

I have no problem with using S7-1200  <==>  S7-1200 communication ...

But the problem is the distance limit of Profinet to only 100 m while I need 4 Km !

Max distance Profibus is 1Km you will have tu use repeaters one repeater each 1 kilometer.

What about more than 16 slaves, you can distribute the masters, like link 3 master throw DP/DP coupler module to exchange masters data and each master with 16 slaves you will have 48 slaves blink

Regards

Gabriel de Oliveira
It Works? Rate It.
Top
12» Page 1 of 2 (13 items)
Actions