6/11/2016 8:49 AM | |
Joined: 12/12/2015 Last visit: 5/15/2023 Posts: 4 Rating: (0) |
Hi All, I am using S7- 1214C DC/DC/DC, programming in TIA V13. I read some analog data and wrote the in a DB to creat an array. I have to compare each array element to find whether it in defined limit (compare block IN_RANGE in TIA portal) or not. For this, I think I have to use FOR LOOPing ( as in C programming language) to compare each array element one by one. Is there any way to do so. Any example would be more beneficial for me. Its urgent. Thank You
------------------------------------------------------------------------------------------ |
Last edited by: Min_Moderator at: 6/11/2016 4:15:27 PMNew subject after splitting Last edited by: The Helping Hand at: 6/13/2016 12:10:43 PMRemoved the mail address. Posting personal information is not allowed. |
|
9/6/2016 9:39 PM | |
Posts: 5225 Rating: (1185)
|
Strange that I am the one answering you. I will assume the latter..
Know that there are differences between S7-1200 and S7-1500, but more so when comparing the S7-1x00 with S7-300 and S7-400. It has less to do with the TIA V13 software version and more to do with the actual hardware used. Some training materials.... There are examples that you can have a look at: https://support.industry.siemens.com/cs/ww/en/view/109476781
https://support.industry.siemens.com/tf/ww/en/posts/123676/
If you come with some specific (small enough) example coded in LAD / C / flow diagram / pseudo code, the Forum has something tangible to build on to help you. Know that we do not know your level of development... for example - do we need to show you how to use arrays? Give the guys a baseline to work from and build on. Read - show you are a willing student worth volunteering time on.
|
Follow us on