7/28/2013 10:29 AM | |
Joined: 10/7/2005 Last visit: 11/1/2024 Posts: 3025 Rating: (1055)
|
Hello GNC61 your receive data as nominated by "RECV" input of FC "DP_RECV" is too short. Since your drives I/O address starts at 560 and ends with 563, you need to nonimate at least a byte lenght of 564 for the "RECV" input of FC "DP_RECV" (or alternatively start your drive I/O address at 0). I'd also suggest you use a dedicated DB for this purpose instead of the Process Image. I hope this helps and have a look too at the FAQ What should you watch out for when configuring a CP342-5 as DP master and why is it necessary to call the FC1 "DP_SEND" and FC2 "DP_RECV" functions in the user program of the CPU in order to transfer data? which has more details on this matter. |
Cheers |
|
7/28/2013 12:40 PM | |
Joined: 8/23/2011 Last visit: 3/12/2023 Posts: 2 Rating: (0) |
Thanks i try it. |
Last edited by: GNC61 at: 7/28/2013 12:41 PM |
|
Follow us on