Echelon LNS DDE Server Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software Echelon LNS DDE Server herunter. Echelon LNS DDE Server User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 160
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - User’s Guide

LNS DDE Server User’s Guide Version 2.11 @ eCHELON C o r p o r a t i o n 078-0170-01D

Seite 2 - Chips or

New Features in Release 2.11 Release 2.l1 (release 2.1 with Service Pack 1 applied) of the LNS DDE Server includes adds date stamping to the log pane.

Seite 3 - Contents

-r nn Specifies the retry count to be used for acknowledged and request/response service or the repeat count to be used for repeated service, where nn

Seite 4

bcast_d.msg_out[.msg_code][parameters] Where each component has the following meaning: bcast_d Required. bcast_d is a keyword, not a user-defined

Seite 5

-t format_name Specifies a format name to use for formatting the data in the outgoing message. For response messages, the LNS DDE Server does not aut

Seite 6

Example 1: Application LNSDDE Topic AppMsg Test.subsystem 1.MT Item msg_in –t SNVT_count Example 2: Application LNSDDE Topic AppMsg Test.subsystem 1.

Seite 7 - ONMARK Resource Files A-2

Example 1: Application LNSDDE Topic AppMsg Test.subsystem 1.MT Item msg_in –t SNVT_count Example 2: Application LNSDDE Topic AppMsg Test.subsystem

Seite 8

8 Using Properties This chapter describes the properties available for the different topic types. LNS DDE Server User's Guide 8-1

Seite 9 - LNS DDE Server Overview

Properties The LNS DDE Server provides access to additional properties besides the network variable, configuration property, and message values descri

Seite 10 - New Features in Release 2.1

Point.InError R Number of points that cannot be read in the network. Point.WriteCount R Number of write requests issued for this point. The number

Seite 11 - ONWORKS Networks

device with the same name exists in the same subsystem, the value of the property for the application device will be returned. Change the name of eit

Seite 12 - Configuration Properties

the device has not yet been commissioned. 11 Program ID mismatch. The ID of the program in the device does not match the program ID in the network i

Seite 13 - LONMARK Objects

single network interface, or through multiple network interfaces. To open multiple remote networks, you must configure the LNS DDE Server as a lightw

Seite 14 - Overview of DDE

Properties Available only in Application Devices Wink W Winks the device, if supported by the device's application. SelfDocumentation R The sel

Seite 15 - Execute Commands

DetailInfo.ModelNumber R The type of protocol processor in the device. If the protocol processor is a Neuron Chip, this will be one of the following

Seite 16

Request.Enable R/W Set to 1 to Enable object. Set to 0 to Disable it. Request.RemoveOverride R/W Set to 1 to remove the Override condition of an ob

Seite 17 - Getting Started

Appendix A Resource Files This chapter discusses LONMARK resource files and how to use the Resource File Catalog Utility to add new resource files to

Seite 18 - Requirements

LONMARK Resource Files The LNS DDE Server supports LONMARK resource files that define standard and user-defined network variable types, configuration

Seite 19

For each network variable and configuration property type, the type file supplies the following information: • The name of the type and the names for

Seite 20

2. US = United States measurement system format. These formats will be automatically selected if the operating system is configured to use United Sta

Seite 21 - ONWORKS folder. The

LNS DDE Server User’s Guide A-5

Seite 23 - Using the LNS DDE Server

Appendix B Installing the PCLTA-10/20 and PCC-10 Drivers This appendix explains how to install the PCLTA-10, PCLTA-20, and PCC-10 cards to function as

Seite 24 - Log Pane

Monitoring and Controlling a LONWORKS Network Due to their high reliability, low cost, and flexibility, LONWORKS networks are used in many ways. For

Seite 25 - Menu Bar

PCLTA-10, PCLTA-20, and PCC-10 Adapter Installation The PCLTA-10, PCLTA-20, and PCC-10 installation software installs the files required by the Window

Seite 26 - Toolbar

