Command: Use Attributed Member as Input
Symbol:
Function: The command allows for connecting a structure member to a scalar type input.
Call: menu, in the context menu
Requirements: A CFC editor is active and a function block input is selected.
The member of the structure that is connected to the input of the subsequent function block has to be provided with the {attribute 'ProcessValue'}
pragma. The data type of the structure member has to be compatible with the data type of the subsequent input. Inputs connected in this way are flagged with the V
symbol.
Example 4. Example
TYPE QINT : STRUCT Status : STRING; {attribute 'ProcessValue'} Value1 : INT; Value2 : INT; END_STRUCT END_TYPE
PROGRAM PLC_PRG VAR input1: QINT; output1: QINT; intValue: INT; END_VAR

If you do not execute the Use Attributed Member as Input command for this link, then a compiler error is issued.