3/12/2025 7:37 PM | |
Joined: 3/12/2025 Last visit: 3/17/2025 Posts: 2 Rating:
|
Hello, I am new to this forum and would like some help in one of the project I am working on. So below are the details. I have an analog signal coming in at #VALUE that I want to graph on MP277 8". The STL code is calculating the mean, max and min as [attached] I am trying to store the #VALUE at every increment into a DB1.DBD[#value_cnt_dint] but not sure how to do it. Any suggestions? Attachment13.03. S7-300.txt (177 Downloads) |
Last edited by: Moderator_Lan at: 03/12/2025 23:25:10Code attached |
|
3/13/2025 8:31 AM | |
Joined: 7/9/2015 Last visit: 8/29/2025 Posts: 4443 Rating:
|
Hi, please have a look in the following entry - there you see examples for indirect addressing. In STEP 7 (TIA Portal) and in S7-300/S7-400, how can you implement indirect addressing in an SCL program?Regards, Towome |
|
|
3/13/2025 1:01 PM | |
Joined: 3/12/2025 Last visit: 3/17/2025 Posts: 2 Rating:
|
Hello Towome, Thank you for the link. I see the examples are written in TIA Portal. Will this be valid for Simatic manager Step 7 as well? Also The examples shown are for bool, byte and word. How do I make it work for DINT since the analog value is in DINT? Also what does #tmpi+0 mean in the bracket? Regards |
Last edited by: psarda at: 03/13/2025 13:02:50 |
|
Follow us on