DPA Server communicates with equipment and acquires machine data. Its interface lets you connect and configure Drivers, work with their states, and inspect incoming values. This chapter covers the technical side of data acquisition: selecting the right DPA Server, configuring the source, and checking the result.

The production structure, the purpose of a Work center, and the relationship between machine data and Indicators are explained in Chapter 3. These relationships help you identify which source to open and what data to expect from it.

1. What Server is for and how to access its interface

When to use the Server interface

DPA Server uses a Driver to communicate with a machine or another source of machine data. In the Server interface, you can inspect connected Drivers and devices, change connection settings, configure data acquisition, and check current values. It also provides controls for Server transport, external interfaces, and logs.

For example, if Indicator values stop updating for a Work center, you can use the Server interface to check the equipment connection and the current data of the relevant Driver. When configuring a new source, create its Driver here and check its operation before using the data in production functions. The relationship between Drivers, devices, and Indicators is explained in Section 2 of Chapter 3.

There are two ways to manage DPA Server: through the main DPA Host interface, or directly through Server’s own web interface. Both provide access to the same Server instance and its Drivers. The access method determines which account you use and which additional interface features are available.

Component deployment, addresses, and the initial connection are covered in the DPA Installation and Operations Guide. The instructions below assume that the required component is already running and accessible over the network.

Opening Server through DPA Host

Use this method when working with production objects in the main DPA interface and you want to inspect their machine data source.

  1. Sign in to DPA Host with your account.
  2. Open the Settings menu using the gear button at the upper right, and select Monitoring.
  3. On the Servers tab, click the name of the required DPA Server.
  4. The Drivers list for that Server opens. Select the source you want to work with.

DPA Server opened through DPA Host’s technical Monitoring. The selected Server’s sections are above the Driver list; its name and the current section appear in the breadcrumbs. The list uses an Interactive table, and you continue working under your Host account.

DPA Server opened through DPA Host’s technical Monitoring. The selected Server’s sections are above the Driver list; its name and the current section appear in the breadcrumbs. The list uses an Interactive table, and you continue working under your Host account.

You continue working under your DPA Host account. You do not need to enter a local Server user’s name and password separately: the connection between the components has already been configured. Access to settings depends on the DPA Host user’s permissions; the general permission model is described in Section 1 of Chapter 2.

DPA can use several Server instances. Before changing settings, check which Server is selected and the Driver name: the same or similar equipment names may occur in different parts of the system. To switch to another Server, return to the Servers list.

Technical Monitoring in the Settings menu manages data sources. Production views based on Work centers, their states, and indicators are covered separately in Chapter 9.

Signing in directly to DPA Server

Server’s own web interface opens at its address. Your administrator provides the address and the credentials for direct access.

  1. Open the DPA Server address in your browser.
  2. On the DPA Server sign-in page, fill in User name and Password.
  3. Click Log in. The Drivers list opens after you sign in.

This method uses a local account on the selected Server. A DPA Host user and a local Server user are separate accounts. Assigning someone as an Operator, Foreman, or Mechanic in Host does not create a Server account.

In Server’s direct interface, the user menu is at the upper right. Use it to select Language or end the session with Sign out. Changing the interface language does not change Driver names or other user-entered data.

DPA Server’s own interface, accessed with a local account. Users is available here, and the upper-right menu contains language selection and Sign out. The list shows the same Drivers you can manage through Host.

DPA Server’s own interface, accessed with a local account. Users is available here, and the upper-right menu contains language selection and Sign out. The list shows the same Drivers you can manage through Host.

In the direct interface, every local Server user can access Users. This section lets them create local accounts, change passwords, and delete other users. It is not shown when you open the same Server through DPA Host.

Direct access is useful for working with machine data sources themselves. Production objects—Jobs, Technologies, Work centers, and their history—remain in DPA Host. Open the main Host interface to work with them.

Main sections and navigation

The top level of the Server interface contains the following sections:

SectionPurpose
DriversLists machine data sources and opens each Driver’s settings.
TransportConfigures Server’s data exchange transport.
InterfacesManages external interfaces and the data published through them.
LogsProvides access to available Server logs and their recording settings.
UsersManages local accounts; available when signed in directly to Server.
About serverShows information about the selected Server.

Opening a Driver displays its own sections. These depend on the Driver type and supported features. To go back, use the breadcrumb navigation at the top of the page: it shows your current location and provides links to parent sections.

Lists use an Interactive table. Search, filters, sorting, and column selection are described in Section 11 of Chapter 1. When accessed through Host, a named profile selector may be available. Server’s direct interface has no such selector, although current filters and table settings may be restored in the same browser.

2. Server information and connection checks

Before configuring a Driver, check which DPA Server is open. This is particularly useful when the system has several Servers or when contacting support: the name, connection address, and version identify the component concerned.

The Server list in DPA Host

In DPA Host’s technical Monitoring section, the Servers tab lists saved connections to DPA Server. Access to this interface is described in Section 1.

Each connection has a Name, Address, and Port. Name helps you select the required Server in Host. Address and Port specify where Host connects to this Server; these details are entered when setting up the system.

Servers lists the DPA Server connections saved in Host. Each row contains Name, Address, and Port. Click a name to manage that Server.

Servers lists the DPA Server connections saved in Host. Each row contains Name, Address, and Port. Click a name to manage that Server.

Click a Server name to open its Drivers and other management sections. Use Refresh to reload the list. General techniques for searching, filtering, and selecting rows are described in Section 11 of Chapter 1.

A row in this list means that the connection has been saved in Host. Server availability is checked when you access it. If the Server interface does not open, the saved name, address, and port help the administrator check the connection.

Creating a connection, changing its address, and initially configuring communication between components are covered in the DPA Installation and Operations Guide.

Opening Server’s own web interface

For direct access, open a new browser tab and enter an address in the form http://<server-address>:<port>/. Server’s default HTTP port is 45616. For example, if the Server IP address is 192.168.1.20 and this port is used, enter http://192.168.1.20:45616/.

In Host, you can find the address and port on the Servers tab or the selected Server’s About server page. Clicking a Server name in Host opens its management interface within Host. To use Server’s own web interface, enter its separate address in the browser.

The address must be accessible from the computer running the browser. 127.0.0.1 is the local address of the computer making the request. If Host uses this address or an internal container name, ask the administrator for Server’s network address when connecting from another computer.

If the administrator provides a published URL with HTTPS or a different port, use the full URL, retaining its scheme, port, and path. Once the page opens, sign in with a local Server account as described in Section 1.

The About server page

To view information about the selected Server:

  1. Open the required Server through Host or sign in to its own interface.
  2. Select the About server tab.
  3. Check that the details refer to the Server you intend to work with.
FieldWhat it shows
Server nameThe name of the selected connection in Host.
AddressThe Server address Host uses for the connection.
PortThe port used for this connection.
VersionThe version of the running DPA Server instance, including its build number.
Server date and timeServer’s date and time, time zone, and UTC offset.

The first three fields appear when accessed through Host. Server’s direct interface provides Version and Server date and time. All fields are for viewing information.

About server shows the selected DPA Server’s version, date, and time. Through Host, the page also shows the Server name, connection address, and port. Its fields are for viewing information.

About server shows the selected DPA Server’s version, date, and time. Through Host, the page also shows the Server name, connection address, and port. Its fields are for viewing information.

Server date and time is retrieved when the page opens. To obtain an updated value, refresh the browser page or switch to another section and reopen About server. The time zone and offset help you compare Server time with the times of the events you are investigating.

Using this information to check communication

When investigating data source operation, start with the selected Server:

  1. In Host, check the connection name, address, and port. If the required row is not visible, check the table filters.
  2. Open Server and its About server page. Check that the version and time information has loaded; refresh the page when checking again.
  3. Go to Drivers, select the required source, and check its current data. The relationship between a machine data source, a Work center, and Indicators is described in Section 2 of Chapter 3.

