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 />

About tag integration<br />

Tag integration allows you to directly integrate tags from a third-party control application or device into your<br />

IWS project.<br />

This is different from the other options to include third-party tags in your project, such as importing the tag<br />

definitions or configuring a worksheet to associate project tags with external items. With tag integration, the<br />

third-party tags are "live" — that is, they are continuously and bilaterally updated during runtime as long as<br />

the third-party control application or device is also running — and they can be used anywhere in your project<br />

that you would normally use project tags.<br />

All tags from the source can be browsed in the Object Finder, but an individual tag is not added to your<br />

project tags database nor counted against the project's tag limit until you actually use it somewhere in your<br />

project.<br />

Tag integration is part of the project settings.<br />

Integrating tags from TwinCAT<br />

More than simply importing the tags and interface from a TwinCAT program, you can fully integrate your<br />

project database with a running TwinCAT PLC so that tags are synchronized between the systems, without<br />

the extra configuration required by an OPC Client worksheet.<br />

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

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

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

see Configuring your TwinCAT project.<br />

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

• Make sure the PLC is running and available on your network, and note its AMS Net ID and runtime system<br />

port number.<br />

• 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 />

The Project Settings dialog is displayed, with the Communication tab selected.<br />

2. In the Tag Integration area, click Add.<br />

The Tag Integration Source dialog is displayed.<br />

Tag Integration Source dialog<br />

3. In the Type list, select Integrated if it's not already selected.<br />

4. In the Provider list, select TwinCAT if it's not already selected.<br />

5. In the Name box, type a name for the source.<br />

This name will be used as a prefix for all tags received from the source. For example, a TwinCAT PLC tag<br />

named switch1 would subsequently be named DEV_switch1 in your project.<br />

6. Click Add.<br />

<strong>InduSoft</strong> Web Studio Page 151

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

Saved successfully!

Ooh no, something went wrong!