Attribute expandfully, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 995

Advertising
background image

L-force | PLC Designer

Programming Reference

DMS 4.1 EN 03/2011 TD29

993

Attribute ExpandFully
With the help of the pragma {attribute 'ExpandFully'} all members of arrays used as
input variables for referenced visualizations can be made accessible within the
Visualization Properties dialog.
Syntax:
{attribute 'ExpandFully’}

Example:
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 so will later be
available for assignments in the Properties dialog of the frame in visu_main.
In order to get the particular components of the array displayed in this Properties
dialog also, the attribute 'ExpandFully' must be added directly before arr in the
Interface editor of visu.
Declaration within the Interface editor of visu:

VAR_INPUT
{attribute 'ExpandFully'}
arr : ARRAY[0..5] OF INT;
END_VAR

Abb. 537 Resulting properties dialog of frame in visu_main

Advertising