Loading About server confirms that general information has been retrieved from Server. To check machine data acquisition, also inspect the operation of the specific Driver and the values used by the Work center.

If Server does not open or the information does not load, give the administrator the Server name, address, port, time of the check, and displayed error message. Also state whether you accessed it through Host or directly. These methods use different connection paths and accounts, as explained in Section 1.

3. Local Server users

A local account lets you sign in to the selected DPA Server’s own web interface and manage its settings. In Users, you can create these accounts, change passwords, and delete users who no longer need access.

Every local Server user can manage local accounts. A new account has the same Server management capabilities as existing accounts. DPA Host accounts, Groups, and production assignments are covered separately in Chapter 2; creating a local Server user does not create them.

The local user list

Open Server’s own web interface at the address described in Section 2, sign in, and select Users. This tab lists that Server’s local accounts.

Users lists the selected Server’s local accounts. Current user marks the account used to sign in. The commands above the table let you create a user, change the selected account’s password, and delete another user.

Users lists the selected Server’s local accounts. Current user marks the account used to sign in. The commands above the table let you create a user, change the selected account’s password, and delete another user.

User name contains the name used to sign in. Current user identifies the account used for the current session. Select the relevant table row to change a password or delete an account.

Refresh reloads the list. Search, filters, and other general Interactive table techniques are described in Section 11 of Chapter 1.

Creating an account

Above the list, click Add, the plus button. The local user creation form opens.

Enter User name, Password, and Confirm password in the creation form. Clicking Save adds the account to the selected Server’s list. Cancel closes the form without creating an account.

Enter User name, Password, and Confirm password in the creation form. Clicking Save adds the account to the selected Server’s list. Cancel closes the form without creating an account.

  1. In User name, enter the name to be used when signing in to Server.
  2. Fill in Password and repeat it in Confirm password.
  3. Click Save. The form closes and the new account appears in the list.

The name must be unique among this Server’s local users; the comparison is case-insensitive. If the passwords differ, correct the confirmation and save again. To abandon account creation, click Cancel.

Once saved, the new account can be used to sign in directly to this Server.

Changing a password

Select an account in the list and click Change password, the key button. In the form that opens, User name shows the selected account and cannot be edited. If you selected the wrong account, click Cancel and open the form for the correct user.

The form relates to the selected account: its User name is shown in a read-only field. Enter a new Password and Confirm password, then click Save. Use this form for your own account or another local user.

The form relates to the selected account: its User name is shown in a read-only field. Enter a new Password and Confirm password, then click Save. Use this form for your own account or another local user.

  1. Enter the new Password.
  2. Repeat it in Confirm password.
  3. Click Save. Use the new password the next time you sign in.

To change your own password, use the same form: select the row marked Current user. The same procedure applies to another local account.

When initially setting up Server, replace the initial password with a working password. Initial access is covered in the DPA Installation and Operations Guide.

Deleting a user

  1. Select an account in the list and click Delete, the cross button.
  2. Check the user name in the confirmation prompt.
  3. Click Yes to delete the account. It disappears from the list. Clicking No leaves it unchanged.

You cannot delete the current account: its Delete button is disabled. To delete it, sign in with another local Server account and select the previous user. If no other account exists yet, create one first.

4. Driver list and lifecycle

The Drivers tab contains the selected DPA Server’s machine data sources. Here you can add a Driver, open its settings, temporarily suspend its operation, or delete a source that is no longer used. The relationship between a Driver and a production Work center is explained in Section 2 of Chapter 3.

Listing and selecting drivers

Open the required Server and select Drivers. Click a Driver name to open its settings. For batch actions, select rows using the checkboxes in the left column: the command applies to the entire selection.

The checkboxes on the left select Drivers for a batch command. Actions lets you enable or disable the selection. Activated and current device state information are shown separately.

The checkboxes on the left select Drivers for a batch command. Actions lets you enable or disable the selection. Activated and current device state information are shown separately.

You can change which columns are visible. The main information is arranged as follows:

ColumnWhat it shows
NameThe Driver name and a link to its settings.
IdentifierThe source identifier, which distinguishes it from other Drivers.
TypeThe Driver type in use.
ConnectionConnection summary; its contents depend on the Driver type.
ActivatedWhether the Driver is allowed to run in Server. Change this flag using the Actions menu.
Device stateThe current device state reported by the Driver.
Snapshot statusThe result of acquiring source data: OK, Failure, or a dash if the status is undefined.
OK response, Fail responseThe times of the last successful and unsuccessful responses, respectively.

Activation and device state are separate pieces of information. An active Driver may still not be receiving the required data. After activation, check the connection and incoming values; OK alone does not replace checking the result of configuration.

Current state information updates periodically. Refresh reloads the list. Configuration Import and Export are available when one row is selected. Search, filters, column selection, and other general Interactive table techniques are described in Section 11 of Chapter 1.

The driver creation wizard

Click Create, the plus button above the list. The Create driver wizard offers three ways to add a source.

Create driver offers three methods: Manual, Ethernet, and Serial. The choice determines the initial setup steps. A separate command completes creation after you check the settings.

Create driver offers three methods: Manual, Ethernet, and Serial. The choice determines the initial setup steps. A separate command completes creation after you check the settings.

MethodWhen to use it and what is required
ManualThe type and connection settings are known; enter them directly in the wizard.
EthernetDiscover equipment over the network. Specify an IP address and the driver type and port search settings.
SerialFind a device connected through a serial port. Specify the port on the Server computer to which the device is connected, and the communication settings for the search.

Subsequent steps depend on the Driver type and the access method. A network source requires connection settings; a virtual source requires a Channel structure. Additional steps for selecting an endpoint, authentication, or devices apply to the corresponding connection type.

Manual creation example

To learn the wizard, you can create a virtual data source. Select Manual; at the next step, enter Name and select Virtual in Driver type. The settings for this type appear below.

The manual step sets Name, Driver type, and type-specific settings. For a virtual source, Channels contains Channel, Spindles count, and Axises count. Next opens the following wizard steps.

The manual step sets Name, Driver type, and type-specific settings. For a virtual source, Channels contains Channel, Spindles count, and Axises count. Next opens the following wizard steps.

  1. Under Channels, click Add and enter the settings in Channel, Spindles count, and Axises count. For example, create one Channel with two spindles and three axes.
  2. Click Next. When working through Host, the wizard offers a predefined configuration: choose Existing or Upload a file. If you do not need to import such a configuration, click Skip.
  3. At the next Host step, you can create a Work center or add a Module to an existing Work center. Enter the relevant name and position in the structure. If you currently need only a technical source, click Skip.
  4. Continue to the summary and check the settings. Use Back to make corrections.

Before creation, the wizard shows the entered settings for review. Use Back to correct them. Create finishes adding the source.

Before creation, the wizard shows the entered settings for review. Use Back to correct them. Create finishes adding the source.

Click Create on the summary screen to finish adding the source. After successful creation, the new Driver page opens. Until you click that button, you can close the wizard with Cancel without adding a source.

Server’s own interface does not include the additional Host steps for choosing a predefined configuration or creating a Work center. Configure the source’s production relationship in Host; working with the structure is described in Section 1 of Chapter 3.

Searching through Ethernet and Serial

For Ethernet, enter the equipment’s IP-address. Set the search parameters in the same form: Manufacturer and Driver type determine which connection options to check, and Port number determines which network ports to check. For the port number, leave Auto, or select Value and specify the ports explicitly.

