Change event type color

Forum Home Forums Understanding the Software Change event type color

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8890
    kcks66
    Participant

    Hi Mikhail,

    Good day to you. I created a new UNIT as below.

    https://ibb.co/tp0Scwx

    I got the UNIT name as my expectation. However, I wish to change their EVENT color:
    OK == Green
    NG == Red

    https://ibb.co/TWn7Zjh

    Pls advice for how I can change their color.
    Thanks.

    #8891
    manjey73
    Participant

    Configuration Database-Directories-Event types

    Add your event and specify your color, or use the ones that are there

    In the input channel 177, use a formula like this

    Val();Val()>0? SetStat(177,116):SetStat(177,117)

    In this way, you change the channel status number to your own, to which the colors are linked.

    #8893
    kcks66
    Participant

    Hi manjey73,

    I tried as your advice.

    https://ibb.co/DQgR9sr
    https://ibb.co/275kmrx

    However, the event status color still remain unchanged.
    Pls advice and thank you.

    #8895
    Mikhail
    Moderator

    Hi,

    When enumeration includes 2 values, colors always red (0) and green (1).
    Just add any 3rd value of the unit.

    Are there channels 9602 and 9603 in the screenshot or others?

    #8919
    kcks66
    Participant

    Hi Mikhail,

    It is worked after I added 3rd value of the unit.
    Thank you.

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