Technical Forum

STEP 7 / STEP 7 Lite

Bit priority

Thread Starter: lucky_209   Started: 5/6/2012 10:49 AM   Replies: 13

« Previous thread Next thread »
«12 Page 2 of 2 (14 items)
  5/6/2012, 3:30 PM
Joined 4/15/2012
Last visit: 11/9/2012
Posts: 20
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
We have to achieve this

Thare are 7 sand filters,one backwash pump.now after evry 24 hours backwash sequence shoul start.Now say now for sand filter1 bw sequence has started and during that time another sf 24 hour gets over and it needs to go to backawsh at that time it should only go to sequence when the sf which is already in bw sequebce has completed it,so basically it will be like in stack in which each sf goes to bw sequence as per the request generated after thier respective 24 hour timer.
Top
  5/7/2012, 6:55 AM
Joined 12/1/2009
Last visit: 5/24/2013
Posts: 322
Rating:
Rated: Outstanding [3.57 out of 5 / rated 28 time(s)]. (28) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Dear lucky_209,

as I already wrote before, you can achieve this functionality by making a FIFO with 7 entries.
Each time a filter want's to go for BW, it will enter his number "ID" into the FIFO. The FIFO is queing the sequence numbers in his storage.
 
Regards.

-------------------------------------------------------------------------------------------------------
Give us your feedback and show us your respect!
We take our free time to support you with our knowledge and experience.
If this post is helpfull to you kindly click on "Rate" or "Thank".
Top
  5/8/2012, 5:57 AM
Joined 1/3/2006
Last visit: 5/7/2013
Posts: 545
Rating:
Rated: Outstanding [3.83 out of 5 / rated 29 time(s)]. (29) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi,
You can see the attached program and check if it suits your application. In it you can assign upto 8 (bool) inputs to FB which will then generate the sequence as per the incoming sequence of bool.
Sequnce if generated in instance DB of the FB.

Regards,
Manmeet

Attachment: Priority.zip  (5 Downloads)

Top
  5/9/2012, 8:00 AM
Joined 4/15/2012
Last visit: 11/9/2012
Posts: 20
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Thanks Guys

I did it with the tips given by you all,thanks a lot
Top
Thank you for this post from:
«12 Page 2 of 2 (14 items)
Actions