Standard function LED KL8519

In delivery state the LEDs light up green when the respective input is occupied and are off when the input is not occupied.

The variable wSetCol can be used to specify that the respective LED lights up red.

The channel can be inverted with the variable wInv. This means that the LEDs light up if the input is not occupied and are off if the input is occupied.

Using the variable wBiCol the LEDs can be activated in two colors. This means that the LEDs light up green if the input is occupied and red if the input is not occupied. This behavior is reversed if the channels are inverted with wInv.

This functionality can be disabled with the variable wDisCh. The LEDs can then be set from the PLC.