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.

4 - The Individual Components<br />

To protect your files from unauthorized access CoDeSys offers the option of using a password to<br />

protect against your files being opened or changed.<br />

Enter the desired password in the field Password. For each typed character an asterisk (*) appears in<br />

the field. You must repeat the same word in the field Confirm Password. Close the dialog box with<br />

OK. If you get the message:<br />

"The password does not agree with the confirmation",<br />

then you made a typing error during one of the two entries. In this case repeat both entries until the<br />

dialog box closes without a message.<br />

If you now save the file and then reopen it, then you get a dialog box in which you are requested to<br />

enter the password. The project can then only be opened if you enter the correct password. Otherwise<br />

CoDeSys reports:<br />

"The password is not correct."<br />

Along with the opening of the file, you can also use a password to protect against the file being<br />

changed. For this you must enter a password in the field Write Protection Password and confirm this<br />

entry in the field underneath.<br />

A write-protected project can be opened without a password. For this simply press the button Cancel,<br />

if CoDeSys tells you to enter the write-protection password when opening a file. Now you can compile<br />

the project, load it into the <strong>PLC</strong>, simulate, etc., but you cannot change it.<br />

Of course it is important that you memorize both passwords. However, if you should ever forget a<br />

password, then contact the manufacturer of your <strong>PLC</strong>.<br />

The passwords are saved with the project.<br />

In order to create differentiated access rights you can define user groups and "Passwords for user<br />

groups").<br />

'Sourcedownload'<br />

The following dialog will be opened when you select this category:<br />

Option dialog for the category Sourcedownload<br />

You can choose to which Timing and what Extent the project is loaded into the controller system.<br />

The option Sourcecode only exclusively involves just the CoDeSys file (file extension .pro). The<br />

option All files also includes files such as the associated library files, visualization bitmaps,<br />

configuration files, etc.<br />

Using the option Implicit at load allows the selected file range to be automatically loaded into the<br />

controller system on the command 'Online' 'Download'.<br />

Using the option Implicit at create boot project allows the selcted file range to be automatically<br />

loaded into the controller system on the command 'Online' 'Create boot project'.<br />

CoDeSys V2.3 4-11

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

Saved successfully!

Ooh no, something went wrong!