Siemens block interface change and associated DB change

thereisnopath

Member
Join Date
Sep 2010
Location
Ontario
Posts
8
Hey everyone,

I just started out programming Siemens and have a newbie question:

In Siemens Step 7, when I modify the interface of an FB and save, a conflict arises between the FB and the associated instance DB.

When I try to open the DB, the error message is "There are no parameter and local variable names available because there is a time stamp conflict between the interface of the block and the description of the parameter and local variable names."

The only way I know to fix this problem is to delete and recreate the DB. This has to be done at each point in the code where the FB is used (could be a hundred times for motor FBs).

Is there a better way of doing this?

Thanks

James
 
That, or perform a complete "consistency check" on a project.
It is not a big problem as long as you are developing the program offline.
The moment you have to maintain a running program it is not so easy any longer.

Before one gets to the point where the maintenance of the running program start, one should have nailed the declaration part of FBs and FCs.
 
Thanks everyone,

I have found that Check and Update Accesses works but it only updates the block that is currently selected in the LAD/STL/FBD editor. For cases where FBs are used in multiple blocks, you still have to open each block and use Check and Update Accesses.

The Check Block Consistency seems to fix everything. Problem solved.🍻

Thanks,

James
 
Or opload and generate a source file for the datablock before modifying the FB interface. The current values are saved. after the FB interface has been changed, compile the DB source and it will put the values back in.
 

Similar Topics

In a data block, if the tag is ticked in the "Retain" column", is it meant to be retained after cycling the power to the PLC? I'm finding that...
Replies
2
Views
724
I'm having a bad day. Daft question coming up...Anyone know why I can't add anything into this DB? Add button is greyed-out. Thanks
Replies
14
Views
1,576
Hello, We have a startup valve, that has to open on startup etc. We also want to know the flowrate throughe valve. They told me that in previous...
Replies
17
Views
2,729
Hi Looking for some advice. I have a project that was developed for an S7-300. In that project I have a number of datablocks which only contain...
Replies
7
Views
2,596
Hello all, PLC-programming noob here. I have multiple clients accessing some data on my Siemens S7 1211C PLC; some OPC clients and some direct...
Replies
30
Views
8,287
Back
Top Bottom