Step7 search parameter???

JiNCs

Member
Join Date
Jul 2007
Location
South Carolina, USA
Posts
66
Hey folks,

About to modify a fairly large Step 7 program and i have a question concerning locating an object.

A method I have seen to control for example several heaters with device feedack is to use a single common PID control for all heaters. The data necessary for each heater (setpoints, PID values, etc.) is stored in seperate DB's. The PID loop is stored in an FB. An FC for example will call the same PID FB for each instance there ia a heater using a different DB to hold the specific data for the corresponding heater.
Outputs for each heater is routed the same, from the output of the PID FB back through the DB so each heater has its own output.

In the program I have, I connot find the individual outputs that normally would be controlled through the DB in the manner I specify above. There are some other questions I have for this program but I have to start somewhere.

My question, is there a way to include the PQW's in the generation of the crossreference/reference data? Also, is there a way to search through all the programming to find the PQW's?


Thanks folks!
JiNCs
 
It would be pretty unusual for somebody to be controlling the outputs via the PQW outputs where you cannot address a single output but only in groups of Byte, Word or DWord.

I would expect the controller to be driving single outputs of the form Qx.y which you should be able to find in the Cross-Reference list - unless they are being addressed indirectly, which I wouldn't really expect in this case.
 
If you right click on an I/O/M address, you can use the goto function and type in the PQW address you require.

or... The PQW addresses may be specified in a DB and not referenced directly - one quick way to track down where the PQW is being written (it has to be outside of the process image) is to remove it from the H/W config and make the plc goe into stop (if your process allows this of course). If OB122 is in the plc, you will have to delete it to ensure the plc stops when it tries to write to the PQW address. You can view the stacks to find the block writting the PQW value.

or... You could post the relevant code for analysis.
 
Step7 search parameter???: Reply to all

Thanks RMA and L D[AR2,P#0.0].

The filter for the cross reference did the trick. The control I was speaking of actually used a PID. The PQW outputs were located in OB35.

If memory serves, the call for the PID needs to be in a constant scan time location (OB35?) . . . doesn't it? Think I should have known where to look for the PQW's. :oops: The program used a coded name for this OB that didn't lend itself to locating the PQW's.



Thnaks again!
JiNCs
 

Similar Topics

G
Hi Folks: I'm new to these online Q&A things, So please excuse my misspellings and use or lack of use of punctuation{or mispuncuation as the case...
Replies
11
Views
6,853
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
146
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
142
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
131
Hi all, I am trying to convert RSLogix 5000 program to Step7. I need to bit shift left my array of double integers for tracking the product on...
Replies
2
Views
521
Back
Top Bottom