Skip to main content

Darra Profinet Slave Frequently Asked Questions

Darra Profinet Slave FAQ: how to set the station name, why it won't connect in TIA, why process data isn't updating, how to install it, which languages it supports, what the minimum cycle time is, whether IRT is supported, how to view diagnostics, how long the evaluation period is, and how much it costs—one answer per question.

Frequently Asked Questions​

Is the Darra Profinet Slave a master or a slave?​

The Darra Profinet Slave is a PROFINET IO Device (slave), not an IO Controller, and not an EtherCAT master. When connected to the controller, a Windows computer appears as a field device; import the GSDML into TIA and it appears in the project. The complete machine-readable evaluation card is available at /ai/evaluate.json. To act as the EtherCAT master, use Darra EtherCAT Master.

Which programming languages are supported?​

Six real-time SDKs are supported: C, C++, C#, Java, Python, and Rust, plus a local Web API for viewing status and diagnostics. All six SDKs connect directly to the local device; when a connection is established, data is not sent to the host and does not go through HTTP.

How do I install it?​

Run the installer as an administrator, install it to C:\DARRA\Profinet_Slave, and set the service name to DarraPnSService. The installer includes a configuration tool, drivers, and six languages SDK; there is no need to find a separate driver package.

How do I perform a silent installation?​

Command-line parameters for a silent install with the installer package: pick any one of --silent, --headless, /S, --qn to turn off the wizard, then add --install to install or --uninstall to uninstall, and use --path to set the install directory. Administrator privileges are required.,

What does the installation exit code mean?​

There are only two installation exit codes: 0 is success, 1 is failure. The batch deployment script only needs to check for these two values.

Is there a repair installation option?​

There is no repair mode; --repair is rejected. To reinstall, follow the upgrade sequence: uninstall the old version, restart the computer, then install the new version.

I already have an older version installed. How do I upgrade or reinstall it?​

If an older version is already installed on your computer, please follow these steps:

  1. Uninstall the old version: Open Windows "Settings → Apps → Installed apps" and uninstall; you can also run the original installer again and select "Uninstall."
  2. Restart the computer. You can't skip this step.
  3. Install the new version: Double-click the new installer and follow the on-screen prompts to complete the installation.
  4. We recommend restarting the system once after installation to ensure everything runs smoothly.

Please save your project and configuration files before proceeding.

Which service is it, and where is it installed?​

The service is DarraPnSService, installed to C:\DARRA\Profinet_Slave by the installer. The configuration tool, drivers, and six-language SDKs are all included in the same installation package.

Which version of TIA Portal is required?​

TIA Portal V15 or later. Versions older than V15 cannot import the GSDML files exported by this product.

How do I export the GSDML?​

After configuring the station name, network card, slot, and process data in the configuration tool, export the GSDML, then import it in TIA under "Options → Manage general station description files." The file name is generated by the configuration tool; do not modify it manually. For troubleshooting import issues, see /ai/profinet-gsdml-import.txt.

How do I set the site name?​

Enter the site name on the "Devices" page of the configuration tool. You cannot change the configuration while the service is running. The steps are as follows: Stop the service → Change the site name → Apply the configuration → Change TIA the value to the same string and re-download → Start the service. For the complete rules regarding site names and the renaming procedure, see /ai/profinet-station-name.txt.

Do the site name and TIA device name have to be the same?​

They must match. The controller finds the device by the PROFINET device name of that station in TIA; the station name on the "Devices" page of the configuration tool is the name used on the network. Write the same string on both sides so discovery matches and the application relationship can be established.

Not case-sensitive; use lowercase when exporting.

Is "Device Name" the station name?​

No. The "Devices" page of the configuration tool also has a device name; that is the product type (the model you see in the hardware catalog), not the station name of this unit. A mismatch there only affects how the catalog is displayed.

It is the site name that is actually accessed online.

Do I need to re-export the GSDML when changing the station name?​

No need. The change applies to this unit's runtime identity, not the product description.

You cannot change the configuration while the service is running. Procedure:

  1. Stop the service
  2. Change the site name on the "Devices" page
  3. Apply the configuration
  4. In TIA, change that station's PROFINET device name to the same string, compile, and download it to the PLC
  5. Start the service

If you change only one side, the two sides still won't line up.

What characters can be used in a site name?​

