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

Watching Values in the dpl Editor

While online in the DPL editor it is possible to watch values in a number of ways.

To watch a variable or parameter in the main DPL view

  • Hover the mouse cursor over the variable or parameter.

The value of the variable or parameter is displayed in a tooltip.

To watch a variable or parameter in a QLD or LD/ FB diagram

  • Open the diagram while online.

The value of the variables or parameters referenced in the diagram are displayed.

Note:

It is not possible to monitor the values of variables inside subroutines or user-defined function blocks, nor is it possible to monitor the values of arrays.

See Also

  • Monitoring the Values of Variables and Parameters

  • Watch Window

  • Debugging Applications

________________________________________________________________________________

Setting Up a Watch List

To enable the monitoring of values in the Watch Window, you need to open the Watch Window and set up a watch list by adding items (parameters and/ or variables) to the list.

When items are added to a list they can be added for any node in the project. Every time an item is added its node can be specified, e.g. parameter #20.00 from node 1 can be watched and #20.00 from node 2 can be added. To save time specifying the node identity when adding variables and parameters, the Watch Window allows a default node to be specified. This is shown in the Watch Window status bar. In the following picture the status bar shows that the default node is CT-RTU Node 1.

To open the watch window

While online do one of the following in either the DPL Editor or Configuration Editor:

  • In the Run menu, choose Watch Window.

  • Type Ctrl+W.

To set a default node

Do one of the following:

  • From the Options menu, choose Set Default Node.

  • Click the default node indication in the status bar.

The Set Default Node window appears.

Select the required default node from the list of available nodes, then click OK.

The name of the chosen default node appears in the Watch Window's status bar.

See Also

  • Adding Variables and Parameters to a Watch List

  • Monitoring the Values of Variables and Parameters

  • Watch Window

  • Debugging Applications

________________________________________________________________________________

Opening and Closing Watch Lists

You open and close existing watch lists in the Watch Window.

To open an existing watch list

  • From the File menu, choose Open.

A standard Windows File Open dialog is displayed allowing a watch file (with extension .WCH) to be opened.

To close a watch list

  • From the File menu, choose Close.

See Also

  • Monitoring the Values of Variables and Parameters

  • Watch Window

  • Debugging Applications

________________________________________________________________________________

Saving Watch Lists

You can save a watch list to a file so that it can be reloaded later.

To save changes made to a watch list

  • From the File menu, choose Save.

To save a watch list with a new name

1. From the File menu, choose Save As.

2. In the Save As dialog, choose the location and type the new name.

See Also

  • Monitoring the Values of Variables and Parameters

  • Watch Window

  • Debugging Applications

________________________________________________________________________________