3. Select the language you want to install and click Next. 4. A welcome window appears. Read the information on the welcome window and click Next.

Seite 27

6. Choose the destination folder where you want to install the PCLTA-10, PCLTA-20, and PCC-10 drivers. You must choose the same folder you selected f

Seite 28

5. Reinsert the power cord and then restart the PC. A New Hardware Found window will be displayed briefly when the operating system recognizes the P

Seite 29 - Sequence of Operation

If the computer was rebooted after installation of the software, insert the PCC-10 card into an open PC Card slot. Otherwise, reboot the computer bef

Seite 30 - Using the Excel Example

PCC10L7 is selected in the NI Application list. Click Apply whether or not you change the value. 5. Click the Diagnostics button. If the PCLTA-10/20

Seite 31 - Using the InTouch Example

9. Click the OK button. The control panel enters a receive-ready state and displays the following message while waiting for a service pin message fro

Seite 32

Appendix C Wonderware InTouch Client Example Wonderware's InTouch HMI development tool is an one of the HMI development tools that supports t

Seite 33

Introduction The InTouch example provides an overview of how to use the InTouch software with the LNS DDE Server. See Using the InTouch Example in Ch

Seite 34 - Server Settings

InTouch tags fall into three main category types. Memory tags are primarily data variables local to the PC running the InTouch WindowViewer applicati

Seite 35 - NetDDE Being Used

Configuration parameters are stored in files on the device, and may be accessed using the LONWORKS file transfer protocol, or by direct memory read/wr

Seite 36 - Run as a Windows NT Service

3. The following dialog opens: This dialog is associated with setting up NetDDE which is not used in this example. 4. Click the Done button withou

Seite 37

5. Select the Monitoring NVs window. Click OK. InTouch starts the WindowMaker application with the Monitor NVs window open for modification. The fo

Seite 38

7. Select the String option to animate the label with a string value. 8. Click the String button of the Animation Link Dialog to see the expressio

Seite 39 - LNS Object Server Settings

9. Double-click the tag name in the Expression: edit box to see how this tag is defined. The following Tagname Dictionary dialog opens: Click the

Seite 40 - Remote Operation

handle for the Subsystem containing the targeted function block or device, and <Topic Type> is the topic type supported by the LNS DDE server.

Seite 41 - ONWORKS /IP channels then

1. From the WindowMaker tool, double-click the LED to the right of SW- 1. The following dialog opens: This object is an InTouch Light Wizard. Wiza

Seite 42 - Trace Options

Changing the Default Format Two views of the mode output of the mode simulator value are shown under LonPoint Index Type in the main window of the exa

Seite 43 - Point Creation

4. Modify the item to add the -tSNVT_temp_f#US option as shown in the following figure: Substitute #SI for #US to force SI units. 5. Save changes

Seite 44

To open the I/O Message Display wizard, select the Text Displays category on the left. 3. Double-click the I/O Analog Display or I/O Message Display

Seite 45

4. Click the LNS DDE Server button on the Windows taskbar to open the LNS DDE Server Window LNS DDE Server User’s Guide C-13

Seite 46

That is, the application can observe the values of network variables, configuration properties, and application and foreign frame messages, and can ch

Seite 47 - License Settings

5. Navigate to the OA Temp device Analog output value, right-click the Analog output, and select Copy Link from the shortcut menu as shown in the fol

Seite 48 - Current License

is contained in Action animation links attached to buttons placed in the window. Descriptions of other windows in the example HMI application. Appli

Seite 49 - Generate PC Key

C-16 WonderWare InTouch Example

Seite 50

Appendix D License Order Form This appendix provides a printed copy of the order form for LNS DDE Server credits. See Chapter 3 for information on us

Seite 51 - Network Settings

TO: Echelon License Administrator Email: [email protected] Fax: +1-408-328-3802 (please use email if available)

Seite 52 - Database Path

The following serial number and PC key values are filled in automatically by the LNS DDE Server when you generate an application key order as describe

Seite 53

