6 Replies Latest reply on May 18, 2018 1:34 PM by sraposo

    Analyses in AF - How to create analyses who dont to show when the event is longer than few minutes (expl. 1minute)

    jag_69

      I have a problem.

      How I can to create analyses where PI to save data when the event lasts longer than 1 min?

      Business dont needs to show downtime shorter than 1 min.

      My solve below - is it good idea? I dont know.

      I think it works not properly.

      I have two tags:

      1. WPC Slimak Dozujący L2 name in DCS M204

      2. WPC_L2 name in DCS WPC_L2_Praca

       

      Analyses

      Variable 1: StopTime

      In the basis of tag value I check is this stop longer than 1 min.

      TimeLE('WPC Slimak Dozujący L2','*','*-60s', 'WPC Slimak Dozujący L2')

       

      Variable 2: Condition

      If StopTime > 60 then 0 else 1

       

      Variable 3: FinalyStatus

      Here I assigned result to tag.

      If Condition <> 'WPC_L2' then Condition else NoOutput()