The Ethernet form sets the equipment IP address, manufacturer, Driver type, and port selection method. Haas, Haas NextGeneration, and the address shown are examples. For your equipment, enter its address and suitable search settings.

The Ethernet form sets the equipment IP address, manufacturer, Driver type, and port selection method. Haas, Haas NextGeneration, and the address shown are examples. For your equipment, enter its address and suitable search settings.

For Serial, use Port number to select the port on the Server computer to which the target device is connected. This selection applies to the current search and the Driver being created. You can configure several Drivers using different serial ports on one Server.

Set the communication parameters: Baud rate, Data bits, Parity, Stop bits, Handshake, and Read timout. These must match the connected equipment’s settings.

The Serial form selects the port on the Server computer where the connected device should be found. The other fields configure communication for this search. Their values must match the equipment settings.

The Serial form selects the port on the Server computer where the connected device should be found. The other fields configure communication for this search. Their values must match the equipment settings.

Clicking Next starts the search. If a source is found, the wizard fills in the detected settings for you to check. If Driver not found appears, click Back, adjust the settings, and repeat the search.

Clicking Back during a search stops the current task and returns to its settings. Cancel closes the wizard. Finding a source does not finish adding it: the remaining steps end with confirmation and Create.

Activation and deactivation

Deactivation suspends the Driver in Server while retaining its configuration. Activate it to resume operation.

The highlighted Actions menu contains Enable selected and Disable selected. They apply to the Drivers selected using the checkboxes on the left. The result appears in Activated.

The highlighted Actions menu contains Enable selected and Disable selected. They apply to the Drivers selected using the checkboxes on the left. The result appears in Activated.

  1. Select the required Drivers using the list checkboxes.
  2. Open Actions and select Disable selected or Enable selected.
  3. Confirm with Yes. If you change your mind, click No.

Check the result in Activated. After activation, also inspect the device state and current data: the command controls the source’s operation in Server, while communication with the equipment must be checked separately.

Deleting drivers

When a source is no longer needed, select its row and click Delete selected, the cross button. The Delete drivers dialog opens.

The confirmation dialog applies to the selected Drivers. Remove log files controls deletion of their technical log files. Cancel closes the dialog without deleting the sources.

The confirmation dialog applies to the selected Drivers. Remove log files controls deletion of their technical log files. Cancel closes the dialog without deleting the sources.

Check the selection. Remove log files determines whether to delete these Drivers’ technical log files. Production data retention is covered separately in Section 4 of Chapter 3.

Click Delete to confirm, or Cancel to retain the sources. Once deleted, the selected Drivers disappear from the list. Before deletion, check which Work centers use the sources and prepare any replacement required.

5. Driver, connection, and devices

A Driver card brings together the machine data source’s information and settings. Here you can rename it, set the polling frequency, check connection settings, and describe the Devices the source works with. The relationship between these technical objects, a Work center, and Indicators is explained in Section 2 of Chapter 3.

Open the required Server, go to Drivers, and click the source name. Working with the list is described in Section 4. The card opens on About driver; the other tabs relate to the same source. Its name remains in the breadcrumb navigation at the top.

General information on About driver

About driver contains identification details, settings specific to the selected source type, and the results of the latest data exchange.

About driver contains the name, identifier, and source information. For a virtual Driver, the Channel structure is shown. Activate and Deactivate sit with the other commands above the input fields; the current state and response times are below the main information.

About driver contains the name, identifier, and source information. For a virtual Driver, the Channel structure is shown. Activate and Deactivate sit with the other commands above the input fields; the current state and response times are below the main information.

Use Name to rename the Driver. Enter a new name and click Save. Renaming does not change the source identifier.

Type, Identifier, and Model help identify the source you have opened. Other information depends on its type: a virtual Driver, for example, shows Channels and spindle and axis counts; a network source shows connection settings. Use these details to compare the card with the equipment configuration.

Below are Device state, Snapshot status, and OK response and Fail response, which show the times of the last responses. The date in Fail response refers to the last unsuccessful response and may remain after communication has recovered. To assess current operation, check the status and compare the response times.

Activate and Deactivate control this Driver’s operation. Confirmation and the effects of these commands are described in Section 4. Import and Export transfer the source configuration.

A tab’s presence alone does not establish what the Driver supports. For example, Connection status, Devices, and License are intended for OPC UA; for another type, the corresponding tab may report that the setting is unavailable.

OPC UA endpoint and certificate

For an OPC UA driver, About driver contains Endpoint and Certificate. The endpoint specifies the OPC UA source address and the security mode and policy used. The certificate is used to secure the connection.

An OPC UA driver’s Endpoint and Certificate are on About driver. They can be changed after deactivating the source. Click Save to apply the selected settings.

An OPC UA driver’s Endpoint and Certificate are on About driver. They can be changed after deactivating the source. Click Save to apply the selected settings.

Deactivate the Driver before changing these fields:

  1. Click Deactivate and confirm.
  2. Use Change beside the relevant field to open the endpoint or certificate selector. For a secure endpoint, first select the certificate prepared by the administrator.
  3. Confirm your choice in the dialog, then click Save on About driver.
  4. Activate the Driver and check the connection and incoming data.

While the Driver is active, its endpoint and certificate fields cannot be edited. Preparing certificates, stores, and trust between components is covered in the DPA Installation and Operations Guide.

Configuration: polling frequency and communication settings

Open Configuration. Change request frequency sets an overall multiplier relative to individual Snapshot periods. For example, Increase 2 times halves the calculated polling intervals, while Decrease 2 times doubles them. Default leaves the original periods unchanged by this setting.

Language belongs to the Driver’s own settings. A disabled field means that this source does not support language selection. The web interface language is changed separately, as described in Section 1.

For an OPC UA driver, the same form contains authentication, the main channel, and connection timing settings.

The OPC UA driver’s Configuration shows the overall polling frequency alongside authentication and communication settings. The keep alive interval and Keep-alive tolerance duration, ms control different aspects of connection monitoring. Save applies the changes.

The OPC UA driver’s Configuration shows the overall polling frequency alongside authentication and communication settings. The keep alive interval and Keep-alive tolerance duration, ms control different aspects of connection monitoring. Save applies the changes.

FieldPurpose
AuthenticationThe sign-in method for the OPC UA source. Anonymous access requires no additional credentials; user-name access requires the user’s credentials.
Main channelThe Channel number used as the main channel in the source configuration. It must match the Device numbering.
Keep alive interval, msThe interval for checking OPC UA session activity.
Keep-alive tolerance duration, msAdditional tolerance when keepalive is absent. 0 adds no tolerance.
OPC UA server session timeout, msThe session timing parameter requested from the OPC UA server.
OPC UA server reconnection interval, msThe limit on the interval between reconnection attempts.
OPC UA server operation timeout, msThe waiting time limit for requests to the OPC UA server.

Keep-alive tolerance duration, ms does not change the keepalive frequency or replace session and individual request timeouts. It is a non-negative integer. The tolerance is used when assessing a stalled keepalive; it does not specify the exact time at which an error will appear in every situation.

Enter timing settings as whole numbers of milliseconds. The minimum for the keep alive interval, reconnection interval, and timeouts is 1000; the keepalive tolerance allows 0.

After changing the settings, click Save. Choose communication settings to suit the OPC UA source and network. After saving, check source availability and updates to the required values.

Connection status: the device availability rule

For an OPC UA driver, open Connection status. Status detection specifies the rule by which the Driver considers the device available.

MethodHow availability is determined
OPC UA server connection statusFrom the connection state of the OPC UA server.
Read variableFrom successful reading of a selected node, or by comparing its value with specified values.
ScriptFrom the Boolean result of a C# check you provide.

Read variable is useful when an established connection is insufficient and availability must be determined from a specific equipment value.

