Force values, prepare value dialog, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 410

Advertising
background image

L-force | PLC Designer

Menu Commands sorted by Categories

408

DMS 4.1 EN 03/2011 TD29

To prepare variables for writing, the desired value must be defined in online mode in
one of the following places which are used for monitoring :
• In a watch view defined in the project, containing a list of variables to be

monitored (watch list).

• In the online view of the object within the declaration part of the respective editor.

Note: Command "Write values [all applications]" which effects all applications of a
project, is not per default inserted in any menu. (if needed, please see the
Customization dialog)
Note: See in this context also the 'Force values' command for permanently setting a
defined value.

Example:
Open an object in online mode, for example a program written in ST. In the declaration
part of the editor window you will find the displayable expressions listed in a table.
Click on the concerned field in column Prepared value, enter the desired value. Perform
command Write values which is by default part of the Online menu. The value will
immediately be written to the respective field in column Value, which means that it is
written to the controller. The Prepared value field will be empty again.
The same can be processed in a watch view containing the desired expression.

Notice in this context the 'Prepare Value' dialog which is available for currently forced
variables and where a new value to be written can be defined.

12.22.18 Force Values, Prepare value dialog

Default Shortcut: <F7>

WARNING!

Extraordinary changes of variable values in an application currently running on a
controller can cause unwanted behaviour of the controlled system.

Evaluate possible dangers before Writing or Forcing of variables and make
appropriate security precautions.
Depending on the controlled system, damages to machines and parts could result,
or even health and life of persons could be endangered.

This command (category Online) is available in Online Mode.
It effects that one or more variables of the currently active application are
permanently set to user-defined values in the PLC. The setting will be done both at the
beginning and at the end of a cycle.

Advertising