<< Click to Display Table of Contents >> Manual > Server Creation Guide > Interface > DDE Interface > Use as a DDE server |
Use as a DDE server
You can connect to this package via the DDE interface from DDE clients such as Excel, VisualBasic, and various SCADA systems. The DDE specifications are compliant with EX_Table and CF_Text.
The basic information required for a DDE connection from a client is:
DDE Specifications |
explanation |
Application Name |
The application name is the following string. Specify in uppercase half-width characters. The application name can be changed in the DDE interface properties. "FASERVER"
|
Topic Name |
"Unit name.Folder name" Example: "U01.F01"
|
Item Name |
Tag name Example: "T01"
|
If you are running an application with administrator privileges, the DDE client application, such as Excel, must also be started with administrator privileges. |
In the original settings, the topic name is specified as "unit name.folder name" and the item name is specified as "tag name", but by unchecking "Add a period after topic name" in the settings screen below, you will be able to freely define topic names and item names from the client side.
The key point is to set it so that when the content specified in the topic name and the item name are concatenated, it becomes the tag path ("unit name.folder name.tag name").
DDE Specifications |
explanation |
Topic Name |
By specifying the topic name, you can omit part of the first half of the item name. If you want to specify the item name with a full path, specify "EMPTY" (in this case, do not name the unit "EMPTY").
If you want to get information about the survival status of a unit, specify "EMPTY" as the topic name and "U01!Alive" as the item name. "Alive" means the system property. U01!Alive U02!Alive |
Item Name |
Specify the tag name so that when combined with the topic name it becomes "unit name.folder name.tag name".
example) Topic name "U01.F01." Item name: "T01" Item name: "T02"
example) Topic name "U01." Item name: "F01.T01" Item name: "F02.T10"
(That is, omit the topic name.) |
Below are some typical examples of topic names.
Setting case |
Examples |
Example 1) If you want to use the full path for the item name |
Topic name: EMPTY Item name 1: U01.F01.T01 Item name 2: U01.F01.T02 Item name 2: U01!Alive |
Example 2) If you want to directly specify the PLC address using the item name |
Topic name: U01.F01.# Item name 1: M0000 Item name 2: D0000 |