• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
5 x NL 50-Mpi and Node Red like colector data?
#3
(September-14th-2020, 05:16 AM)Armin@netPI Wrote: Hi there,

first of all a word to the NL 50-MPI. This device works nearly with a zero delay. So once a command is coming via Ethernet port it is instantly sent out on MPI side. But there are differences in the performances of the S7 PLCs on MPI. Some S7 PLCs of older types are responding on a request in 25msec ... newer ones in 1-2msec. If you have luck you have a new PLC and you are getting good response times.

To use Node-RED with NL 50-MPI you need MPI nodes. There are two offerings:
a. https://flows.nodered.org/node/node-red-contrib-s7comm
b. https://flows.nodered.org/node/node-red-contrib-s7

I don't know the advantages of each to them. So you have to give it a try yourself which one is better.

You say that you have to read 100 variables ... I can recommend to you if it is possible to read adjacent variables that are lying next to each other in one command. So not 20 times DBB 0, 1,  ... 19 and so on but DB 100 of a length of 20 bytes in one shot instead. Then you can divide them in Node-RED faster than 20 separate reads would cost you time.

I know Node-RED includes also a mysql node. I have never use it. You have to read the documentation about how it works.

What I did not understand is the fact what you want to do with all the data after it was written to the mysql database. I have read "saving money" on licenses for an OPC server ... I think you mean OPC UA server not OPC server, right?  So I know there are also OPC UA server nodes available in Node-RED. Overall I think nobody can give you a guarantee about the performance. I personally see no problem in using 5 NL 50-MPI devices with Node-RED to read data in 1-2 minutes from 5 PLCs. I hope the S7 Node-RED nodes support multiple IP addresses for multiple NL 50-MPI cause I don't know.

Good luck with your project.

Many Thanks by the answer!! really hepfull!
One more thing... What happend if I am using the NL 50-MPI with a PLC that have a CP343 ?
Imagine that the plc is using de cp343 with the IP 192.168.50.50  , could I use the NL 50-MPI with IP 11.99.33.5  ?

I need to know this cause I would like to read some data of a PLC with cp343 BUT as I wrote I dont have the possibility to change the IP in hardware configuration.

What do you think?
  Reply


Messages In This Thread
5 x NL 50-Mpi and Node Red like colector data? - by Jotarod - September-13th-2020, 10:56 PM
RE: 5 x NL 50-Mpi and Node Red like colector data? - by Jotarod - September-14th-2020, 01:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Node Red configuration LucioFiam 3 1,823 November-30th-2022, 05:14 PM
Last Post: Armin@netPI
  secure node-red with a username and password Christian_Rau 3 3,052 December-3rd-2021, 11:06 AM
Last Post: Armin@netPI
  cifx0 and Node-Red fabio1975 5 3,316 November-22nd-2021, 01:13 PM
Last Post: Armin@netPI
  Node red web UI issue DSongra 3 3,310 July-22nd-2021, 02:47 PM
Last Post: Armin@netPI
  REST API server data communication MGharat 2 2,559 July-21st-2021, 07:01 AM
Last Post: MGharat
  Node-RED 'projects' possible on netPI? JG_KIT 2 2,447 July-20th-2021, 01:11 PM
Last Post: JG_KIT
  Docker exposed port don't send data on eth0 COswald 3 3,273 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  Node-RED: OpcUa Client node tad 4 4,629 June-9th-2021, 08:51 AM
Last Post: tad
  requirement : reading of ethrnet/ip data & storing MGharat 6 4,141 February-1st-2021, 08:07 AM
Last Post: Armin@netPI
  Data logger Jan 11 6,551 October-14th-2020, 03:43 PM
Last Post: Jan

Forum Jump:


Users browsing this thread: 1 Guest(s)