3/23/2021 3:52 PM | |
Posts: 11 Rating:
|
Hello everyone, I hope you're all doing good, i just wanted to ask you if you already had this kind of error messages after compiling the converted S5 file. I saw the message, and figured out that it's connected to the Global DB, the message is " Make sure that your Global DB is correctly placed". Does anyone know how to fix this error ? Thank you for you for your intervention ! ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 03/24/2021 08:53:41New subject after splitting |
|
3/24/2021 2:21 AM | |
Joined: 10/7/2005 Last visit: 9/2/2025 Posts: 3049 Rating:
|
Hi Abdelbari9 the 403 "Make sure that your Global DB is correctly placed" messages you are getting are Warnings (not Errors, of which you have 53 as well). S5's only supported so called "Partial addressing" (aka "Partially qualified DB access") which is a fancy way of saying that you MUST first explicitly open the DB (e.g. "AUF DB 40" in your German mnemonics) followed by accessing individual elements of the DB (e.g. "L DBW 10"). S7 still supports "Partial addressing", but you would generally use "Complete Addressing" (aka "Fully qualified DB access"), e.g. "L DB40.DBW10". The S5 to S7 converter will spit out a warning for every partial address that exists in the S5 program to alert you to the fact that it is your responsibility to ensure that the correct DB is in fact open in the converted program. To note is that you may tidy up the converted S5 program and start using "Fully qualified DB access" too. If so, a Fully qualified DB access will open a the DB as per address that you use and thus can adversely affect any leftover Partially qualified DB access. Calling of FC's and FB's with Fully qualified DB access parameters has the same affect as there is still a DB Register at work behind the scenes that contains the currently "open" DB (as well as DI for that matter). My advice is to replace all partial addresses with Fully qualified DB access as this is how you program the S7 if it was a new project and avoids future program changes to potentially cause issues. Have a look too at THIS FAQ for more on this as well as the S5 to S7 converter manual which as info on this too. None of this helps you with solving the actual 53 Errors your conversion is spitting out, but that is best handled via a separate new post in case you have questions on these too. |
Cheers |
|
This contribution was helpful to
2 thankful Users |
Follow us on