# S7 1200, OPCUA, Dashboard

**URL:** <https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974>\
**Category:** Industrial\
**Created:** [20 July 2023 17:08 UTC](https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974 "2023-07-20T17:08:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomas.garcia](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tomas.garcia](https://discourse.nodered.org/u/tomas.garcia)\
**Post date:** [20 July 2023 17:08 UTC](https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974/1 "2023-07-20T17:08:44Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/d/1d7b413c05c01266ea477ab7b9f5f0d620d36231.png)  
With a variable created in the TIA portal type int.  
I connect it with the UAexpert and it gives me nodeId= ns=4;i=5.  
In the dashboard I create an OPCUA Client and activate it as reading.  
I create an input text where I place the topic as a string ns=4;i=5;dadetype=Int16.  
don't work.  
can you help me?  
please

---

<div class="post-metadata">

**Author:** ![tomas.garcia](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tomas.garcia](https://discourse.nodered.org/u/tomas.garcia)\
**Post date:** [20 July 2023 17:10 UTC](https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974/2 "2023-07-20T17:10:41Z")

</div>

The PLC is an S71200FC. I've tried the same thing on a 1500 and yes it works.

---

<div class="post-metadata">

**Author:** ![tomas.garcia](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tomas.garcia](https://discourse.nodered.org/u/tomas.garcia)\
**Post date:** [20 July 2023 17:13 UTC](https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974/3 "2023-07-20T17:13:38Z")

</div>

When I put an amount from the dashboard the server stops and I find this message

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/b/cb1b6542512543cc6362aa56cf2cf7cdc8daa67b.png)

---

<div class="post-metadata">

**Author:** ![tomas.garcia](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@tomas.garcia](https://discourse.nodered.org/u/tomas.garcia)\
**Post date:** [20 July 2023 17:15 UTC](https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974/4 "2023-07-20T17:15:36Z")

</div>

In variable mode I also tried **number** but it doesn't work either

---

<div class="post-metadata">

**Author:** ![steve1](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@steve1](https://discourse.nodered.org/u/steve1)\
**Post date:** [25 July 2023 11:07 UTC](https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974/5 "2023-07-25T11:07:22Z")

</div>

> [@tomas.garcia](#):
>
> dadetype=Int16.

It's 'datatype'. Not sure about Large or lower case right now, just try it.  
Although you can use an 'OpcUA-Item'-node. There you can easily select the datatype.

---

<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:** [23 September 2023 11:07 UTC](https://discourse.nodered.org/t/s7-1200-opcua-dashboard/79974/6 "2023-09-23T11:07:25Z")

</div>

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