Background Image
Table of Contents Table of Contents
Previous Page  279 / 413 Next Page
Information
Show Menu
Previous Page 279 / 413 Next Page
Page Background

6/9

Software

Unity Pro software

Small/Medium/Large/Extra Large

Debugging tools

Unity Pro software offers a complete set of tools for debugging Modicon M340,

Premium or Quantum applications. A tool palette provides direct access to the main

functions:

b

Dynamic program animation

b

Setting of watchpoints or breakpoints (not authorized in event-triggered tasks)

b

Step-by-step program execution. A function in this mode enables section-by-section

execution. Instruction-by-instruction execution can be launched from the previous

breakpoint. Three execution commands are therefore possible when the element to

be processed is a subroutine (SR) or DFB user block instance:

v

Step Into: This command is used to move to the first element of the SR or DFB.

v

Step Over: This command is used to execute the entire SR or DFB.

v

Step Out: This command is used to move to the next instruction after the SR or

DFB element.

b

Independent execution of the master (MAST), fast (FAST), auxiliary (AUX) and

event-triggered (EVTi) tasks

Animation of program elements

Dynamic animation is managed section-by-section. A button on the toolbar is used to

activate or deactivate animation for each section.

When the PLC is in RUN, this mode can be used to view, simultaneously:

b

The animation of a program section, regardless of the language used

b

The variables window containing the application objects created automatically

from the section viewed

Animation table

Tables containing the variables of the application to be monitored or modified can be

created by data entry or initialised automatically from the selected program section.

The tables can be stored in the application and retrieved from there at a later date.

Debugging DFB user function blocks

The parameters and public variables of these blocks are displayed and animated in

real time using animation tables, with the possibility of modifying and forcing the

required objects.

In exactly the same way as with other program elements, the watchpoint, breakpoint,

step-by-step execution and program code diagnostics functions can be used to

analyze the behavior of DFBs. Setting a breakpoint in a DFB user function block

instance stops the execution of the task containing this block.

Debugging in Sequential Function Chart (SFC) language

The various debugging tools are also available in SFC language. However, unlike

other sections (IL, ST, LD or FBD) an SFC section executed step-by-step does not

stop execution of the task but instead freezes the SFC chart. Several breakpoints

can be declared simultaneously within a single SFC section.

Functions

(

continued)

Selection guide:

page 6/2

Dynamic animation/adjustment

Watchpoint

Breakpoint/step-by-step

2

1

3

4

5

6

7

8

9

10