Step7 Reading from IDB STAT area

AJZ

Member
Join Date
Jul 2003
Location
Ontario
Posts
265
I am modifying a large STEP7 program with many FBs and FCs. The original programmer is reading STAT bitw of IDB's in other blocks directly using DBxxx.DBXxx.x. Isn't that a very bad practise? If I add or remove IN, OUT or INOUT from the FB, all these STATs will move to a different physical location.
 
The customer gave the project. Therefore I have all comments, symbols, etc.
I will test and figure out the four different settings for address or symbol priority.
 
If you change the declaration part of FBs or UDTs, then it is recommended to run a consistency check. All the modified positions will then be updated everywhere in the program.
You cant do that on a running program of course, but that would be the case even if the FB STAT part was not accessed from outside the FBs.
 

Similar Topics

is there any free trial version available for step7 professional and wincc comfort v17. i searched and downloaded TRIAL Download STEP 7...
Replies
1
Views
41
Hello. I need your help. I work at STEP7. There are two CPU 317-2 PN/DP controllers (317-2EK14-0AB0), working on PROFIBUS, as Master (CPU_1) and...
Replies
6
Views
146
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
174
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
159
Hello Inside a FB, I´m trying to transfer a string from a DB to a IN_OUT var that was define as a UDT. The problem is that i can´t determine the...
Replies
4
Views
157
Back
Top Bottom