Number 105 March 27, 1998

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 11

Number 105 March 27, 1998

Copyright 1998 Wonderware Corporation. All Rights Reserved.


Configuring InControl Symbols With InBatch Tags
by Andrew Brodie
This Tech Note will show you how to set up the SuiteLink I/O driver for Wonderware InControl to
read or write data from one or more InBatch tags. This Tech Note will then show you how to set up
InBatch to retrieve data from the InControl Runtime Engine (RTEngine).

Configuring InControls SuiteLink I/O Driver


The SuiteLink I/O driver for InControl must be configured from InControls Development Environment
before you can retreive any data from InBatch or any other FactorySuite component. Follow these
steps to configure the SuiteLink I/O driver.
Note Also, for more information on adding the SuiteLink I/O driver, see the Wonderware InControl
SuiteLink Users Guide, which is available on-line on the FactorySuite CD-ROM that includes the
InControl component.
1. Start up InControl and enter the InControl Development Environment.
2. Click the I/O View button to display the I/O View. You should see the following I/O tree displayed in
the InControl Development Environment window:

Double-click the unused I/O slot as shown above. The Driver Selection dialog box should appear:

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 3

3. Double-click the SuiteLink (Wonderware) entry under the Type listbox as shown above. The
SuiteLink Edit/Create Driver dialog box should appear:

Enter a unique name for the SuiteLink I/O driver in the Name listbox. (Example:
InBatch_Connection.) Enter a description, if desired. Click the OK button.

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 4
The name of the SuiteLink I/O driver should then appear as shown in the SuiteLink (Wonderware)
dialog box:

4. Highlight the name of the SuiteLink I/O driver, as shown above, and click the Add button. The
Define Topic dialog box should appear:

Enter the name of the computer in the Node listbox on which the InBatch Server resides. Enter
IBSERV in the Application listbox and IB_TAGS in the Topic listbox, as shown above. Enter a

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 5
description in the Description listbox, if desired. Select the SuiteLink radiobutton for the Protocol.
Then click the OK button.
5. The SuiteLink I/O driver name should now look like something like the following SuiteLink
(Wonderware) dialog box:

Notice that the SuiteLink object for the InBatch node, application and topic name is now displayed.
Highlight the SuiteLink object for the node as shown above and click the Add button. The following
SuiteLink Edit/Create Tag dialog box should appear:

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 6

6. Enter a unique symbol name in the Tag Name listbox, as shown above, to represent the tag that will
be read into InControl. Enter the InBatch tagname (exactly as it appears in the InBatch Tag Linker)
in the Item listbox. For example, below shows the InBatch tagname, ReactorA-Agitate-Time-ACT,
in the InBatch Tag Linker window, which is the tag that is being read into InControl.

Complete the configuration of the InControl tag on the SuiteLink Edit/Create Tag dialog box by
selecting the appropriate Data type of the InBatch tag and selecting either Input or Output for the
Area. Input means the local InBatch node will read the value of the InControl tag (that is, Read
only). Output means the local InBatch node will write values to the InControl tag with return
feedback (that is, Read and Write). Click the OK button when complete.
The SuiteLink (Wonderware) dialog box should appear as shown below:

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 7

Notice that the InControl symbol name now appears under the InBatch node object.
If desired, you may add additional symbol names under the InBatch node object to link to other
InBatch tags by clicking the Add button and repeating steps 5 and 6.
Click the Save & Exit button when you are finished adding other InBatch tags.
7. If you return to the I/O View in the InControl Devlopment Environment window, you should see the
name of the SuiteLink I/O driver that is configured for InBatch, which was entered in step 3:

You can also verify that the the new InControl-SuiteLink symbols exist by clicking the Project View
button in the InControl Devlopment Environment window. You should see the InControl-SuiteLink
symbols appear as global symbols.

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 8
Configuring InBatch Tags to Access Data from InControl
InBatch must have an Access Name defined for each of its tags in order to access data from InControl.
An Access Name consists of the node name of the data server and the data servers topic. Follow these
steps to configure the InBatch tags to access data from InControl.
Note For more information on configuring InBatch tags in the InBatch Environmental Display window,
see the Wonderware InBatch Users Guide, which is available on-line on the FactorySuite CD-ROM that
includes the InBatch component.
1. Start up the Tag Linker by double-clicking the Tag Linker program icon in the InBatch Environment
Display. Select Access from the Edit menu. The following Access Editor dialog box should appear:

Enter InControl in the Access Name listbox. Enter RTEngine in the Application listbox. Enter
TagName in the Topic listbox. Select SuiteLink for the Protocol, which will be used to
communicate between InBatch and InControl.
Click the Add button to register the InControl Access Name for the InBatch tag. Click the Close
button to exit the InBatch Access Editor.
2. Reduce the number of tags displayed in the Tag Linker window by selecting Filter from the Tag
Linkers View menu. The following View Filter Selection dialog box should appear:

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 9

List the desired InBatch tags by highlighting the appropriate Units, Connections and Segments, as
well as the appropriate data type. Click the OK button to view the filtered results in the Tag Linker
window, as shown in the example Tag Linker window below:

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 10

3. Highlight the InBatch tag that you wish to link to InControl. Click the Access button and select the
InControl Access Name. Next to the Item radiobutton, type in the exact name of the InControl
symbol that was entered in step 6 in the previous section. Then, click the Change button.
The Tag Linker window should then update its display to show InControl as the Access Name for the
selected InBatch tag.
Repeat this step if you would like to configure additional InBatch tags to link to InControl.

Starting the InControl-InBatch System


You have now completed configuring your InControl and InBatch applications so that they will
communicate with each other. To start up your InControl-InBatch system, begin by always starting up
the InControl application first, then the InBatch application.
If InControl will be retreiving data from InBatch, after you start up the InControl and InBatch
applications, be sure to select Clear Faults from the Runtime menu in the InControl runtime window, or
by clicking the Clear Faults button on the Runtime toolbar, or by clicking the Runtime Engine Monitor
icon, which is located on the lower right hand corner. The Clear Faults operation is equivalent to
reinitializing the InTouch I/O links, and it will clear any RTEngine error status bits, such as
RTEngine.ScanOverrun.

Copyright 1998 Wonderware Corporation. All Rights Reserved.


27 March 1998 Technical Support Tech Note, No. 105 Page 11
The Tech Note publication is published periodically by the Wonderware Technical Support group. Editors: Mari Fujii and
Sabrina Haag; Director of Technical Support: Sheila Kester; Publisher, Wonderware Corporation, 100 Technology Drive,
Irvine CA 92618. E-mail your publication questions or topic requests to [email protected].
There is also technical information on the Wonderware software products on the Technical Services web page at
http://www.wonderware.com/support/, the Wonderware Bulletin Board Service at (714) 727-0726, the Comprehensive
Support Knowledge Base CD, and the WonderFax FaxBack service at (714) 450-5050. Call Wonderware Technical
Support at (714) 727-3299 for more information on the Technical Services web page, the BBS, the Comprehensive Support
Knowledge Base CD or the WonderFax system.
Copyright 1998 Wonderware Corporation. All Rights Reserved. Wonderware is a registered trademark of the Wonderware
Corporation in the United States of America and/or other countries. March 27, 1998 Number
105

Copyright 1998 Wonderware Corporation. All Rights Reserved.

You might also like