Linking with PLC
In the simplest case, the Color Control can be used to represent a color variable from the PLC. For this purpose, for example, a PLC variable of type TcVnVector4_LREAL is linked to the ColorSymbol attribute. In addition, all Vector3 and Vector4 data types as well as INT, DINT, SINT, UINT, USINT and LREAL are supported.

Now PLC variable and the control are synchronized with each other:


The fourth element of the PLC array is ignored, because by default only three channels are displayed as RGB in the control. This can be set via the color format.