• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REST API server data communication
Hi Armin,

one of our customer wants to use REST APIs & communicate with his server software . Further this  server data is to be passed to an OPC UA client through our netPI gateway.

I attached herewith customer software RESET API document for your reference.

Can we use here netPI RTE to collect data from customer server ( over eth0) REST API communication & then transfer it to OPC-UA ( over Fieldbus port) ?


Attached Files
.pdf   10TE823 AM8 API Center v1.0 (1).pdf (Size: 723.45 KB / Downloads: 1)

Node-RED supports a "http request" node ever since which is used to call RESTapi functions like GET,POST,DELETE etc.

There are many examples how to use it like this post here https://stevesnoderedguide.com/node-red-...-beginners. But don't hesitate to find your own web links.

So once you have the data available via the http request node in the context in Node-RED you can pass this data to an OPC UA client node which in turn sends this data to an OPC UA server. Since OPC UA is TCP/IP based protocol it doesn't matter if the connection goes across eth0 or the optional RTE port cifx0. Both will work.

For a minimum viable product test I recommend to run "Node-RED for windows" first and make simple plausibility pretests of the nodes "http request" and "OPC UA client" on a PC since both just need a LAN interface to run prior any netPI tests. If this works then it will run on netPI also with Node-RED running in a container.

You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

Thanks Armin for your guidance, I will try this test .

Possibly Related Threads…
Thread Author Replies Views Last Post
  netPI opc ua server pull image error wswitula 3 1,009 August-27th-2021, 10:47 AM
Last Post: wswitula
  OPC UA server with NetPi RTE DSongra 9 1,359 July-27th-2021, 12:01 PM
Last Post: Armin@netPI
  Docker exposed port don't send data on eth0 COswald 3 609 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  Accessing netPI web UI with REST API Armin@netPI 14 3,057 June-30th-2021, 05:06 AM
Last Post: Armin@netPI
  [SOLVED]DHCP server not working m-yoshikawa 24 6,093 June-11th-2021, 07:04 AM
Last Post: tad
  communication cycle as EtherCAT slave tad 2 682 April-20th-2021, 11:14 AM
Last Post: tad
  requirement : reading of ethrnet/ip data & storing MGharat 6 1,566 February-1st-2021, 08:07 AM
Last Post: Armin@netPI
  Get host MAC via REST API inside container bschandra 4 1,711 November-16th-2020, 09:26 AM
Last Post: bschandra
  Data logger Jan 11 2,739 October-14th-2020, 03:43 PM
Last Post: Jan
  Communication between PLC and Netpi Dipro 4 1,807 October-3rd-2020, 10:07 AM
Last Post: Dipro

Forum Jump:

Users browsing this thread: 1 Guest(s)