DDE Client communication protocol

Supported device types and versions
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions

Supported device types and versions


Communication supports the DDE Client access using the XlTable data format (the format used by e.g. MS Excel, Wonderware Intouch I/O Servers) or CF_TEXT data format.

Communication line configuration


Communication with the DDE Server requires a separate line. There is not possible accessing several servers from one communication line.

Note: You can impersonate just an user with the logon rights Log on as a batch Job.

Communication station configuration



Station protocol parameters

Table 1

Keyword Full name Meaning Unit Default value
REQ Request If the value is Yes, after each writing a value, there will be sent the request for backward reading the value. YES/NO NO
TYPE Server Type Type of DDE server for communication:

  • WARM - supporting  XTYP_ADVSTART transactions,
  • COLD - periodic reading the values using the XTYP_REQUEST transaction.
  • COLD/WARM WARM
    FORMAT Data Format Used data clipboard format for data transmission. XLTABLE/TEXT XLTABLE
    TIMEOUT Transaction Timeout Timeout of the function DdeClientTransaction, which determines the maximum amount of time (in miliseconds), that the DDE client will wait for a response from the DDE server in a synchronous transaction. ms 1000

    I/O tag configuration


    Possible types: Ai, Ao, Ci, Co, Di, Do, TxtI, TxtO.

    Address is the DDE Cell name (string containing up to 50 characters).

    Note: If initialization of the connection to the server, topic or cell has failed, the attempt to connect is repeated in the interval of 5 seconds. It is true when the connection is lost (server shutdown etc.).


    Connection to the server via NetDDE

    If the DDE server is installed on other PC within a local computer network, you can establish a connection via the NetDDE interface. For such a connection is valid:


    Example of communication testing

    It is possible using the MS Excel program. Run the MS Excel as the DDE server using the switch /e e.g. from the command prompt - excel.exe /e.

    Complete access to a DDE cell is as follows:

    Excel|Sheet1!”R1C1”

    Where:

    The naming is valid only for English versions of MS Excel.

    Literature


    -

    Changes and modifications


    Document revisions


    Communication protocols