beautypg.com

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

Page 427

background image

L-force | PLC Designer

The Resources

DMS 3.2 EN 02/2011 TD29

425

If a function block fb contains the variables x,y and an instance variable fb_inst of
type fb is declared in PLC_PRG, then x and y can be preset as follows:

PLC_PRG.fb_inst.x:=
PLC_PRG.fb_inst.y:=

Recipes can be saved externally in a file via command 'Extras' 'Save Watch List' and
they can be loaded back to the editor via 'Extras' 'Load Watch List'. In online mode the
recipe values can be written to the variables on the PLC via 'Extras' 'Write Recipe'.

'Insert' 'New Watch List'

Short keyl: ++

This command inserts the variable(s) currently selected in a POU editor to a new
watch list. This list will automatically be created with name "Watch", whereby n is
a running number starting with 0 and used in a way that the name will be unique.
Furthermore for this command the same is true like for 'Extras' 'Add to watch list'.

'Insert' 'Insert watch variable'

This command is only available in the tabular editor view of a watch list. It inserts a
new line at the topmost position of the list and opens an edit field in column "name"
for entering a new watch variable via the Input Assistant (see the note in Creating
Watch Lists, Recipes) or by typing.

'Insert' 'Attach watch variable'

This command is only available in the tabular editor view of a watch list. It appends a
new line at the end of the list and and opens an edit field in column "name" for
entering a new watch variable via the Input Assistant (see the note in Creating Watch

Lists, Recipes) or by typing.

'Delete watch variable'

This command is only available in the tabular editor view of a watch list. It removes

the currently focused line and corresponds to using the key.

'Extras' 'Add to watch list'

Short key: ++

Out of the POU editors in the project you can directly add variables to a watch list.
When one or multiple variables or elements are selected in an editor, they can directly
be added to one of the existing watch lists via command 'Add to watch list' ('Extras'

menu or context menu). It is not necessary to deactivate the Monitoring for this
purpose.

For function blocks the command only will be available, if the full instance path of a
variable within the POU is known.