Technical Forum

Decentral Peripherie

Master / Slave

Thread Starter: Sina.Saffaran   Started: 8/1/2012 9:12 AM   Replies: 6

« Previous thread Next thread »
Page 1 of 1 (7 items)
  8/1/2012, 9:12 AM
Joined 7/23/2012
Last visit: 9/1/2012
Posts: 10
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 all
i have a S7-400 as master and a S7-300 as slave
i want to use S7-300's output as input in S7-400
how can i do it
please help me
tnxlaugh
Top
  8/1/2012, 9:26 AM
Joined 4/22/2010
Last visit: 5/17/2013
Posts: 3186
Rating:
Rated: Excellent [4.11 out of 5 / rated 295 time(s)]. (295) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

What communication type you want to use?
For profibus have a look at

https://www.automation.siemens.com/mcms/sce/en/advanced_training/training_material/download_training_material/d_industrial_field_bus_systems/Pages/Default.aspx


Regards,

Marcjan



=== Edited by Marcjan @ 8/1/2012 12:53 PM [GMT ] ===


=== Edited by Marcjan @ 8/1/2012 12:47 PM [GMT ] ===



Problem solved?
Please let us know!

Please no technical questions by PM, use the forum!
Top
  8/1/2012, 11:17 AM
Joined 7/23/2012
Last visit: 9/1/2012
Posts: 10
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 Marcjan
yes, my communication type is profibus
i had alook at your link
i want to know about how i program to have a slave's output as input in master system
Regards



=== Edited by Sina.Saffaran @ 8/1/2012 11:19 AM [GMT ] ===


Top
  8/1/2012, 12:50 PM
Joined 4/22/2010
Last visit: 5/17/2013
Posts: 3186
Rating:
Rated: Excellent [4.11 out of 5 / rated 295 time(s)]. (295) 
Users with special expertise supervising conferences
Rated: Outstanding [4 out of 5 / rated 1 time(s)]. (1) 
Hello,

Sorry my link wasn't working, corrected that.
If you download module D6, you can see how it's done for 2 S7-300 PLC's step by step.
will be pretty mutch the same for a 400-300 combination.
There is even an example project.

regards

Marcjan

Attachment: d06_cpu315_cpu315.pdf  (22 Downloads)



=== Edited by Marcjan @ 8/1/2012 1:04 PM [GMT ] ===
some trouble with the link, attached tutorial


Problem solved?
Please let us know!

Please no technical questions by PM, use the forum!

Top
Thank you for this post from:
  8/3/2012, 12:45 AM
Joined 7/23/2012
Last visit: 9/1/2012
Posts: 10
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 Marcjan
i have to thank you because of your helpful link
i have one more question about the address we select in configuration window, is it a joint address between Master station and Slave?
i mean, could i use this address in Slave and Master
for instance, if i wanna use Slave's output 0 as an input in Master, i must transfer it into the configuration address input( like input40), then i use this input address in Master station, is it correct? if not so what should i do?

Regards

Sina Saffaran
laugh
Top
  8/3/2012, 7:43 AM
Joined 4/22/2010
Last visit: 5/17/2013
Posts: 3186
Rating:
Rated: Excellent [4.11 out of 5 / rated 295 time(s)]. (295) 
Rated: Excellent [5 out of 5 / rated 1 time(s)]. (1) 
Hello,

I think you got itRnf:lblSmileyTooltip_
If you want to transfer i.e.a value(int) from slave to master you transfer that value (in slave) to QWxx.
Then you read the input in master IWxx and transfer to what ever you need.

Master write to slave :

      L     "Oven_DB".Oven_onder_sv
      T     PQD 1000

      L     "Oven_DB".Oven_boven_sv
      T     PQD 1004

Master reads slave:

      L     PID 1064
      T     "Oven_DB".Oven_onder_trav_temp_pv

      L     PID 1068
      T     "Oven_DB".Oven_onder_temp_pv

Hope this helps .

Regards,

Marcjan

Problem solved?
Please let us know!

Please no technical questions by PM, use the forum!
Top
Thank you for this post from:
  8/8/2012, 6:07 PM
Joined 7/23/2012
Last visit: 9/1/2012
Posts: 10
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 Marcjan

i've attached a file that contain 3 folders, 2 folders is about diagnostic buffer and a few picture wich show CPUs while are working and step7 in online mode

the other folder is my project in step7

but this project is a little bit diferent from what i told you; here there are a CPU312 and a CP342-5 as master system and a CPU313 as slave, the problems are when i download hardware the bus fault LED flash in CP module and CPU313(slave system), the SF LED is lit in slave system too

i hope the file could help you to give me a solution

all the best

sina


Attachment: info.zip  (5 Downloads)

Top
Page 1 of 1 (7 items)
Actions