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.

Project Options...<br />

Using the option Notice at load offers a dialog, when the command 'Online' 'Download' is given, with<br />

the question "Do you want to write the source code into the controller system". Pressing Yes will<br />

automatically load the selected range of files into the controller system, or you can alternatively finish<br />

with No.<br />

When using the option On demand the selected range of files must be expressly loaded into the<br />

controller system by giving the command 'Online' 'Sourcecode download'.<br />

The project which is stored in the controller system can be retrieved by using 'File' 'Open' with Open<br />

project from <strong>PLC</strong>. The files will be unpacked in the process.<br />

Options for 'Symbol Configuration'<br />

The dialog presented here is used for configuring the symbol file. This will be created as a text file<br />

.sym resp. a binary file .sdb (depending on the used gateway version)<br />

in the project directory.The symbol file is needed for data exchange with the controller via the<br />

symbolic interface and will be used for that purpose e.g. by OPC- or GatewayDDE -Server.<br />

If the option Create symbol entries is activated, then symbol entries for the project variables will be<br />

automatically created in a symbol file at each compilation of the project.<br />

If additionally the option Dump XML symbol table is activated, then also an XML file containing the<br />

symbol information will be created in the project directory. It will be named .SYM_XML.<br />

Regard the following when configuring the symbol entries:<br />

• If option 'Symbol config from INI-file' is activated in the target settings, then the symbol<br />

configuration will be read from the codesys.ini file or from another ini-file which is defined there. (In<br />

this case the dialog 'Set object attributes' in CoDeSys cannot be edited).<br />

• If option 'Symbol config from INI-file' is not activated, the symbol entries will be generated in<br />

accordance with the settings you can make in the 'Set object attributes' dialog. You get there using<br />

the Configure symbol file button:<br />

Dialog 'Set object attributes' (in option category Symbol configuration)<br />

Use the tree-structured selection editor to select project POUs and set the desired options in the lower<br />

part of the dialog box by clicking the mouse on the corresponding small boxes. Activated options are<br />

checked. The following options can be set:<br />

Export variables of object: The variables of the selected object are exported in the symbol file.<br />

The following options can take effect only if the Export variables of object option is activated:<br />

4-12 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!