Read variable checks the selected OPC UA node. Successful read only requires retrieving a value; Equals to and Not equals to additionally compare it with specified values. Save applies the selected rule.

Read variable checks the selected OPC UA node. Successful read only requires retrieving a value; Equals to and Not equals to additionally compare it with specified values. Save applies the selected rule.

  1. Select Read variable in Status detection.
  2. In Node route, open Select variable node and choose a variable in the OPC UA source tree.
  3. Specify the condition: Successful read, Equals to, or Not equals to. Successful read checks whether a value can be retrieved. For Equals to or Not equals to, fill in Value to specify what the data should be compared with.
  4. Click Save to apply the rule.

If enumerated values are available for the node, the form offers a list. Equals to is true when the value matches any selected item; Not equals to is true when none matches. For a regular field, enter the expected value in the form used by the source.

For Script, replace the initial template with a working availability check. The check must return a Boolean result: available or unavailable. After changing the method, fill in its parameters again and save the setting.

Devices: tree, numbers, and attributes

An OPC UA driver’s Devices tab describes the source’s logical structure: the control system, Channels, spindles, axes, and other supported Devices. This structure is used to configure machine data. The production meaning of Devices and their relationships with Indicators are described in Section 2 of Chapter 3.

Select a node in the tree on the left. Name, Type, Device number, and its attribute table open on the right. Main channel applies to the tree as a whole.

The Device tree is on the left; the selected node’s settings and attribute table are on the right. The frame highlights Save changes above the table. Click it first, then apply the configuration using the green Save button above the device tree.

The Device tree is on the left; the selected node’s settings and attribute table are on the right. The frame highlights Save changes above the table. Click it first, then apply the configuration using the green Save button above the device tree.

Type specifies the Device’s role, such as CNC, Channel, spindle, or axis. Device number specifies its number within the structure. Names and numbers must match the equipment configuration used by the machine data settings.

To add a child Device, select its parent node and click Add item. Fill in the new node’s settings on the right. The delete command removes the selected child node and its branch; it does not delete the root this way.

Select configuration lets you use a predefined tree or Upload a prepared configuration file. If loading offers a choice of equipment instances, select the required instance and check the resulting tree before saving.

Attributes are additional characteristics of the selected Device. A Device can have several attributes. The table contains Name, Type, and Value. For example, Boolean is a logical type, Int32 is an integer, Double is a number with a fractional part, and String is text. The type determines how the entered value is interpreted.

Attribute changes are saved in two steps:

  1. Finish editing the rows and click Save changes, the disk button above the attribute table. It becomes available when the table has unsaved changes. Make sure the rows have left edit mode.
  2. Click the green Save button above the device tree to apply the Device configuration to the Driver.

After saving, reopen the relevant node and check its number, attribute types, and values. Before deleting or replacing branches, check settings that use these Devices.

The OPC UA source license

License accesses the connected OPC UA source’s licensing mechanism if it supports this exchange with DPA. Click Refresh to retrieve information again. Successful reading provides the license status and type, dates, and component runtime information.

Upload sends a license file to the source. Obtaining a license and preparing the licensed component are covered in the DPA Installation and Operations Guide. If the source does not support the required operations or the information cannot be read, the tab displays the corresponding message.

To check production relationships, open the Driver card through DPA Host and select Work centers. The table shows the Work centers that use this source: Name, Department, and Description.

This tab is for viewing relationships. Change the source assignment in the Work center settings in the enterprise structure; the procedure is described in Section 1 of Chapter 3. When signed in directly to Server, production relationships from Host are not loaded into this table.

6. Snapshots and source values

A Snapshot is a named set of source values that a Driver retrieves from equipment. For example, one set contains a Channel’s operating mode and feedrate, while another contains spindle speed and load. The data contents and acquisition method depend on the Driver type and request settings.

Snapshot fields provide inputs for state calculations. The relationship between machine data, Devices, Channels, and Indicators is explained in Section 2 of Chapter 3. This section explains how to find a source set, inspect a read result, and configure value acquisition.

The snapshot list

Open the required Driver card and select Snapshots. The table lists the data sets configured for this source.

In Snapshots, the configured interval appears beside the status and last read time. Click a name to open current Data, or double-click a row for Settings. General table commands are above the list.

In Snapshots, the configured interval appears beside the status and last read time. Click a name to open current Data, or double-click a row for Settings. General table commands are above the list.

ColumnWhat it shows
NameThe Snapshot name. Click it to open current Data.
IdentifierThe set’s permanent identifier in the configuration.
GroupA label for grouping sets in the list.
Read interval, msThe configured acquisition period.
StatusThe read state: OK, Error, Not read yet, or Not available.
Last readThe time of the last result received.
Read duration, msHow long the request took; for a request still in progress, the elapsed waiting time.

General techniques for search, column selection, sorting, filtering, and profiles are described in Section 11 of Chapter 1. Use Refresh to reload the list; read information also updates automatically while the list is open.

Compare Status with Last read. If the result time has not changed for a long time, check Driver operation and open the relevant set’s data. Read interval and Read duration help assess communication frequency and delays, but describe different parameters: the former determines the polling period, while the latter shows how long a read takes.

Data: what the source returned

Click a Snapshot name. Its card contains Data and Settings. Data shows the name, identifier, Status, result Timestamp, and a Field–Value table.

Data shows the status, result time, and Field–Value pairs. The request and Driver type determine the fields. States are calculated from these source values; field names retain the source’s notation.

Data shows the status, result time, and Field–Value pairs. The request and Driver type determine the fields. States are calculated from these source values; field names retain the source’s notation.

Field names are determined by the source configuration. For example, a virtual Snapshot of type Main contains Feedrate, FeedrateOverride, State, and other fields. Here, State is a source equipment value; its meaning depends on the source and subsequent processing.

As new results arrive, the data and time update on the open page. 0 is displayed as a number, a Boolean as true or false, and an explicit null value as null. An empty string or missing value may appear as a dash, “—”. If reading fails, the card shows Error and its text.

This page helps you check a specific acquisition step: whether the required field arrived, what value it holds, and when it was received. For numeric codes, units, and enumerated values, consult the equipment documentation or its OPC UA model. Without this context, a number alone cannot identify, for example, a machine’s operating mode.

The card shows the current result. Saved Indicator history used by charts and analytics is covered separately in Section 4 of Chapter 3.

Creating and editing a snapshot

In Snapshots, click Add.

Start adding a Snapshot in the Snapshots tab’s main list. The plus Add button is above the table on the left.

Start adding a Snapshot in the Snapshots tab’s main list. The plus Add button is above the table on the left.

The form depends on the Driver type: for a virtual source, select a set type; for OPC UA, choose variables in the tree; other protocols provide their corresponding requests and parameters. If the type does not support creation, the form reports this.

The general procedure is:

  1. Enter Name. It must be unique among this Driver’s Snapshots and meet its protocol’s requirements.
  2. Specify Group if needed. For example, use “Main”, “Spindles”, or “Diagnostics” to group sets.
  3. Set the acquisition interval and parameters provided by the form.
  4. Click Save. The new set appears in the list.
  5. Open Data and check its fields, values, status, and read time.

To edit an existing set, open its Settings. You can also open this tab by double-clicking a list row. After editing, click Save, then recheck Data. An existing object’s Identifier is retained during editing.

Example: editing a virtual Driver’s Snapshot. Select its Type and Read interval, ms in the settings. Group helps organize the list, while Identifier retains the relationship with the existing object. Save applies the changes.

Example: editing a virtual Driver’s Snapshot. Select its Type and Read interval, ms in the settings. Group helps organize the list, while Identifier retains the relationship with the existing object. Save applies the changes.

You can configure Snapshots while the Driver is running. Changing a request or field set affects states that use the data; identify these dependencies before editing.

