Forum Home › Forums › Understanding the Software › Event Description
Tagged: Channel Status, description, Event, Event Direction
- This topic has 33 replies, 3 voices, and was last updated 1 year, 3 months ago by victorlam.
-
AuthorPosts
-
October 6, 2022 at 4:20 am #11019victorlamParticipant
Hello,
Thanks for your reply. Actually I have implemented this function already by defining a new unit eg LEAK with status normal, leak and break. But I would like to know if the other users use the same way The values are 0, 1 and 2 and 3.
0 normal
1 leak
2 break
3 leak+breakI use this together with notification plu in. Sometimes the acknowledge with event change is not stable. Not alert with status change every time.
October 6, 2022 at 4:38 am #11032victorlamParticipantHello,
If possible, kindly share any new setting for event types. Or just use the default event values. No idea how to define a new event. Looks the existing events should be adequate for the application or no clear picture for all the events listed.
October 6, 2022 at 4:59 am #11047Hennie_KotzeParticipantVictorlam,
Defining a new unit is correct. It sounds like you managed to get it working then?
I have limited experience with the notification plugin, so I wont be able to give much advice on that topic.
The only thing I did extra, was to change the color of the statuses. For this you can define a new event Type for each status, and select the desired color for each. Then you can define a new formula under “Dictionaries/Formulas”. The formula will just return one of the new event types for each status.
Event Type
https://www.dropbox.com/s/emaxrgbqwvffwvh/Event%20Types.png?dl=0Formula
https://www.dropbox.com/s/kwyq7la7qkurfl1/formula%20BatStat.png?dl=0Input Channel
https://www.dropbox.com/s/28n92l31lku2gmm/Input%20Channels%20-%20Device%201.png?dl=0Units
https://www.dropbox.com/s/wz2n9wthz3ig8rp/Units%20Battery%20States.png?dl=0- This reply was modified 1 year, 6 months ago by Mikhail.
October 6, 2022 at 5:06 am #11053Hennie_KotzeParticipantVictorlam,
If the pictures in the last post are not visible, then just right click on each and select “open in a new window”
I just showed how an example of a battery status.
Regards,
October 8, 2022 at 3:50 pm #11195victorlamParticipantHi Hennie,
Thanks for your support. I will try my best to follow and test on this.October 9, 2022 at 3:07 am #11196victorlamParticipantI tried your advice but after the upload of the configuration, Webstation is not functional as before. I believe there is something wrong for the formula or other values setting. Please help to advise how this can be solved.
October 9, 2022 at 3:08 am #11197victorlamParticipantServer is not available…
October 9, 2022 at 4:33 pm #11206Hennie_KotzeParticipantVictorlam,
Can you revert back to your original deployment settings before you made the changes, and then see if the webstation is functional?
You can also send us a picture of the settings for verification.
Regards,
October 10, 2022 at 1:39 pm #11216MikhailModeratorIf Server is not available, check the log file of the Server service.
October 22, 2022 at 9:47 am #11339victorlamParticipantThanks for your help. It works now and need to check the log file for the error status and see how the issues can be fixed.
October 22, 2022 at 9:53 am #11340victorlamParticipantHello Hennie,
Thanks for your kindness and help. Now it works on my case. I have tested this case for more than 2 weeks and tested this every day and started to write the logic program everyday. Actually this is the initial exercise that I have learnt from the forum members here.
To summarize, unit can be defined as different states eg 0, 1, 2 or red, green, yellow
Event can be defined with different status value eg 200, 201, 202, 203 and 1 (defined by the user or Administrator)
User can also write his formula by himself. The formula works for my case using if and else condition.
The error encountered before is due to the program syntax error eg. Cnl, not cnl and missing of else after if statement etc. As I am not fully familiar with C# and need to get advice from the experts here.October 22, 2022 at 9:56 am #11341victorlamParticipantIt also works for notification plug in. User needs to refresh the configuration program and save all and then upload configuration again. Then select the formula to be disable and upload the configuration. Then enable the formula again and upload the configuration. Then it works after 2 weeks time testing.
November 19, 2022 at 4:05 am #11587victorlamParticipantHello Hennie,
I know you might be an experienced programmer more than me as a new learner.
How can we define your event here? According to my understanding, 200 201 202 and 203 are the event status or channel value?
return 1 means the value is defined?
I tried to test a number eg 5, it will be displayed as “battery faulty”.
November 19, 2022 at 4:07 pm #11598Hennie_KotzeParticipantVictorlam,
I have not worked with this in a while so I might be a bit rusty…
If I recall correctly, I created a new “UNIT” called “Battery States”, as you can see in the previous picture I uploaded.
Then I created the new “EVENT TYPES”, also as you can see in the picture I uploaded previously.
Now, when my channel value changes from “1” to “0”, or from “1” to “2”, or to “3”, the “event type” and the “unit” is combined into one EVENT in the EVENT LIST, and it’s colour is also defined in the EVENT TYPE.
Below I have added another picture of my EVENT LIST as seen from my webstation.
https://www.dropbox.com/s/fg80lfq14a1wg1i/EVENT_STATUS_VIEW.png?dl=0
- This reply was modified 1 year, 5 months ago by Hennie_Kotze.
November 20, 2022 at 10:05 am #11608victorlamParticipantHi Hennie,
Thanks for your quick response on my kindest help.
I have already learnt the concept of status change from your side with your formula and show the status of the battery management eg communication lost, charging, battery fault. I did memorized this method and stimulate my case as follows:-
Normal;Leak;Break;Leak&Break under UNIT at dictionary section.
This works. Thanks a lot.
Now I also would like to display the value og the register under input channel number eg 102. As the original number for this register is 65535 (FFFF), it will change to other values once triggered with the water leakage situation. So I am asking if you have any tips or hints for me to include this information to be displayed as well.
Your battery status formula is very helpful and make me to understand about RAPID SCADA. I am a new user without any proper programming skill.
Thanks for your kind support so far.
-
AuthorPosts
- You must be logged in to reply to this topic.