FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
08-01-2024 09:29 AM - edited 08-01-2024 09:31 AM
Hello everyone,
I use the the 1.20 version on my CtrlX with the newest Updates (OPC UA Client 1.20.1). I successfully connected the OPC UA Client to an Siemens S7 Server. I can see the whole stucture and all the variables but everywhere an empty value. Only after refreshing the DataLayer the value appears.
The problem is that the ctrlX subscription Node in Node Red can´t read anything too!
Bevore refresh:
After refresh:
Node Red error message:
Can you help me please? Thank you in advance!
08-01-2024 01:44 PM
Hello,
how is the connection status of the OPC UA client conection to the S7? Is it "connected" or does it flicker between "connected" and "disconnected"?
If the client is disconnected, the NodeId of the client variables don't exist, what would explain the "DL_INVALID_ADDRESS" message inside Node-Red. How many and what kind of variables do you read with Node-Red and which publish interval is set inside the Data Layer Subscribe node for these variables?
Please check also the Data Layer timeout settings.
08-01-2024 02:11 PM
Hello @NoRisk4Project ,
the state is all the time "connected" and I can´t see any flicker. I also have a Flow that connects the opc ua connection automatically if the state is disconnected.
The "serverWaitResponseTimeout" differed from your settings but after adjusting, the problem exists anyway.
In Node Red I want to read 14 variables with dieffernt data types (String and Int).
08-01-2024 03:08 PM - edited 08-01-2024 03:20 PM
Hello,
did you restarted the ctrlX after you changed the "serverWaitResponseTimeout" setting of the Data Layer? What was the original value set in your control?
Which publishing interval is set for these 14 variables (I guess all of them are subscribed)?
08-01-2024 04:03 PM
Yes the original value set was 3000.
Did you mean the publishing interval of the subscription Nodes? I´m using the default values.
I think that the problem occurs from the opcuaclient Data Layer and not from Node Red.
Sometimes I cannot open the path from the opcclient data layer, this causes the error message DL_invalid_adress in node red.
Here you can see, that sometime I can´t open the folder:
So there are two problems on the opcuaclient data layer
- values are not shown --> only after one or two refreshes
- sometimes I cannot open the whole path --> after some refreshes, it´s possible again
08-02-2024 11:07 AM
Hello,
if the "i=85" node is empty, the OPC UA client is either not connected or the Data Layer kicked the OPC UA client provider because of a timeout.
Please deactivate your Node-Red flow that connects/reconnects the OPC UA client and restart your control and connect the OPC UA client via the Data Layer.
After the connect, is the node "i=85" empty or can you browse the variables and do you see values? If yes, can Node-Red access and subscribe the nodes provided by the OPC UA client?
If it's not working, what does the job-count shows?
08-02-2024 12:00 PM - edited 08-02-2024 12:00 PM
Hello @NoRisk4Project ,
after the restart and the write of the connect data layer, the opc ua client was connected again and I could browse the variables. Unfortunately I still can´t see the values. The job count is 0.
09-05-2024 01:29 PM
Are there any news? Could you solve your issue?