18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Tags and the Project Database<br />

7. Reselect only the POUs and Global Variables that you want to export to IWS. Do not select libraries. With<br />

the objects selected, select all of the options at the bottom of the dialog.<br />

Selecting the options for only POUs and Global Variables<br />

8. Click OK to close the Set object attributes dialog, and then click OK again to close the Options dialog.<br />

9. On the Project menu, click Clean All.<br />

10.On the Project menu, click Rebuild All.<br />

The TwinCAT development software will rebuild the project, generating a symbol file that contains only the<br />

selected POUs and Global Variables.<br />

Once the TwinCAT project is configured to export the selected variables, the next time you send the project to<br />

the PLC, it will include the new symbol file and your IWS project to be able to communicate with it.<br />

You can also copy the TwinCAT symbol file to your IWS project folder, which will allow you to browse the tags<br />

when the PLC is not running.<br />

Integrating tags from CoDeSys<br />

This task describes how to add a CoDeSys 2.x or CoDeSys 3.x project as a tag integration source in your IWS<br />

project.<br />

Before you begin this task, you must do the following:<br />

• Configure your CoDeSys project to generate a new symbol file with the correct variables. The symbol file is<br />

like an index of the CoDeSys tags that you want to integrate into your IWS project. For more information,<br />

see either Configuring your CoDeSys 3.x project or Configuring your CoDeSys 2.x project.<br />

• Rebuild your CoDeSys project and send it to the PLC.<br />

• Make sure the PLC is running and available on your network, and note its IP address and/or runtime<br />

address.<br />

• Acquire the CoDeSys PLCHandler library and install it with <strong>InduSoft</strong> Web Studio. This library enables<br />

communication between <strong>InduSoft</strong> Web Studio and CoDeSys. For more information, see Installing the<br />

CoDeSys PLCHandler library.<br />

If you want to be able to browse the CoDeSys tags offline — that is, when the PLC is not running — then you<br />

must also copy the new symbol file to your IWS project folder ([…]\Documents\<strong>InduSoft</strong> Web Studio v7.1<br />

Projects\projectname).<br />

1. On the Project tab of the ribbon, in the Settings group, click Communication.<br />

Page 154<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!