Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 118

Advertising
background image

L-force | PLC Designer

The Individual Components

116

DMS 3.2 EN 02/2011 TD29



Example:

(*
a:=inst.out; (* to be checked *)
b:=b+1;
*)

Here the comment that begins with the first bracket is not closed by the bracket
following "checked," but only by the last bracket.



Stop!

Currently this option must be used carefully: If the setting in the project does not
match the setting chosen in a library which also has been created in »PLC Designer«
and now is used is the project, compiler errors will occur, which are hard to interpret
by the user and often cannot be cleared!

Create binary file of the application: A binary image of the generated code (boot
project) is created in the project directory during compilation. File name:
<project_name>.bin. By comparison, the command 'Online' 'Create boot project' sets

up the boot project on the controller.

Actions hide programs: This option is activated per default, when a new project is
created. It means: If a local action has the same name like a global variable or a
program, the following hierarchy is valid: local variable before local action before
global variable before program.

Note!

If an existing project is opened, which has been created with a previous PLC
Designer version, the option will be deactivated per default. Thus the previously vlid
hierarchy (local varaible before global variable before program before local action)
can be kept.

Treat LREAL as REAL: If this option is activated, (availability depends on the runtime
system, default: not activated), the compile will handle LREAL values as REAL values.
This can be used for creating platform independent projects.

Number of data segments: Here you define how many memory segments should be
allocated in the PLC for the project data. This space is needed to make possible Online
Change even if new variables have been added. If during compilation you get the
message "Out of global data memory...", enter a higher number. In this regard local
program variables will be handled like global variables.

Advertising