For a virtual Driver, Name contains the technical path to the required Channel and its element. Type belongs to the virtual source and determines the data structure retrieved by the Snapshot. Numbering starts at zero. The first Channel uses these combinations:

TypeExample nameData retrieved
Mainchannel/0Channel mode, state, feedrate, overrides, and current tool.
Control programchannel/0/processingProgramThe names and states of the running CP and subprogram.
Spindlechannel/0/spindel/0Values for this Channel’s first spindle.
Axischannel/0/axis/0Values for this Channel’s first axis.
Messagechannel/0/messageChannel messages.

The spindle path uses the spelling spindel. For another Channel, spindle, or axis, enter its number in the corresponding path component. The selected numbers must exist in the virtual source configuration. An arbitrary descriptive name in place of this path does not specify a read address; use Group for a convenient grouping label.

For example, for the first Channel’s main data, enter channel/0, select Main, and set an interval of 2000 ms. After saving, open Data: the result should contain this type’s fields and a read time.

The interval is a positive number of milliseconds. The overall Change request frequency multiplier from Section 5 also applies. For example, 2000 ms with Increase 2 times gives a calculated period of 1000 ms.

OPC UA: selecting variables

For an OPC UA driver, click Add in Snapshots. The top of the form contains Name, Group, Read interval, and Read timout; timing values are in milliseconds. Below, the connected OPC UA source tree is on the left and selected fields are on the right.

The OPC UA source tree is on the left; the new Snapshot’s selected fields are on the right. Give each field a clear name; its route and Node ID help identify the value’s source. The read interval and timeout are set above the tree.

The OPC UA source tree is on the left; the new Snapshot’s selected fields are on the right. Give each field a clear name; its route and Node ID help identify the value’s source. The read interval and timeout are set above the tree.

  1. Set the name, group, and timing parameters.
  2. Navigate to the required branch on the left. For example, the OPC UA server state variable is at Server → ServerStatus → State.
  3. Click the single right-arrow button on the variable row. It appears in the right-hand list. The double-arrow button adds variables from the selected node’s child branches; assess the size of the selected tree before using it.
  4. Check the right-hand list. Rename fields if needed, for example to “Server status”. Field names within a set must differ.
  5. Click Save, then open the new Snapshot’s data.

For a structured-value example, also add Server → ServerStatus → BuildInfo and name the field “Server information”. It contains several OPC UA server characteristics, such as the product name and software version. These appear in the set’s data after the first successful read.

The eye button opens node information. Tree search filters nodes in the current branch; search on the right filters fields already selected. The delete button beside a field removes it from the set being prepared.

A selected field shows its NodeId and route. The Node ID uniquely identifies a node in the source address space; the route describes its path. Clicking the Node ID includes it in or excludes it from the saved configuration. When excluded, the route is used to identify the node. Change the addressing method according to the OPC UA source’s structure.

For an array value, Index range limits the portion read. Leave it blank for an ordinary scalar variable. Check name or range changes before saving: they determine which field and data enter the set.

OPC UA: field reading and processing rules

After creation, open the OPC UA Snapshot’s Settings. This contains general information, Read interval, a Default row, and the fields with their assigned rules. A regular set receives Subscription and As complex type rules when created.

In an OPC UA Snapshot’s settings, shared rules are in Default, and individual field rules are beside their names. The numbering for each field shows the processing order. The main Save button applies the changes.

In an OPC UA Snapshot’s settings, shared rules are in Default, and individual field rules are beside their names. The numbering for each field shows the processing order. The main Save button applies the changes.

RulePurpose
SubscriptionAcquires the selected node’s value through an OPC UA subscription.
As complex typeExpands a structured value into individual fields if it has that structure.
ScriptRuns C# value processing that you provide. The rule settings contain the script name and text.
SkipLeaves the current value unchanged at this processing step.

A field’s rules run in order; the number on each label shows its position. For example, Subscription first retrieves the source value, then As complex type expands its components, if present. A simple numeric variable may have no additional structure.

The Default row contains shared rules. A rule added here is assigned to the set’s fields; removing a shared rule also removes it from fields using it. Refine a field’s settings beside its name: click a rule label to change its parameters, or add a rule with the plus button. Removing a label excludes that processing step for this field. Editing a shared rule’s parameters directly for one field creates that field’s own variant. Check the label order afterwards: the field-specific rule moves to the end of the list.

The red circular-arrow button, with the tooltip Reset snapshot read rules to default state, restores a field’s shared rule list. Search above the list limits the visible fields; the shared add and reset commands above it apply to the filtered fields. Once all changes are complete, click the upper Save button and check Data.

As complex type retains the original structured value and adds separate fields for its contents. For example, “Server information” produces Server information.ProductName, Server information.SoftwareVersion, and other fields defined by the value’s structure. An added field’s name consists of the original field name, a dot, and the component name.

As complex type retains Server information and adds separate fields for its contents. For example, Server information.ProductName holds the product name, and Server information.SoftwareVersion its version. Server status remains a separate scalar value; the time above the table applies to the entire read result.

As complex type retains Server information and adds separate fields for its contents. For example, Server information.ProductName holds the product name, and Server information.SoftwareVersion its version. Server status remains a separate scalar value; the time above the table applies to the entire read result.

These fields are created automatically during reading. They also appear in the list when you reopen Settings, but their add, delete, and reset-rule commands are unavailable. Configure processing on the original field. If you remove its As complex type rule and save, the data retains the original structured value; separate component fields are no longer generated. Resetting the original field’s rules restores expansion if As complex type remains in Default.

After changing rules, wait for a new result and check both the original field and its component fields. Their contents depend on the value structure supplied by the OPC UA source.

Deletion and dependency checks

In Snapshots, select the required rows, click Delete, and confirm. Declining confirmation retains the sets.

To delete sets, select the required rows in Snapshots, click Delete, and confirm.

To delete sets, select the required rows in Snapshots, click Delete, and confirm.

If a Snapshot is used as a state trigger, DPA prevents its deletion and reports the dependency. First change the state settings that use it. Before deletion, also check other requests and calculations referencing this set’s fields.

After deletion, check the list and dependent settings. Deleting a Snapshot changes the source data acquisition configuration; saved Indicator history has its own retention settings.

7. States, triggers, and providers

A Driver state is a named set of calculated fields. For example, it can contain feedrate, spindle speed, or information about the running Control program. A Provider specifies how to obtain the result, while Triggers determine when to recalculate it and which sources participate.

Source sets and their fields are described in Section 6. This section covers the next step: obtaining the required values from them, linking calculations, and checking the result. The relationship between a state field, an Indicator, and a Work center is explained in Section 2 of Chapter 3.

The state list and current data

In the required Driver card, open States. Each table row represents a configured set of calculated data.

In States, the set name is shown with its Device class and number. Status and timestamp help check calculation; Publish and Is active? show two separate settings. Click a name for Data, or double-click a row for Settings.

In States, the set name is shown with its Device class and number. Status and timestamp help check calculation; Publish and Is active? show two separate settings. Click a name for Data, or double-click a row for Settings.

The list shows Name, Identifier, Group, Device class, Device number, Calculation status, Timestamp, Publish, and Is active?. The class and number associate the set with a specific Device of this Driver. For example, Channel 0 refers to the first Channel. Different devices can use the same name, so compare all three attributes when selecting a state: name, class, and number.

Click a name to open Data, or double-click a row for Settings. General column, filter, and profile techniques are described in Section 11 of Chapter 1. Refresh reloads the list; calculation status and time also update automatically.

Calculation is disabled for a deactivated state. An active state shows Not calculated yet before its first result, then OK or Error. Timestamp refers to the latest calculation result.

