L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 132

Advertising
background image

L-force | PLC Designer

The Individual Components

130

DMS 3.2 EN 02/2011 TD29



• The Menu field is used to define the menu entry with which the macro will appear

in the 'Edit' 'Macros' menu. In order to be able to use a single letter as a short-cut,
the letter must be preceded by the symbol '&'. Example: the name "Ma&cro 1"
generates the menu entry "Macro 1". Example: the name "Ma&cro 1" will create a
menu item "Macro 1".

• In the editor field Commands you define and/or edit the commands that are to

constitute the newly created or selected macro. All the commands of the PLC
Designer batch mechanism and all keywords which are valid for those are allowed.
You can obtain a list by pressing the Help button. A new command line is started
by pressing <Ctrl><Enter>. The context menu with the common text editor
functions is obtained by pressing the right mouse button. Command components
that belong together can be grouped using quotation marks.

• If you want to create further macros, perform steps 1-3 again, before you close the

dialog by pressing the OK-button.
If you want to delete a macro, select it in the macro list and press button <Del>.
If you want to rename a macro, select it in the macro list, insert a new name in the
edit field 'Name' and then press button Rename.
To edit an existing macro, select it in the macro list and edit the fields 'Menu'
and/or 'Commands'. The modifications will be saved when pressing the OK-
button.
As soon as the dialog is closed by pressing the OK-button the actual description of
all macros will be saved in the project.
The macro menu entries in the 'Edit' 'Macros' menu are now displayed in the order

in which they were defined. The macros are not checked until a menu selection is
made.

Advertising