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 Projects...<br />

'File' 'Open'<br />

Symbol:<br />

With this command you open an already existing project. If a project has already been opened and<br />

changed, then CoDeSys asks whether this project should be saved or not.<br />

The dialog box for opening a file appears, and a project file with the extension "*.pro" or a library file<br />

with the extension "*.lib" must be chosen. This file must already exist. It is not possible to create a<br />

project with the command "Open".<br />

Dialog box for opening a file<br />

To upload a project file from the <strong>PLC</strong>, press <strong>PLC</strong> at Open project from <strong>PLC</strong>. You will obtain, as next,<br />

the dialog Communication parameters (see menu 'Online' 'Communication parameters') for setting the<br />

transmission parameters when no connection exists yet to the <strong>PLC</strong>. Once an on-line connection has<br />

been created, the system checks whether the same named project files already exist in the directory<br />

on your computer hard disc. When this is the case you receive the dialogue Load the project from<br />

the controller where you can decide whether the local files should be replaced by those being used<br />

by the controller. (This sequence is the reverse of the sequence of 'Online' 'Load source code', with<br />

which the project source file is stored in the controller. Do not confuse with 'Create Boot project'!)<br />

Note:<br />

Please note, that you in any case have to give a new name to a project, when you load it from the<br />

<strong>PLC</strong> to your local directory, otherwise it is unnamed.<br />

If there has not yet been loaded a project to the <strong>PLC</strong>, you get an error message.<br />

(See also 'Project' 'Options' category 'Sourcedownload').<br />

To open a project which is stored in a ENI project data base, activate option Open project from<br />

Source code manager can be used . It is a precondition that you have access to an ENI Server<br />

which serves the data base. Press button ENI... , to get a dialog where you can connect to the server<br />

concerning the data base category 'Project objects'.<br />

Insert the appopriate access data (TCP/IP-Address, Port, User name, Password, Read only) and the<br />

data base folder (Project name) from which the objects should be get and confirm with Next. The<br />

dialog will be closed and another one will open where you have to insert the access data for the data<br />

base category 'Shared objects'. If you press button Finish the dialog will be closed and the objects of<br />

the defined folders will automatically be retrieved and displayed in the CoDeSys Object manager. If<br />

you want to continue to keep the project objects under data base control, then open the Project<br />

options dialogs to set the desired parameters.<br />

4-16 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!