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. Other permitted data types are INT, REAL, TcVnVector3_LREAL.

Linking with PLC 1:

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

Linking with PLC 2:
Linking with PLC 3:

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.