FraunhoferIOSB / FAAAST-Service

FA³ST - Fraunhofer Advanced Asset Administration Shell Tools (for Digital Twins)
Other
56 stars 11 forks source link

Several datatypes not yet supported in OPC UA Endpoint #801

Open wildias12 opened 3 months ago

wildias12 commented 3 months ago

Description: Currently, the OPC UA endpoint of the Fa³st Service does not support several datatypes such as anyUri, date, and duration. This limitation affects the usage of the service in applications that require these datatypes.

Steps to Reproduce:

  1. Configure the Fa³st Service with an OPC UA endpoint.
  2. Attempt to use datatypes such as anyUri, date, and duration.
  3. Observe the failure or lack of support for these datatypes.

Expected Behavior: The service should support all mentioned datatypes, allowing their usage without issues.

Actual Behavior: The datatypes anyUri, date, and duration are not supported, resulting in errors or limited functionality.

Environment:

Relevant Logs: image Log description: Terminal output showing the error when attempting to use unsupported datatypes.

image Log description: UA Expert indicating that the OPC UA server cannot read the "Value" of certain datatypes.

mjacoby commented 3 months ago

You are correct, many data types are currently not supported by the OPC UA endpoint. We are currently working on fixing this (see branch opcua_endpoint_datatypes).

mjacoby commented 4 weeks ago

We just finished implementing support all datatypes in OPC UA. be aware that multiple of the AAS datetypes cannot be mapped to an equivalent datatype in OPC UA and therefore are mapped to string (for details see https://faaast-service.readthedocs.io/en/latest/interfaces/endpoint.html#datatype-mapping).

You can find these changes in the main branch, in the latest SNAPSHOT release, or in the latest docker image fraunhoferiosb/faaast-service:1.2.0-SNAPSHOT.