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

Switching dpl Programs to Editing Mode

While in on-line mode in the DPL editor, individual programs can be taken off-line for modification. After the modifications have been made, the program can be switched back into on-line mode, the modifications built and the program downloaded to the target.

To switch a DPL program to editing mode

Do one of the following:

  • On the main toolbar, press

  • In the Project menu, choose Offline.

  • PressF9.

The DPL program for the node is switched to off-line mode and is ready for editing.

To switch a DPL program back to on-line mode

Do one of the following:

  • On the main toolbar, press

  • In the Project menu, choose Online.

  • PressF9.

The DPL program for the node is switched to on-line mode

When switching a program back to online mode, the DPL editor will request whether the program should be built if it has not been built since it was edited. If the program is different to the one on the target the DPL editor will offer to download the modified program.

See Also

  • Controlling Program Execution

  • Debugging Applications

Resetting Node Programs

You can reset a drive from the Configuration Editor or DPL Editor. When a drive is reset, execution of the programs on the drive and its options modules restart from the beginning. Any option module and drive trips will be cleared.

To reset a node program

1. Do one of the following:

  • In the Configuration Editor, select the node for which to reset the program.

  • In the DPL Editor, select the program to reset.

2. From the Run menu, choose Reset Node Program.

See Also

  • Resetting Drives

  • Debugging Applications

Resetting Drives

You can reset the target/ drive corresponding to an active node DPL program from the Configuration Editor or DPL Editor.

To reset the target/drive for a program

1. Do one of the following:

  • In the Configuration Editor, select the node for which to reset the drive.

  • In the DPL Editor, select the program corresponding to the target/drive to reset.

2. From the Run menu, choose Reset Drive.

See Also

  • Resetting Node Programs

  • Debugging Applications

________________________________________________________________________________

Functions & Function Blocks

The available functions and function blocks are indexed in the following categories:

  • Alphabetical list

  • Categorised list

  • Advanced Position Controller (SM-Applications and SM-Applications Lite)

Help on DPL Keywords is available in the Constructs reference section.

Alphabetical list

Back to Functions & Function Blocks.

Categorised list

Back to Functions & Function Blocks.

Advanced Position Controller

The following Advanced Position Controller functions are only available on SM-Applications and SM-Applications Lite.

Back to Functions & Function Blocks.

Abs - Absolute

This is a mathematical function that returns the value of its input, converting any negative value into a positive value.

Example

Target/ Language Restrictions

None.

This function returns the result of ANDing its four inputs.

Arguments

IN1% to IN3%

The values to be ANDed together. Only the bottom bit (bit 0) of each input will be ANDed. All other bits in the input will be ignored.

Example

Target/ Language Restrictions

None.

See Also

  • NAND4

  • NOR4

  • OR4

  • XOR4

________________________________________________________________________________