All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.
Topic#: 000767
Created: November 6, 1998
WWClient is a generic DDE- and Suitelink¢â-aware utility that is automatically installed with the Wonderware?FactorySuite¢â 2000. This utility allows you to quickly and easily test a Wonderware I/O Server configuration. (WWClient also provides scripting capabilities to automate the process.) This Tech Note shows how to use WWClient to test an I/O Server¡¯s communications to a PLC, directly or across a network. This Tech Note also shows how to troubleshoot an I/O Server by temporarily eliminating communications from specific client applications, such as InTouch¢â.
Note This Tech Note addresses only the basic features of WWClient. For more information on configuring the Wonderware I/O Server with the PLC, consult the Wonderware User Guide for the particular I/O Server that is available online on the FactorySuite CD-ROM.
For InTouch 6.0 and earlier, see Tech Note 48 ¡°Using WWClient to Check DDE Server Communications.¡±
After you install the desired components of FactorySuite 2000, the WWClient utility is located under the Start Menu, under Wonderware FactorySuite, then Common. When you start up WWClient, the Wonderware Client window will appear:
(Note that the Wonderware Logger will also automatically start. Minimize the WWLogger window for now so that you can clearly see the Wonderware Client window.)
Note We will use the example of using WWClient to test the Wonderware Allen-Bradley Ethernet Direct I/O Server, which is attached to an Allen-Bradley Ethernet-capable PLC or SLC processor. The Application, Topic and Item names used in this example will vary with your configuration, depending on the I/O Server and PLC that is used.
Select either the DDE or IOT radio button. (If your Wonderware I/O Server is release 7.0 or greater, then it can communicate using SuiteLink. You can verify the I/O Server release by selecting Help/About from the I/O Server menu.)
Then click the Connect button. You should see an established DDE conversation to the I/O Server appear in the Wonderware Client window as shown in the example below.
Note If the I/O Server is on a remote computer, you must include its node name in the Node listbox. If you are running Microsoft?Windows¢â 95, make sure Wonderware¡¯s NetDDE is installed and configured on the computer. If you are running Windows NT, make sure Microsoft¡¯s Network DDE and/or Wonderware¡¯s SuiteLink is installed; make sure both Windows NT services are in Automatic mode and have a Status of Started; and make sure the DDE Shares have been configured. (For more information on configuring NetDDE and the DDE Shares, see the NetDDE section of the Wonderware Knowledge Base.)
If the DDE conversation does not appear, then the connection to the I/O Server failed. (This is the same as InTouch issuing the error ¡°Could not Initiate DDE Conversation.¡±) Check the following:
Select the type of the Item from the dropdown list (that is, Integer, Real, Discrete, or String).
Do these steps to see if WWClient can successfully Poke (that is, write) a value to an Item in the PLC.
Type in a valid number for the Item name in the Value listbox (example,
100).
Click the Poke button. You should see the value of 100 written
and displayed in the Allen-Bradley N7 File as shown above.
Or, create another Topic name in the I/O Server and repeat steps 1 and 2 to reference the same Item name through the newly created Topic name, then, ¡°poke¡± a value to the new Topic name.
For example, here are the results of two Topics that were connected, ABPLC and ABPLC2:
The ABPLC Topic is advising the Item N7. As shown above, there is a Poke command on this same Item by the ABPLC2 Topic. By using this method, you can confirm that the Poke command was successful without the use of the PLC programming software.
To remove the DDE conversation by Item name, do these steps:
Click either the Unregister or UnadviseEX button. The Item name will be removed and no longer appear in the Wonderware Client window.
To remove the DDE conversation by Topic name, do these steps:
Click the Disconnect button. The Topic name will be removed and no longer appear in the Disconnect dialog box and in the WWClient screen.
B. Maglinao
The Tech Note is published occasionally by Wonderware Technical Support. Editors: Sabrina Abercromby and Kelly Hauser; Publisher: Wonderware Corporation, 100 Technology Drive, Irvine CA 92618. There is also technical information on our software products at www.wonderware.com/support/mmi, our WonderFax fax-on-demand system at (949) 450-5050, and the Comprehensive Support Knowledge Base.