# OPC Tag is showing as "Bad" and can't figure out why

**URL:** <https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319>\
**Category:** Ignition\
**Created:** [March 27, 2025, 5:21pm UTC](https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319 "2025-03-27T17:21:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Stilson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian_stilson/32/73410_2.png) [@Brian\_Stilson](https://forum.inductiveautomation.com/u/Brian_Stilson)\
**Post date:** [March 27, 2025, 5:21pm UTC](https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319/1 "2025-03-27T17:21:01Z")

</div>

Have this tag Showing as Bad:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/a/5abc9cac68bfe5c8d90644a7662348337722be34.png)

Here's the copy-pasted OPC Path:

`ns=1;s=[MPC1_Leased]Program:Section_02.Section.JamArea.JamPEClear[1]`

Here's the tag in the PLC program:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/3/f3bd04bf3814ea2598541a9bd5ddc3c8b9c012a2.png)

Here's a direct paste from the tag browser, and again from the Ignition OPC Path:

`Section.JamArea.JamPEClear[1]`  
`Section.JamArea.JamPEClear[1]`

Here's a tag that IS working:

`ns=1;s=[MPC1_Leased]Program:Section_02.Section.JamArea.JamTimer[1].PRE`

Comparing the first part that doesn't work with the part that does:

```python
ns=1;s=[MPC1_Leased]Program:Section_02.
ns=1;s=[MPC1_Leased]Program:Section_02.

```

Both tags exist in the PLC. The OPC Path matches the PLC program exactly. The prefix part of both tags is exactly the same. External Access for both is Read/Write. Deleting and recreating the tag doesn't work.

I'm out of ideas.

---

<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:** [March 27, 2025, 5:23pm UTC](https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319/2 "2025-03-27T17:23:14Z")

</div>

bool arrays have an unfortunate representation by the driver - they end up being an array of DWORD

So you are attempting to address the 2nd DWORD in a DWORD array, which may not exist if your bool array is \<= 32 elements.

Try addressing `ns=1;s=[MPC1_Leased]Program:Section_02.Section.JamArea.JamPEClear[0].0` through `ns=1;s=[MPC1_Leased]Program:Section_02.Section.JamArea.JamPEClear[0].31`

---

<div class="post-metadata">

**Author:** ![Brian\_Stilson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian_stilson/32/73410_2.png) [@Brian\_Stilson](https://forum.inductiveautomation.com/u/Brian_Stilson)\
**Post date:** [March 27, 2025, 5:55pm UTC](https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319/3 "2025-03-27T17:55:44Z")

</div>

That worked. Thanks Kevin!

---

<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:** [March 27, 2025, 7:01pm UTC](https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319/4 "2025-03-27T19:01:53Z")

</div>

> [@Kevin.Herron](#):
>
> bool arrays have an unfortunate representation by the driver - they end up being an array of DWORD

It's actually because Rockwell packs bool arrays into DWORD arrays, but doesn't provide any information you can use to distinguish between the two. So the alternative is that every DWORD array is automatically treated as a bool array instead, which probably would have been the better choice, but that choice was made years and years ago at this point.

---

<div class="post-metadata">

**Author:** ![Brian\_Stilson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian_stilson/32/73410_2.png) [@Brian\_Stilson](https://forum.inductiveautomation.com/u/Brian_Stilson)\
**Post date:** [March 27, 2025, 7:38pm UTC](https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319/5 "2025-03-27T19:38:50Z")

</div>

I wonder if that means any other third-party OPC server would have the same issue. It's been a while since I've used Matrikon or Kepware or one of those, so I can't recall if I've run into this before.

---

<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:** [March 27, 2025, 7:40pm UTC](https://forum.inductiveautomation.com/t/opc-tag-is-showing-as-bad-and-cant-figure-out-why/104319/6 "2025-03-27T19:40:21Z")

</div>

In Kepware it's all bool arrays and no dword arrays.
