(2)| 2/22/2024 7:23 AM | |
|
Joined: 1/21/2013 Last visit: 1/15/2026 Posts: 4402 Rating:
|
Hi qwazee, GETIO and SETIO use DPRD_DAT and DPWR_DAT internally. So you do not need to have a process image assigned to the device. But if you do have one assigned, I assume that the process image is updated as it is when using DPRD_DAT or DPWR_DAT. Kind regards |
| 2/22/2024 9:13 AM | |
|
Joined: 1/21/2013 Last visit: 1/15/2026 Posts: 4402 Rating:
|
Hi qwazee,
The PN/PN coupler does not receive address information, so you do not need to configure one if you are working without a process image. When configuring, it is important to configure the opposite module for each slot between the two sides. For example, if the left side is configured for 128 bytes of input in slot 1, the right side must be configured for 128 bytes of output. Kind regards Edit: Addresses are also needed when working without a process image. See post below. |
Last edited by: Stefan Arcularius at: 02/22/2024 10:24:20Correction regarding the need for addresses |
|
This contribution was helpful to
|
|
| 2/22/2024 10:20 AM | |
|
Joined: 1/21/2013 Last visit: 1/15/2026 Posts: 4402 Rating:
|
Hi qwazee, Sorry, it was my fault. I thought that by configuring the process image to "None", no IO addresses would be needed. But as I have now verified, this is not the case. How many bytes of additional IO addresses would you need and how many spares do you have? Perhaps using the Publisher or Storage module type would be an option. This will allow acyclic transfer of up to 4096 bytes using only a view byte of address space. However, this increases the programming effort on both sides. Kind regards |
| 2/22/2024 10:36 AM | |
|
Joined: 3/30/2020 Last visit: 12/11/2025 Posts: 5656 Rating:
|
Hello Stefan. For this project there is no such problem: There is enough spare IO address space. Using almost 200 bytes of available 1024 bytes just seemed big. And I was wondering if that 1024 bytes is a hard limit. It turns out it is. (unrelated / discussion) Available IO addressing space is something to watch out for. Some networked devices has a big footprint yet much of the space they reserve is unused. This limits the S7-1200 more than it should. Luckily I have not yet bumped my head onto the problem of running out of IO addressing space. You have answered my main question: Having both these mechanisms active seemed to be waste of resources to me. But that is what was suggested by someone which created doubt. Thanks for your attention to this matter. |
Last edited by: qwazee at: 02/22/2024 10:36:33Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
This contribution was helpful to
|
|
| 2/22/2024 4:36 PM | |
|
Joined: 7/7/2010 Last visit: 1/15/2026 Posts: 16370 Rating:
|
You already have your answer. I was going to say it like this: Having a telegram configured should be sufficient provided the PI is configured for Automatic (updating). No SETIO/GETIO should be necessary. My experience with couplers is where that comes from, albeit limited to a single device. I had to correct one of my peers who was double-dipping the telegram data. They had a telegram configured and were manually transferring the data via DPRD_DAT and DPWR_DAT. I showed them that simply removing the EN inputs for those blocks had absolutely no impact on obtaining updated remote inputs nor prevented sending updated outputs to the remote devices. Several LAD networks simply got deleted and they never looked back. I'm confused why a simple telegram is not working for your particular coupler. I *did* have to configure the telegram data and transaction type (synchronous vs async). Were you not given the option to configure the telegram (using some software provided by the coupler OEM)?
|
|
science guy |
|
Follow us on