Forum Home › Forums › Understanding the Software › Setting Alarm threshold
- This topic has 12 replies, 4 voices, and was last updated 6 years ago by leon.
-
AuthorPosts
-
August 26, 2017 at 6:44 am #2523traudenParticipant
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.August 26, 2017 at 10:56 am #2524MikhailModeratorHi,
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.August 27, 2017 at 1:45 pm #2525traudenParticipantHi 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).September 17, 2017 at 5:10 pm #2580manrajParticipantHi!.
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)September 18, 2017 at 5:37 am #2582MikhailModeratorHi,
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.September 18, 2017 at 4:51 pm #2584manrajParticipantCan the notification send by the Automatic Control Module via email?.
September 19, 2017 at 1:39 pm #2588MikhailModeratorYes. Email, SMS and Telegram.
August 17, 2018 at 2:20 am #4144leonParticipantHi Mikhail
I searched for the discussion but I still don’t understandHow 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.August 17, 2018 at 1:44 pm #4146MikhailModeratorHi,
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.August 17, 2018 at 1:44 pm #4147MikhailModeratorIf the existing statuses are not enough for you, you can add your own statuses.
August 20, 2018 at 2:02 am #4151leonParticipantHi 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.August 20, 2018 at 1:36 pm #4152MikhailModeratorHi,
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 6 years ago by Mikhail.
August 21, 2018 at 3:11 am #4154leonParticipantHi Mikhail
The problem is solved,thank you very much for your teaching. -
AuthorPosts
- You must be logged in to reply to this topic.