Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[warn] StatusCode: BadNoCommunication (0x80310000) #760

Open
Ispeack opened this issue Dec 3, 2024 · 4 comments
Open

[warn] StatusCode: BadNoCommunication (0x80310000) #760

Ispeack opened this issue Dec 3, 2024 · 4 comments
Labels

Comments

@Ispeack
Copy link

Ispeack commented Dec 3, 2024

[ You can tag that as a question ]

Hello ,
I have several OPCUA ITEM nodes linked to an OPCUA Client node in Read like this ( I can't show the real flow for confidentiality reasons )
image

each OPCUA ITEM node belongs to a separate PLC which is connected to an OPCUA server and I request a read from this OPCUA server by the OPCUA Client node every second but some PLCs are under maintenance and I get this error message
image
" great drawing on the picture 🧐"

my question is: is it possible to exclude the reading of a certain OPCUA ITEM node that is causing “problems” after a defined number of attempts, and to restart the reading after a certain time in order to time out bad communication errors?

thanks for your help ,
have a good holiday too I saw on another post that you were on vacation ;) think of relaxing

@mikakaraila
Copy link
Owner

No this kind of feature is not possible by OPC UA stack. Instead you should build flow that will remove items that are not valid.

One idea could be first test items one by one and collect valid ones that you will use then finally.

@Ispeack
Copy link
Author

Ispeack commented Dec 4, 2024

Do you know how I could test each element independently? My PLCs are all connected to the same OPCUA server and have a common trigger ?

@wyplzx
Copy link

wyplzx commented Dec 13, 2024

I think you can use UaExpert to check whether you can read every item from OPCUA server firstly.

@Ispeack
Copy link
Author

Ispeack commented Dec 13, 2024

I think you can use UaExpert to check whether you can read every item from OPCUA server firstly.

yes, that's already been done as part of a feasibility study. All my variables are accessible, but as I have several PLCs on an IOT gateway, some PLCs are under maintenance and therefore inaccessible, while others are, for example:

PLC 1 : ok
PLC 2 : ok
PLC 3 : NOK

obviously the variables of PLC N°3 are no longer accessible and this creates a bad communication error message because node-red manages to establish an OPCUA connection to my gateway but the frame stops there and I wanted to know if there was a way to disable variable reading in my message without having to rebuild a temporary gateway program.

perhaps by using a function in the OPCUA ITEM node, but I'd have to do some more tests on the subject

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants