5/21/2010 10:52 AM | |
Joined: 3/14/2008 Last visit: 3/29/2024 Posts: 2059 Rating: (924) |
Hello, I recovered an old S7 program from 10 years ago... In there, they used FB1 -> PID_C_BLOCK. The FB block is called in an FC and an instance DB was connected. However, when I open the FC, I see red lines. I cannot use the instance DB, the system will give me an error: illegal symbol entry. When I look in the symbollist, everything is OK. When I create a new DB as instance of FB1 and then use it in my FC, it works... Can somebody tell me what the problem seems to be? I don't know what the compatibility is from S7 10 years ago and S7 5.4+SP5+HF4 (using PCS7 7.1 environment) To make it clear, I attached a picture... Thanks.. |
If I could help you, you can use the RATE button. Thank you. |
|
5/21/2010 11:19 AM | |
Joined: 10/7/2005 Last visit: 3/29/2024 Posts: 3002 Rating: (1045)
|
Hello Oreca change the Datatype of the Instance DB to "FB1" in the Symbol table and your problem should be fixed (I hope, from memory older Step 7 versions alloweda "DB" datype for an Instance DB in the symbol table, whereas it now has to be the FB number to which the DB belongs). |
Cheers |
|
5/22/2010 2:00 PM | |
Joined: 3/14/2008 Last visit: 3/29/2024 Posts: 2059 Rating: (924) |
Hello fritz, The solution worked.. Also, when Irename the symbol and then change it back to original name, it also works. [schnippschnapp] Thank you New question is transferred to following thread problems with some analog i/o. |
Last edited by: O_Moderator at: 5/25/2010 9:30 AMIf I could help you, you can use the RATE button. Thank you. |
|
Follow us on