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

Page 279

Advertising
background image

L-force | PLC Designer

Editors in PLC Designer



DMS 3.2 EN 02/2011 TD29

277

Example 1a and 1b, Entries for an array in an instance list

Example1a:

Example1b:

Example 2: A structure variable of type stru1 (contains variables a,b,c) is declared as
described in the following in order to get entries in a parameter list of type 'Instance'
which is basing on the template strulist_temp; the list will get entries for the
components a,b,c, no symbolic names are assigned, the access level is set to "high"
and each index value defined by the template will be increased by 2. Make sure that
the template defined in the pragma is available in the Parameter Manager:

struvar:stru1{instance list=strulist template=strulist_templ
baseindex=16#2 basesubindex=16#0 [accesslevel=high] };

Advertising