# Opcua & s7 1214

**URL:** <https://discourse.nodered.org/t/opcua-s7-1214/40551>\
**Category:** Industrial\
**Created:** [7 February 2021 14:10 UTC](https://discourse.nodered.org/t/opcua-s7-1214/40551 "2021-02-07T14:10:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rromele](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rromele/32/18431_2.png) [@rromele](https://discourse.nodered.org/u/rromele)\
**Post date:** [7 February 2021 14:10 UTC](https://discourse.nodered.org/t/opcua-s7-1214/40551/1 "2021-02-07T14:10:58Z")

</div>

Hi,  
I should connect S7-1214 plc to via node-red-contribut-opcua version 0.2.101.  
The version of node-red is 1.2.9 on W7 64 operating system.  
OPC UA does not connect, gives error message: “invalid endpoint”.  
The plc connects correctly via opcua through Unified OPCUA-Expert software.

 ![nred1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/66d5b0a6cb47f73fc8b5882b61a68d0deac3c0ee.jpeg)

In the system I also see the message "Local own certificate is not used"

 ![node-red to opcUa error](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/3/b30c6c8b4d8c29d6c6c4897256ffceed94c1d9d7.jpeg)

```auto
[{"id":"a88acd86.a387c","type":"OpcUa-Client","z":"aeff3edd.e5f7a","g":"a48d4dbe.39bf5","endpoint":"5f2c327f.782d8c","action":"read","deadbandtype":"a","deadbandvalue":1,"time":10,"timeUnit":"s","certificate":"n","localfile":"","localkeyfile":"","securitymode":"None","securitypolicy":"None","name":"","x":130,"y":190,"wires":[["8d6efec5.f78aa"]]},{"id":"5f2c327f.782d8c","type":"OpcUa-Endpoint","endpoint":"opc.tcp://192.168.10.111:4840","secpol":"None","secmode":"None","login":false}]

```

Anyone have any ideas?  
Thank you  
R.

---

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [15 February 2021 12:20 UTC](https://discourse.nodered.org/t/opcua-s7-1214/40551/2 "2021-02-15T12:20:06Z")

</div>

Do you have an OPC-UA server on your PLC?

---

<div class="post-metadata">

**Author:** ![rromele](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rromele/32/18431_2.png) [@rromele](https://discourse.nodered.org/u/rromele)\
**Post date:** [15 February 2021 22:14 UTC](https://discourse.nodered.org/t/opcua-s7-1214/40551/3 "2021-02-15T22:14:31Z")

</div>

hi,  
yes on the PLC there is the OPC-UA server activated.  
This is possible by upgrading the CPU firmware.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 April 2021 22:15 UTC](https://discourse.nodered.org/t/opcua-s7-1214/40551/4 "2021-04-16T22:15:16Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