Description of how the original application key was lost: [ ] No charge backup key. By submitting an order for a

Seite 54 - Polling Interval (1/10 sec)

Appendix E LNS DDE Server Software License Agreement This appendix provides a printed copy of the LNS DDE Server Software License Agreement. LNS DDE S

Seite 55 - Refresh Rate (1/10 sec)

Notice This is a legal agreement between you and Echelon Corporation ("Echelon"). YOU MUST READ AND AGREE TO THE TERMS OF THIS SOFTWARE LIC

Seite 56

Application Key for the Licensed Software for the server computer and every remote client computer, (d) physically transfer an Application Key from on

Seite 57 - Reply Timeout (1/10 sec)

Once a conversation is established, the client can send and receive data from the server on the DDE channel. For example, an Excel spreadsheet (the c

Seite 58

LIMITED WARRANTY AND DISCLAIMER Echelon warrants that, for a period of ninety (90) days from the date of delivery or transmission and installation of

Seite 59 - Creating Custom Topics

APPROVALS, AS APPLICABLE. THE NEURON CHIP, LONTALK PROTOCOL, NEURON CHIP FIRMWARE, LONWORKS NETWORK INTERFACES, AND THE LICENSED SOFTWARE ARE NOT DES

Seite 60 - Update Interval

E-6 Software License Agreement

Seite 61

Appendix F LNS DDE Server Software License Transfer Agreement This appendix provides a printed copy of the Software License Transfer Agreement. LNS DD

Seite 62

Software License Transfer Agreement THIS SOFTWARE LICENSE TRANSFER AGREEMENT is entered into as of [insert date], by and between [insert co

Seite 63 - Addressing DDE Messages

Glossary This glossary defines LONWORKS terms that you may encounter when using the LNS DDE Server. LNS DDE Server User’s Guide Gl-1

Seite 64 - Address Components

Application Device The individual sensor, actuator, and controller devices that make up a network. Application devices contain an application progr

Seite 65 - Examples

Manual changes; the server only sends the item's value when requested by the client. DDE Client The originator of a DDE conversation. A DDE cl

Seite 66 - Topic Types

international organization that develops guidelines and certification procedures for LONWORKS products. Devices that carry the LONMARK logo are able

Seite 67

LonTalk Adapter play compatible interface card that connects to a LONWORKS network. It has an on-board twisted-pair transceiver of one of the follow

Seite 68 - 4-6 Topics and Items

[Pause] Temporarily stops the LNS DDE Server from sending updates to devices on the LONWORKS network, both updates to network variables and network

Seite 69

Gl-6 Glossary

Seite 70

2 Getting Started This chapter explains how to install the LNS DDE Server, and how to start it with an existing network. LNS DDE Server User's G

Seite 71 - Reading and Writing

Requirements The LNS DDE Server requires a PC that meets the following requirements: • Microsoft Windows XP, Windows 2000, Windows Me, Windows 98, o

Seite 72 - ONMARK object if the LONMARK

In the lower part of all the dialogs you will find navigation buttons. Use these buttons to go forward to the next dialog, go back to the previous d

Seite 73

Echelon, LON, LONWORKS, LNS, LonTalk, Neuron, LONMARK, 3120, 3150, the LonUsers logo, the Echelon logo, and the LONMARK logo are registered trademarks

Seite 74 - Network Variable Formats

6 Select the LNS DDE Server components to be installed. The installation program automatically preselects some of the components based in part on w

Seite 75 - LONMARK object(s) on

Select the components to be installed and click Next. The Select Destination Directory window appears. 7 Choose a LONWORKS folder where you want the

Seite 76 - ONMARK object, and the

download the latest LNS 3 service pack from www.echelon.com/lns. Follow the instructions provided with the LNS service pack to install it. 17 If you

Seite 77 - InTouch

Using the LNS DDE Server When you start the LNS DDE Server, a main window similar to the following figure appears (you may see a different set of netw

Seite 78

associated with the selected network will be listed in the detail pane on the right side of the window. You can simultaneously open any number of the

Seite 79

Menu Bar The menu bar contains six menus. These are described in the following table: File Save Log File Saves the contents of the log file. Exit

Seite 80

Log Display/ Errors Toggles displaying of error events. Log Display/ Trace Activates the tracing option. Log Display/ Freeze Stops automatic scrolling

Seite 81

Bottom of Log Scrolls to the bottom of the log. Top of Log Scrolls to the top of the log. Freeze Stops automatic scrolling of the log. Clear Me

Seite 82

The LNS DDE Test example includes 5 application devices and a router, which matches the hardware in a LonPoint Demo Kit. If you do not have LonPoi

Seite 83

variables are connected as shown on the LonMaker drawing. The following list summarizes the Sequence of Operations for the LNS DDE Test example. Sequ

Seite 84

Contents 1 LNS DDE Server Overview 1-1 New Feature in Release 2.11 1-2 New Features in Release 2.1 1-2 Overview of LONWORKS® Networks 1-3 In

Seite 85

4. Click the Browse button. The Select Backup File dialog opens. 5. Browse to the LNS DDE Test V2.zip or LNS DDE Test V3.zip file in the LONWORKS

Seite 86

5. Click Yes to start the LNS DDE Server. 6. If a blank spreadsheet opens over the Excel example spreadsheet, close the blank speadsheet. 7. Excel

Seite 87

2-16 Installing the LNS DDE Software

Seite 88 - ONMARK object, or

3 Configuring the LNS DDE Server This chapter discusses how to configure the LNS DDE Server. LNS DDE Server User's Guide 3-1

Seite 89

Configuration Overview When the LNS DDE Server starts up the first time, it will run using its initial default configuration settings. The LNS Server

Seite 90

DDE Server Settings Application Name This setting specifies the DDE Application Name of the LNS DDE Server. This is not the filename on disk of the se

Seite 91

Network Server Response Timeout (sec) This setting controls how long a time the LNS DDE Server will wait for a response from the LNS Network Server ap

Seite 92

applications, for example Microsoft Excel, this means prepending the computer name to the application name as in the example, =\\MYCOMPUTER\LNSDDE|&ap

Seite 93 - Frame Messages

Message Logging Settings Display Information Messages This setting controls filtering of information messages for the log. Click this setting to disp

Seite 94

Max Log File Size The log file size is user configurable, in kilobytes. The default log behavior is to stop logging messages when the maximum log siz

Seite 95 - Specifying a Request Message

Service 3-4 Run as a Windows NT Service 3-4 Write Messages to the Event Log 3-5 Message Logging Settings 3-6 Display Information Mess

Seite 96

To select another folder, either enter it manually or use the Browse button to search for one. The server validates the path entered when you press t

Seite 97

hosts the LNS Server. When running as a remote full client, network variable values are not read from or written to the LNS Server, instead, they are

Seite 98

Network Interface This property can only be set if the Remote Operation option is set. If the Remote Operation option is set, this field contains a l

Seite 99

DDE Toolkit This section of the trace options concerns the interaction between the LNS DDE Server and the Wonderware I/O Server Toolkit (formerly the

Seite 100

when a point is created. This option will generate a message for each point that is accessed. The server will not start reading the point until it h

Seite 101

Format Files This option generates a message each time a format file is opened. The full path of the format file is included in the message. The serv

Seite 102 - Requesting a One-Time Update

One instance of the LNS Network Server runs for each network that is open. One additional instance is used by the server to list the available networ

Seite 103 - Sending a Message Update

If this option is disabled, a summary message will be generated when a service pin message is received. The message contains only the device path (sub

Seite 104

The LNS DDE Server has three licensing modes. The first is Temporary Mode. If there is no license installed on a PC, a Temporary Mode license is ge

Seite 105 - Using Properties

Temporary Mode, this field will show the restriction placed on the license. The restrictions that can be placed on a license include duration and num

Seite 106 - Properties

Serial Number 3-16 Generate PC Key 3-16 Creating an Unlimited Mode License 3-16 Transferring Licenses 3-18 Network Settings 3-18 Network

Seite 107 - Device and Router Properties

LONWORKS/IP, LNS/IP, NetDDE or other networking protocol. You may transfer an application key to a new PC as described in the next section. If you l

Seite 108 - Routers

Edition), or if this is a replacement for a lost key, fill in the appropriate fields, and enter 0 as the price. 8. Email the form to the license adm

Seite 109

select the tab corresponding to the network to be configured. In either case, the following dialog appears with one tab for each LNS Network Database

Seite 110 - 8-6 Using Properties

Authentication Key This field allows you to enter the authentication key for the LNS network. This is required if you are accessing the network as a r

Seite 111 - Object Properties

If you are communicating as a Lightweight client over an LNS/IP Channel (see Remote Settings, earlier in this Chapter), this option will not be availa

Seite 112 - Point Properties

The network topology, type of network interface, and LNS DDE Server host PC performance will all affect the maximum number of points that can be polle

Seite 113 - Appendix A

acknowledgements are not an indicator of reliable delivery should the LNS DDE Server and attached client applications not be running. • If a networ

Seite 114 - LONMARK Resource Files

• Control the update rate of bound network variables. Network variables should generally only be bound if they will change infrequently. If there is

Seite 115 - Alternate Formats

Exclusive Mode (Lightweight Clients) This option is disabled for version 2.1 of the LNS DDE Server. Host Message Owner This option is disabled for ver

Seite 116 - Language File

Bound Update Persistent Once the DDE Server shuts down, all temporary network variables and connections created when using bound updates are removed a

Seite 117

5 Reading and Writing Network Variables 5-1 Specifying a Network Variable 5-2 Specifying a Network Variable Topic 5-2 Specifying a Network Var

Seite 118

To create a custom topic, open the Configure menu, point to Topics, then select Create New. Alternatively, you can right-click a subsystem in the fol

Seite 119 - Appendix B

Click Apply to save the specified topic and specify additional topics. Click OK to save the specified topic and close the dialog. LNS DDE Server Us

Seite 120 - Procedure

3-30 Using the LNS DDE Server

Seite 121

4 Addressing DDE Messages This chapter describes how a DDE client specifies an address for a DDE message. LNS DDE Server User's Guide 4-1

Seite 122 - ESD Warning

Address Components When a DDE client sends out a request to begin a DDE conversation, all DDE servers running on the PC see the message. In order to

Seite 123

Standard Topic Format The standard topic format specifies a network, subsystem, and topic type. Ose this format except when you are using custom topi

Seite 124

Custom Topic Format The custom topic format specifies a custom topic name and a topic type. Use this format with custom topics that you define. To u

Seite 125

Category Topic Type Description Network Variable LMNV Network variables belonging to a LONMARK object. Use this type to access network variables bel

Seite 126 - ONWORKS Plug

Device Dev Devices. Used to access a device’s or router’s properties. See Chapter 8 for more information. System System System properties. For th

Seite 127 - Appendix C

Items The Item is the last component of a DDE address. The topic type as described in the previous section determines the format of the item. The it

Seite 128 - Intouch Overview

Point Properties 8-8 Appendix A Resource Files A-1 LONMARK Resource Files A-2 Type File A-2 Format File A-3 Alternate Formats A-3 Language Fi

Seite 129 - InTouch Example Tutorial

4-8 Topics and Items Examples Below are a few examples of correctly formatted items: Type Item Netvar AI-1.nviTemp –i 100 DevNVCP AI-1.AS_Analog_1.

Seite 130

5 Reading and Writing Network Variables This chapter describes how to read and write network variables. LNS DDE Server User's Guide 5-1

Seite 131

Specifying a Network Variable Monitoring and control applications will typically monitor input or output network variable values and allow an operator

Seite 132

Each component of the Item format has the following meaning: device_name Required. The name of a device, as defined in the LNS database. lm_name R

Seite 133

-p bool For a variable monitored by polling, this option specifies whether the poll messages should be sent with priority service. May be set to True

Seite 134 - Network Variable Monitoring

Format command. Once the extended form is assigned to the network variable, the DDE client application does not need to specify the format type in the

Seite 135

The Al- 1.Node Object 0.Node_Directory item would be reformatted as a UNVT_u_long, by using the -t option as follows: Al- 1. Node Object 0.Node_Dire

Seite 136 - Display Unit Conversion

Channel = DDEInitiate(Application, Topic) Value = DDERequest(Channel, Item) DDETerminate (Channel) Following is a description of the parameters: Ap

Seite 137

3. On the target window, drag the control to the size you want. 4. To set the properties for the button, double-click the button. 5. To add an a

Seite 138

by exception strategy; a new value is reported only upon changes in the variable's value. If the LNS DDE Server is bound to an output network v

Seite 139 - DDE Server Window

viii Table of Contents

Seite 140 - Other Topic Types

variable that is driven by multiple output network variables (network variable fan-in) is a typical example of how bound monitoring is not applicable.

Seite 141

1 In the LNS DDE Server folder pane, navigate from the top level down through the hierarchy to the network variable level. 2 Right-click the netwo

Seite 142

timer expires, this property remains at 0 until explicitly reset to another value. Setting this property prevents a separate network variable update b

Seite 143 - Appendix D

Value The value to be written to the network variable, as a worksheet cell reference. 8. To return to Excel from the VBA editor, select Close and R

Seite 144 - D-2 License Order Form

StatusTag A tag containing the return value from the WWRequest function. The value is 1 for a successful update, 0 if the application is busy, and –

Seite 145

LNS DDE Server User's Guide 5-15

Seite 147 - Appendix E

6 Reading and Writing Configuration Properties This chapter describes how to work with configuration properties. LNS DDE Server User's Guide 6

Seite 148 - License

Specifying a Configuration Property Configuration properties may be associated with a device, LONMARK object, or network variable. For example, a con

Seite 149

Where each component has the following meaning: device_name Required. The name of a device, as defined in the LNS database. lm_name Required if th

Seite 150 - SAFE OPERATION

1 LNS DDE Server Overview This chapter defines the main concepts for a LONWORKS® network, the role of a network management tool in setting up a networ

Seite 151 - GENERAL

-t type_name Specifies a format name to use for formatting the configuration property as described in the next section. If this option is not specifi

Seite 152

Selector Index Selector 1 DEVICE_CLASS 2 DEVICE_CLASS and SUB_CLASS 3 MANUFACTURER 4 MANUFACTURER and DEVICE_CLASS 5 MANUFACTURER and DEVICE_CLASS an

Seite 153 - Appendix F

Receiving Ongoing Configuration Property Updates Receiving ongoing configuration property updates is similar to receiving network variables as describ

Seite 154

7 Receiving and Sending Application and Foreign Frame Messages This chapter describes how to send and receive application and foreign frame messages.

Seite 155 - Glossary

Specifying an Incoming Message Item Application and foreign frame messages are typically used for proprietary, non-interoperable interfaces to LONWORK

Seite 156 - Gl-2 Glossary

-t type_name Specifies a format name to use for formatting the message data as described in the next section. If this option is not specified, a forma

Seite 157 - ONWORKS network. An LNS

Msg_code Optional. Specifies monitoring of responses with the given message code, in decimal. If a message code is specified, then the data returned

Seite 158 - Gl-4 Glossary

Note: To receive a response, you must establish an automatic link on resp_in in the DDE Client before sending the request on msg_out (i.e. the respo

Seite 159 - ONWORKS

The parameter options are: as follows -n bool Specifies whether the client will receive message response items from the LNS DDE Server even if the da

Seite 160 - Gl-6 Glossary

response message must be automatically forwarded to the client). Otherwise, the completion will be discarded. See Example 3 in Requesting a One-Time

Kommentare zu diesen Handbüchern

Keine Kommentare