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

Removing a Reference To a Library

To make a reference to a library

1. In the DPL editor, open the program which contains the reference to be removed.

2. In the Library menu, choose Referenced Libraries.

The Library List dialog is displayed.

3. Remove the reference to the library.

4. Press OK.

The function blocks in the library are no longer available to the user program.

See Also

  • Libraries

  • Referencing and Using a Library

Exporting a Library

To use a library created in one copy of SYPT in a different copy of SYPT, the library must be exported from the first copy and imported into the second. The process of exporting a library involves creating a .LBZ library archive file which can be distributed as required. The Library Manager provides facilities to create and export .LBZ files as well as to import them.

To export a library

1. Launch the Library Manager.

2. Select the library in the tree view on the left of the Library Manager.

3. In the File menu, choose Export Library.

The Exporting Library dialog is opened allowing a name and location for the SYPT libray archive file to be specified.

4. Enter a name and choose a location.

5. Press OK.

The library is exported into the archive file.

See Also

  • Libraries

  • Library Manager

  • Importing a Library

________________________________________________________________________________

Importing a Library

To use a library created in one copy of SYPT in a different copy of SYPT, the library must be exported from the first copy and imported into the second. The process of exporting a library involves creating a .LBZ library archive file which can be distributed as required. The Library Manager provides facilities to create and export .LBZ files as well as to import them.

To import a library

1. Launch the Library Manager.

2. In the File menu, choose Import Library.

The Importing Library dialog is opened allowing a .LBZ SYPT library archive to be chosen.

3. Select a file.

4. Press OK.

The library is imported into SYPT.

Note:

The import will fail if a library with the same name is already installed in SYPT. If the existing library is no longer needed, it can be deleted using the Library Manager.

See Also

  • Libraries

  • Library Manager

  • Exporting a Library

________________________________________________________________________________

Going Online - Communicating with Targets

In order to download or upload programs or debug programs running in targets, SYPT needs to be switched into online mode so that it starts communicating with targets.

SYPT is switched online via the Configuration Editor. The remaining components of SYPT are slaves of the Configuration Editor - if the Configuration Editor is switched to online mode, SYPTLite and the DPL Editor also switch to online mode; if the Configuration Editor is switched to offline mode SYPTLite and the DPL Editor switch to offline mode and the Watch Window (if open) is closed.

When the Configuration Editor is switched online it performs the following actions:-

1. It attempts to communicate with nodes using the network and communications settings specified for the PC in the Hardware Architecture view. For example, if the PC is connected to a CT-RTU network SYPT will search for target nodes using the CT-RTU protocol.

2. When a node is found, its type (Unidrive/ UD7X, Mentor etc.) is determined and program identity (title, author, version) information is retrieved together with any cyclic data definitions.

3. SYPT then updates the Hardware Architecture, Link Architecture and Cyclic Data views with the results of its online search.

When SYPT goes online, the numeric range of node addresses it tries to find depends on the type of network to which the PC is connected.

Note:

SYPT does not restrict the search to those nodes present in any open project - it always searches for a range according to the network type on which the PC is located. This means that SYPT may find more nodes when it goes online than are present in a project. SYPT may also fail to find some nodes in a project when going online, e.g. if the nodes are not powered on, their node addresses have changed or their communications cables are not correctly fitted. SYPT will also fail to match a physical node to one present in a project if the type of node has changed, e.g. a Unidrive/ UD7X has been replaced by a Unidrive SP carrying an SM-Applications option with the same node address.

Note:

If the PC is connected to a CT-RTU network on which there are Unidrive SPs with SM-Application options connected to CTNet networks, the PC will always search the CTNet networks (via the SM-Applications options) to find nodes on CTNet. For example, even if the PC Communications Settings restrict the range of nodes for which to search to a single node, if that node is a Unidrive SP with SM-Applications options, the PC will search any connected CTNet network for nodes.

See Also

  • Switching the Configuration Editor Online

  • Networks