# What is the OPC UA PLC Tag Path

**URL:** <https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878>\
**Category:** Ignition\
**Created:** [April 12, 2020, 9:47pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878 "2020-04-12T21:47:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 12, 2020, 9:47pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/1 "2020-04-12T21:47:36Z")

</div>

I established OPC UA connection to my CompactLogix PLC in Ignition 8. My OPC Name is OPC\_2 and it is connected and I can see PLC Tags and r/w them as well.  
When I subsribe a tag it gives me below address:  
Server\> OPC\_2  
Address\> ns=1;s=[My\_CLogix\_ERM]Program:MainProgram.Start\_PB

I entered below path to check the status of Start\_PB, but it does not work:

opc.tcp://localhost:62541/OPC\_2/[My\_CLogix\_ERM]Program:MainProgram.Start\_PB

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 12, 2020, 10:05pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/2 "2020-04-12T22:05:03Z")

</div>

> [@mr.heidari63](#):
>
> I entered below path to check the status of Start\_PB, but it does not work:
> 
> opc.tcp://localhost:62541/OPC\_2/[My\_CLogix\_ERM]Program:MainProgram.Start\_PB

Entered it into what? That path has no meaning to anything in Ignition.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 12, 2020, 11:15pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/3 "2020-04-12T23:15:57Z")

</div>

Entered into an Excel cell to show tag value.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 12, 2020, 11:18pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/4 "2020-04-12T23:18:45Z")

</div>

I can tell you two things:

1. the endpoint URL to the Ignition OPC UA server is `opc.tcp://localhost:62541`
2. the NodeId of the Node you’re trying to read is `ns=1;s=[My_CLogix_ERM]Program:MainProgram.Start_PB`

You’ll have to read the documentation of whatever software you’re using to make Excel talk to an OPC UA server to figure out what to do with that information.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 13, 2020, 12:00am UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/5 "2020-04-13T00:00:27Z")

</div>

I understand. But I have created 3 OPC UA in Ignition and all of them are connected.  
What is the specific address of each of them? I mean if I use `opc.tcp://localhost:62541, which one is called? I should add something after the port number to address only one of them at the time. something like:

opc.tcp://localhost:62541/OPC\_1/

or

opc.tcp://localhost:62541/OPC\_1/Discovery

or …

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 13, 2020, 12:10am UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/6 "2020-04-13T00:10:07Z")

</div>

> [@mr.heidari63](#):
>
> But I have created 3 OPC UA in Ignition

Why? Ignition comes with what you need already created. You need to create the connection to Ignition inside your Excel OPC plugin. However that plugin's documentation says.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 13, 2020, 12:15am UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/7 "2020-04-13T00:15:57Z")

</div>

It is just for experimenting. Personally I would like to know how I can call one of my 3 OPC UA servers created in Ignition. As I can add OPC UA servers, some how I should be able to specifically address them through other OPC Servers or clients.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 13, 2020, 12:19am UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/8 "2020-04-13T00:19:30Z")

</div>

> [@mr.heidari63](#):
>
> I should be able to specifically address them through other OPC Servers or clients.

You'll have to give each one its own set of ports for discovery and for operations, I think.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 13, 2020, 12:35am UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/9 "2020-04-13T00:35:39Z")

</div>

You haven’t created 3 OPC UA servers. You’ve created 3 connections to Ignition’s OPC UA server, 2 of which are pointless.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 13, 2020, 5:20pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/10 "2020-04-13T17:20:30Z")

</div>

I got it. So what is the benefit of being able to create more connections to one server?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 13, 2020, 5:21pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/11 "2020-04-13T17:21:03Z")

</div>

There isn’t a benefit. The ability to create more than one connection is so you can have connections to other OPC UA servers.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 13, 2020, 5:26pm UTC](https://forum.inductiveautomation.com/t/what-is-the-opc-ua-plc-tag-path/33878/12 "2020-04-13T17:26:37Z")

</div>

Appreciate you.  
By the way, have you ever connected Ignition OPC UA server to OPC expert server?  
As I enter the Ignition OPC UA address (opc.tcp://localhost:62541/discovery) in OPC expert, it says it could not connect to that address. !!! I already set all server security to NONE in Ignition side to ease of operation.
