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

Publish all nodes of a connected OPC server #2354

Closed
frieste14 opened this issue Oct 8, 2024 · 3 comments
Closed

Publish all nodes of a connected OPC server #2354

frieste14 opened this issue Oct 8, 2024 · 3 comments
Labels
feature request New feature or request
Milestone

Comments

@frieste14
Copy link

We currently have the situation where we have connected some OPC servers to the publisher where we want to publish all nodes of the server. This is because in some OPC servers we can configure the exposed nodes. In this case it would make life much easier if the publisher would just publish every node in the connected OPC server.
It would be great if there was an option in the configuration file (eg. publishAllNodes) that allows publishing the whole endpoint eg:
{
"EndpointUrl": "opc.tcp://someIPAdress:4840",
"UseSecurity": "true",
"publishAllNodes":"true"
"rebrowsInterval":"60"
}

If we add some new nodes to the server it would be great if the publisher would automatically detect the new nodes in this endpoint and publish them as well.
This could be achived with an periodical browse request (eg rebrowsInterval in seconds).

@frieste14 frieste14 changed the title Publish all nodes of an connected OPC server Publish all nodes of a connected OPC server Oct 8, 2024
@Haeavar
Copy link
Contributor

Haeavar commented Oct 8, 2024

It would be great if this could be configured (as well) on node base. For https://umati.org/industries_machine-tools/ there comes dynamic nodes and it would be complicated to adjust the subscriptions. With this features, we could subscribe to "Tools" and all child nodes which will become available.

@marcschier marcschier added the feature request New feature or request label Oct 8, 2024
@marcschier marcschier added this to the 2.9.12 milestone Oct 8, 2024
@marcschier
Copy link
Collaborator

marcschier commented Oct 8, 2024

This already exists in the API surface, we just added the feature recently. But the init file support will allow to do this at startup time also. What is more you can subscribe now to all objects of a specified object type, so all cutting tools, etc.

Agreed, needs updated documentation.

@marcschier
Copy link
Collaborator

marcschier commented Oct 16, 2024

#2358. Will be in 2.9.12. Dynamic nodes however are not supported. Here we might need to more thinking through

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

No branches or pull requests

3 participants