Echelon LNS DDE Server User Manual
Page 100
-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 is a number between 0 to 15. If
not specified, the default value specified in the Messaging
Options configuration dialog is used.
-s service
Specifies the service type to use when sending the message.
May be set to ACKD (acknowledged), UNACKD
(unacknowledged), UNACKD_RPT (repeated) or REQUEST
(request/response). Messages being sent to more than
64 devices may not use the acknowledged or
request/response services. If not specified, the default value
specified in the Messaging Options configuration dialog is
used.
-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 automatically determine the format. The
format name can be one of the five built-in formats
(INTEGER, DISCRETE, REAL, STRING, or RAW), a format name
from the standard resource file, or a format name from any
user resource file. If the format name is RAW, data will be
returned in raw format.
When changing the data format using this parameter, the
change is applied to the entire data value. This may cause
unexpected results. For example, when reading a network
variable which is a floating point value, and changing the
format to an integer (-t INTEGER), the formatted value will
be an integer interpretation of the entire floating point
number, not just the integer part. The same thing applies
when changing the data type to floating point (-t REAL) for
an integer value. Make sure formats are compatible with the
network variable value.
Note:
Floating point values must be between –3.4E38 and
+3.4E38.
See Example 1 in Sending an Application or Foreign Frame Message Update later in
this chapter for an example of how to send an application message.
Specifying a Message Using Domain-Wide Broadcast Addressing
You will normally use a device name to specify the destination of an application or
foreign frame message. For special applications, however, you may wish to broadcast a
message for every device in a domain. The LNS DDE Server host PC must be a
member of the domain specified.
You will use the MT topic to send domain-wide broadcast application or foreign frame
messages. Within the MT topic, the LNS DDE Server uses the following item format:
7-8
Receiving and Sending Application Messages