Data shows the name, identifier, Device, status, time, and fields with their values. New results appear on the open page. Check the time together with the value: an unchanged number alone does not show whether recalculation is continuing.

Creating a state and choosing a provider

In States, click Add state. Fill in the creation form.

Creating a state sets its name, group, Device class, and number. Configure the provider and triggers after saving this form. In the example, Feed belongs to Channel 0.

Creating a state sets its name, group, Device class, and number. Configure the provider and triggers after saving this form. In the example, Feed belongs to Channel 0.

  1. Specify Name: select a suggested name or enter your own.
  2. Specify Group if needed to organize the list.
  3. In Device, select the class and enter the required Device number within the Driver.
  4. Click Save. The new state’s Settings opens.

The combination of name, device class, and device number must be unique within a Driver. The state’s Identifier is retained when its settings are edited later.

In Settings, general information and Triggers are on the left; the selected provider’s editor is on the right. Provider type offers:

OptionWhen to use it
Not DefinedNo calculation method is configured yet. Select a provider to calculate the state.
SimpleEach output field has a name and Power Fx formula. Suitable for passing through a source value, arithmetic, and calculations based on other fields.
ScriptPrepared C# code produces the result. Suitable for processing that requires custom program logic.

A new state is inactive with publication disabled. Configure a provider and at least one trigger, save the settings, then click Activate. Check Data after the first trigger fires.

The script provider

Select Script in Provider type. A C# editor opens on the right. The script implements the state calculation: it receives a call context and returns named result fields. For machine data, its logic must match the selected triggers, device, and input value structure.

For Script, C# code defines the calculation. The code shown returns Offset with a value of 25; a Timer trigger recalculates it every ten seconds. The result is available on Data.

For Script, C# code defines the calculation. The code shown returns Offset with a value of 25; a Timer trigger recalculates it every ten seconds. The result is available on Data.

For example, the script below returns Offset with a value of 25. Use it in a state named Correction, adding a Timer trigger with a period of 00:00:10. This state will then supply the simple provider in the feedrate calculation example.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
using Xtensive.DPA.Contracts;

namespace Xtensive.DPA.DriverManager;

public class OffsetStateProvider : IStateProvider
{
    public StateData Calculate(StateProviderContext context)
    {
        return context.CreateResult((Name: "Offset", Value: 25.0));
    }
}

Enter the prepared code, click Save, and confirm application. Server compiles the script on saving. If compilation fails, the last successfully saved configuration remains in effect. Correct the code using the message and save again. Once saved successfully, activate the state and check its fields and time on Data.

Scripts and formulas are different ways of producing the same state result. DPA asks for confirmation when the provider type changes. Before replacing it, retain any code or formulas you need: the newly selected calculation method replaces the previous provider settings.

The simple provider: field name and formula

Select Simple in Provider type. Output field rows appear on the right. Each row has Field name on the left and a Power Fx formula on the right. Add below the editor creates another row; the cross in a row removes that field from the set being edited.

General information and triggers are on the left; the simple provider’s output fields are on the right. Feed is calculated from a snapshot field, and FeedX2 uses the calculated Feed. Save applies the formulas.

General information and triggers are on the left; the simple provider’s output fields are on the right. Feed is calculated from a snapshot field, and FeedX2 uses the calculated Feed. Save applies the formulas.

The name determines how the field appears in the result and how other calculations reference it. Names within one state must differ. Fill in a formula for every added row; click the main Save button to apply added or removed rows.

Single quotes identify an input value’s name. If a snapshot is named channel/0 and its field is Feedrate, reference it as 'channel/0/Feedrate': the snapshot name, slash, and field name are enclosed in one pair of quotes. Use the actual names from the snapshot’s Data tab.

TaskFormula
Pass through the source feedrate unchanged'channel/0/Feedrate'
Multiply the source feedrate by five'channel/0/Feedrate' * 5
Double the neighboring calculated field Feed'Feed' * 2
Obtain the absolute deviation of Feed from 600Abs('Feed' - 600)
Add Feed to another state’s Offset field, with that state added as a trigger'Feed' + 'Offset'
Return a constant number25
Return text"Ready"
Return a blank valueBlank()

A text literal uses double quotes. Thus 'Feed' references a field, while "Feed" returns the text itself. Decimal numbers use a point: for example, 1.5 + 2.25 gives 3.75.

Fields in the same state can reference each other in formulas. Row order does not determine evaluation order: a reference can point to a field lower in the editor. Dependencies must allow the result to be calculated in sequence: field A with 'B' + 1 and field B with 'A' + 1 form a circular dependency and provide no starting value for the calculation.

Simple provider formulas use Microsoft Power Fx, a formula language with syntax similar to Excel. Alongside operators, standard functions such as Abs(), If(), and Sin() are available. The official syntax and function reference is Microsoft Power Fx formula reference. Some Power Fx functions belong to specific Power Platform products; in DPA, follow the editor’s suggestions and diagnostics.

Triggers: data sources and recalculation timing

Under Triggers, click Add. In the form, select Trigger type and the corresponding source or period.

TypeConfiguration and effect
SnapshotSelect a source set. Receiving its data triggers recalculation; its fields are available to the provider.
StateSelect another state of this Driver. Its update triggers recalculation, and its calculated fields can be used as inputs.
TimerSet Period in time format, for example 00:00:10 for ten seconds. Recalculation runs at this interval.

One state can have several triggers; any of them firing starts recalculation. For example, a snapshot supplies the source feedrate, while another state supplies a calculated correction. A timer sets the execution period; the required snapshots and states must also be added to the source list. Timer-driven execution uses values already available from these sources; a snapshot’s read frequency is set in its own settings.

For Snapshot, open the selector and locate the set by name, identifier, and group. For State, the selection table also shows device class and number.

The source-state selector shows the name, identifier, Device class, and number. In the example, Correction is selected for General 0. These attributes distinguish identically named sets belonging to different devices.

The source-state selector shows the name, identifier, Device class, and number. In the example, Correction is selected for General 0. These attributes distinguish identically named sets belonging to different devices.

Select a source and click Add in the form. It appears in the trigger list. Use the cross beside its row to remove it.

Adding or deleting a trigger takes effect immediately through a separate command. The main Save button saves general information and the provider; it is not a deferred confirmation of trigger-list changes. Leaving the page without saving formulas does not undo a trigger already added or deleted.

Click a trigger row to open a dialog showing its snapshot’s or state’s current data. This lets you check an input directly from the calculation settings. The source name in the dialog header links to its settings. For a timer, an explanation of the configured period appears.

Example: calculating feedrate with a correction from another state

The example uses snapshot channel/0 with field Feedrate, and state Correction, which returns Offset; its configuration is illustrated above under the script provider. Correction must be configured, active, and have a result containing Offset.

  1. In the Feed state’s settings, select Simple.
  2. Add a Snapshot trigger and select channel/0.
  3. Add a State trigger and select Correction with the required device class and number.
  4. Create fields Feed, FeedX2, and FeedWithOffset using the formulas below.
  5. Click Save and confirm the changes.
  6. If the state is inactive, click Activate. Open Data and wait for a result.
Output fieldFormulaResult when Feedrate = 100, Offset = 25
Feed'channel/0/Feedrate' * 5500
FeedX2'Feed' * 21000
FeedWithOffset'Feed' + 'Offset'525

A source feedrate of 100 gives Feed = 500 and FeedX2 = 1000. FeedWithOffset = 525 also uses Offset = 25 from another state. The status and time above the table apply to the calculation result for the entire set.

A source feedrate of 100 gives Feed = 500 and FeedX2 = 1000. FeedWithOffset = 525 also uses Offset = 25 from another state. The status and time above the table apply to the calculation result for the entire set.

