9/22/2012 3:58 AM | |
Joined: 9/27/2006 Last visit: 3/14/2025 Posts: 12344 Rating:
|
Hello aclem; And welcome to the A&D forum. There are important differences in the way you configure and program exchanges using a CP 342-5 as a Profibus-DP master, compared to using the Profibus interface of a CPU.These differences are explained in the following 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? Please pay specialattention to sections 3 and 4 of this document, it explains how to correctly parametrize the functions FC1 and FC2 that you must use in your programto set up exchanges between the CPU and the CP over the backplane. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
9/24/2012 9:56 PM | |
Posts: 3 Rating:
|
Thanks, for your response. I'm currently not trying to program the devices, just get them setup in the hardware configurator and get them to run without a program or a minimal program if required. When I load the configuration, the CPU is fine, but the CP342 and IM-153 both just blink the bus fault light. I've attached the config. Thanks
AttachmentDistri_1.zip (188 Downloads) |
Follow us on