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

L-force | PLC Designer
Quickstart
DMS 4.1 EN 03/2011 TD29
149
1. Open an instance window of the program
The instance view of a POU provides all watch expressions of that instance in a table
view in the declaration part and – if activated – as “inline monitoring” also in the
implementation part.
In order to open the online view, perform a double-click on "PLC_PRG" in the Devices
window or select this entry and choose command Edit object (context menu).
In the lower part of the view you see the code lines as entered in offline mode,
supplemented by the little inline monitoring windows behind each variable, showing
the actual value. In the upper part a table shows the watch expressions of the POU,
that is the current values of the respective variables in application "Application" on the
PLC.
2. Writing and forcing variables:
You can write or force a "Prepared value" to variable ivar on the PLC, which means that
ivar will be set to this value at the beginning of the next cycle. Perform a double-click
on the field in column Prepared value, enter a desired integer value and leave the field
by
values resp. Force values (Debug menu) to write or force this value to the PLC. You will
see the result at once in column Value.
3. Use the watch views:
Watch view windows can be used to configure specific sets of watch expressions of
the application, for example for the purpose of debugging.
From the View menu use command Watch -> Watch1. The watch window will open.
In column Expression perform a mouse-click in the first line of the table to open an edit
frame. Enter the complete path for variable ivar which should be monitored:
"PLCWinNT.Application.PLC_PRG.ivar".
It is recommended to use the input assistant via button for this purpose. Close the edit
frame with