24.01.2015 Views

PLC Programming

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing Objects in a Project...<br />

On the tab Access rights you find the same dialog as you get when executing the command 'Project'<br />

'Object Access Rights'<br />

It depends on the object and the project settings, whether there are additional tabs available where<br />

you can define object properties:<br />

• If a global variable list is currently selected in the Object Organizer, then a tab 'Global variable<br />

list' will be available where the parameters concerning the actualization of the list and concerning<br />

the data exchange of network variables are defined. The entries can be modified here. This dialog<br />

also will be opened if you create a new global variable list by selecting one of the entries in section<br />

'Global Variables' in the Object Organizer and executing the command 'Add Object'.<br />

• If a visualization object is currently selected in the Object Organizer and if the option 'Web<br />

visualization' resp. 'Target visualization' is activated in the Target Settings, then a tab<br />

'Visualization' will be available, where you can choose, whether the object should be part of the<br />

Web visualization resp. Target visualization.<br />

• If the project is connected to an ENI data base (see 'Project' 'Options' 'Project source control'), then<br />

a tab 'Database -connection' will be available. Here you can display and modify the current<br />

assignment of the object to one of the data base categories resp. to the category 'Local'. See for<br />

further information: 'What is ENI'.<br />

'Project' 'Add Action'<br />

This command is used to generate an action allocated to a selected block in the Object Organizer.<br />

One selects the name of the action in the dialog which appears and also the language in which the<br />

action should be implemented.<br />

The new action is placed under your block in the Object Organiser. A plus sign appears in front of the<br />

block. A simple mouse click on the plus sign causes the action objects to appear and a minus sign<br />

appears in front of the block. Renewed clicking on the minus sign causes the actions to disappear and<br />

the plus sign appears again. This can also be achieved over the context menu commands 'Expand<br />

Node' and 'Collapse Node'.<br />

'Project' 'View Instance'<br />

With this command it is possible to open and display the instance of the function block which is<br />

selected in the Object Organizer. In the same manner, a double click on the function block in the<br />

Object Organizer gives access to a selection dialog in which the instances of the function block as<br />

well as the implementation are listed. Select here the desired instance or the implementation and<br />

confirm using OK. The desired item is then displayed in a window.<br />

Attention: If you want to view instances, you first have to log in ! (The project has been compiled with no errors<br />

and downloaded to the <strong>PLC</strong> with 'Online' 'Login').<br />

Dialog for opening an instance<br />

4-46 CoDeSys V2.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!