'ProcessValue' attribute

'ProcessValue' attribute 1:

Available from TwinCAT 3.1 Build 4026

The 'ProcessValue' attribute is used to identify a component of a structure. In the control function chart (CFC) editor, you can apply the Use Attributed Component as Input command to connect this structure to scalar-type input.

Syntax: {attribute 'ProcessValue'}

Insertion point: Line above the affected structure component

Sample:

TYPE ST_Sample :
STRUCT
    {attribute 'ProcessValue'}
    nValue1 : INT;
    nValue2 : INT;
END_STRUCT
END_TYPE

Further documentation and a sample can be found on the following page: Command Use Attributed Component as Input.