# OPC write/read problem

**URL:** <https://discourse.nodered.org/t/opc-write-read-problem/16845>\
**Category:** General\
**Created:** [18 October 2019 07:47 UTC](https://discourse.nodered.org/t/opc-write-read-problem/16845 "2019-10-18T07:47:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![petrdolejs](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@petrdolejs](https://discourse.nodered.org/u/petrdolejs)\
**Post date:** [18 October 2019 07:47 UTC](https://discourse.nodered.org/t/opc-write-read-problem/16845/1 "2019-10-18T07:47:15Z")

</div>

Hello guys, I've problem with OPC.

I need to read the value through the OPC and after that write the value through the OPC, but only in one line. Is it even possible?

Thanks for reply.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 October 2019 01:12 UTC](https://discourse.nodered.org/t/opc-write-read-problem/16845/2 "2019-10-19T01:12:33Z")

</div>

Pretty sure the lack of details will get you a fairly useless response.

What node are you using?

Is this OPCUA or DA or XML?

Do you have a sample flow to paste?

What do you mean by "one line"?

Have you managed to read? Or is that the problem?

Have you managed to read but can't write - is that the problem?

What OPC server are you trying to communicate to? Kepware? An OPC server in a PLC? A custom OPC server?

What have you tried so far?

What errors/ issues are you seeing?

We are pretty good here but unfortunately not mind readers 🙂
