Attribute ExpandFully
Use the pragma {attribute 'ExpandFully'}
to make all members of arrays used as input variables for referenced visualizations accessible within the dialog box.
Visualization visu is intended to be inserted in a frame within visualization visu_main.
As input variable arr is defined in the interface editor of visu and will later be available for assignments in the dialog box of the frame in visu_main
.
In order to get the available particular components of the array in the ExpandFully in the interface editor of visu directly before arr.
dialog box, insert the attributeDeclaration in the interface editor of visu:
VAR_INPUT
{attribute 'ExpandFully'}
arr : ARRAY[0..5] OF INT;
END_VAR
Resulting visu_main
: