Forum Home › Forums › Understanding the Software › Rising Event with user defined Event type
Tagged: channel state, Event, event trigger, event type
- This topic has 9 replies, 2 voices, and was last updated 3 years, 3 months ago by Mikhail.
-
AuthorPosts
-
December 27, 2020 at 9:36 am #7860zzzParticipant
Case Setup:
– Create a input channel say 60000 , set formula toCnlVal;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 happendWhy the latter 2 steps can’t triger any event on channel 60000?
December 28, 2020 at 9:07 am #7864MikhailModeratorFormula looks invalid. Try: CnlVal; CnlVal>10?200:1
Val() is the value that is already in the channel.December 28, 2020 at 1:47 pm #7868zzzParticipantThis is a Calcuated channel. Not sure why can’t Val() be used?
December 28, 2020 at 2:14 pm #7870zzzParticipantTried
CnlVal; CnlVal>10?200:1
with bothCalculated Real
andReal
none worked for the previously mentioned latter 2 cases.- This reply was modified 3 years, 3 months ago by zzz.
December 29, 2020 at 12:43 pm #7875MikhailModeratorThe channel should be of the Real type. After setting a correct channel type, use Generator to check how the formula works.
December 30, 2020 at 5:29 am #7881zzzParticipantAs 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. asSomeFormula(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.December 30, 2020 at 10:25 am #7890MikhailModeratorSince 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 DataIf the channel data differs from the expected, let me know what channel data was expected and what is the actual result.
December 30, 2020 at 10:28 am #7891MikhailModeratorSince I can’t open the any log under Server/Archive/ from RSAdmin
If you mean current or historical data, use ScadaDataTest utility.
December 30, 2020 at 10:31 am #7892MikhailModeratorOpen 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.
December 30, 2020 at 10:32 am #7893MikhailModeratorBefore checking Auto Control Module, we need to know what channel values and statuses are really calculated.
-
AuthorPosts
- You must be logged in to reply to this topic.