beautypg.com

Specifying an outgoing application message – Echelon LNS DDE Server User Manual

Page 99

background image

response message must be automatically forwarded to the client). Otherwise, the

completion will be discarded.

See Example 3 in Requesting a One-Time Update later in this chapter for an example
of a request using this specification.

Specifying an Outgoing Application Message

The LNS DDE Server uses the following item format for sending application and

foreign frame messages:

[device_name.]msg_out[.msg_code] [parameters]

Where each component of the item format has the following meaning:


device_name

Optional. The name of an application device as defined in

the LNS database.

msg_out

Required. msg_out is a keyword, not a user-defined name.

This keyword is case insensitive.

msg_code

Optional. Specifies the message code, in decimal.

Application message codes are from 0 to 62. Foreign frame
message codes are from 64 to 78. Do not specify message

codes outside this range. If a message code is specified, the

item data contains just the message. If a message code is not
specified, then the first byte of the item data must contain

the message code.

Parameters

Optional.


The parameter options are:

-a bool

Specifies whether the message should be sent with an
authenticated service. May be set to True or False. If not

specified, the default value specified in the Messaging

Options configuration dialog is used.
This option is ignored when used with broadcast messages; it
applies only to unacknowledged or repeated service types.

-p bool

Specifies whether the message should be sent with priority
service. May be set to True or False. If not specified, the

default value specified in the Messaging Options

configuration dialog is used.

LNS DDE Server User's Guide

7-7