The formula uses the field name Offset. The state Correction itself is selected in the trigger, which establishes the source relationship. Give the output fields of linked states distinguishable names so that it is clear which value an expression uses.

A new field appears in the state’s calculation result. To use it in an Indicator, configure a separate relationship to that field as described in Section 2 of Chapter 3.

Saving, activation, and publication

The upper Save button applies general information and provider settings. Confirm the change to current settings in the dialog. You can edit and save a running state without restarting the entire Driver; after applying changes, wait for a new result and check the values.

Activate and Deactivate control state calculation. Activation requires a configured provider and at least one trigger. Deactivation stops recalculation while retaining the configuration; use Activate to resume it.

Publish and Don’t publish control delivery of state results to consumers, including DPA Host. Publication and activation are separate settings. An active, unpublished state continues calculating and can participate in internal calculation dependencies. Publication alone, without a running calculation, does not produce new values.

Save changed formulas or code first, then apply the required activation or publication command: these commands do not save provider edits themselves. In States, the corresponding actions are also available for selected rows in Actions.

Checking errors and dependencies

Check individual field values as well as the overall Status. An error in one formula may appear as an error object in that field’s value while the other fields continue calculating and the overall status remains OK.

The frame highlights BadDivision, whose value shows a division-by-zero error. Other fields continue calculating, so the overall status remains OK. Check individual values and the update time to assess the result.

The frame highlights BadDivision, whose value shows a division-by-zero error. Other fields continue calculating, so the overall status remains OK. Check individual values and the update time to assess the result.

If the result differs from what you expect, check these points in order:

  1. Are the required fields and recent values arriving in the source snapshot?
  2. Is the state active, and are the required triggers configured?
  3. Do input names in the formulas match the data names, including the snapshot prefix?
  4. Has the source state produced a result, and is the correct device selected?
  5. Is there an error in a specific expression or a circular dependency between fields?
  6. Have the corrected settings been saved, and has a new result appeared since then?

For example, division by zero causes a calculation error in the affected field. An unknown name reference may cause an overall Error, with a message identifying an input variable for which no value was obtained. After correcting the settings, save and check the data again.

Before deleting a state, identify other states’ triggers and Indicators that use its result. Change those relationships, deactivate the state to be deleted, then select it in States, click Delete selected, and confirm. Cancelling the confirmation retains the object. An active state cannot be deleted.

8. Current data, logs, and diagnostics

For diagnostics, distinguish three information sources: a State’s current result, a Driver’s technical log files, and DPA Host’s saved production history. They answer different questions and do not replace one another.

The current result and its age

Opening a State’s current data is described in Section 7. On Data, check Status, Timestamp, and field values together. A value can remain unchanged for a long time; a new timestamp shows that calculation is continuing.

The open page receives new results without manual refresh. If a state is deactivated or its current result is unavailable, Error with Not found may replace the value table. When the working state becomes available again, new data and OK reappear.

When reading an individual field, distinguish:

The overall Status does not always describe each field individually: as shown in Section 7, some fields can calculate successfully while another contains an error. Investigate both the overall result and specific values.

Current Data is the latest available result, not a time series. The difference between a current value and saved Indicator history is described in Section 4 of Chapter 3.

Driver technical logs

In the required Driver card, open Logs. This page is for technical diagnostics of the driver itself.

Logs sets the Driver’s technical logging level. A warning reminds you that more detail increases file size; log files and Download archive are shown below.

Logs sets the Driver’s technical logging level. A warning reminds you that more detail increases file size; log files and Download archive are shown below.

Level selects logging detail. The available values are Off, Fatal, Error, Warn, Info, Debug, and All. After selecting a value, click Apply. A more detailed level can substantially increase file size; the interface displays a separate warning about this.

Increase detail while reproducing a problem if diagnostics require it, then restore your installation’s normal level after collecting information. Do not leave detailed logging enabled unnecessarily.

Journal files shows file names and modification times. Before sending material to support, check that the required file updated while the problem was being reproduced. Refresh reloads the list; Download archive collects this driver’s logs into a ZIP file.

A driver’s technical log is not Indicator or production event history. It answers questions about the component itself: startup, data exchange, errors, and diagnostic messages.

Choosing the right information source

What you need to find outWhere to look
What value a state is returning now and when it was obtainedDriver → States → state name → Data
What happened inside the driver during communication or processingDriver → Logs
What production values and events were saved for a periodDPA Host journals and analytics, and Indicator history
Who changed settings, signed in, or performed another tracked actionAudit

Empty history does not establish that the driver is not currently producing data, and recent current data does not establish that history has been saved. Likewise, a technical log can contain communication messages without replacing a production event journal.

A practical diagnostic sequence

If data looks wrong or stops updating, work from the current result towards its wider context:

  1. Check that the Driver and required State are active.
  2. Open the state’s Data and compare Status, Timestamp, and individual fields.
  3. If the problem concerns a particular calculation, check its formula, inputs, and triggers as described in Section 7.
  4. Open the driver’s Logs and check that the file updates at the relevant time. If needed, temporarily increase detail and reproduce the problem.
  5. Download the technical log archive if the material needs to be passed on for investigation.
  6. For a past period, use Host’s saved history. To identify who changed the configuration or performed an action, use Audit.

This sequence helps distinguish a missing current result, a calculation error, a communication problem, and missing saved history. They may look similar but are checked in different places.

9. Control program

The Control program tab in a Driver card configures program exchange rules for OPC UA. It is not a CP catalogue or the screen from which a user starts transferring a prepared file to equipment. For other driver types, the tab reports that control program settings are available only for OPC UA.

Configuring exchange for an OPC UA driver

The left side of the page offers three groups of settings:

On an OPC UA driver’s Control program tab, select Renaming, Downloading, or Uploading on the left. Configure the selected mode’s strategy on the right; Save applies the driver setting.

On an OPC UA driver’s Control program tab, select Renaming, Downloading, or Uploading on the left. Configure the selected mode’s strategy on the right; Save applies the driver setting.

For Downloading and Uploading, configure a shared Default and individual settings for OPC UA channels. After selecting a channel and strategy, its parameters appear on the right. If a channel has its own rule, reset it to use the default again.

Script strategies and State machine depend on the specific OPC UA server’s structure and the method used to exchange data with the controller. Configure them according to the equipment’s design, rather than copying another machine’s settings merely because channel names are similar.

After editing, click Save. This applies the configuration to the driver. Saving this page alone does not transfer a selected CP to equipment.

Where to start transferring a prepared CP

Transfer prepared files through DPA Host. Open CP uploader → Program pack loader: select the destination Work center and channel, then the required Control program version or Subprogram version, review the proposed contents, and start the pack with Run.

If the Work center channel uses driver-based transfer, the operation uses the driver configured for that equipment. The OPC UA Control program settings determine how that driver handles exchange, but do not replace selecting a recipient and file in the uploader.

The complete procedure for selecting channels, CPs, and subprograms, reviewing the contents, and starting transfer is described in Section 6 of Chapter 5.

Interpreting a transfer result

Once started, the pack shows the state of each equipment–file pair. Completed means that the transfer operation for that row finished without a recorded error. It does not mean that the machine has selected, started, or executed the CP.

Activating a CP version, marking it Deployed, assigning a CP in a Technology, transferring a file, and starting a production Job are separate actions. For example, a file can be transferred without changing its technology assignment; transfer also does not start a job automatically.

In the Operator workplace, Select CP and Upload provide a separate transfer path in the context of a particular Job. It is described in Section 2 of Chapter 7 and replaces neither driver settings nor the general pack loader.

If you need to confirm receipt by the equipment itself, use the verification method appropriate to that controller. A successful DPA status confirms completion of the system’s transfer operation; it does not replace checking subsequent program use on the machine.

