24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Command File (cmdfile) Commands<br />

online run<br />

online sim<br />

online sim off<br />

Start of the application program ('Online' 'Run'<br />

Switch on of simulation mode 'Online' 'Simulation')<br />

Switch off of simulation mode ('Online' 'Simulation')<br />

Commands of the file menu:<br />

file new<br />

file open <br />

possible additions:<br />

A new project is created ('File' 'New')<br />

The project will be loaded ('File' 'Open')<br />

/readpwd:<br />

The password for read access is given here so that no dialog<br />

asking for the password will appear when the read-protected<br />

project is opened.<br />

/writepwd: The password for full access is given here, so that no dialog<br />

asking for the password will appear when the project is<br />

openend.<br />

file close<br />

The current project will be closed ('File' 'Close')<br />

file save<br />

file saveas <br />

optionally add:<br />

<br />

file saveas <br />

file quit<br />

The current project will be stored ('File' 'Save')<br />

The current project will be saved with the file name <br />

('File' 'Save as')<br />

Default: Project will be saved as .pro under the<br />

current CoDeSys version. If you want to save the project as an<br />

internal or external library or as project for an older CoDeSys<br />

version, add the respective command:<br />

Possible entries for :<br />

"internallib" Save as internal library :<br />

"externallib" Save as external library :<br />

"pro" Save as project for older version:<br />

valid entries for : 15, 20, 21, 22 (product versions 1.5,<br />

2.0, 2.1, 2.2)<br />

Example: "file save as lib_xy internallib22" -> The project<br />

"project xy.pro", which is created in the current CoDeSys<br />

Version will be saved as "lib_xy.lib" for V2.2.<br />

The current project will be saved with the file name <br />

('File' 'Save as')<br />

CoDeSys will be closed ('File' 'Exit')<br />

Commands of the project menu:<br />

project build<br />

project rebuild or<br />

project compile<br />

project clean<br />

project check<br />

project compile<br />

project check<br />

The project that is loaded will be incrementally compiled<br />

('Project' 'Build')<br />

The project that is loaded will be compiled in full ('Project'<br />

'Rebuild')<br />

Compilation information and Online Change information in the<br />

current project will be deleted ('Project' 'Clean Project')<br />

The project that is loaded will be checked ('Project' 'Check all')<br />

The current project will be compiled by "Rebuild all" ('Project'<br />

'Rebuild all')<br />

The current project will be checked ('Project' 'Check')<br />

10-68 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!