10/5/2020 4:58 PM | |
Joined: 9/27/2006 Last visit: 5/10/2024 Posts: 12257 Rating: (2666) |
Hello M. Total; Out of curiosity, How is the CP 342-5 configured? If it works as a DP slave, the BSEND BRECV functions will not work. The following screenshot is taken from this document. The grid shows you that for S7 connections to work between a S7-400 CPU and a CP 342-5 both must be masters. It also mentions thta you could configure the CP 342-5 with "No DP" but I am not sure how the S7 communication functions would work in that case. CPU-CPU Communication with SIMATIC Controllers https://support.industry.siemens.com/cs/ww/en/view/78028908 You might want to make sure your BSEND BRECV functions follow the example in this article: How do you program communication blocks FB12 "BSEND" and FB13 "BRCV" for data exchange in the S7 program of an S7-300 CPU? https://support.industry.siemens.com/cs/ww/en/view/18516182 Hope this helps, Daniel Chartier |
Follow us on