DNS-compatible name, total length no more than 240:

  • Use only letters, digits, - and .. No underscores, spaces, or Chinese characters.
  • Must start with a letter.
  • Must end with a letter or a digit.
  • Segments are separated by ., each 1–63 long; .. is not allowed.
  • Cannot start with port-.
  • Cannot be written as four dot-separated groups of pure digits (like an IP).

Allowed: darra-slave-01

Not allowed: Darra_Slave_01 (underscore), 01-line-a (starts with a digit), port-1, 192.168.1.10

Is the "IO Controller-Assigned Device Name" field on the diagnostics page empty?​

This indicates that the controller has not yet assigned a name to this device; the page will display "Waiting for IO controller DCP assignment."

Check whether the following three items match: the site name in the configuration tool,TIA the device name, and the device name assigned by the IO controller on the diagnostics page. The renaming process is complete only when all three match.

What if I cannot connect to the device in TIA?​

If you cannot connect in TIA, first check that the station name is the same string in all three places: the station name in the configuration tool, the PROFINET device name of that station in TIA, and the device name assigned by the IO controller on the diagnostics page. Once all three match, compile and download to the PLC, then start the service; if it still will not connect, look at the wait reason on the diagnostics page. For a step-by-step guide to these four kinds of causes, see /ai/profinet-not-connecting.txt.

What should I do if the process data isn't updating?​

The process data isn't updating. First, check Connected and IoStatus: I and Q won't update until these two items are in place. Next, verify that the hostname matches, the service is running, and the configuration has been exported and loaded by the service. If the connection is established but the data still isn't updating, troubleshoot each item as described in /ai/profinet-no-process-data.txt.

What does "Read I, Write Q" mean?​

A read operation (I) retrieves data sent by the controller to the device, while a write operation (Q) sends data from the device to the controller. The direction is fixed: I always goes from the controller to the device, and Q always goes from the device to the controller.

The configuration tool's input/output doesn't match the SDK's I/Q?​

The two sides use different reference points; read each according to the page it appears on. The "Device" page of the configuration tool follows the GSDML direction: input = device → controller (the SDK's Q), output = controller → device (the SDK's I); the data test page and the SDK follow the SDK direction. For field programs, reading I and writing Q are unchanged.

What would happen if I wrote "I"?​

Writing to I is always rejected: an addressed write returns NotSupported, and a write through an element port throws a "not supported" exception. I is a read-only input area; to output data, write to Q.

Can I copy I back to Q?​

No. Copying from I to Q is not a supported practice, nor does it solve any problems.

What is the address format?​

Siemens style: I area I0.0 / IB0 / IW2 / ID4, Q area Q0.0 / QB0 / QW2 / QD4. The subscript is a byte offset; unaligned addresses such as IW3 are also valid.

Is the byte order big-endian or little-endian?​

Word and double word are parsed in the big-endian format, with the high-order byte first.

Does it support M Zone and DB?​

Not supported. There are only two zones, I and Q; there is no M zone and no DB.

How fast can the cycle be?​

Freely configurable cycle time, minimum 1 ms. The cycle time is set in the configuration tool and on the controller side. For information on how to interpret results when the cycle time does not meet expectations, see /ai/profinet-cycle-too-slow.txt.

Is IRT supported?​

Not supported. This product is RT Class 1; it does not do IRT, and it does not do PTCP clock synchronization, so do not configure it as IRT in TIA.

How do you interpret the diagnosis?​

Follow the sequence: Connected, State, ErrorCode , ErrorMessage, IoStatus(IOPS / IOCS). First, make sure these steps are complete before reading or writing I and Q. If the connection fails, check the reason for the delay; this will allow you to pinpoint exactly which step is causing the problem.

What are IOPS and IOCS?​

IOPS and IOCS are the quality bits of process data, not the data itself. IOPS indicates whether the input data is available, and IOCS indicates whether the output data is accepted by the controller; only when both are GOOD are I and Q treated as valid values.

How can you tell the difference between a disconnection and never having connected in the first place?​

EverConnected being false means the device has never connected; only true with Connected false counts as a disconnection. If the service is still running after a disconnection, it re-establishes the connection automatically, so there is no need to restart it manually.

Do I need to reconnect manually after the connection is lost?​

No. After a disconnection, as long as the service is still running it re-establishes the connection automatically; on the application side just keep watching Connected, and resume reading and writing process data once it is back to true.

