If and then implementation

Forum Home Forums Understanding the Software If and then implementation

Tagged: 

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #10904
    victorlam
    Participant

    May I know how can the if condition can be implemented for the input channel?
    Let’s say if channel 102 is having value of 100, then for example an event is triggered.

    #10928
    Mikhail
    Moderator

    You can use limits for a channel, for example. Or trigger events on every channel data change.

    #10931
    victorlam
    Participant

    Can I confirm if I need to apply lower limit or lower alarm limits or higher limit or higher alarm limits? Then click event on change checkbox.

    #10946
    Mikhail
    Moderator

    Why don’t you try?

    #10948
    victorlam
    Participant

    Hello Mikhail,
    Thanks for your reply. Actually, I tested and worked.
    Together with notification plug in, there is a short beep for the status changed from 0 to 1 or 1 to 0 or 0 to 2 etc.
    But I would to have a long beep with the acknowledgement? How can this be implemented? or there is no way to have long beep here?

    #10949
    victorlam
    Participant

    If there is long beep implemented, event log showed the “checked” checkbox is ticked.
    I do not understand why sometimes this acknowledgement not working sometimes. Or my steps are not correct.

    #10950
    victorlam
    Participant

    Please find the event log with checkbox unticked

    https://drive.google.com/file/d/1MH-PVDyrgOp3MrOOFUHaVe9XCk93XYaz/view?usp=sharing

    There is no acknowledgement here. Not understand what is missing here at Administrator in the input channel.

    #10956
    Mikhail
    Moderator

    But I would to have a long beep with the acknowledgement?

    Long beep is possible with Notification Plugin.

    “Checked” column in this screenshot means acknowledgement made by operator.

    #10961
    victorlam
    Participant

    Actually I have already installed the notification plug in. But I cannot receive any continuous long beep sound. Please advise if I have something missing for the steps within Administrator.

    #10962
    Mikhail
    Moderator

    Do you see notifications in the panel of Notification plugin as displayed here ?

    • This reply was modified 2 months ago by Mikhail.
    #10966
    victorlam
    Participant

    Hello Mikhail,
    Thanks for your support.
    I have this notification before provided that the I have set the limit, eg lower limit, lower alarm, high limit, high alarm limit. Yes, I will have the notification under this condition. But I would like to have the notification (long beep with acknowledgement) if the register eg 30001 is having the value of 1 or 2. How can I achieve this notification support?

    #10967
    victorlam
    Participant

    Previously I try to set the high limit eg 0.1 and it works but this might not be a reasonable way to design the logic here.

    My request is:-

    Register 30001 = 1 Alert with notification (with acknowledgement)
    Register 30001 = 2 Alert with notification (with acknowledgement)

    30001 = 1 water leakage condition
    30001 = 2 cable break condition
    30001 = 3 leakage and cable break together

    Please help to advise the proposal on this.

    #10969
    Mikhail
    Moderator

    Hello,
    Please provide a screenshot of Notification plugin that contains visible notifications.

    #10971
    victorlam
    Participant
    #10972
    victorlam
    Participant

    Hello,

    Please find the project file for review as below:-

    https://drive.google.com/file/d/1QUKg9sjP_IUykz3e4UaWfr2ZPXaceW-z/view?usp=sharing

    Actually, if I set with limits, the notification alarm works fine without issue.
    Except the limit, the notification cannot be initiated with the acknowledgement and continuous long beep alarm.

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