# Using OpcUa\_any in simulation

**URL:** <https://community.br-automation.com/t/using-opcua-any-in-simulation/9352>\
**Category:** B&R Software & Runtime\
**Tags:** opc-ua\
**Created:** [December 11, 2025, 4:05pm UTC](https://community.br-automation.com/t/using-opcua-any-in-simulation/9352 "2025-12-11T16:05:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johnny\_Sandberg](https://avatars.discourse-cdn.com/v4/letter/j/FF8800/32.png) [@Johnny\_Sandberg](https://community.br-automation.com/u/Johnny_Sandberg)\
**Post date:** [December 11, 2025, 4:05pm UTC](https://community.br-automation.com/t/using-opcua-any-in-simulation/9352/1 "2025-12-11T16:05:17Z")

</div>

Hi,

Is it possible to use OpcUa\_any in simulation mode?

I’m trying to connect to a OPC UA server on an ABB Omnicore C30 and I want to test this connection when using the simulation mode in AS. I have set the simulation IP address to 0.0.0.0 in the configuration, and I’m able to connect to the OPC UA server when using AsOpcUac. So I already know that the security settings and certificates are ok at both ends.

But when I try to use OpcUa\_any it doesn’t work. ModuleOk is TRUE, but the connection to the server doesn’t seem to work at all and there are no errors in the logger.

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/9/90c4c906463570e22ddb23760220371f9d58f89d.png)

Could the NodeId be wrong?

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/a/acd3eeedd1e1fe2c1a6248d9e5c914d2e883b5c7.png)

I’ve used UaExpert to find the path. For instance, I’ve used this path: _/0:Root/0:Objects/3:Robots/3:OmniCore/2:RAPID/3:T\_ROB1/3:GU\_MachineConfig/3:GripCmd\_PowerOn_  
Here are some examples from UaExpert:

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/2/25d03ea943a4052d3eb6a90a092bd1f4fc1e9baa.png)

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/4/4cf539a475dfc6e319b5a9ad76b87795d6c4c2ed.png)

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/0/0a560f7bbb72796286f2570ddb907e847235454e.png)

Is it correctly to use the number found at the ‘BrowseName’ attribute?

I’ve experimented with both ‘NodeId’ and ‘BrowsePath’.

Can anybody explain to me how to use the ‘BrowsePath’ setting? I can’t find any good examples in the help.

Am I doing something wrong, or could it be that it’s not possible to use OpcUa\_any in simulation mode?

I’m using:

- Automation Studio 6.3.4.31
- X20CP1684 AR 6.5.1
- mapp Services 6.5.1
- mapp Cockpit 5.0
- OPC UA C/S 6.5.0

The OPC UA server requires :

- SecurityPolicy = UASP\_Basic256Sha256
- SecurityMsgMode = UASMM\_SignEncrypt
- UserIdentityTokenType = UAUITT\_Username

---

<div class="post-metadata">

**Author:** ![tommi.piiparinen](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/tommi.piiparinen/32/2183_2.png) [@tommi.piiparinen](https://community.br-automation.com/u/tommi.piiparinen)\
**Post date:** [December 12, 2025, 6:32am UTC](https://community.br-automation.com/t/using-opcua-any-in-simulation/9352/2 "2025-12-12T06:32:04Z")

</div>

It is possible to use the OpcUa\_Any in simulation mode, for this to work you need to set the “Simulate OPC UA devices” to off in the PLC’s Simulation configuration.

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/2/22fee5ab327ac5170ba5a9a24db51feda5bb0e42.png)

I have not tested with the simulation IP as 0.0.0.0, you might need to set it to the actual IP address of the Ethernet interface you want to use.

To me it looks like you have configured the browse path correctly by following the BrowseNames of the nodes starting from the root until your target node. The number in the BrowseName is the NamespaceIndex. Some more information here in the community below.

> [@How do I format Browse Path in Opcua\_Any, using UA Expert?](https://community.br-automation.com/t/how-do-i-format-browse-path-in-opcua-any-using-ua-expert/6731/2):
>
> The browsepath implementation needs everything all the way from the “root” so the screenshot you provided is not enough. Can you take a screenshot of the tree structure to the left as well? In general terms you need to specify “BrowseName” for every step all the way from root. Here are some examples. Maybe you can figure it out youself from them:

---

<div class="post-metadata">

**Author:** ![Johnny\_Sandberg](https://avatars.discourse-cdn.com/v4/letter/j/FF8800/32.png) [@Johnny\_Sandberg](https://community.br-automation.com/u/Johnny_Sandberg)\
**Post date:** [December 12, 2025, 1:06pm UTC](https://community.br-automation.com/t/using-opcua-any-in-simulation/9352/3 "2025-12-12T13:06:28Z")

</div>

‘Simulate OPC UA devices’ setting is selected.

 ![{CCBE4C97-CAD0-44A7-B85A-52057D274E25}](https://europe1.discourse-cdn.com/brcommunity/original/2X/9/9a634812f96b042d16962db373de2184c909738e.png)

Then I’ll have to try to use the IP of my Ethernet interface. Thank you for confirming the browse path!

---

<div class="post-metadata">

**Author:** ![tommi.piiparinen](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/tommi.piiparinen/32/2183_2.png) [@tommi.piiparinen](https://community.br-automation.com/u/tommi.piiparinen)\
**Post date:** [December 12, 2025, 1:08pm UTC](https://community.br-automation.com/t/using-opcua-any-in-simulation/9352/4 "2025-12-12T13:08:07Z")

</div>

You need to set the “ **Simulate OPC UA devices** ” to **OFF** in order to get the OpcUa\_Any to try and connect to real HW.

This is also explained in the comment of the setting, please see my screenshot in my previous post.

> When using the simulation mode, simulate OPC UA devices [on] or **use real hardware [off]**

---

<div class="post-metadata">

**Author:** ![Johnny\_Sandberg](https://avatars.discourse-cdn.com/v4/letter/j/FF8800/32.png) [@Johnny\_Sandberg](https://community.br-automation.com/u/Johnny_Sandberg)\
**Post date:** [December 15, 2025, 6:46am UTC](https://community.br-automation.com/t/using-opcua-any-in-simulation/9352/5 "2025-12-15T06:46:01Z")

</div>

Oh sorry, I misread. 🫢 I will try again when simulation is set to OFF then!

---

<div class="post-metadata">

**Author:** ![Johnny\_Sandberg](https://avatars.discourse-cdn.com/v4/letter/j/FF8800/32.png) [@Johnny\_Sandberg](https://community.br-automation.com/u/Johnny_Sandberg)\
**Post date:** [December 15, 2025, 11:32am UTC](https://community.br-automation.com/t/using-opcua-any-in-simulation/9352/6 "2025-12-15T11:32:49Z")

</div>

By using **IP address = 0.0.0.0** and **simulate = off** , I can use the OpcUa\_any when simulation is active.

 ![{E4773436-3AA1-417C-A257-51E9AC3B4A4E}](https://europe1.discourse-cdn.com/brcommunity/original/2X/d/da9d9c7ecad6bf109bcea439d3adee0a9b8d61cb.png)

Now I just need to get the browse path correctly. But that is another matter.

Thanks

* * *

Edit by moderator:  
Topic moved → [Difference between identification methods ‘BrowsePath’ and ‘NodeId’](https://community.br-automation.com/t/difference-between-identification-methods-browsepath-and-nodeid/9373) - please do post new questions in new topics so other people can find the answers later as well
