Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Arrowhead framework & Registering Services (How to registering the end point URL address of OPC UA)
Arrowhead framework & Registering Services [message #1834451] Tue, 10 November 2020 09:33 Go to next message
Eclipse UserFriend
Hi All,

I am looking to Register the end point URL addresses of OPC UA for Client and publish blocks to AF?

e.g. opc_ua[opc.tcp://localhost:IP#/Objects/2:PLC1/2:eq_states/2:EQ_V102]

I am using this procedure to first test the application and if it works will implement the orchestrator for the service.

What should be the entries of the fields?
Using e.g. (IP:PORT/serviceregistry/mgmt/id) as address. The id is 22. primarily, using POSTMAN to register the services.
......................................................................................................................................
{
"id": 22,
"serviceDefinition": {
"id": 23,
"serviceDefinition": "valve102",
"createdAt": "2020-01-27 13:15:40",
"updatedAt": "2020-01-27 13:15:40"
},
"provider": {
"id": 14,
"systemName": "NAME",
"address": "iec61499",
"port": 0,
"authenticationInfo": "string",
"createdAt": "2020-01-27 12:35:27",
"updatedAt": "2020-01-27 12:35:27"
},
"serviceUri": "opc_ua[opc.tcp://localhost:IP#/Objects/2:PLC1/2:eq_states/2:EQ_V102]",
"secure": "NOT_SECURE",
"metadata": {},
"version": 0,
"interfaces": [
{
"id": 3,
"interfaceName": "HTTPS-SECURE-JSON",
"createdAt": "2019-12-27 06:45:42",
"updatedAt": "2019-12-27 06:45:42"
}
],
"createdAt": "2020-01-27 13:15:40",
"updatedAt": "2020-01-27 13:15:40"
}
................................................................................................................................


According the documentation, 4diac is not compatible with 4.1.3, only with 4.1.2?

First steps are to correctly Register the end point URL addresses of OPC UA, than those services can be used in 4Diac function blocks to run my application.

Thanks in advance.
BR,
Ahsan
Re: Arrowhead framework & Registering Services [message #1834454 is a reply to message #1834451] Tue, 10 November 2020 09:58 Go to previous message
Eclipse UserFriend
Hi,

Yes, 4diac is compatible with 4.1.2 and not with 4.1.3. If you need to use 4.1.3 then 4diac won't work and probably it won't support it in the near future. There was some work related to translating between these two versions https://github.com/arrowhead-f/core-java-spring-legacy-support

I'm not sure what exaclty you want to do. You want to register a OPCUA variable so it can be accessed? Or do you want to access some information through AF using 4diac?

Jose
Previous Topic:Identifying function blocks individually within the code
Next Topic:String id for OpcUa Folders
Goto Forum:
  


Current Time: Mon Jul 07 11:58:48 EDT 2025

Powered by FUDForum. Page generated in 0.03450 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top