6/27/2008 9:56 AM | |
Posts: 5822 Rating:
|
Hello, how about this Sample: DP link of CP 342-5 (slave and master) with STEP 7 V5.1 I hope it will help you to get your system running. Best regards J_Bell |
6/27/2008 2:24 PM | |
Posts: 487 Rating:
|
You do not have to call DP_SEND and DP_RCVthree times. These blocks are not to send/receive data with slave. (i.e DP_SEND is not used to send data to a particular save). It is used for send/receive data between CPU and the dual port RAM of CP. CP handles the communication between DP mater and slaves in its own cycle without any PLC user code. So best is to configure all the slave IO areas in consecutive areas and then use 1 SEND and 1 RCV calls for the whole input and output area. Please refer to the FAQ http://support.automation.siemens.com/WW/view/en/18208090 Section 5 really addresses your question. Hope it is clear now. |
Follow us on