9/8/2021 6:43 PM | |
Joined: 6/5/2015 Last visit: 4/10/2023 Posts: 7 Rating: (0) |
Good Morning I'm having a lot of difficulty in an industry 4.0 implementation project my structure and the following. CPU S7300 (SIMATIC MANAGER<-> IOT2040 (PUTTY AND RED NODE)<->OPC UA(UA EXPERT) S7300 CPU (SIMATIC MANAGER<-> IOT2040 (PUTTY AND RED NODE) IS OK. Already able to carry out the communication and data exchange between the PLC and the IOT2040,Through the putty I did the installation of the NPM INSTALL NODE -RED-CONTRIB-S7 package. It worked and everything is ok. NOTE my IOT is communicating with the internet (I can ping google.) IOT2040 (PUTTY AND RED NODE)<->OPC UA(UA EXPERT) I'M HAVING PROBLEMS WITH COMMUNICATION. Now my problem is related to the communication between the IOT2040 and the OPC UA. I did the same procedure to install the NPM package INSTALL NODE-RED-CONTRIB-OPCUA the installation and completed with version 0.2.236 apparently this ok. However, when I go to configure the OPC UA on node red through the web it generates a failure for me (image 1). I noticed that when I go to check packages through PUTTY with the -g --depth 0 command the same appears in version 0.2.236 (image 2) However, when I go to check the packages through the WEB through manage pallete the package is in version 0.2.88 theoretically a more updated version, but according to the node red website this version doesn't even exist. (https://flows.nodered. org/node/node-red-contrib-opcua as per (image 4). Below is a photo of my current structure (image 5) I'm in doubt where I'm going wrong. Whether and in version incompatibility? Did I install the right package in putty? Do I have to enable something within WEB NODE RED access to update the OPC UA package? If there is any configuration I have to do in WEB NODE RED for OPC UA? In fact I'm a bit lost and I need help has anyone done any similar settings? Is there any procedure you can send me?
AttachmentScreenshots.zip (410 Downloads) |
Last edited by: Jen_Moderator at: 09/09/2021 09:10:24Added all images as zip. file. Last edited by: Jen_Moderator at: 09/09/2021 09:11:13*Added missing image to zip file. |
|
9/13/2021 4:04 PM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating: (60)
|
Hello, Its because the nodes are installed in two different locations. Can you try updating them over Manage Palette -> Install -> Search for node-red-contrib-opcua alternatively you can run the npm install command again in
if you are still unable to use the nodes, I would recommend removing the installed packages and installing a specific version 0.2.33 which we have tested in our application Example "DataCollector Node-Red".
Also not to forget, these nodes are deprecated, but could be an alternatice solution. A different problem I see with this usecase on the other hand, is that we had experienced some crashes of v8 engine in the past when using the opcua server nodes in node-red for various hours. Alternatively an OPC UA Server in pure nodejs could be used, example: https://support.industry.siemens.com/tf/ww/en/posts/190674/ BR |
Follow us on