Troubleshooting
Why CODESYS OPC DA shows no tags to import in Elipse E3
Short answer
Elipse E3 lists the CoDeSys.OPC.DA server but the tag import comes back empty because the CODESYS OPC Configurator has no user name and password saved. Enter those credentials in the configurator, save, reconnect the server from E3, and the browse returns the application tags. Discovery and browsing are separate steps; only a completed import into the project proves the path.

On this page
- Why does Elipse E3 list CoDeSys.OPC.DA but import no tags?
- How do I add the username and password in the CODESYS OPC Configurator?
- Why is the tag list still empty after saving the credentials?
- Why does the browse show only _CommState and _CommStateOK?
- What should the imported tags look like once the browse works?
- Does the same empty-browse pattern show up in other SCADA imports?
- Questions asked
Elipse E3 finds the CoDeSys.OPC.DA server in its local OPC DA list, yet the tag import shows nothing, because the CODESYS OPC server hides its namespace until the CODESYS OPC Configurator has a user name and password saved. Enter those credentials in the OPC Configurator on the PC that hosts the server, save the configuration, reconnect the server from E3, and the browse returns your application variables. Keep the checkpoints separate: a server entry proves only that the OPC DA server is registered on that machine, a populated browse proves you can read its address space, and tags in the project prove the import finished. This article runs the fix in order — credentials, save, reconnect, import — then covers the two cases that mimic it: a stale session that never re-browsed, and a server that publishes no application symbols at all.
Why does Elipse E3 list CoDeSys.OPC.DA but import no tags? #
OPC DA separates finding a server from reading its address space: the CODESYS OPC server answers Elipse E3's server search without credentials, but it releases its variable list to a browse only after a user name and password are saved in the OPC Configurator.
The two steps use different doors. When you add a local OPC DA server in E3, the machine enumerates the OPC DA servers registered on it, and no user account is involved — CoDeSys.OPC.DA appears whether or not anyone is configured to use it. The tag import then opens a session and asks that server for its address space, and this is the step the OPC Configurator's user name and password gate. A browse without saved credentials receives an empty namespace, which E3 renders as an import list with nothing in it: the server answered, it just declined to expose anything.
Keep three checkpoints distinct for the whole job: the server appears in the local list, the browse returns items, and the imported tags exist in the E3 project. Passing one proves nothing about the next.
How do I add the username and password in the CODESYS OPC Configurator? #
On the PC that hosts the CODESYS OPC DA server, open the OPC Configurator, enter the user name and password for OPC access, save the configuration, and the next browse from Elipse E3 returns the application tags.
The OPC Configurator is the configuration tool that belongs to the CODESYS OPC server installation, and the credentials saved there define the account that gates the server's address space. Until a user name and password are saved, the server answers discovery and returns nothing on a browse.
- On the server host PC, open the CODESYS OPC Configurator.
- Enter the user name and password for OPC access in the configurator's user settings. Use a dedicated OPC account rather than an engineering or administrator login.
- Save the configuration, then reopen it to confirm the credentials persisted.
- Leave Elipse E3 untouched for this step, because nothing in E3's connection or import settings substitutes for the server-side credentials.
In the reported case, adding the user name and password in the OPC Configurator was the change that turned the empty import list into a populated one.
Why is the tag list still empty after saving the credentials? #
An Elipse E3 session opened before you saved the credentials keeps the old, empty result; reconnect the server entry or reopen the import dialog so the next browse runs as a fresh session against the updated server.
Order matters: save in the configurator first, then make E3 open a new session. If the server was connected when you saved, the running session predates the credential change and keeps its old result. Refresh or reopen the server entry in E3 — reselect CoDeSys.OPC.DA if the import workflow asks you to choose the server again — and run the import. If the connection will not re-establish, fix that first, because a browse against a dead session tells you nothing about the credentials. Confirm the save itself took as well: reopen the configurator and check that the user name and password are still there before you adjust anything in E3.
Why does the browse show only _CommState and _CommStateOK? #
If the browse returns only the server's own _CommState and _CommStateOK entries, credentials are not your problem: the application's variables are not being published to the OPC server, so fix the symbol side before touching user names and passwords.
Those two entries are the server's own communication-status variables, and a browse that offers only them means the server has no application symbols to serve. The credential fix changes access to a namespace; it cannot create variables that were never published. Work the symbol side instead: confirm the application's symbols are exported for OPC and that the OPC Configurator points at the current symbol set from your project. After any change there, save and reconnect exactly as in the credential fix, then import again. The moment the list starts showing your declared variable names, you have crossed from the server's own entries into the application namespace.
What should the imported tags look like once the browse works? #
A working import lists your application variables by name, because CODESYS is variable-name focused rather than address-focused: you should recognize every imported tag as a variable you declared in the project, not as a register address or a device offset.
That naming is your cross-check. Pick a few names from the import list and confirm each one exists in the CODESYS project before you select the whole set. Then complete the selection, run the import to the end, and open the E3 project to confirm the tags arrived — a populated browse list is still not a finished import, and this third checkpoint is the only one that proves the path end to end. Live values are a separate matter again: a successful import says nothing about runtime data exchange, which you test by watching one imported tag change value in the E3 runtime.
Does the same empty-browse pattern show up in other SCADA imports? #
Yes, the same split between a server that answers discovery and a namespace that stays closed shows up across SCADA systems, and the checkpoint order is identical: list the server, get the browse to return items, then confirm the imported tags landed in the project.
The fixes differ by stack. For the OPC UA version of the symptom, where the server answers but the browse stays empty until the right application view is exposed, work through ControlLogix tags missing from an Ignition OPC UA browse. For the local-server bridging pattern, where a small PLC reaches a SCADA package through an OPC server installed beside it, a MicroLogix 1500 reaching WinCC through a local RSLinx OPC server shows the same local-list-then-browse structure in WinCC.
Decide by checkpoint:
- The server is missing from E3's local list entirely — fix discovery or the local OPC DA installation first; credentials never enter the picture.
- The server is listed and the import is empty — save the user name and password in the CODESYS OPC Configurator, reconnect the server from E3, and import again.
- The browse returns only
_CommStateand_CommStateOK— export the application's symbols and point the server at the current symbol set; the credential fix will not help. - The browse returns your variables but the project stays empty — complete the import selection and confirm the tags in the E3 project.
Each case ends at its own checkpoint: discovery is fixed at the machine, the namespace at the OPC Configurator, and the project in the import itself.
Questions asked
Can I fix this from the Elipse E3 side without touching the CODESYS machine?
No. The credentials live in the CODESYS OPC Configurator on the machine that hosts the OPC DA server, and in the reported case E3 needed no credential entry of its own, only a reconnect. Changing the connection settings or the import filter in E3 cannot open a namespace the server is withholding, so make the change where the server runs.
Where does Elipse E3's local OPC DA server list come from?
From the OPC DA registrations on that machine. Enumerating local servers asks what is installed, not who is asking, so CoDeSys.OPC.DA appears whether or not any user is configured. Reading the variable list is a separate, authenticated session, and that distinction is exactly why the server passes discovery and fails the import.
The import worked, but live values in E3 stay flat — is that the same problem?
Different problem. A completed import proves the namespace is visible; live data exchange is a separate path that runs through the OPC server's link to the controller runtime. Check that the runtime is running and the server still holds that link, then watch one imported tag for changing values in the E3 runtime.
Does this credential fix apply to CODESYS OPC UA connections too?
No. OPC UA is a different protocol with its own security model: certificates and user token policies are configured on the server and client separately, and on a CODESYS runtime those settings live in the runtime configuration file named CODESYSControl_User.cfg. The credentials described here belong to the classic OPC DA server and its Elipse E3 tag import.