Profibus DP between two S7-1200

So it's either two masters with the DP/DP in the middle or master slave. But what do you mean with "i/o communication"? Don't both PLCs have the same addresses for i/o?
 
Oh, ok, I got to that point. So it wasn't my fault, it's just a wrong configuration. Thanks guys, I was getting mad!
 
Ok, I'll keep this in mind! Now, all I have to do is set up the addresses in the iSlave configuration and then I'm good to go! Right?
 
re Wonderful! Easier than I thought! Thanks!

Edit: One more thing. How do I use the new variables? I set them up in iSlave communication, but can't find them anywhere in the program. For example, I set up a variable called Bit1 at Q2 in the master. Now where can I find it and how do I implement it in the MainOB?
 
Last edited:
You mean the tag table in device configuration? Or which one? And I have to link all the single adresses like I4.0 to Q4.0, 4.1 to 4.1 and so on?
 
From the project tree, go to PLC Tags -> Default tag table

Yes all Q addresses from the master transfer to the I addresses in the slave automatically, same with the I addresses in the master from the Q addresses in the slave (Q4.0 master to I4.0 slave, I2.0 master from Q2.0 slave, for example).

You just reference the addresses, you don't have to transfer anything, it is automatic.
 
Oh, ok, so if I lets say I do something on I4.0 in the slave, it will automatically reflect in the master on !4.0, am I correct? It's like the same variable with two names. Right?
 
Ok, I got the point of the whole thing. It's much easier than I tought, at least on words. Just, can you explain to me what it means that they don't have to be the same name? I can name them differently as long as they have the correct adress? Is it really this "forgiving" the TIA Portal??

P.S. Sir, I'll never come to Canada probably, but if I ever will you have a truck of beers paid!
 
They are 2 separate PLCs with separate tag tables, you have to create the input and output tags on each PLC separately... so they can have the same name or different name. As long as you line up your addresses properly with your code, you're ok.

I'm actually in Bulgaria (read my location a bit closer :) )
 

Similar Topics

Hello, I'm writing my first program for S7-1200 and have some problems with communication between CM 1243-5 and FC302 via profibus dp Is there a...
Replies
2
Views
3,806
Hello Experts, I have two system one ET200S and another CPU 1513- PN which are 300 meters apart. Now i want to share data between these to...
Replies
8
Views
2,469
I am not great with Siemens and Profibus so looking for some advice. I have a project where I need to communicate approximately 20 status words...
Replies
4
Views
1,660
Greetings Can the Profibus network ، Schneider Premium PLC with TSXPBY100 Module was selected as Slave? I'm going SIEMENS PLC (S7-400) as master...
Replies
3
Views
2,353
Hi, I wanted to establish a profibus communication between 2 plcs. One is S7 400 and other is S7 300 plc. Please let me know what is the right...
Replies
2
Views
5,944
Back
Top Bottom