Rising Event with user defined Event type

Forum Home Forums Understanding the Software Rising Event with user defined Event type

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #7860
    zzz
    Participant

    Case Setup:
    – Create a input channel say 60000 , set formula to CnlVal;Val()>10?200:1
    – Create a event trigger in AutoControl, say to send a email on Channel 60000, any event.
    – In Generator, create a event set channel to 60000, trigger works, got a email.
    – In Generator, set a data point channel=60000, value=200, state=1, Nothing happend
    – In Generator, set a data point channel=60000, value=200, state=200 Nothing happend

    Why the latter 2 steps can’t triger any event on channel 60000?

    #7864
    Mikhail
    Moderator

    Formula looks invalid. Try: CnlVal; CnlVal>10?200:1
    Val() is the value that is already in the channel.

    #7868
    zzz
    Participant

    This is a Calcuated channel. Not sure why can’t Val() be used?

    #7870
    zzz
    Participant

    Tried CnlVal; CnlVal>10?200:1 with both Calculated Real and Real none worked for the previously mentioned latter 2 cases.

    • This reply was modified 3 years, 3 months ago by zzz.
    #7875
    Mikhail
    Moderator

    The channel should be of the Real type. After setting a correct channel type, use Generator to check how the formula works.

    #7881
    zzz
    Participant

    As said previously, I tried both CalcReal and Real for

    
    – In Generator, set a data point channel=60000, value=200, state=1, Nothing happend
    – In Generator, set a data point channel=60000, value=200, state=200 Nothing happend
    

    .

    Previous to this test case,
    I have a calculated channel configured similarly. as SomeFormula(CnlVal);Val()>905? 200:1
    The customized event type id=200, color=green.
    I can see the numbers turn to green in WebStation table number display.
    But the event type trigger in Auto Control is never fired.
    Since I can’t open the any log under Server/Archive/ from RSAdmin,
    I was unable to verify if the event has fired.
    But the test case involving Generator seems to suggest AutoControl didn’t pick up customized eventtype.

    #7890
    Mikhail
    Moderator

    Since I can’t open the any log under Server/Archive/ from RSAdmin

    You can open logs from text files in any time.

    After sending a new value using Generator, check the actual channel data
    Administrator – Instances – Default – Server – Archive – Current Data

    If the channel data differs from the expected, let me know what channel data was expected and what is the actual result.

    #7891
    Mikhail
    Moderator

    Since I can’t open the any log under Server/Archive/ from RSAdmin

    If you mean current or historical data, use ScadaDataTest utility.

    #7892
    Mikhail
    Moderator

    Open data files remotely is not a good solution, because they might be too big. I think we should add a web viewer that displays raw data.

    #7893
    Mikhail
    Moderator

    Before checking Auto Control Module, we need to know what channel values and statuses are really calculated.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.