Event Description

Forum Home Forums Understanding the Software Event Description

Viewing 15 posts - 16 through 30 (of 34 total)
  • Author
    Posts
  • #11019
    victorlam
    Participant

    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+break

    I use this together with notification plu in. Sometimes the acknowledge with event change is not stable. Not alert with status change every time.

    #11032
    victorlam
    Participant

    Hello,

    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.

    #11047
    Hennie_Kotze
    Participant

    Victorlam,

    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=0

    Formula
    https://www.dropbox.com/s/kwyq7la7qkurfl1/formula%20BatStat.png?dl=0

    Input Channel
    https://www.dropbox.com/s/28n92l31lku2gmm/Input%20Channels%20-%20Device%201.png?dl=0

    Units
    https://www.dropbox.com/s/wz2n9wthz3ig8rp/Units%20Battery%20States.png?dl=0

    • This reply was modified 1 year, 6 months ago by Mikhail.
    #11053
    Hennie_Kotze
    Participant

    Victorlam,

    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,

    #11195
    victorlam
    Participant

    Hi Hennie,
    Thanks for your support. I will try my best to follow and test on this.

    #11196
    victorlam
    Participant

    I 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.

    #11197
    victorlam
    Participant

    Server is not available…

    #11206
    Hennie_Kotze
    Participant

    Victorlam,

    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,

    #11216
    Mikhail
    Moderator

    If Server is not available, check the log file of the Server service.

    #11339
    victorlam
    Participant

    Thanks 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.

    #11340
    victorlam
    Participant

    Hello 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.

    #11341
    victorlam
    Participant

    It 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.

    #11587
    victorlam
    Participant

    Hello 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”.

    #11598
    Hennie_Kotze
    Participant

    Victorlam,

    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.
    #11608
    victorlam
    Participant

    Hi 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.

Viewing 15 posts - 16 through 30 (of 34 total)
  • You must be logged in to reply to this topic.