L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 439

L-force | PLC Designer
The Resources
DMS 3.2 EN 02/2011 TD29
437
Each list type will be displayed in the Parameter Manager Editor according to the
attributes defined by the target system.
Note!
Parameter lists also can be created resp. filled with entries via pragmas which are
included in variable declarations.
Instances and Templates
An Instance" parameter list ...
... handles parameter entries, which represent a functionblock, a structure variable or
an array. Instance lists for a functionblock or a structure are each based on a template
which is also to be defined in the Parameter Manager for the respective functionblock
resp. structure. Instance lists for arrays cannot use a template made in the Parameter
Manager, but directly refer to the array which is used in the project.
A "Template" parameter list ...
... does not contain parameters which are directly accessed for the purpose of data
exchange. In fact it defines index and subindex offsets and certain attributes for
parameter entries which represent the components of a functionblock or a structure.
The template then can be used in a 'Instance' parameter list (see above), thus
providing an easy way to create parameter entries for project variables which are
instances of a functionblock or a structure.
Creating a Template parameter list:
In the edit field next to Base POU enter the name of the functionblock or structure for
which a parameter template should be created. Using the input assistant you can
browse the available POUs of the project. Press Apply to enter the components of the
chosen POU in the parameter list editor. Now edit the attribute fields and close the list
to make it available for use in an 'Instance' list.
If option Synchronous actions is activated, all read-/write accesses on other POUs
defined for any list entries, will be executed by the target system synchronously with
the call of the respective entry.
The command Insert missing entries in the context menu or in the 'Extras' menu will
cause an update of the entries according to the current version of the Base POU. This
might be necessary after having deleted some lines or after having changed the Base-
POU.
For creating Instance parameter lists for arrays it is not necessary to create an
template in the Parameter Manager. The template ARRAY will be available implicitly.