12/13/2024 12:23 PM | |
Joined: 7/17/2024 Last visit: 3/4/2025 Posts: 4 Rating:
|
Hello everyone, in our Multiproject, one of the PLCs is continuously reporting "Area lenght error when reading" and "Area length error when writing" several times a second in its Diagnostic Buffer. The DB being accessed vary, but they all are caused by FB128 triggered by OB121. This issue has appeard recently and on only a single PLC. It is not causing any direct impact appart from the fact that as Diagnostic buffer has only 3200 messages available, any non-related messages are quickly overwritten. This issue appeared spontaneously, without any software/firmware upgrade nor Project migration. We have tried to delete the charts @CPU_RT and @PA_CPU and recompile with module drivers, to no effect. CPU 6ES7 410-5HX08-0AB0 with Firmware v8.2.4, programmed in PCS 7 v9.0+SP3+UC05 on Windows 10 Enterprise. Diagnostic buffer file attached. Thanks in advance for any answer.
AttachmentDiagnose.txt (78 Downloads) |
12/16/2024 12:06 PM | |
Joined: 1/11/2019 Last visit: 3/12/2025 Posts: 865 Rating:
|
Hello Tom, Below thread may help you to resolve the issues area length error when reading |
12/16/2024 3:30 PM | |
Joined: 7/17/2024 Last visit: 3/4/2025 Posts: 4 Rating:
|
Thank you for the thread. The issue I see here is that everyone proposes to check the length of the DB that the FB is trying to write into. In my case, the FB is made by Siemens and read/write-protected. All the DBs are also automatically generated during compilation, so I have no way of modifying this part of the code. I noticed the proposal to delete OB121 (Programing error interupt), but that one seems to me more like walk-around rather then solution of the root cause. |
12/17/2024 1:54 PM | |
Joined: 2/1/2010 Last visit: 3/14/2025 Posts: 178 Rating:
|
It looks like it's the same addresses over and over, can you give any hints about what is at some of the locations? For example the first 10 entries in the diag log, tell us what things those are in your user program / HW? I think you possibly have a configuration error which may potentially be further worsened by basis library blocks being out of sync with the correct versions or you have a corrupted/wrong block in the basis library of that AS. For confirming all the Basis Library: Follow steps from the manual to update the library using normal methods and see if any blocks need updated. If the basis library is all consistent, otherwise need to track down the underlying configuration issue. |
If my post helped you, please rate. Thanks. |
|
1/23/2025 2:55 PM | |
Joined: 7/17/2024 Last visit: 3/4/2025 Posts: 4 Rating:
|
I have checked the DB of the only block running this FB, which is the CPU Performance block. Over there I am a bit lost as the adresses in Diagnostic Buffer does not really point towards any specific statics. I presume, as you sad, an issue is in configuration, as we use the same library on several other PLCs within the multiproject and only single one reports this issue. I have also contacted Siemens directly and requested a support, as the FB128 is anyway inaccessible for troubleshooting. If we will find solution, I will post it here for anyone in the future encountering the same issue. |
1/23/2025 3:17 PM | |
Joined: 2/1/2010 Last visit: 3/14/2025 Posts: 178 Rating:
|
Examples: Either you have a corrupted HW Config (which if you are saying everything else works) seems unlikely or you have lots of fieldbus issues constantly or you have a corruption of the Basis library blocks and you should replace them with fresh copies from the basis library and compile download again. Anyhow if you supply tech support with your project and the diag buffer they should be able to solve it for you like you said. |
If my post helped you, please rate. Thanks. |
|
2/19/2025 1:58 PM | |
Joined: 7/17/2024 Last visit: 3/4/2025 Posts: 4 Rating:
|
For anyone with same issue, we found the solution: It was actually super-simple, through Component View -> Blocks, we have deleted all Organization Blocks and recompiled the PLC. The issue was in corrupted OB and the delete/recompile the issue was fully solved. |
This contribution was helpful to
1 thankful Users |
Follow us on