5/9/2016 2:04 PM | |
Joined: 11/21/2007 Last visit: 3/16/2025 Posts: 2326 Rating:
|
Hello dolbyinside Besides the excellent suggestions by dchartier , Just a thought .. What is the Distance between the CPUs ? The MPI ports of all the CPUs seem to be free ( At least in NETPRO ) You can easily exchange the data between them on MPI using "Global data" This FAQ would help you to review your options : What are the options for exchanging data between CPUs via MPI/PROFIBUS DP? Hope this helps Cheers Navnag |
There is no such thing as the last bug in a program |
|
This contribution was helpful to
1 thankful Users |
5/9/2016 2:44 PM | |
Joined: 9/27/2006 Last visit: 3/16/2025 Posts: 12344 Rating:
|
Hello dolby; First, Navnag's suggestion will work well for short distances between CPUs; MPI transmissions are limited to 50 m max. because the MPI ports are by definition non-isolated, so port power is low. Repeaters could be used to extend the MPI network (by segments of 50 m, if there are MPI partners on the segment; by a length of 1000 m , if there are no MPI partners between 2 repeaters. Second, there is lot of information on the DP/DP coupler in the Siemens Product Support pages, just use the search box at the right of this page to look for it. These documents will concentrate the most important details; DP/DP Coupler https://support.industry.siemens.com/cs/ww/en/view/1179382 What are the special features of input/output addressing with the DP/DP coupler? https://support.industry.siemens.com/cs/ww/en/view/22327981 Configuration of the I/O Data on DP/DP Coupler https://support.industry.siemens.com/cs/ww/en/view/19281019 Next, try this test on the MP you will use to transfer data between CPUs: Create 2 tags of the same type in the tag list of the MP, one attached to CPU1, the other to CPU2; if you have many such tags to transfer, identify them properly, for example MotSpeed_CPU1 and MotSpeed_CPU2. Then use a global script to transfer MotSpeed_CPU2:= MotSpeed_CPU1. In the program of CPU1, write the value of the motor speed to the address linked to MotSpeed_CPU1. Then in CPU2 read the value in the address linked to MotSpeed_CPU2. Once one value has been transferred from CPU1 to CPU2, repeat the process for all the tags ypu want to transfer. Use the longest cycle possible for the global script so as not to slow down the MP program with the tag transfers. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 5/9/2016 2:44:41 PMLast edited by: dchartier at: 5/9/2016 2:48:50 PMLast edited by: dchartier at: 5/9/2016 7:09:19 PM |
|
This contribution was helpful to
2 thankful Users |
Follow us on