2 - dde data server examples, Dde conversation overview, Dde data server examples – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 18: Chapter

Advertising
background image

Chapter

2

Publication 8520-6.6 - August 1999

DDE Data Server Examples

This chapter assumes you have:

Already installed your 9/Series or 9/PC OCI software on your
machine

Configured your INI files properly (OCI) (9/Series only)

Configured your 9/PC via the 9/PC Configuration Manager

Made proper Ethernet connections with your 9/Series (OCI only)

Run your OCI data server without errors

Confirmed your communication is working, for OCI by using the
OCI testing tool (refer to your 9/Series OCI Installation Manual
for information about parsercl.exe), and for 9/PC by using the
9/PC Installation and Integration Manual

A DDE conversation with the data service can be established using
any Windows–compliant application that supports Microsoft’s
Dynamic Data Exchange functions. This chapter gives examples of
such conversations established using Microsoft’s Visual Basic and
Microsoft’s Excel.

A DDE conversation, regardless of the software used to start the
communication, requires the following three things:

1. A DDE Server or Application Name

2. A Topic Name to that server

3. A Data Item or Command to pass to that server

DDE Server

For the 9/Series or 9/PC, the DDE server is always:

“ABOCISERVER”

This is the server name registered in Windows when you launch the
9/Series or 9/PC OCI data server.

DDE Conversation

Overview

Advertising