• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IoT Edge Gateway: Node-RED - ARRAY -> OPC UA
#1
Hallo ALL,

I have a question about OPC UA.

I have a project with a OPC UA Server by Siemens Automation called Telecontrol Server Basic (TCSB). The Server is runing und working.

No I have to do a connection to IoT Edge Gateway by Hilscher with Node-Red.

The connection is also working and i can read some data from the Server. The data's on the Server are all Array by diffrent format's (sint, uint and udint).

Now i would like to write some values into a array (complettly or single array elements).

First i do it by a simple inject node with a function into a opc us output (is connected). But it didnt work.

The function code is "msg = {payload:{Value:{0:99,1:40,2:80,3:80,4:90,5:100,6:110,7:0,8:0,9:0}}};"

The error msg say "expecting a number". I don't now what number it mean's.

The opc topic is "dp.sp". The format is [array 0..0 of int]

Did anyone has an idea?

Thank you.
  Reply


Messages In This Thread
IoT Edge Gateway: Node-RED - ARRAY -> OPC UA - by AxelHa2111 - May-21st-2021, 02:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Configuring S7-1200 PLC to communicate with node-red ... Cman587 3 5,250 January-27th-2021, 11:01 AM
Last Post: Armin@netPI
  InfluxDB, Node-RED and Grafana Armin@netPI 0 3,692 January-6th-2021, 02:36 PM
Last Post: Armin@netPI
  PROFINET to OPC UA data conversion with Node-RED Armin@netPI 0 3,582 July-7th-2020, 12:20 PM
Last Post: Armin@netPI
  Accessing Siemens S7 PLCs over Node-RED Armin@netPI 3 9,268 February-24th-2020, 06:44 PM
Last Post: jacp
Information NPIX-RCAN with node-red-contrib-canbus node patrick 0 2,130 August-22nd-2019, 02:36 PM
Last Post: patrick

Forum Jump:


Users browsing this thread: 1 Guest(s)