gValueLed.gIndicator Property

Top  Previous  Next

 

PROPERTY                                               DATA TYPE                       NOTE

gIndicator.Bezel.Color

Color

 

gIndicator.Bezel.Thickness

Integer

 

gIndicator.ColorForHighValue

Color

Led color when bit state is TRUE

gIndicator.ColorForInLimits

Color

Led color when bit state is FALSE

gIndicator.ColorForLowValue

Color

If true, inactive color is set automatically

 

This property specifies visual style of Led.

 

If PLC value > gLimitHigh then led color is gIndicator.ColorForHighValue.

If PLC value < gLimitLow then led color is gIndicator.ColorForLowValue.

If gLimitLow <= PLC value <= gLimitHigh then led color is gIndicator.ColorForInlimits.

 

 

C# code example

gBitLed1.gIndicator.Bezel.Color = Color.Gray;

gBitLed1.gIndicator.Bezel.Thickness = 3;

gBitLed1.gIndicator.ColorForHighValue = Color.Red;

gBitLed1.gIndicator.ColorForInLimits = Color.Lime;

gBitLed1.gIndicator.ColorForLowValue = Color.Gray;