• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing Siemens S7 PLCs over Node-RED
#1
Today I want to highlight a Node-RED node that is able to read/write data from/to a Siemens PLC (S7-1200 or S7-1500) over Ethernet(PROFINET) on netPI.

The node's home is here https://flows.nodered.org/node/node-red-contrib-s7comm and is maintained by Hilscher.

We have included this node in netPI's Node-RED Docker Container you can pull from repository "hilschernetpi/netpi-nodered" from Docker Hub on your netPI.

If you have an "old" type of PLC such as S7-300 or S7-400 having no Ethernet connectivity but MPI/PROFIBUS instead you can use this device https://www.hilscher.com/products/produc...nl-50-mpi/ in between netPI and PLC and your are able to use ths S7  node too.

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

  Reply
#2
(August-23rd-2019, 08:01 AM)Armin@netPI Wrote: Today I want to highlight a Node-RED node that is able to read/write data from/to a Siemens PLC (S7-1200 or S7-1500) over Ethernet(PROFINET) on netPI.

The node's home is here https://flows.nodered.org/node/node-red-contrib-s7comm and is maintained by Hilscher.

We have included this node in netPI's Node-RED Docker Container you can pull from repository "hilschernetpi/netpi-nodered" from Docker Hub on your netPI.

If you have an "old" type of PLC such as S7-300 or S7-400 having no Ethernet connectivity but MPI/PROFIBUS instead you can use this device https://www.hilscher.com/products/produc...nl-50-mpi/ in between netPI and PLC and your are able to use ths S7  node too.

Thx
Armin

Hi Armin,

I need to collect data from an s7-400 PLC (CPU 412-2) and I am thinking of buying a NL 50-MPI for this purpose, and use node-red s7comm node to pull the data.
I understand classic ethernet networking and read how to assign an IP the device however, I am completely new to industrial protocols and PLCs.

Besides knowing the tags name, DB, offset and data types, do I need to know anything more about the PLC runtime? Do I need to "register" the NL 50-MPI device in the PLC code? Or is it completely plug-and-play once the device is connected to the bus?

Best regards
  Reply
#3
Hi there,

it is completely plug and play. We sell the netLINK MPI device now since 18 years. The driver and device firmware support any known S7 PLC with MPI/PROFIBUS interface.

Install the driver package from here https://download.ibhsoftec.com/neutral/I...7Setup.exe. It comes from Company IBH Softec who is writing the software for the NL 50-MPI meanwhile (they call the same device IBH-Link, but it is the same as NL 50-MPI).

The NL 50-MPI device transparently routes the Ethernet packages that are coming 1:1 to the MPI/PROFIBUS port and finally reach the S7 PLC where they are answered and sent back to the requester. In your case the requester can be Node-RED and the S7-comm node that I mentioned above.

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

  Reply
#4
Brilliant, thank very much for this information.
Regards
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  IoT Edge Gateway: Node-RED - ARRAY -> OPC UA AxelHa2111 5 4,660 May-21st-2021, 05:13 PM
Last Post: Armin@netPI
  Configuring S7-1200 PLC to communicate with node-red ... Cman587 3 5,056 January-27th-2021, 11:01 AM
Last Post: Armin@netPI
  InfluxDB, Node-RED and Grafana Armin@netPI 0 3,610 January-6th-2021, 02:36 PM
Last Post: Armin@netPI
  PROFINET to OPC UA data conversion with Node-RED Armin@netPI 0 3,485 July-7th-2020, 12:20 PM
Last Post: Armin@netPI
Information NPIX-RCAN with node-red-contrib-canbus node patrick 0 2,082 August-22nd-2019, 02:36 PM
Last Post: patrick

Forum Jump:


Users browsing this thread: 1 Guest(s)