Technical Forum

Communication / Networks

broadcast communication for cp 340,cp341

Thread Starter: GOWDA   Started: 5/28/2012 8:50 AM   Replies: 11

« Previous thread Next thread »
12» Page 1 of 2 (12 items)
  5/28/2012, 8:50 AM
Joined 2/22/2011
Last visit: 6/19/2013
Posts: 98
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) 
dear all,
           how to do broadcast communication  with  cp 340 or  cp341
          weather it is possible communicate in the broadcast communication

          generally i have to featch datas from the meter
           by single pooling to the sleve
           i have to get data from 30 meters connected in the network
           if any possibile solutions please help meblushblushblushblushblushblushblushcool
          



thanks regards,
anbugeethan gowda

Thanks regards
ANBUGEETHAN GOWDA
Top
  5/28/2012, 9:24 AM
Joined 9/8/2009
Last visit: 6/17/2013
Posts: 546
Rating:
Rated: Outstanding [3.85 out of 5 / rated 34 time(s)]. (34) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
you will need to supply more detailed description about your module and protocol used.
Top
  5/28/2012, 10:19 AM
Joined 2/22/2011
Last visit: 6/19/2013
Posts: 98
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) 
dear marko
       I am having cpu 313c 2dp and cp 341 rs 485/422 card. i want to send a single request at a single time to  30 slave energy meters. and all the  meters have to send the respective data to master with his id.

hardware avaliable
                  cpu 313c 2dp
                  cp card  341 rs 485/422
                  energy meter    conserve

plz provide some solutions crycrycry

Thanks regards
ANBUGEETHAN GOWDA
Top
  5/28/2012, 10:44 AM
Joined 9/8/2009
Last visit: 6/17/2013
Posts: 546
Rating:
Rated: Outstanding [3.85 out of 5 / rated 34 time(s)]. (34) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
GOWDA wrote:
dear marko
       I am having cpu 313c 2dp and cp 341 rs 485/422 card. i want to send a single request at a single time to  30 slave energy meters. and all the  meters have to send the respective data to master with his id.

hardware avaliable
                  cpu 313c 2dp
                  cp card  341 rs 485/422
                  energy meter    conserve

plz provide some solutions crycrycry


This is not possible as it breaks the rules of communication. At the same time only one transmitter can be active, so you will need to ask one by one.
Still you didn't write the protocol that you will use (meters speak one language, so your master should).
Top
  5/28/2012, 11:01 AM
Joined 10/31/2005
Last visit: 6/13/2013
Posts: 2107
Rating:
Rated: Excellent [4.08 out of 5 / rated 200 time(s)]. (200) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Generally i agree with Marko.

But i have seen implementation similar to what you suggest. Idea was following - master sends 1 broadcast request. After that slaves respond with some lag time. Lag time was different for all slaves, so there was only i active sender on bus at any given time.

Maybe you can implement the same - but this entirely depends on protocol specification. If it allows such communication scheme - there should be defined how exactly implement broadcast functionality. If protocol doesn't allow - sorry then it would be impossible as all slaves will respond together, thus breaking communication as Marko stated above.

Top
  5/28/2012, 11:05 AM
Joined 2/22/2011
Last visit: 6/19/2013
Posts: 98
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) 
Dear Marko,

               Generally i am using plc cp 341 to featch the data from the meter by modbus protocol
while i am featching the data by pooling one by one .
               the data is receving from the meter but most of the time i was facing the problem that data is hanging and some of the data is sowing the same value of the previous data or 0000

but some one suggested to try in the broadcast communication method
 that will provide 'one' poling from master and the slave will be receved with the addRnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_

Thanks regards
ANBUGEETHAN GOWDA
Top
  5/28/2012, 11:25 AM
Joined 2/22/2011
Last visit: 6/19/2013
Posts: 98
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) 
Aret wrote:

Generally i agree with Marko.

But i have seen implementation similar to what you suggest. Idea was following - master sends 1 broadcast request. After that slaves respond with some lag time. Lag time was different for all slaves, so there was only i active sender on bus at any given time.

Maybe you can implement the same - but this entirely depends on protocol specification. If it allows such communication scheme - there should be defined how exactly implement broadcast functionality. If protocol doesn't allow - sorry then it would be impossible as all slaves will respond together, thus breaking communication as Marko stated above.



master sends 1 broadcast request. After that slaves respond with some lag time. Lag time was different for all slaves, so there was only i active sender on bus at any given time.
  for this application if u find any example program or manuals please help me ..............Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_ Rnf:lblSmileyTooltip_

Thanks regards
ANBUGEETHAN GOWDA
Top
  5/28/2012, 11:38 AM
Joined 10/31/2005
Last visit: 6/13/2013
Posts: 2107
Rating:
Rated: Excellent [4.08 out of 5 / rated 200 time(s)]. (200) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Please don't cut other sentences in my messageblink

As i said - EVERYTHING depends on protocol used. So i'm pretty sure i won't have any example for your needs. You should place protocol specification here, maybe someone has it. But i really doubt it - usually for such tasks you would have to write code by yourself (unless Siemens has library for it).

Top
  5/28/2012, 11:50 AM
Joined 2/22/2011
Last visit: 6/19/2013
Posts: 98
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) 
dear aret,

     thanks for u r kind replay  is there any manuals to know abt the

broadcast communication


Thanks regards
ANBUGEETHAN GOWDA
Top
  5/28/2012, 11:54 AM
Joined 2/22/2011
Last visit: 6/19/2013
Posts: 98
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) 
dear all
          protocol used is modbus 485 in cp340. ........................

plz provide some suggesions ................................



=== Edited by GOWDA @ 5/29/2012 7:31 AM [GMT ] ===



Thanks regards
ANBUGEETHAN GOWDA
Top
12» Page 1 of 2 (12 items)
Actions