Event Description

Forum Home Forums Understanding the Software Event Description

Viewing 15 posts - 1 through 15 (of 34 total)
  • Author
    Posts
  • #9994
    Hennie_Kotze
    Participant

    Good Day,

    I want to view the events list at the bottom of the screen, but I am using integer values to determine certain states and the description only shows the value of the actual integer. The operator will not understand the description if it is an integer value…

    Is it possible to manipulate the events register to display any other data in the the description column?

    Example:

    If
    Input channel 1 = 1 (state of field device healthy)
    Then
    Event description displays “Healthy”
    If
    Input channel 1 = 2 (state of field device faulty)
    Then
    Event description displays “Faulty”

    Regards,

    #9999
    Mikhail
    Moderator

    Hello,

    If I understand you correctly, you should
    1. Set the Enumeration type for the input channel
    2. Create a new row in the Units table to specify possible values (see Off-On, for example) and select the create unit for the channel.
    Event descriptions should show the states as text.

    #10006
    Hennie_Kotze
    Participant

    Thanks for the advice,

    But I’m still struggling with this one a bit…

    I can edit the channel properties like this:

    Quantity = STATE
    Format = ENUM TEXT
    Unit = ON / OFF
    Upper Alarm Limit = 2

    The description indicates the following:

    Channel Value = 3 / Event Description “Alarm High: ON” / Colour of text is green
    Channel Value = 2 / Event Description “Normal: ON” / Colour of text is green
    Channel Value = 1 / No Event
    Channel Value = 0 / No Event

    If I transition the channel value from 3 down to 0, then the description is “Normal:OFF” and it’s in red…

    Is this correct, or did I not configure it correcty?

    Perhaps I did not understand the point number 2 in your reply correctly??

    Is there any way I can add my own text to display as the event description?

    Regards,

    #10010
    Mikhail
    Moderator

    I suppose, you don’t need limits for enumeration channels. Just use events on change.
    Create your own custom unit: Faulty; Healthy
    If a controller sends values 1 and 2, you can use a formula to make it 0 and 1.

    If you have 2 states:
    State 0 is green
    State 1 is red.

    If you have 3 or more states, the default color is black. You can specify color by setting channel status by a formula. Status defines a color.

    #10011
    Hennie_Kotze
    Participant

    Thanks Mikhail,

    I’m making progress at least…. I created the channels and used the different states to change colour. It works well.

    I just cant figure out how to create my own custom unit… I dont see any option for that… All options I see in the units table are the pre defined units, and they dont include a “Custom Unit” selection…

    Do I have to create a seperate channel as TEXT format and use a formula to do it?

    Regards,

    #10012
    Hennie_Kotze
    Participant

    Mikhail,

    I finally found the settings in the dictionaries, under the tabs “UNITS”, “EVENT TYPES”….

    Now the event description is working!!

    Please just give me an example of the formula used to change the state of a channel, so I can assign the correct colours to the events as well.

    Regards,

    #10013
    Mikhail
    Moderator

    A formula would be close to
    Cnl >= 2 ? 0 : 1

    If you also want to calculate channel status
    Cnl >= 2 ? 0 : 1; Cnl >= 2 ? 201 : 202
    where 201 and 202 are status IDs

    • This reply was modified 2 years, 2 months ago by Mikhail.
    #10016
    Hennie_Kotze
    Participant

    Thank you,

    I’ll play around with it until I get it to work… At least now I’m on the right path!

    Tell me, is there a way we can swop the direction of the event messages around? Instead of having the latest event appear at the bottom, can we change it to appear at the top?

    Regards,

    #10020
    Mikhail
    Moderator

    Event order is hardcoded. The list is scrolled down automatically if a user don’t touch it for some period (about 1 min).

    #10907
    victorlam
    Participant

    Hello Hennie,

    I know if you have successfully implemented your requirement, I also would like to set the similar function.

    Can you kindly share how you can set the input channel and formula and condition so that 1 is Healthy and 2 is Faulty then.

    Can you help to share your steps if possible?

    #10926
    Mikhail
    Moderator

    Hello,

    Can you kindly share how you can set the input channel and formula and condition so that 1 is Healthy and 2 is Faulty then.

    Duplicated.

    #10939
    Hennie_Kotze
    Participant

    Victorlam,

    I am currently busy with training so I am unable to assist right away.

    I will be back in the office tomorrow, so hopefully I can provide you with the information before Friday.

    Regards,

    #10940
    victorlam
    Participant

    Hello Hennie,

    Thanks for your help. It is fine for me.
    As I am still new on this platform, it will be good to have some information that can be followed with.

    #11015
    victorlam
    Participant

    Hello Hennie,

    Can you kindly help to provide the information if you can support? I would like to learn from your side if possible.

    #11016
    Hennie_Kotze
    Participant

    Good day Victorlam,

    My apologies for the long delay.

    Just a quick question to understand your requirements…

    The number, or input you need to work with… Is it a real number (number with a decimal point), or an Integer (Number without a decimal point) or a Boolean (On or Off)?

    If the value is a “1” or a “2” or a “3” etc., then it is an integer, If the value is either a “0” or a “1”, then it is a Boolean or a discrete.

    Also, do you only need two statuses? “Healthy” & “Faulty” ?

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