# Edge OPC Read Function

**URL:** <https://forum.inductiveautomation.com/t/edge-opc-read-function/37119>\
**Category:** Ignition\
**Created:** [July 27, 2020, 2:33pm UTC](https://forum.inductiveautomation.com/t/edge-opc-read-function/37119 "2020-07-27T14:33:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon55648468](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@anon55648468](https://forum.inductiveautomation.com/u/anon55648468)\
**Post date:** [July 27, 2020, 2:33pm UTC](https://forum.inductiveautomation.com/t/edge-opc-read-function/37119/1 "2020-07-27T14:33:35Z")

</div>

Hi guys i have a edge server communicating to my main gateway and can read tags great. However one function I would like to use doesn’t seem to be performing as I expected, I am looking to use the system.opc.read function to get return one off reads off specific parameters from a DCOM connection. Since the connection exists on the Edge server, is there any reason I can’t perform that function from the main gateway?

---

<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:** [July 27, 2020, 2:34pm UTC](https://forum.inductiveautomation.com/t/edge-opc-read-function/37119/2 "2020-07-27T14:34:58Z")

</div>

If the OPC COM connection exists on the Edge gateway then system.opc functions targeting that connection will only work when run on the Edge gateway. They do not get magically proxied or relayed from the main gateway to the Edge gateway.

---

<div class="post-metadata">

**Author:** ![anon55648468](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@anon55648468](https://forum.inductiveautomation.com/u/anon55648468)\
**Post date:** [July 27, 2020, 2:43pm UTC](https://forum.inductiveautomation.com/t/edge-opc-read-function/37119/3 "2020-07-27T14:43:55Z")

</div>

Hi Kevin thanks for the quick response and that does make sense as you explain it but perhaps the attitude could be magically be toned down. Apologies for my novice learning!

---

<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:** [July 27, 2020, 2:51pm UTC](https://forum.inductiveautomation.com/t/edge-opc-read-function/37119/4 "2020-07-27T14:51:42Z")

</div>

Sorry about that, didn’t mean to communicate any attitude.

---

<div class="post-metadata">

**Author:** ![anon55648468](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@anon55648468](https://forum.inductiveautomation.com/u/anon55648468)\
**Post date:** [July 27, 2020, 2:57pm UTC](https://forum.inductiveautomation.com/t/edge-opc-read-function/37119/5 "2020-07-27T14:57:58Z")

</div>

That’s all good, sorry! Sometimes the written word can be a bit funny, I really do appreciate your helpful (as ever) and super quick response.
