Setting Alarm threshold

Forum Home Forums Understanding the Software Setting Alarm threshold

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2523
    trauden
    Participant

    Hi everyone,
    I have a question ” How set alarm threshold via Web-interface. Some applications need to set the value of alarm threshold.
    Thanks for any replies.

    #2524
    Mikhail
    Moderator

    Hi,
    You need to create input channels of calculated type that will store threshold. And create output channels to send command of setting threshold. Use SetVal formula for the output channels.
    The other question is how do you plan to react on threshold. For example you can create a formula to calculate status of input channel depending on the thresholds.

    #2525
    trauden
    Participant

    Hi Mikhail,
    In Adminitrator for input channel there are 4 parameters for setting alarm threshold: Lower alarm limit; lower limit upper limit and upper alarm limit. I mean, how to adjust value of these parameters via the Web site (web interface).

    #2580
    manraj
    Participant

    Hi!.
    When it comes to inserting values at the alarm threshold.there are 4 limits,Upper alarm limit,upper limit ,lower limit and lower alarm limit.Is there a way to insert a formula for that.Like Val(input channel)

    #2582
    Mikhail
    Moderator

    Hi,
    You can create additional channels that specify limits (bounds). Then create a formula that define status of the controlled input channel. This formula compares the input channel with limit channels. The difference is that the described solution doesn’t allow to generate events when a limit is reached. However, you can send notifications depending on status using Automatic Control Module.

    #2584
    manraj
    Participant

    Can the notification send by the Automatic Control Module via email?.

    #2588
    Mikhail
    Moderator

    Yes. Email, SMS and Telegram.

    #4144
    leon
    Participant

    Hi Mikhail
    I searched for the discussion but I still don’t understand

    How to change the channel Lower alarm limit; lower limit; upper limit; upper alarm limit ,from the web interface.

    If using two channels for comparison,How to do change the event color?
    Alert is green, may not be obvious enough.

    #4146
    Mikhail
    Moderator

    Hi,

    How to change the channel Lower alarm limit; lower limit; upper limit; upper alarm limit ,from the web interface.

    You can’t. If you need to change limits, create additional input channel that represent limits. And then calculate a status of a controlled channel by your own formula.

    If using two channels for comparison,How to do change the event color?

    You need to set input channel status. A formula is like that: MyVal(); MyStat()
    where MyVal and MyStat are the functions that calculate value and status.
    Or just: Cnl; MyStat()
    If you don’t need to change value.

    #4147
    Mikhail
    Moderator

    If the existing statuses are not enough for you, you can add your own statuses.

    #4151
    leon
    Participant

    Hi Mikhail

    Thank you, I understand.
    My approach is to create a channel, transfer it to the PLC comparison, and then display the result.

    Sorry, I don’t understand enough.
    What I need is to modify the color of the event in the image.
    https://imgur.com/a/ZjwHlKd
    Because the channel is used alarm.
    The event is green, may not be obvious enough.

    #4152
    Mikhail
    Moderator

    Hi,

    1. In Administrator open the Units table and add new row:
    ID = 101, Name = MyAlarm, Sign = Off;On;On
    You at least need 3 values to color them.

    2. Open the Formulas table and add a new formula:
    int MyStat()
    {
    return Cnl > 0 ? 114 : 13;
    }

    3. Use the formula for an input channel: Cnl; MyStat()
    and set MyAlarm unit for the channel.

    Hope this help.

    • This reply was modified 5 years, 7 months ago by Mikhail.
    #4154
    leon
    Participant

    Hi Mikhail
    The problem is solved,thank you very much for your teaching.

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