7/10/2011 11:50 AM | |
Joined: 1/28/2009 Last visit: 5/26/2023 Posts: 6802 Rating:
|
Hi Goran Check this, also please provide more information! Would you please check your program in a cyclic manner (each 100ms).update the results. How accurately can I calculate with REAL numbers that are used in extensive formulas? Regards |
7/10/2011 12:26 PM | |
Posts: 141 Rating:
|
Hi, hdhosseini yes, I am running it currently with 0.1s cycle, so I am 100% sure it works correctly at that cycle, but I am concerned about other mathematica operations in program. I will need to find way to set minimum cycle time in PLC, but I read in manual that for S7-300 PLC this property is not relevant. But better first read the article you have provided to see what exactly are "extensive formulas". Thanks. |
Last edited by: Goran_ at: 7/10/2011 12:27 PM |
|
7/10/2011 1:22 PM | |
Posts: 141 Rating:
|
Link you have provided doesnt solve my problem. Is there a way to set minimum cycle time for 315-2 DP OB1? This property is greyed out on my PLC... |
7/11/2011 10:22 AM | |
Posts: 270 Rating:
|
I hope nobody noticed the post I made here before, damn too sleepy, sorry if I confused anyone, lol .) |
7/11/2011 12:28 PM | |
Joined: 1/28/2009 Last visit: 5/26/2023 Posts: 6802 Rating:
|
Hi I suggest to check the logic online and track the variables with (for example ) Autem PLC analyzer and then discuss the values in each cycle; http://www.autem.de/index.php?site=en_home Regards |
7/11/2011 2:56 PM | |
Posts: 141 Rating:
|
I am working on a real PLC, so its online. If I track the variables, I can see that the difference changes. Example: L db1.dbd0 L db1.dbd4 +R T db1.dbd0 L db1.dbd0 L db1.dbd8 +R T db1.dbd8 if, both variables db1.dbd0 and dbd8 have the same starting value (ex 0), they will always have the same value. so this proves that db1.dbd0 is the same in both calculations. If I set db1.dbd8 to be 5000, then its value grows faster than db0 does. |
Follow us on