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

Page 280

Advertising
background image

L-force | PLC Designer

Editors in PLC Designer

278

DMS 3.2 EN 02/2011 TD29



Example2, Entries for structure variable in Template

− via declarations in the VAR_CONFIG interface

For variables which can be instanced, you can directly create entries in an
parameter list of type 'Instance' by a pragma in a VAR_CONFIG window
(independent of variable configuration definitions which are also done in this
interface !). (If the template does not yet exist, it will be created automatically)
Make sure that the Template defined in the pragma is already available in the
Parameter Manager..
Syntax:

{instance list=<name> path=<path> template=<template>
baseindex=<index> basesubindex=<subindex>[ <key>=<value>
<key>=<value> ...further keys ] }

<path>: The instance path of the variable;e.g. "PLC_PRG.fb1inst", hereby fb1inst
is an instance of function block fb1.

Advertising