24.01.2015 Views

PLC Programming

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6 - The Resources<br />

Each parameter entry is represented by a line in the parameter list. Each column of the list is<br />

representing one of the parameter attributes. In addition to a certain set of standard attributes also<br />

manufacturer specific attributes might be used for the description of a parameter in the Parameter<br />

Manager.<br />

It depends on the definitions in a target specific description file which attributes (columns) will be<br />

visible and editable in the Parameter Manager and in which way they will be arranged in a parameter<br />

list. If the description file is missing, the complete standard set of attributes will be displayed, each<br />

showing the default value.<br />

Besides lists for project variables and project constants the Parameter Manager also can handle lists<br />

for system parameters. Those are parameters which are fixly defined by the target system. Furtheron<br />

you can create lists for functionblock instances or structure variables which base on user-defined<br />

templates also created in the Parameter Manager.<br />

Due to the fact that the data are stored independently of the IEC-program, a parameter list for<br />

example can be used for saving 'recipes', which are preserved even if the program is replaced by<br />

another version. Furtheron a running <strong>PLC</strong> can be "feeded" with different recipes without the need of a<br />

re-download the program.<br />

Application example:<br />

Two or more parameter lists can be generated which have identical indexing, the objects of which,<br />

however, have different values. As required, the desired set of values can be loaded into the controller<br />

by loading the corresponding list. This way it is not necessary to "touch" the control program itself.<br />

Note: It is depending on the target system, whether the parameter manager will be regarded at the creation of a<br />

boot project.<br />

6.11.1 Activating the Parameter Manager<br />

In the Resources tab in CoDeSys open the Target Settings, category Networkfunctionality:<br />

Activate option Support parameter manager and insert the desired Index- and Subindex ranges,<br />

which should be valid for the entries in the parameter lists of type 'Parameter' (constants) and<br />

'Variables' (project variables).<br />

CoDeSys V2.3 6-51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!