9/16/2015 1:32 AM | |
Posts: 23 Rating: (0) |
is it not possible to program in STL or in ladder logic. |
9/16/2015 8:52 AM | |
Joined: 1/28/2009 Last visit: 4/1/2024 Posts: 6836 Rating: (1359)
|
But please remember, that SCL is a fee-based option. If you do not have SCL, you have to use STL and. indirect addressing, even if it is more laborious. Agreed ,But the initiator should tell us what programming options are available for him/her.Same converted code in STL: SET |
This contribution was helpful to2 thankful Users |
10/1/2015 6:25 AM | |
Joined: 1/28/2009 Last visit: 4/1/2024 Posts: 6836 Rating: (1359)
|
one more query i want to sort the DB values from Low to High or High to low, for all three DB's in which value is stored.Is there any function in S7-300 PLC library which help in sorting. For sorting values in a DB, you can try the function explained in the following FAQ.Just additional point to be considered, to keep consistency of the logging data, copy the original data to a Sorting DB and perform sorting on that. Sample program for sorting a data block |
10/3/2015 11:13 PM | |
Posts: 23 Rating: (0) |
Dear, Please see the program, I am not getting same values after sorting. in DB2 Initially i keep value in DB2 and then give M0.2=true |
10/3/2015 11:14 PM | |
Posts: 23 Rating: (0) |
"sorting programAttachmentSorting_.zip (234 Downloads) |
10/3/2015 11:15 PM | |
Posts: 23 Rating: (0) |
After sorting |
10/4/2015 8:59 AM | |
Joined: 1/28/2009 Last visit: 4/1/2024 Posts: 6836 Rating: (1359)
|
Sample parameterization:
Attachment2.rar (245 Downloads) |
Last edited by: hdhosseini at: 10/4/2015 9:03:44 AM |
|
This contribution was helpful to1 thankful Users |
10/15/2015 3:48 PM | |
Posts: 23 Rating: (0) |
yes i am using S7-300 313c is there any way to overcome this problem. |
2/13/2017 3:11 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4774 Rating: (123) |
New question published by Msc.Automation Eng. is split to a separate thread with the subject Problem about PIW and DB adrress read write from DB. Best regards |
Follow us on