# Fanuc OPC Connection

**URL:** <https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402>\
**Category:** Ignition\
**Created:** [November 11, 2022, 4:45pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402 "2022-11-11T16:45:44Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 7, 2022, 3:48pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/21 "2022-12-07T15:48:55Z")

</div>

I'm going to run down there and run some tests with Wireshark, I'll also take some screen shots then bring them back here. I am still in a live chat with Fanuc to see if they have any ideas of what might be going on. Once I am off of that chat I'll run some tests and get back to you.

---

<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:** [December 7, 2022, 3:49pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/22 "2022-12-07T15:49:05Z")

</div>

I don't know why UaExpert would should you anything different then.

The inconsistencies you're describing are triggering the part of my brain that requires proof, screenshots, and a support rep to verify.

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 7, 2022, 4:30pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/23 "2022-12-07T16:30:34Z")

</div>

Ignition Connection to the Robot is Connected with Read Only Set to False:

 ![Ignition Connection Status](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/1/e17947df72ca2eb8d80796e26f3085c33231aef8.png)

Holding Register Tag Configuration:  
 ![OPC_Tag_Configurat](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/1/817bed40d975fbef61c5a634c6939cf321e41ef7.png)

Tag Quality/Value of first 6 Registers in the array from ignition designer tag browser: (This is before the UaExpert write)  
 ![Quality_Values_Ignition_Tag_Browser](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/7/f79d3e88c5aca032afc438ba65ff03d0acbeae83.png)

Quick Client Read of Robot Holding Registers: (this is after the UaExpert write)

 ![QuickClient_ReadAfter_UAExpertWrite](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/3/9314797b2aabbc7dac444eaca6147f9fc6ca976f.png)

UaExpert Read of Holding Registers:  
 ![UA_ExpertValues](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/2/b2e5cc4ddcfd2d13acaba6592444f17cb6baf774.png)

UaExpert Write Screen for the Holding Registers:

 ![UA_ExpertValuesWrite](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/2/425d6ee107b2e997135588102e41cdc5532e548c.png)

UaExpert Read of Holding Registers after write:  
 ![UA_ExpertReadAfterWrite](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/d/cd985beb08337ff263387c9264b64517f98cfc6c.png)

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 7, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/24 "2022-12-07T16:37:56Z")

</div>

@Kevin.Herron I am looking through the wireshark data right now, is there something specific that you could point me towards to find the correct packets that might have information that I need in them?

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 7, 2022, 6:46pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/25 "2022-12-07T18:46:32Z")

</div>

More possibly relevant information: I have the OPC-UA connection set up with all default values(in the advanced tab) I didn't change any of those and I just went through and check to make sure that they are all set to their default values.

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 7, 2022, 6:47pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/26 "2022-12-07T18:47:56Z")

</div>

> [@Kevin.Herron](#):
>
> The inconsistencies you're describing are triggering the part of my brain that requires proof, screenshots, and a support rep to verify.

I sent the screenshots, I don't have a support rep that can help. Should I just reach out to my sales rep to get one?

---

<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:** [December 7, 2022, 6:58pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/27 "2022-12-07T18:58:36Z")

</div>

Can you include the NodeId you're reading in the UaExpert screenshots? And upload the capture somewhere with some details about the IP/port used by the server you're connected to?

You don't really get an assigned support rep, you just call, email, or use the web form to create a ticket.

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 7, 2022, 7:21pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/28 "2022-12-07T19:21:33Z")

</div>

OPC Connection Ignition:  
 ![Ignition Connection Configuration](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/1/711e8c39698c971df122cd6945083ef6367152b6.png)

OPC Connection UaExpert:  
 ![UaConnectionConfigurationPage](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/b/fb9db0dddffc63b4b6730e3c9802064c78a4f25b.png)  
UaExpert:  
opc.tcp://192.168.0.30:4880/FANUC/NanoUaServer  
I copy pasted the full string since it is cut off in the screen shot

