10/10/2022 8:21 AM | |
Joined: 5/20/2015 Last visit: 5/30/2024 Posts: 7 Rating:
|
Hi Experts, I am using the CPU 314 6ES7-314-1AG13-0AB0 with CP342-5 V5.x 6GK7 342-5DA02-0XE0 and this is connected to IM153-1 6ES7 153-1AA03-0XB0 I have 20 bytes of addresses on the remote module and these need to be transferred by the cp but the cp only giving me addresses of 16 bytes only. Please see my attached program AttachmentHI5.zip (458 Downloads) |
Last edited by: int3rnal at: 10/10/2022 08:25:26 |
|
10/10/2022 8:31 AM | |
Joined: 1/21/2013 Last visit: 8/30/2024 Posts: 3075 Rating:
|
Hi int3rnal, you have to use the functions FC1 "DP_SEND" and FC2 "DP_RECV". For more details, please refer to FAQ 18208090. Kind regards |
10/10/2022 11:43 AM | |
Joined: 1/21/2013 Last visit: 8/30/2024 Posts: 3075 Rating:
|
Hi int3rnal, please read FAQ 18208090 and try to understand it! Here are some significant excerpts from this FAQ: … If you implement a CP342-5 as DP master, you cannot access the data of the connected slaves using download and transfer commands or bit combination operations. The writing and reading of the IO data is done in two steps.
Communication between the CPU and the CP342-5 is made by means of the functions FC1 "DP_SEND" and FC2 "DP_RECV". The data is exchanged automatically between the CP342-5 and the DP slaves. … You specify the module start address of the communication processor CP342-5 at the input parameter "CPLADDR". You will find this 16-byte address in the hardware configuration. Double-click the CP342-5 to open the Properties dialog. The module start address is in the "Addresses" tab. … Kind regards |
This contribution was helpful to
1 thankful Users |
Follow us on