2 introduction, 1 function overview, Drive plc developer studio – Lenze DDS v2.3 User Manual

Page 13: 2introduction

Advertising
background image

Drive PLC Developer Studio

Introduction

2-1

l

DDS EN 2.3

2

Introduction

2.1

Function overview

Project structure

The project is saved in a file that is named after the project.

The first organization unit created in the new project is automatically called PLC_PRG. Other
organization units (programs, function blocks and functions) can be called from here.

The DDS uses the Object Organizer to differentiate between the different object types within a
project:

Organization units

Data types

Visualization elements (visualization)

Resources.

The

Object Organizer allows fast access to all objects of your project. Resource structuring uses the

following objects, among others:

Libraries

Codes

Task configurations

etc.

Project generation

Addresses not included in the PLC configuration cannot be used.

First configure the control to facilitate access to the system organization units during programming.

Then generate the organization units required for your application, or copy them from existing
projects. Program the required organization units in the desired language.

On completion of the programming process, compile the project and eliminate any reported errors.

Simulation with the DDS

Once all errors have been eliminated, activate the simulation, log in to the simulated control and start
the project. The DDS is now in online mode.

The window with the PLC configuration can now be opened, and the project can be checked for
correct operation. For this purpose, assign the inputs manually and check that the outputs are set
as required. The organization units also allow a monitoring of local variable current values. Use the
Watch and Receipt Manager to configure the data records to be monitored.

Note!

Lenze function blocks are not simulated.

Simulation is generally restricted.

(

^ 6-37)

Debugging with the DDS

In the event of a programming error, breakpoints can be set. If program execution stops at a
breakpoint, the values of all project variables as at that time can be inspected. Logical correctness
of the program can be checked by step-by-step processing (single-stepping).

Program variables and inputs / outputs can be set to specific values.

Project documentation using the DDS

The entire project can be documented or exported to a text file at any time.

Show/Hide Bookmarks

Advertising