Comments (9)
Hi,
thank you! This is a bug (or at least not intended behavior). Actually, our goal is to provide reading / writing OPC UA and yes, also REST reading / writing. In some point in time, I remember the OPC UA write already working, so it must have regressed.
So, for OPC UA I was now adding in AasEntityBuilder.cs:CreateAddPropertyState() for a x = new PropertyState(..) to have:
x.AccessLevel = AccessLevels.CurrentReadOrWrite;
x.UserAccessLevel = AccessLevels.CurrentReadOrWrite;
Using this, I can write to "normal" AAS Properties. This should cover most of the relevant variables in the AAS mapping, but I am not completely sure. So, please test for desired behaviour.
Currently, I have the change in "MIHO/FixChangePropertiesOPCUA". I will try to PR it to master ASAP.
Best,
Michael
from package-explorer.
Okay, this was up to now not my intended scenario ;-)
I take this as a feature request and will leave the issue open.
I will update you via here.
Best
Michael
from package-explorer.
For the off-topic topic ,-)
Type 1: You have multiple SDKs available for (automatically) manipulating AASX as a file .. see: SDKs
Type 2: You can serve one or more AASes OPC UA, REST (and more?) and manipulate them as a server.
Type 3: Via "language of I4.0", you can have an agent-like approach of AASes interacting with each other.
What is your interest?
from package-explorer.
Hi,
thank you for your reply :).
Still having problems. I can change the values via ua-expert. However, changes aren't applied to the .aasx file. Restarting the server just resets the values.
Best,
Samed
from package-explorer.
Oh okay, thank you.
Off-Topic:
Is there a way to change the property values of the .aasx in any way (not manually with the explorer). We would like to write data from a machine (rotation of a certain module, temperature etc) to the property values from the aasx. These values change over time. Right now the .aasx is pretty much a static file. Or is that something that will be added in future?
Best,
Samed
from package-explorer.
Hey Michael,
I chose type 2: after a bit of testing, it looks like I finally found a way of changing property values via REST. My json was incorrect, which lead to a few errors -> it would create empty Submodelelements.
Sorry for the inconvenience and thank you for your help. 👍
Best,
Samed
from package-explorer.
Hello @MichaelHoffmeisterFesto ,
I am with the same problem: I can read and write propreties values using uaexpert, however changes aren't applied to the .aasx file. Restarting the server just resets the values. Is there any news concerning this issue?
Best regards
Gustavo
from package-explorer.
Hello @gustavocainelli and @MichaelHoffmeisterFesto I have a same problem as you. Did you solved it ?
from package-explorer.
hi @pecanek01. Actually I was not able to solve that. Now I am using open62541 server. I build a xml file with the nodes that I need and the nodeset compiler generate the files nedded. https://open62541.org/doc/current/nodeset_compiler.html
But still, you can write new values using an OPC UA client, but if you reset the server, then the values are also reseted.
from package-explorer.
Related Issues (20)
- [BUG] Error creating CD by Eclass for a Property HOT 1
- [BUG] IEC-CDD value list is not imported.
- [BUG] IEC CDD Import - open EULA raises an exception.
- Add RDF serialization (export) and deserialization (import).
- TechnicalData to support SubmodelElementList
- [BUG] server AAS as REST does not work
- MQTT Publisher
- [BUG] expects an integer as server response when a new aasx file is added to a file repository HOT 2
- Add ability to delete optional string values HOT 1
- [BUG] Submodel/kind not set as expected HOT 1
- [BUG] isShort is not required for Identifiables (AAS, Submodel, Concept Description) HOT 1
- [BUG] Can't copy standard submodels HOT 2
- [BUG] i can find the exe file to open the aasx packageexplorer user interface HOT 1
- [BUG] Submodel plugins triggered when SmenaticId modelType is set to "Submodel", but not to "GlobalReference" HOT 1
- [BUG] Inconsistency of docuement shelf plugin HOT 1
- Consider Bugfix release IDTA-01003-a: Data Spec IDs of IEC61360 template changed
- Implement Bugfix release IDTA-0100x
- [BUG] 'New Submodel from pool of known' throws an exception HOT 1
- [BUG] ECLASS dictionary import does not work
- Technical Data Viewer: Make the FurtherInformation section resizable.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from package-explorer.