-
Notifications
You must be signed in to change notification settings - Fork 0
User Manual
| Version | Date | Author | Comment |
|---|---|---|---|
| 0.1 | 17.04.2023 | Paul Brenner | Created User Manual |
| 0.2 | 28.04.2023 | Jonas Graubner | Add installation description |
| 0.3 | 11.05.2023 | Selvana Ayunda | GUI description |
| 0.4 | 13.05.2023 | Paul Brenner | Add error description |
- AASX - file format to store an asset. *.aasx. Can be unzipped for access to content.
- AAS - Asset Administration Shell
- [AASX server] - server, that can store AAS assets and has a standardized API specified in the GitHub repository (v3 HTTP/REST | Asset Administration Shell Repository)
-
running MongoDB Server version 4.4.x LTS
-
Apache Webserver with javascript enabled
-
Windows 10/11 server or current/latest Ubuntu/Debian Linux Server with ASP.NET Core Runtime 6.0.x
- a state-of-the-art browser, e.g. Firefox or Edge
The binaries are available in the Executable Folder in the AasxServerBlazor.zip. These are portable dotnet assemblies. Or you can build them yourself with the dotnet 6.0.x SDK and the provided Build Script SOURCE/Server/aasx-server/src/BuildForRelease.ps1. The AASX Server relies on .Net Core 6.0.x.
We include example AASX and various extra files (e.g., certificates) in
the AasxServerBlazor.zip so that you can readily start the server for demonstration
purposes. The scripts startForDemo.sh and startForDemo.bat will start the
server with these pre-packaged files.
Disclaimer this Version is just testet to run with the given Options in the startForDemo Files, with the exeption of you modifying the mongoDB connection string.
Change to the directory where you extracted the release bundle.
Open startForDemo.bat in a text editor of your choice. Modify here the Server to your need according to the Options below. Mostlikely you just have to modify the mongoDB Connection string. Save the file.
Start startForDemo.bat or invoke the executable with the same name as the
server variant. For example:
AasxServerWindows.exe --rest --data-path /path/to/aasxs --mongo mongodb://127.0.0.1:27017/
You can see testwise the AAS on the server with: http://localhost:5001/. The Server may take a few Minutes to startup.
Change to the directory where you extracted the release bundle.
Open startForDemo.sh in a text editor of your choice. Modify here the Server to your need according to the Options below. Mostlikely you just have to modify the mongoDB Connection string. Save the file.
Start startForDemo.sh or use dotnet to execute the DLL with the same name
as the server variant. For example:
dotnet AasxServerBlazor.dll --rest --data-path ./aasxs --mongo mongodb://127.0.0.1:27017/ $OPTIONSAASXSERVER
To obtain help on individual flags and options, supply the argument --help:
AasxServerWindows.exe --help or AasxServerCore.exe --help
AasxServerCore:
serve AASX packages over different interfaces
Usage:
AasxServerCore [options]
Options:
-h, --host <host> Host which the server listens on [default: localhost]
-p, --port <port> Port which the server listens on [default: 51310]
--https If set, opens SSL connections. Make sure you bind a certificate to the port before.
--data-path <data-path> Path to where the AASXs reside
--mongo <mongo> Connection String to your mongoDB installation
--rest If set, starts the REST server
--opc If set, starts the OPC server
--mqtt If set, starts a MQTT publisher
--debug-wait If set, waits for Debugger to attach
--opc-client-rate <opc-client-rate> If set, starts an OPC client and refreshes on the given period (in milliseconds)
--connect <connect> If set, connects to AAS connect server. Given as a comma-separated-values (server, node name, period in milliseconds) or as a flag (in which case it connects to a default server).
--proxy-file <proxy-file> If set, parses the proxy information from the given proxy file
--no-security If set, no authentication is required
--edit If set, allows edits in the user interface
--name <name> Name of the server
--version Show version information
-?, -h, --help Show help and usage information
Make sure you have Node.js installed on your local machine. Navigate to SOURCE/frontend and run the following commands:
npm install
npm start
You may wanna modify the standard AASX Server Url herefore navigate to ./src/utils/constanst.js and change the second line to var url="YOUR_SERVER_URL";
With the command
npm build
You can afterwards create your own static files
In the Executable Folder under frontend you find the frontend pre build as static files. Just copy these to your Webserver.
- If you click on Asset:
- 1: Show the current server, you can change url-server
- 2: Login
- 3: Message to remember you if you want more infos in Asset deteils, you have to login.
- 4: Asset deteils contents infos Asset and they are clickable
- 5: Asset
- 6: Search function to search certain asset
- 7: always lead you to home page
enter your access data to access more infos
infos are clickable
go to Admin-Dashboard

-
- Search function
-
- Members
-
- Membersrole
-
- action to manage your member
-
- button to create new member

-
- Upload your aas file
-
- Give valid id
-
- to submit your asset on server
as admin you can delete asset
The function "errorHandling.js" provides the possible error messages:
- preDefinedErrors[100] = "User rights insufficient to load all data. Please login to see all Data.";
- preDefinedErrors[150] = "Unknown Internal Server Error."
- preDefinedErrors[151] = "Internal Server Error. File already exists."
- preDefinedErrors[152] = "Internal Server Error. Requested File not found."
- preDefinedErrors[153] = "Internal Server Error. Filepath has wrong format please check AASX file."
- preDefinedErrors[500] = "AASX Server not available, please check your Server address."
There may be files which have no content that is accessible for this user role (e.g. the Security Submodel). This results in this error message and can be fixed by using the corresponding role.
This error occurs when the user tries to upload a file with an already existing AAS-ID. This error can be fixed by replacing the AAS-ID.
This error can occur if
- file was deleted from the Server by another instance after loading the frontend
- when opening a submodel a referenced document is not available in the submodel path
Error occurs if the selected AASX Server is not available. This can be a temporary or a permanent problem.