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;)
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.
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.
Can you explain how the formula work as you shown in (example: Val(1) < Val(2) ? 0 : 1)?
How to set condition in rapid scada scheme for the led indicator regarding to the formula above?