Connection example [LNS DDE server]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Echelon > Connection Procedure > LNS DDE Server (DDE) >

Connection example [LNS DDE server]

overview

This is an example of how to set up a connection to an iLon1000 via a LNS DDE server.

 

Model used

item

Model etc.

Connection Unit

iLon1000

 

Configuration environment

item

environment

OS

WindowsXP Professional 32Bit

tool

LNS DDE Server

 

Configuration details

item

Setting items

Configuration Example

Device settings

Application Name

LNSDDE

Topic Name

*Set the obtained value

Item Name

※Set the acquired value

Connection method

Hotlink (recommended)

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

 

 

Find topic and item names

To make a connection via DDE, you need the topic name and item name.

As an example, we will introduce how to connect to a DDE server from Excel and check the topic name and item name.

 

1.Start LNS DDE Server and link it to Excel
c_plc_0670
 
c_plc_0671
 

2.Get topic and item names from copied expressions
 
=LNSDDE|'RWNET.Subsystem 1.iLON- 1.LMNV'!'DI- 1.DI- 1.Digital'
 

item

environment

Topic Name

RWNET.Subsystem 1.iLON- 1.LMNV

Item Name

DI- 1.DI- 1.Digital

 

 

PC settings

1.Right-click "Application" - "Driver" in the tree and select Add Driver.

 

2.Select the following units from the displayed driver list and add them:

c_plc_0672

 

3.Open the properties of the added unit (U01) and click Communication Settings.

c_plc_0673

 

4.Set the application name and retrieved topic name

c_plc_0674

 

5.Perform a connection test to check the connection

c_plc_0675

 

If a message such as "Connection OK" is displayed, the connection is confirmed.

 

6.Add a tag and set the item name you just looked up.

c_plc_0676

 

Please specify the value conversion filter (SNVT) according to the situation.

 

 

attention

LNSDDE When starting communication with Server, please do not use DDE clients such as Excel and our Server application at the same time. Make sure that there are no DDE connections from other clients when our Server application is online.

 

attention

LNSDDE Please set "Wait time after DDE initialization" as the preparation time for Server.

Depending on the situation, please specify a value between 1000ms and 50000ms.

 

c_plc_0677