Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
21
Добавлен:
11.10.2020
Размер:
3.39 Mб
Скачать

Components of WAGO-I/O-PRO 32

117

Managing Objects in a Project

 

 

 

For this the project must be compiled. Choose the language into which you want to convert and give the POU a new name. Remember that the name of the POU may not have already been used. Then press OK, and the new POU is added to your POU list.

The type of processing that occurs during conversion corresponds to that which applies to compilation.

x Dialog box for converting a POU

4.4.9 'Project' 'Object Copy'

With this command a selected object is copied and saved under a new name. Enter the name of the new object in the resulting dialog box. Remember that the name of the object may not have already been used.

If, on the other hand, you used the command 'Edit' 'Copy', then the object is parked on the clipboard, and no dialog box appears.

x Dialog box for copying a POU

4.4.10'Project' 'Object Open'

Shortcut: <Enter>

With the command you load a selected object within the Object Organizer into the respective editor. If a window with this object is already open, then it gets a focus, is moved into the foreground and can now be edited.

There are two other ways of opening an object:

Doubleclick with the mouse on the desired object

type in the Object Organizer the first letter of the object name. Then a dialog box opens in which all objects of the available object types with this initial letter are shown. Select the desired object and click on the button

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

118Components of WAGO-I/O-PRO 32

Managing Objects in a Project

Open in order to load the object in its edit window. This option is supported with the object type Resources only for global variables.

This last possibility is especially useful in projects with many objects.

x Dialog box for choosing the object to be opened

4.4.11'Project' 'Object Access rights'

With this command you open the dialog box for assigning access rights to the different user groups. The following dialog box appears:

x Dialog box for assigning access rights

Members of the user group 0 can now assign individual access rights for each user group. There are three possible settings:

No Access: the object may not be opened by a member of the user group.

Read Access: the object can be opened for reading by a member of the user group but not changed.

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

Components of WAGO-I/O-PRO 32

119

Managing Objects in a Project

 

 

 

Full Access: the object may be opened and changed by a member of the user group.

The settings refer either to the currently-selected object in the Object Organizer or, if the option Apply to all is chosen, to all POUs, data types, visualizations, and resources of the project.

The assignment to a user group takes place when opening the project through a password request if a password was assigned to the user group 0.

4.4.12'Project' 'Object properties'

This command is only available if a global variable list in the Object Organizer is marked. It opens the dialog 'Global Variable List', in which the parameters for the updating of the list and, if applicable, for data exchange of network global variables, are configured. Entries can be changed here. When a new global variable list is created, this dialog is opened with the command 'Insert Object' if the folder 'Global Variables' or any entry above is marked in the Object Organizer.

4.4.13'Project' 'Add Action'

This command is used to generate an action allocated to a selected block in the Object Organizer. One selects the name of the action in the dialog which appears and also the language in which the action should be implemented.

The new action is placed under your block in the Object Organiser. A plus sign appears in front of the block. A simple mouse click on the plus sign causes the action objects to appear and a minus sign appears in front of the block. Renewed clicking on the minus sign causes the actions to disappear and the plus sign appears again. This can also be achieved over the context menu commands 'Expand Node' and 'Collapse Node'.

4.4.14'Project' 'Open Instance'

With this command it is possible to open and display the instance of the function block which is selected in the Object Organizer. In the same manner, a double click on the function block in the Object Organizer gives access to a selection dialog in which the instances of the function block as well as the implementation are listed. Select here the desired instance or the implementation and confirm using OK. The desired item is then displayed in a window.

Attention:

If you want to view instances, you first have to log in ! (The project has been compiled with no errors and downloaded to the PLC with 'Online' 'Login').

x Dialog for opening an instance

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

120Components of WAGO-I/O-PRO 32

Managing Objects in a Project

4.4.15'Project' 'Show Call Tree'

With this command you open a window which shows the call tree of the object chosen in the Object Organizer. For this the project must be compiled (see 'Rebuild all'). The call tree contains both calls for POUs and references to data types.

x Example of a call tree

4.4.16'Projekt' 'Show cross reference'

With this command you open a dialog box which makes possible the output of all application points for a variable, address, or a POU. For this the project must be compiled (see 'Project' 'Build').

Choose first the category 'Variable', 'Address', or 'POU' and then enter the name of the desired element. To obtain all elements of the entered category enter a "*" in Name.

By clicking on the button Cross References you get the list of all application points. Along with the POU and the line or network number, the variable name and the address binding, if any, are specified. The Domain space shows whether this is a local or a global variable; the Access column shows whether the variable is to be accessed for ‚reading' or ‚writing' at the current location.

When you select a line of the cross reference list and press the button Go To or doubleclick on the line, then the POU is shown in its editor at the

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

Соседние файлы в папке 759-332