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.

Project Options...<br />

Local: The POU will not be managed in a ENI data base, but only will be stored locally in the<br />

project.<br />

Besides 'Project objects' and 'Shared objects' there is a third data base category 'Compile files' for<br />

such objects which are not created until the project has been compiled. Therefore this category is not<br />

relevant for the current settings.<br />

Ask for type of new objects: If this option is activated, then whenever a new object is added to the<br />

project, the dialog 'Object' 'Properties' will open, where you can choose to which of the three object<br />

categories mentioned above the POU should be assigned. By doing so the standard setting can be<br />

overwritten.<br />

configure ENI: This button opens the first of three ENI configuration dialogs:<br />

Each object of a project, which is determined to get managed in the ENI data base, can be assigned<br />

to one of the following data base categories: 'Project objects', 'Shared objects' or 'Compile files'. For<br />

each of these categories a separate dialog is available to define in which data base folder it should be<br />

stored and which presettings should be effective for certain data base functions:<br />

1. Dialog ENI configuration / Project objects<br />

2. Dialog ENI configuration / Shared objects<br />

3. Dialog ENI configuration / Compile files<br />

Note:<br />

Each object will be stored also locally (with project) in any case.<br />

The dialog will open one after the other if you are doing a primary configuration. In this case a Wizard<br />

(Button Next) will guide you and the settings entered in the first dialog will be automatically copied to<br />

the other ones, so that you just have to modify them if you need different parameter values.<br />

If you want to modify an existing configuration, then the three dialogs are combined in one window<br />

(three tabs).<br />

If you have not yet logged in successfully to the data base before, then the Login dialog will be<br />

opened automatically.<br />

Options for 'Macros'<br />

If you choose this category in the Options dialog, the following dialog box opens:<br />

Options dialog for the category Macros<br />

In this dialog, macros can be defined using the commands of the CoDeSys batch mechanism, which<br />

can then be called in the 'Edit' 'Macros' menu.<br />

Perform the following steps to define a new macro:<br />

1. In the input field Name, you enter a name for the macro to be created. After the New button is<br />

pressed, this name is transferred into the Macrolist field and marked as selected there. The macro<br />

4-14 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!