A unique connection means that only one real-time client is allowed at any given time; cross-process and cross-language connections are both counted as a single instance. A second instance will always be rejected until the first one releases the connection or its process exits.

What is the difference between "Stop" and "Dispose"?​

Stop() only stops the session; it does not release the unique connection. The connection is released by Dispose() / close() / Close(), or when the owning process exits. To let the next instance take over, the connection must be released first.

Can multiple clients connect at the same time?​

No. Only one real-time client is allowed at a time; a second instance will be rejected.

Do I need a dedicated network card?​

No, a standard Ethernet card is sufficient. Do not use virtual network cards as device ports.

Which versions of Windows are supported?​

Windows 10/11 x64.

Where do I install the six-language SDKs?​

Install C#, Python, Java, and Rust from the public package sources (NuGet / PyPI / Maven Central / crates.io); get the C and C++ packages from the download page, or use the SDK directory inside the installation package directly. For the commands, see the download page.

How do I install the SDK in an offline environment?​

Download the packages first, then package them locally: for C#, use dotnet add package Darra.Profinet.Slave with --source pointing at the directory holding the nupkg; for Python, install the downloaded whl directly; for Java, use mvn install:install-file to install the downloaded jar; for Rust, point the dependency in Cargo.toml at the extracted directory.

Can process data be read and written over HTTP?​

No. The six real-time SDKs connect directly to the local device to read and write process data; they do not go through HTTP. The local Web API only does session and diagnostic observation; it is not the real-time path for process data.

Does the SDK need separate activation?​

No. Activation is performed exclusively through the configuration tool. Unactivated computers have a 2-hour trial period when not connected to the internet (calculated based on cumulative usage time; the elapsed time is not reset upon restart, shutdown, or power loss). If the system is not activated by the end of this period, PROFINET communication will not start.

How do I activate the license?​

Enter the activation code in the configuration tool and click "Activate." The Personal Edition requires an internet connection. Activation takes effect immediately and does not require a restart; the SDK side does not need separate activation.

How much does it cost?​

Individuals: $1.99 / single computer; Businesses: $20 / seat (each computer counts as 1 seat); both are available on the purchase page. The configuration tool, drivers, and six-language SDKs are all included; there is no separate fee for drivers.

What is the difference between an individual license and a corporate license?​

Individual license: $1.99, tied to a single computer; an internet connection is required for activation. Enterprise license: $20 per seat (each computer counts as 1 seat); activation is based on the number of seats purchased. Neither license has an expiration date.

How many devices can a corporate license activate?​

Activation is based on the number of seats purchased; any activation attempts beyond the purchased quantity will fail.

What should I do if I need to replace the machine?​

Individual licenses are tied to the computer used at the time of purchase; copying the certificate to another computer will not activate it. For multiple machines using an enterprise license, activate the software on each machine according to the number of seats purchased.

How long is the evaluation period?​

When the device is unactivated and not connected to the internet, there is a cumulative 2-hour offline usage window. This time accumulates across reboots and does not reset; once it is used up, the device will refuse to establish a connection. This is not a 30-day trial, nor is it 2 hours per boot. For information on the evaluation period, activation, and licensing, see /ai/profinet-evaluation-window.txt.

Does the usage time reset when the device is turned on?​

No. The 2-hour limit is a cumulative total; it isn't reset when you restart, shut down, or lose power—once it's used up, that's it.

Can I use it if it's connected to the internet but not activated?​

No. If the device is connected to the Internet but not activated, it will prompt you to activate it immediately and will not enter the trial mode.

Why aren't the configuration changes taking effect?​

You cannot modify the configuration while the service is running. First, stop the service, make the necessary changes to the application configuration, and then restart the service. If you change the site name, you must also change it to the same string in TIA and re-download; otherwise, the two will still not match.

Are there any features like MES, ERP, or work orders?​

No. This product only handles process data, diagnostics, and identification on the device side; it does not handle business functions such as work orders, production scheduling, OEE, inventory, or finance. To let an upper-level system read the field data, on the server side use the built-in OPC UA Server (port 4840) of Darra Software PLC, and on the client side use Darra OPC UA Client SDK.

Is there a Linux version?​

The publicly available documentation and downloads are for x64 Windows 10/11 only; there is no publicly available Linux evaluation version.