How can i test my project, Debugging, Additional online functions – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 34: L-force | plc designer

Advertising
background image

L-force | PLC Designer

A Brief Introduction to PLC Designer

32

DMS 3.2 EN 02/2011 TD29



3.2.3

How can I test my project?

Once all errors have been removed, activate the simulation, log in to the simulated
PLC and "load" your project in the PLC. Now you are in Online mode.

Now open the window with your PLC Configuration and test your project for correct
sequence. To do this, enter input variables manually and observe whether outputs are
as expected. You can also observe the value sequence of the local variables in the
POUs. In the Watch and Receipt Manager you can configure data records whose
values you wish to examine.

3.2.4

Debugging

In case of a programming error you can set breakpoints. If the process stops at such a
breakpoint, you can examine the values of all project variables at this point in time. By
working through sequentially (single step) you can check the logical correctness of
your program.

3.2.5

Additional Online Functions

Further debugging functions:

You can set program variables and inputs and outputs at certain values.

You can use the flow control to check which program lines have been run.

A Log records operations, user actions and internal processes during an online session
in a chronological order.

If activated in the target settings the Sampling Trace allows you to trace and display
the actual course of variables over an extended period of time.

Also a target specific function is the PLC Browser which can serve to request certain
information from the PLC.

Once the project has been set up and tested, it can be loaded down to the hardware
and tested as well. The same online functions as you used with the simulation will be

available.

Advertising