> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/acron-9.3/en/acron_der_anlagenchronist/acron_opc_dde-server.md).

# ACRON OPC Classic / DDE32 - Server

To enable you to view ACRON measurement and service data, from your control system for example, in a dedicated view, or to display automated action information messages, ACRON delivers the data by way of a combined OPC Classic / DDE32 server (ACDDE.EXE). This interface can be used by all OPC Classic / DDE32-compatible systems.

Note

In plant management on the 'Options' tab you can optionally assign a [password](/acron-9.3/en/anlagenverwaltung/register-optionen.md#passwort) which is then requested whenever you exit the program, to prevent it from being closed down unintentionally for example. The password is case-sensitive.

## Use of ACDDE

If you start the ACDDE program without parameters, ACDDE delivers the data from the ACRON default plant. If you have not defined a default plant, or if you want to make the data available to a different plant, you must start ACDDE with the plant identifier parameter, e.g. `C:\ACRON\ACDDE.EXE`PlantID. This means ACDDE has to be started for each plant for which you want to query data.

### Optional adaptation of the update interval

By making the following entry in the `ACDDEParamEx.def` file in the server plant path, you can adapt the update interval for the process data:

`[ACDDE]`

`TimerInterval=4000;`

Valid values for TimerInterval are 200 - 60000 milliseconds; the default value is 4000.

## Configuring the OPC Client

To be able to address ACDDE via OPC you must make the following settings in your OPC Client (e.g. your control system):

|             |                                         |                                                                                                      |
| ----------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Server name | ACRON.OPCServer. *Plant identification* |                                                                                                      |
| Item names  | `Mai.`                                  | Service item names are always prefixed by `Mai.` (e.G. `Mai.MaiOver`).                               |
|             | `PV.`                                   | Item names for measurement data are always prefixed by `PV.` (z.B. `PV.`EnergyConsumptio.PCV").      |
|             | `System.`                               | Item names for system data are always prefixed by `System` (e.G. `System.ProviderCount`).            |
|             |                                         | Otherwise the naming conventions are the same as those specified under "Configuring the DDE Client". |
|             |                                         | Entries are case-sensitive.                                                                          |

## Configuring the DDE Client

To be able to address ACDDE via DDE you must make the following settings in your DDE Client (e.g. your control system):

|         |                                                               |
| ------- | ------------------------------------------------------------- |
| Service | `ACDDE`                                                       |
| Topic   | ACRON plant identification                                    |
| Item    | Name of the variable according to the syntax specified below. |
|         | Entries are case-sensitive.                                   |

|                                                          |                 |                                                    |                                                                         |
| -------------------------------------------------------- | --------------- | -------------------------------------------------- | ----------------------------------------------------------------------- |
| **Item names for Service data**                          |                 |                                                    |                                                                         |
| **General Service variables**                            | **MaiOver**     | Indicates the number of actions now already due.   | For example in MS-Excel: ACDDE\|Anl\_01!MaiOver                         |
|                                                          | **MaiNextTime** | Indicates the earliest next scheduled action date. | In MS-Excel you may need to assign the cell the date format DD.MM.YY.   |
| **Service variables per action** => actionname.extension | **Extensions:** |                                                    | For example: Intermediate\_action.OVER                                  |
|                                                          | **OVER**        |                                                    | If the interval has been exceeded a 1 is displayed here; otherwise a 0. |
|                                                          | **DE**          | Description /                                      | Special features of action                                              |
|                                                          | **CO**          | Comment /                                          | Current comment                                                         |
|                                                          | **ST**          | Service Time /                                     | Last action time                                                        |
|                                                          | **SU**          | Switch Usage /                                     | Switching cycles since last action                                      |
|                                                          | **OT**          | Operating Time /                                   | Operational availability since last action                              |
|                                                          | **RT**          | Running Time /                                     | Elapsed time since last action                                          |
|                                                          | **SUS**         | Switch Usage /                                     | Sum total switching cycles                                              |
|                                                          | **OTS**         | Operating Time /                                   | Sum total operational availability                                      |
|                                                          | **RTS**         | Running Time /                                     | Sum total elapsed time                                                  |
|                                                          | **SUP**         | Switch Usage /                                     | Percentage attainment of interval for switching cycles                  |
|                                                          | **OTP**         | Operating Time /                                   | Percentage attainment of interval for operational availability          |
|                                                          | **RTP**         | Running Time /                                     | Percentage attainment of interval for elapsed time                      |

|                                                   |                 |                            |                                                                                                                                              |
| ------------------------------------------------- | --------------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **Item names for measurement data**               |                 |                            |                                                                                                                                              |
| ACRON Process\_variable\_identification.extension |                 |                            | For example: NI10IT001.PCV                                                                                                                   |
|                                                   | **Extensions:** |                            |                                                                                                                                              |
|                                                   | **PCV**         | Process Current Value /    | Current value of process variable This value is only available in conjunction with automatic process variables, so not for manual variables. |
|                                                   | **ICV**         | Interval Current Value /   | Current interval value (e.g. 2-h average)                                                                                                    |
|                                                   | **IPV**         | Intervall Previous Value / | Previous interval value (e.g. 2-h average)                                                                                                   |
|                                                   | **DCV**         | Day Current Value /        | Current day value                                                                                                                            |
|                                                   | **DPV**         | Day Previous Value /       | Value of the previous day                                                                                                                    |
|                                                   | **MCV**         | Month Current Value /      | Current month value                                                                                                                          |
|                                                   | **MPV**         | Month Previous Value /     | Value of the previous month                                                                                                                  |
|                                                   | **YCV**         | Year Current Value /       | Current year value                                                                                                                           |
|                                                   | **YPV**         | Year Previous Value /      | Value of the previous year                                                                                                                   |

Note

Manual time and text data are currently not supported. In MS-Excel the text "NOT Supported" is displayed for these variables.

The process data are updated in the write interval of the first provider. All other items of data are updated in a 5-minute cycle.

**Item names for system variables**

Item names for system data are updated every 30 seconds.

|   |                                                   |                                                                                   |
| - | ------------------------------------------------- | --------------------------------------------------------------------------------- |
|   | **DiskspacePercentDataPath**                      | Indicates the percentage of the hard disk of the plant data path taken up.        |
|   | **DiskspacePercentCompPath**                      | Indicates the percentage of the hard disk of the plant compression path taken up. |
|   | **LastTimeSuccessfulDataBackup**                  | Indicates the time of the last successful backup.                                 |
|   | **StatusDBEngine**                                | Indicates whether the Database Engine is running; 1 = running, 0 = not running    |
|   | **ServerConnectionCount**                         | Indicates how many connections the Database server has.                           |
|   | **ProviderCount**                                 | Indicates how many providers are running for this plant.                          |
|   | For each configured Provider:                     |                                                                                   |
|   | **ProviderStatus\_XXX**\*                         | Indicates the status of the Provider as follows:                                  |
|   |                                                   | 0 = Everything OK                                                                 |
|   |                                                   | 1 = Problems connecting to partner (PCS)                                          |
|   |                                                   | 2 = Current critical errors present                                               |
|   |                                                   | ">3 = Provider not running                                                        |
|   | **ProviderTimeLastValueWritten\_XXX**\*           | Indicates the time when the Provider last wrote a value to the database.          |
|   | \*XXX stands for the identifier (Provider number) |                                                                                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.videc.de/acron-9.3/en/acron_der_anlagenchronist/acron_opc_dde-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
