Image pool, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 102

Advertising
background image

L-force | PLC Designer

Concepts and Base Components

100

DMS 4.1 EN 03/2011 TD29

3.7.15

Image Pool

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

Image pools are tables defining the file path, a preview and a string ID for each

image. By specifying the ID and (for unique accessing) additionally the image file name
the image can be referenced e.g. when being inserted in a visualization (configuration
of the properties of an image element, see below).

Note: It is recommended to reduce the size of an image file as far as possible before
adding it to an image pool. Otherwise the project size and the loading and storing
efforts of visualization applications, including images, might get unnecessarily big.


Structure of an image pool:

Abb. 17

Example of an image pool

ID: String ID, e.g. "logo", "y_icon", "2"); an unique referencing of an image is achieved
by the combination of image list name and ID (e.g. "List1.basic_logo")
File name: Path of the image file (e.g. "C:\programs\images\logo.bmp")
Image: Preview of the image

Creating and editing an image pool
A project can contain several image pools.
If no pool is yet available in a project, then - as soon as you add the first image
element and enter an ID ("static ID") for the respective image in the visual element
properties - an image pool with the default name "GlobalImagePool" will be created
automatically and an entry for the image will be inserted. GlobalImagePool is a global
pool which always will be searched first when an image file is to be used. Besides this
also other, individually named pools can be used.
Manual creation of image pools is done like follows: GlobalImagePool via the Create
GlobalImagePool command, the others via the Add Object command. The pool objects
can be inserted in the POUs view or directly assigned to an Application object in the
Devices view. In the 'Add object' dialog choose object type 'Image pool' and define a
name for the pool.

Advertising