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

Page 103

Advertising
background image

L-force | PLC Designer

Concepts and Base Components

DMS 4.1 EN 03/2011 TD29

101

To add an image manually to a pool, select the ID field of the first empty line in the
pool table, use the <Space>-key to open an edit frame and enter an ID (string). If the
entered ID is already used within the table, automatically a digit will be appended,
starting with 0 and being counted up for each further "copy" of the ID.
Then set the cursor to the File name field and via the <Space>-key and then by the

button open the Select image dialog, where you can specify the path of the desired

image file.

Using images which are managed in image pools
Regard the following if the ID of the image to be used is specified in multiple image
pools:
Search Order: If you choose an image managed in the GlobalImagePool you do not

need to specify the pool name. The search order for images corresponds to that for
global variables: 1. GlobalImagePool, 2. Image pools assigned to the currently
active application, 3. Image pools in POUs window besides GlobalImagePool, 4.
Image pools in libraries

Unique accessing: You can directly call the desired image by adding the image pool

name before the ID according to syntax "<pool name>.<image ID>" (example, see
figure above: "imagepool1.drive_icon")


1. Using an image in a Visualization element of type "image":
When inserting an image element in a visualization, you can define it to be a static
image or a dynamic image, which can be changed in online mode according to the
value of a project variable:
Static images:
In the configuration of the element (property "Static ID") enter the image ID resp.
image pool name + image ID. Regard in this context the remarks on Search Order and
Unique accessing)
Dynamic images:
In the configuration of the element (property "Bitmap ID variable") enter the variable
which defines the ID, e.g. "PLC_PRG.imagevar".

2. Using an image for the Visualization background:
In the Background definition of a visualization you can define an image to be displayed
as visualization background. The image file can be specified as described above for a
visualization element by the name of the image pool and the image file name.

Advertising