5/9/2014 8:38 AM | |
Joined: 4/26/2014 Last visit: 8/25/2023 Posts: 26 Rating:
|
Hihdhosseini, You are very helpful and that I may need your input. I am new to Step 7 Siemens. I have read some samples of the PID FB41 and sounds confusing to me, until I came up with PDF files of yours. I'll be using CONT_C into 3 controls valves (input/output are continuous), and I can see base on samples that I might need 3 Instance DB (am I right?). I plan to use your Fourth.zip docs way of calling the PID, that is (correct me if I am wrong) I'll be creating 1 FC1 (to call FB41:DB41, FB41:DB42, and FB41:DB43). And after this, I will be calling the FC1 on my OB35. I tried these things in pure ladder, and I cannot figure out the rest of the parameters you have on OB35 after calling FC1. Also, I cannot understand calling FC twice under OB35? I would appreciate for your help. If there is an easy way aside using your Fourth method, please share just a sample program and serve as my reference. Thanks again. Jruz :) |
Last edited by: O_Moderator at: 5/9/2014 12:01 PMnew subject after splitting from /tf/WW/en/Posts/72787#top |
|
5/27/2014 7:02 AM | |
Joined: 5/28/2008 Last visit: 9/26/2023 Posts: 4477 Rating:
|
Hello, Before starting PID programming, please read our PID Genius"Hamid Hossieni's"posts and tags.
In the above link, you will found all tags that was created by experts. Most of them was created by Hamid and it contains important posts for PID. I recommend you and any one to read it carefully. To understand why we call PID FBs in cyclic OBs like OB35. I will tell you in a simple way. Cyclic OBs (OB3x) are organization blocks which are called cycliclly every certain interval of time. This "certain interval" is editable in HW config. And it is beining called every this interval in case of no any other interrupt OB with higher priority is being called. What we want to do exaclty is to call PIB FB once every certain fixedinterval. Because we have to take samples once every certain equal intervals to do calculations. It's called sampling time and should be entered in FB as well.
Hello it seems to be that you need to make PID tunning. Please find here attached guidelines to tune PID loops. The attached sheets are part of this manual: Hope this helps.
AttachmentPID tunning.pdf (374 Downloads) |
Ayman Elotaify |
|
This contribution was helpful to
1 thankful Users |
5/27/2014 8:44 AM | |
Joined: 4/26/2014 Last visit: 8/25/2023 Posts: 26 Rating:
|
I thank you again for your help guys. I have read all of his notes before I tried implementing this PID. It might be with the range of my SP and PV, and I think I have seen the PV range 0-200, and cannot figure out where to see SP range (hope someone else can let me see this, could it be another scaling?). I will also try to check on your tuning tips. Thanks again. I'll get back soon. jruz
|
Follow us on