Specifications
D - 4 RSLinx – Training Guide
Syntax:
The client setup for entering NetDDE syntax is similar to standard DDE syntax. The
major additional piece of information is that you must identify the target computer where
the server (e.g. RSLinx) resides, and instead of using the Application/Topic, you use the
share name (which identifies the application/topic)..
The computer name is added in the beginning of the command syntax, and the share
name follows.
Typically, the NetDDE’s client setup is as follows:
The Application(Service) field should contain:
\\COMPUTER NAME\NDDE$
[backslash] [backslash] [name of NetDDE server computer] [backslash][NDDE$]
The Topic field should contain:
Share Name
The Item field should contain the specific data item exactly as in normal DDE
commands.
• In the case of RSLinx, it would be the PLC address, e.g., [N7:0].
• In the case of Excel, it would be the specific cell reference,
e.g., [R1C1].
Examples:
Microsoft Excel 5.0 as Client, RSLinx as Server:
To establish a Network DDE link from Microsoft Excel 5.0 to RSLinx the syntax for the
request is:
='\\COMPUTERNAME\NDDE$'|SHARENAME!'S:23'
The COMPUTERNAME would be the name of the computer that is running RSLinx
(server). The computer name can be seen in the Network Properties window of NT.
The SHARENAME would be a valid share that has been created on the computer that is
running RSLinx (server). The share name is created using the DDESHARE utility in NT.