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.

Appendix F: Command Line-/Command File<br />

project build<br />

project import ...<br />

<br />

project export <br />

project expmul<br />

The current project will be built ('Projekt' 'Build')<br />

The files ... get imported into the current project<br />

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

The current project will be exported in the file ('Project'<br />

'Export')<br />

Each object of the current project will be exported in an own file,<br />

which gets the name of the object.<br />

Commands for the control of the message file:<br />

out open <br />

out close<br />

out clear<br />

The file opens as message file. New messages will<br />

be appended<br />

The currently shown message file will be closed.<br />

All messages of the currently opened message file will be<br />

deleted.<br />

Commands for the control of messages:<br />

echo on<br />

echo off<br />

echo <br />

The command lines will be displayed as messages.<br />

The command lines will not be displayed as messages.<br />

will be displayed in the message window.<br />

Commands for the control of replace of objects respectively for the control of files for import, export,<br />

copy:<br />

replace yesall<br />

replace noall<br />

replace query<br />

Replace all (any 'query on' command will be ignored; no dialogs<br />

will open)<br />

Replace none (any 'query on' command will be ignored; no<br />

dialogs will open)<br />

If a 'query on' command is set, then a dialog will open regarding<br />

the replacing of the objects even if there is a 'replace yesall' or<br />

'replace noall' command<br />

Commands for the control of the default parameters of CoDeSys dialogs:<br />

query on<br />

query off ok<br />

query off no<br />

query off cancel<br />

Dialogs are displayed and need user input<br />

All dialogs respond as if the user had clicked on the 'OK' button<br />

All dialogs respond as if the user had clicked on the 'No' button<br />

All dialogs respond as if the user had clicked on the 'Cancel'<br />

button<br />

Command for calling command files as subprograms:<br />

call ...<br />

<br />

call ...<br />

<br />

Command files will be called as subprograms. Up to 10<br />

parameters may be passed. In the file that is called, the<br />

parameters can be accessed with $0 - $9.<br />

Command files are called as subroutines. Up to ten parameters<br />

can be consigned. In the subroutine called you can access the<br />

parameters using $0 - $9.<br />

Setting of directories used by CoDeSys:<br />

dir lib <br />

Sets as the library directory<br />

CoDeSys V2.3 10-69

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

Saved successfully!

Ooh no, something went wrong!