Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
SYPT PRO User Guide / SYPT PRO User Guide.doc
Скачиваний:
244
Добавлен:
03.03.2016
Размер:
17.32 Mб
Скачать

Rearranging the Order of Watch List Items

You can rearrange the order of items in a watch list by moving items up or down in the list.

To move an item up in the watch list

In the watch list, select the item to move and do one of the following:

  • From the Edit menu, choose Move Up in List.

  • On the toolbar, press

To move an item down in the watch list

In the watch list, select the item to move and do one of the following:

  • From the Edit menu, choose Move Down in List.

  • On the toolbar, press

See Also

  • Selecting Watch List Items

  • Monitoring the Values of Variables and Parameters

  • Watch Window

  • Debugging Applications

________________________________________________________________________________

Changing the Values of Variables or Parameters

While online it is possible to change the values of target variables or parameters in the DPL Editor or the Watch Window. Within the DPL editor, values can be set from either the main DPL view or from within a LD/ FBD diagram or QLD diagram.

To change the value of an item in the main DPL view

1. Double-click the variable or parameter in the view.

The Write Variable dialog appears.

2. In the Value field, enter the new value, then click OK.

The value is written to the target.

To change the value of an item in a LD/ FB diagram or a QLD diagram

1. Double-click the variable or parameter.

The Write Variable dialog appears.

2. In the Value field, enter the new value, then click OK.

The value is written to the target.

To change the value of an item using the Watch Window

1. In the Immediate Window of the Watch Window, enter the name of the item followed by the required value.

2. Press ENTER.

The value is written to the target.

For example, enter:

MyValue% = 200

to set the value of MyValue% to 200.

The node on which item value will be set is the default node for the Watch Window .

Note:

It is not possible to set the values of variables inside subroutines or user-defined function blocks.

See Also

  • Debugging Applications

  • Monitoring the Values of Variables and Parameters

  • DPL Editor

  • Watch Window

________________________________________________________________________________

Controlling Program Execution

When debugging programs, you can perform many tasks to control the flow of programs:

  • Stopping and Starting Programs

  • Pausing and Resuming Programs

  • Stopping and Stepping Tasks

  • Running Tasks

  • Using Breakpoints

See Also

  • Debugging Applications

________________________________________________________________________________

Stopping and Starting Programs

You can stop and start programs from the Configuration Editor or DPL Editor.

To stop or start a program from within the Configuration Editor

In the Hardware Architecture view, select the node for which to stop or start the program and do one of the following:

  • From the Run menu, choose Stop/Start Program.

  • On the main toolbar press

To stop or start a program from within the DPL Editor

Do one of the following:

  • From the Run menu, choose Stop/Start Program.

  • On the main toolbar press

To stop or start a node DPL program from the task manager within the DPL editor

  • In the task manager, press

See Also

  • Controlling Program Execution

  • Debugging Applications

________________________________________________________________________________