UaExpert with the NodeId information included  
 ![UaExpert_WithNodeId](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/d/6d6ee84508bace4eb20eeb99ae588aa0a146d8ac.png)

---

<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:** [December 7, 2022, 8:11pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/29 "2022-12-07T20:11:00Z")

</div>

Well, it would be very interesting to see the Wireshark capture for that Node invoked from UaExpert vs Ignition Quick Client to verify the device is really returning all zeroes for some reason and what might be different.

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 7, 2022, 8:26pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/30 "2022-12-07T20:26:17Z")

</div>

I don't know much about wireshark or how to properly filter the data out. Is that something that I could send you or that you would be able to direct me towards a manual on how I can more efficiently filter the capture?

---

<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:** [December 7, 2022, 8:36pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/31 "2022-12-07T20:36:00Z")

</div>

It would be easiest if you just sent me the capture file. Keep in mind that you have to run Wireshark on the computer that is running UaExpert and the Ignition Gateway.

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [December 12, 2022, 4:15pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/32 "2022-12-12T16:15:44Z")

</div>

After a little bit of testing I have found the following:

If you delete the connection and recreate it, you will be able to read the Holding Registers from the Fanuc Robot Controller.

However as soon as you read any of the values outside of the "Modbus" node it will break the Holding Registers. I sent Fanuc an email outlining the issue and am waiting for a response from them. However hopefully this will save someone some time in the future.

---

<div class="post-metadata">

**Author:** ![Mau89](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mau89/32/20680_2.png) [@Mau89](https://forum.inductiveautomation.com/u/Mau89)\
**Post date:** [January 17, 2023, 2:18pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/33 "2023-01-17T14:18:12Z")

</div>

Hi,  
I have the same problem.

Some news?

---

<div class="post-metadata">

**Author:** ![Mau89](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mau89/32/20680_2.png) [@Mau89](https://forum.inductiveautomation.com/u/Mau89)\
**Post date:** [January 23, 2023, 10:40am UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/34 "2023-01-23T10:40:38Z")

</div>

I found this:  
If you create a second connection to Fanuc OPC Server, on this 2nd connection you can read and write the array of modbus register. The value in modbus register have to evalutate on type of original value (PR, R etc) and multiply used.

---

<div class="post-metadata">

**Author:** ![Marcus\_Sysum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/marcus_sysum/32/57944_2.png) [@Marcus\_Sysum](https://forum.inductiveautomation.com/u/Marcus_Sysum)\
**Post date:** [February 10, 2024, 12:37am UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/35 "2024-02-10T00:37:11Z")

</div>

Hello Wesley I think you are at the limit, of what the fanuc controller allows subscriptions too. in the Fanuc spec it states that you are allowed 50 items per subscription, and you are allowed 2 subscriptions per connection. I have attached an excerpt form the manual.

 ![Screenshot 2024-02-09 162846](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/2/62464344ed4a7d4ea0ed65fa5bf18deb7995b6d6.png)  
could you try reducing the size of the array to less than 50 items to see if this helps? Fanuc is not specific on what an item is.

---

<div class="post-metadata">

**Author:** ![vivek.shah](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@vivek.shah](https://forum.inductiveautomation.com/u/vivek.shah)\
**Post date:** [August 20, 2026, 6:49pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/36 "2026-08-20T18:49:55Z")

</div>

Hi, I am having the same issue now. Did you guys ever come up with a resolution to this? Seems to be working with 2 connections like how Wesley pointed out.

---

<div class="post-metadata">

**Author:** ![milanpat1227](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@milanpat1227](https://forum.inductiveautomation.com/u/milanpat1227)\
**Post date:** [August 27, 2026, 3:07pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402/37 "2026-08-27T15:07:58Z")

</div>

Hello, I am also having the same issue now. Is there anyone that knows the reason why having two IDENTICAL OPC connections to the Fanuc OPC server is the only way to make this work?

The first connection seems to never work, however as soon as the second one is put in place, we can read and write to the second connection just fine.

[Previous page](https://forum.inductiveautomation.com/t/fanuc-opc-connection/66402.md?page=1)
