Introduction

You can export/import LL984 segments and networks from the Structural View of the Project Browser.

Restrictions

In contrast to the Export dialog for other language sections, the dialog for LL984 segments/networks does not provide the With SR check box, because the subroutine networks called in the exported networks are not exported.

This is done because the called subroutine number can be given as a parameter at runtime, so you do not know in advance which subroutines are really called.

If you want to use the called subroutines in another application, you must export and re-import the whole LL984 subroutine segment.

Files Generated

Files with the following extensions are generated during export:

  • *.X9S for LL984 segments

  • *.X9N for LL984 networks

The created files also include the definitions of variables and variable types used inside the exported segments and networks.

Exporting LL984 Segments/Networks

Step

Action

1

Select the element to be exported (LL984 segment/network).

2

Right-click and select Export from the context menu or use the File > Export menu command.

3

Select the destination directory for the export and enter the file name.

4

Select / deselect the With DDT/With DFB options.

5

Click the Export button.

6

A message in the Import/Export tab of the output window informs you when export is completed.

Importing LL984 Networks

To import a *.X9N file (LL984 network) you have to select an LL984 segment node in the Structural View of the Project Browser

Right-click and select Import from the context menu or use the File > Import menu command.

In case of naming conflicts for the network name or the used variables and variable types an Import Trouble Report dialog will be displayed. Please refer to Managing Conflicts.

Importing LL984 Segments

To import a *.X9S file (LL984 segment) you have to select Sections or SR Sections in the Structural View of the Project Browser.

Right-click and select Import from the context menu or use the File > Import menu command.

In case of naming conflicts an Import Trouble Report dialog will be displayed.

Importing a *.X9S file to the SR Sections node can end up in the existence of more than one LL984 segment under SR Sections .

During Analyze this will be checked and will lead to an analyze error.

In this case move the LL984 subroutine networks needed into one LL984 SR segment and delete the other LL984 SR segments.

Even if the Ladder Logic (LL984) option under Tools > Project Settings > Program > Languages is not set, *.X9S files can be imported without error messages and the corresponding segments and networks will be created. But in this case later during Analyze an incorrect language message will be raised for these segments and networks.

In the context menu of segments the menu entry to import networks is disabled in case the Ladder Logic (LL984) option is not set.