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.

Command File (cmdfile) Commands<br />

dir compile <br />

Sets as the directory for the compilation files<br />

Delaying processing of the CMDFILE:<br />

delay 5000<br />

Waits 5 seconds<br />

Controlling the Watch and Receipt Manager:<br />

watchlist load <br />

watchlist save <br />

watchlist set <br />

watchlist read<br />

watchlist write<br />

Loads the Watchlist saved as and opens the corresponding<br />

window ('Extras' 'Load Watchlist')<br />

Saves the current Watchlist as ('Extras' 'Save Watchlist')<br />

Gives a previously loaded Watchlist the name ('Extras'<br />

'Rename Watchlist')<br />

Updates the values of the Watch variables ('Extras' 'Read receipt')<br />

Fills the Watch variables with the values found in the Watchlist<br />

('Extras' 'Write receipt')<br />

Linking libraries:<br />

library add <br />

.. <br />

Attaches the specified library file to the library list of the currently<br />

open project. If the file path is a relative path, the library directory<br />

entered in the project is used as the root of the path.<br />

library delete [<br />

.. ]<br />

Deletes the specified library, or (if no library name is specified) all<br />

libraries from the library list of the currently open project.<br />

Copying objects:<br />

object copy <br />

Copies objects from the specified path of the source project file to<br />

the target path of the already opened project.<br />

If the source path is the name of an object, this will be copied. If it<br />

is a folder, all objects below this folder will be copied. In this case,<br />

the folder structure below the source folder will be duplicated.<br />

If the target path does not yet exist, it will be created.<br />

Entering communications parameters (gateway, device):<br />

gateway local<br />

gateway tcpip <br />

<br />

device guid <br />

device instance <br />

Sets the gateway on the local computer as the current gateway.<br />

Sets the gateway in the specified remote computer as the current<br />

gateway.<br />

: TCP/IP address or hostname of the remote computer<br />

: TCP/IP port of the remote gateway<br />

Important: Only gateways that have no password set can be<br />

reached!<br />

Sets the device with the specified GUID as the current device.<br />

GUID must have the following format:<br />

{01234567- 0123- 0123- 0123 -0123456789ABC}<br />

The curly brackets and the hyphens must appear at the specified<br />

positions .<br />

Sets the instance name for the current device to the name<br />

specified<br />

device parameter Assigns the specified value, which will then be interpreted by the<br />

device, to the parameter with the specified ID.<br />

System call:<br />

10-70 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!