Change Led colour

Forum Home Forums Understanding the Software Change Led colour

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by Mikhail Mikhail 1 week, 2 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4710

    jeff
    Participant

    Hi,

    I want to change the led colour according to the conditions.
    1. if (Val(1007) = Val(1015))
    {Led Green;}
    else
    {Red}
    2. if (Val(1001)=Val(1002) && Val(1007)=Val(1015))
    {Led Green;}
    else if (Val(1001)=Val(1002) && Val(1007)!=Val(1015))
    {led yellow;)
    else if (Val(1001)!=Val(1002) && Val(1007)=Val(1015))
    {led yellow;)
    else if (Val(1001)!=Val(1002) && Val(1007)!=Val(1015))
    {led red;)

    May I know how to do it in Rapid Scada.

    Thank you.

    Jeff

    #4714
    Mikhail
    Mikhail
    Moderator

    Hi,
    Create a new input channel of calculated type which uses a formula to calculate a number of color. Then use this channel in a scheme component to switch led color.

    #4716

    Muhd Afham
    Participant

    Hi,
    How to create a led condition based on value from different channel. As example, if the value channel 1 is less than value in channel 2, led turn to red. if the value in channel 1 and channel 2 is equal, the led turn to green.

    It is possible to do it using Rapid Scada?

    Thank you.

    #4724
    Mikhail
    Mikhail
    Moderator

    Hi,

    It is possible to do it using Rapid Scada?

    Yes, you should create an extra input channel of the calculated type and use a forumula. For example: Val(1) < Val(2) ? 0 : 1

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.