10. Configuration import and export

Import and export in a Driver card transfer its settings between DPA Server instances. In DPA Host, this mechanism can also transfer related Work center production logging settings. It is not a full system backup or a way to transfer accumulated history.

What can be exported

Open the required Driver through DPA Host and click Export on About driver. The dialog offers two separate layers:

The second layer concerns saving Host production data. It is unrelated to the technical files on Logs described in Section 8.

To transfer logging settings, Host must unambiguously identify the associated Work center or module. If the driver has no associated Work center, the interface leaves driver configuration export available and displays the corresponding warning.

Export offers separate selections for Driver settings and DPA Host production logging settings. If the associated Work center is not identified, the second layer is unavailable and the interface displays a warning.

Export offers separate selections for Driver settings and DPA Host production logging settings. If the associated Work center is not identified, the second layer is unavailable and the interface displays a warning.

Select the required layers and click Export. The browser saves an XML file. To transfer only technical driver settings, export the first layer without logging settings.

Configuration export does not include the entire DPA Host database, users, technologies, jobs, accumulated history, additional microservice data, licenses, or other parts of the installation. Use a separate operational procedure to back up the system.

Importing from a file

On About driver, click Import. The source can be Predefined configuration or File. To transfer previously saved settings, select File, choose the XML, and click Next.

If the XML contains a complete logging settings section, Host lets you enable Logging settings import. At the next step, select the Work center or module these settings should belong to; check the destination before starting the import.

If the XML has no logging layer, the checkbox is disabled and the interface explicitly states that only the driver configuration will be imported.

If the XML lacks a complete logging settings section, Logging settings import is unavailable. Host explicitly states that only the Driver configuration will be imported.

If the XML lacks a complete logging settings section, Logging settings import is unavailable. Host explicitly states that only the Driver configuration will be imported.

Before confirming, check:

  1. that the correct recipient Driver is open;
  2. that the configuration is being loaded from the correct file;
  3. whether Host logging settings need to be transferred;
  4. that the correct Work center or module is selected for that layer.

If you need the original configuration for comparison or manual rollback, save a separate export before importing.

After completion, open About driver, Snapshots, and States and check that the expected configuration is available. If logging settings were transferred, separately check the relevant Work center’s Indicators and event journals. Transferring their settings does not restore accumulated historical data.

Host and the direct Server interface

The extended production-owner workflow belongs to DPA Host: Host knows the Work centers, modules, Indicators, and production history retention settings.

In DPA Server’s direct interface, import and export handle driver configuration without selecting a Host production owner. The same XML mechanism therefore serves different tasks:

ContextWhat is transferred
Direct DPA Server accessA specific driver’s configuration
DPA Host, driver settings onlyThe same technical configuration without the production layer
DPA Host, driver and logging settingsDriver configuration plus selected logging and Indicator settings for the associated owner

Do not use a driver export in place of a DPA Host backup. It is useful for transferring and reapplying a specific configuration, but its scope is much narrower than the entire installation.

11. Managing external interfaces

Administrative settings for external interfaces are under Monitoring → DPA Server → Interfaces. DPA Server stores the Kafka, MQTT, and OPCUA configurations here, controls their startup, and determines which driver states to publish externally. Protocol purposes, external receiver configuration, and exchange verification are covered in Chapter 8.

General configuration and startup procedure

Select an interface on the left. It has an Interface configuration tab. Kafka and MQTT also have Drivers states to publish; Kafka additionally provides Statistics.

Select Kafka, MQTT, or OPCUA on the left. The selected interface provides Save, Activate, Deactivate, Refresh, and Reset; State shows its current status.

Select Kafka, MQTT, or OPCUA on the left. The selected interface provides Save, Activate, Deactivate, Refresh, and Reset; State shows its current status.

Stop a running interface before editing it. Change the parameters and click Save. Activate starts the interface with the saved configuration, Deactivate stops it, and Refresh reloads the displayed state.

After startup, check State and any error message. A running-interface indicator confirms that its process has started in DPA Server; it does not establish that an external client, broker, or subscriber is already receiving data. Verify end-to-end exchange using the relevant section of Chapter 8.

OPC UA: certificate and security policies

The OPC UA settings specify the server port, application certificate, treatment of untrusted client certificates, and allowed security policies. To use an existing certificate, click Change and select the application certificate.

In OPC UA settings, Change selects a certificate for the TLS connection. The certificate and its private key must be accessible to the DPA Server process.

In OPC UA settings, Change selects a certificate for the TLS connection. The certificate and its private key must be accessible to the DPA Server process.

DPA Server must have access to both the public certificate and its private key. If the interface moves to another environment or the certificate store is recreated, prepare the certificate and key separately in that environment: the saved interface configuration does not transfer the private key itself.

On Linux, an explicitly selected certificate comes from the Server process user’s store. Use certificates actually available to the DPA Server account, rather than assuming the store location from another operating system.

After saving and starting the interface, check its state, then perform the client-side check described in OPC UA Server in Chapter 8.

Kafka and MQTT: published states

Drivers states to publish determines which DPA Server states are sent through Kafka or MQTT. Each row saves a reference to a specific Driver and its State, together with external addressing settings. Skip repeated driver states suppresses repeat publication of unchanged states.

If a saved reference no longer points to an existing source after deletion, recreation, or configuration transfer, the interface marks the missing source in red as NOT FOUND.

Red NOT FOUND means that a saved publication reference no longer points to an existing source. If both the Driver and State are missing, check the original configuration and identifiers before assigning the source again.

Red NOT FOUND means that a saved publication reference no longer points to an existing source. If both the Driver and State are missing, check the original configuration and identifiers before assigning the source again.

Diagnostics distinguish two cases:

A matching display name does not restore the reference automatically. Compare the original and current configurations, then remove the outdated row and select the required source again.

Addressing fields and actual delivery checks depend on the protocol; these are described separately for Kafka and MQTT.

Server transport

Monitoring → DPA Server → Transport belongs to a different mechanism. It does not configure Kafka, MQTT, or OPC UA, or Server’s own connection to DPA Host. A Transport sends state event batches through its configured transport channel.

Transport lists the name, identifier, destination address and port, normal and retry delivery intervals, and transport type. The buttons above the table add, delete, or refresh an entry.

Transport lists the name, identifier, destination address and port, normal and retry delivery intervals, and transport type. The buttons above the table add, delete, or refresh an entry.

The table shows Name, Identifier, Host address, Port, Rest period, Resending period, and the Transport type. The transport creation form creates an entry of type GrpcTransport. Enter your own name, recipient address and port, and both time intervals; do not copy another installation’s address and port as ready-to-use values.

Rest period specifies the interval after which accumulated events can be sent as a batch if the maximum batch size has not yet been reached. Resending period specifies the pause before retrying after a failed batch delivery.

Click a transport name to open its card. Details presents the settings together so that you can check the actual destination and intervals.

The transport card shows its settings together: name and identifier, transport type, address and port, Rest period, and Resending period.

The transport card shows its settings together: name and identifier, transport type, address and port, Rest period, and Resending period.

Use the add and delete buttons in the main list to change the set of transports. After changing the list, refresh the table and check that the required entry has the expected settings.

Transport logs

Each transport has its own Logs tab. It works like driver technical logs: select and apply the detail level, then download an individual file or a log archive.

For an individual transport, change the technical log level and download its files or an archive. Use increased detail temporarily while diagnosing a problem.

For an individual transport, change the technical log level and download its files or an archive. Use increased detail temporarily while diagnosing a problem.

Use increased logging detail during diagnostics and restore the normal working level afterwards. A transport log helps determine whether event batches are being formed and sent, and whether delivery errors occur; it does not replace checking that the destination system has received and processed the data.