Persistent variables, External file, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 93

Advertising
background image

L-force | PLC Designer

Concepts and Base Components

DMS 4.1 EN 03/2011 TD29

91

3.7.12

Persistent Variables
This object is a global variables list, which however only contains persistent variables
of an application. Thus it must be assigned to an application and for this purpose be
inserted in the device tree via the 'Add Object' dialog below this application.
A persistent variables list is edited in the GVL Editor, whereby "VAR_GLOBAL
PERSISTENT RETAIN" already is preset in the first line.

Abb. 13

Example, Persistent Variables list

Persistent variables only get re-initialized at a 'Reset (origin) <application>'. For further
information please see the help page on remanent variables.

3.7.13

External File

Note: This functionality is only available if supported by the currently used feature
set.

Any external file can be added to the POUs view of a project via the Add Object
command: In the 'Add object' dialog choose object type 'External File'. Press button

for getting the dialog for browsing for a file, the path of which will be entered to

the field below File path:. In the field below Name: automatically the name of the
chosen file will be entered without extension. You can edit this field to define another
name for the file under which it should be handled within the project.
What do you want to do with the external file ?
Select one of the options:
Remember the link. : The file will be available in the project only if it is available in the
defined link path.
Remember the link and embed into project. : A copy of the file will be stored internally
in the project but also the link to the external file will be remembered. As long as the
external file is available as defined, the defined update options will effect accordingly.
Otherwise just the file version stored in the project will be available.
Embed into project. : Just a copy of the file will be stored in the project. There will be
no further connection to the external file.

Advertising