plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

S7 connection “BSEND” “BRCV” instructions two S7 CPUs

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems
View previous topic :: View next topic  
Author Message
ALooser
Junior 2
Junior 2


Joined: 26 Oct 2018
Posts: 37

PostPosted: 03/12/2020 20:28    Post subject: S7 connection “BSEND” “BRCV” instructions two S7 CPUs Reply with quote

How do you configure and program an S7 connection and the “BSEND” and “BRCV” instructions for data transfer between two S7 CPUs?
https://support.industry.siemens.com/cs/document/18516182/
You can use the S7 Communication, for example, for data transfer via the integrated PROFINET interface and Industrial Ethernet interface of the S7 CPUs.
The following services are available for S7 Communication:

BSEND for sending data
BRCV for receiving data
The S7 connection has to be configured on both sides, because the S7 communication via the "BSEND" and "BRCV” services is based on the client-client principle.

Characteristics of the instructions / function blocks "BSEND" and "BRCV”
The instructions / function blocks "BSEND" and "BRCV” are asynchronous communication functions.
The instructions / function blocks "BSEND" and "BRCV” can run over numeroase OB1 cycles.
"BSEND" is activated by the "REQ" input parameter.
"BRCV" is activated by the "EN_R" input parameter.
The end of the job is indicated by "DONE", "NDR" or "ERROR".
"BSEND" and "BRCV" can communicate simultaneously via one connection.
In STEP 7 V5, depending on the interface used for the data exchange, you call the following version of the SFB/FB 12 "BSEND" and SFB/FB 13 "BRCV" in your user program:
Integrated PROFINET interface of an S7-300 CPU, IM151-8 PN/DP or IM154-8 CPU: Use FB12 "BSEND" and FB13 "BRCV" from the Standard Library under "Communication Blocks > Blocks".
CP343-1 or CP342-5: Use FB12 "BSEND" and FB13 "BRCV" from the library "SIMATIC_NET_CP" under "CP 300 > Blocks".
S7-400: Use FB12 "BSEND" and FB13 "BRCV" from the Standard Library under "System Function Blocks > Blocks".
In STEP 7 V16 the "BSEND" and "BRCV” instructions are in the "Instructions" task card under "Communication > S7 Communication".
The following sample program describes how to configure an S7 connection to exchange data between two S7 CPUs using the "BESEND" and "BRCV" services.

Download
https://support.industry.siemens.com/cs/attachments/18516182/18516182_S7_communication_S7-1500_S7-300_en.pdf
https://support.industry.siemens.com/cs/attachments/18516182/18516182_S7communicationS7-1500.zip
https://support.industry.siemens.com/cs/attachments/18516182/18516182_S7communicationS7-300.zip
https://support.industry.siemens.com/cs/attachments/18516182/18516182_BsendBrcv.zip

[url=http://www.girlshare.ro/3769991393.3]18516182_S7_communication_S7-1500_S7-300_en.pdf[/url]
[url=http://www.girlshare.ro/3769991394.4]18516182_S7communication.zip[/url]
[url=http://www.girlshare.ro/3769991395.5]18516182_S7communicationS7-1500.zip[/url]
[url=http://www.girlshare.ro/3769991396.6]18516182_S7communicationS7-300.zip[/url]
[url=http://www.girlshare.ro/3769991397.7]18516182_BsendBrcv.zip[/url]
[url=http://www.girlshare.ro/3769991398.8]STEP_7_-_System_and_Standard_Functions_for_S7-300_and_S7-400.pdf[/url]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro