8/26/2010 11:37 AM | |
Joined: 10/7/2005 Last visit: 9/17/2025 Posts: 3049 Rating:
|
Hello itechs the first thing to correct is how you use your MD's (Memory Doublewords). You've created so called "obverlapping access" by using MD22 and MD23 which needs to be rectified (if MD22 is used, the next "free" "M" address starts at MB 26). Have a look at THIS thread for more on this subject. Should your logic still have problems onceyou fixed this up, zip up your S7 project and post it here (rather than a screendump,it will help us in helping you). I hope this helps |
Last edited by: fritz at: 8/26/2010 11:39 AMCheers |
|
8/26/2010 12:03 PM | |
Posts: 3 Rating:
|
yeh forgot to use the MD's rigth, but it still wont work. AttachmentPID.zip (339 Downloads) |
Last edited by: itechs at: 8/26/2010 12:15 PMLast edited by: itechs at: 8/26/2010 12:07 PM |
|
8/26/2010 12:27 PM | |
Joined: 10/7/2005 Last visit: 9/17/2025 Posts: 3049 Rating:
|
Hello again itechs quickly ran your program through PLCSIM and it does in general work. Only thing to be mindful of is that you use I0.0 to SET M0.0 (M0.0 being your Always ON flag). As I0.0 is also used as the COM_RST input to FB41, your PID willNOT do anything as long as I0.0 stays ON. |
Cheers |
|
8/26/2010 12:35 PM | |
Posts: 3 Rating:
|
ok thanks, i will try this tomorrow. Really gratefull to all help. |
This contribution was helpful to
1 thankful Users |
Follow us on