5/15/2018 3:35 PM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating: (60)
|
Hello IOT2000 community! This example will show you how to:
To create an OPC UA model, a tool by Siemens named SiOME is used. Alternatively other modelling tools such as Free OPC UA Modeler can be used. To create a new model in SiOME, start by adding a new Namespace, then editing the model in the 'information model' section. Check the documentation for more detailed information on SiOME. After completing the model, simply export the XML file.
The endpoint url will be displayed once the server has started. You can connect to the OPC UA Server with UaExpert. Kind regards! Attachmentopcua-server.zip (1975 Downloads) |
Last edited by: Jen_Moderator at: 5/16/2018 11:16:37 AMOptimized link. |
|
This contribution was helpful to7 thankful Users |
3/8/2019 1:31 AM | |
Joined: 3/17/2014 Last visit: 10/7/2024 Posts: 53 Rating: (12) |
Hi Fe_lipe, thank you for your example, very useful and much better perfomance than OPCUA Server with node-red. I have some problems with the SiOME model. I'm using "UInt32" and "Int32" datatype, and if I use this datatypes my variables have Status "BadWaitingForInitialData", also if I use "value" parameter of variables. If I change datatype to "Double" or "Float" the application run well and my variables have Status "Good" with the right value inside the model. Do you have any suggestion? BTW, I made some modification to your example because I had some problems and I would like to share them:
Best regards! |
Last edited by: Jen_Moderator at: 3/8/2019 11:56:15 AMNew subject after splitting Last edited by: Jen_Moderator at: 3/8/2019 12:01:37 PMRemoved splitting remark. |
|
3/18/2019 5:03 PM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating: (60)
|
Hello, Sorry for the late response, I didn't see this until now for whatever reason. Could you provide the XML file? Would make it easier for me to reproduce. If I remember corrently node-opcua had some issues initializing certain variable types with the nodeset loader. But maybe they have made some improvements until now, could you try to update your packages with
Thanks for the info regarding certificates and hostname! Kind regards! |
This contribution was helpful to1 thankful Users |
5/11/2019 2:48 PM | |
Joined: 3/17/2014 Last visit: 10/7/2024 Posts: 53 Rating: (12) |
Yes, the only recognized datatypes for numbers are Float or Double..Int and others numeric datatype will give you error if you load it from XML. |
10/19/2020 7:53 AM | |
Posts: 22 Rating: (0) |
Hi! There is any solution for Integer values? Thanks! |
This contribution was helpful to1 thankful Users |
10/21/2020 8:23 AM | |
Posts: 22 Rating: (0) |
SOLVED! I can read and write Integers!! See Attached PDF Best regards! AttachmentHowToUseIntegers.pdf (1291 Downloads) |
This contribution was helpful to2 thankful Users |
1/17/2023 10:36 AM | |
Joined: 4/28/2015 Last visit: 11/12/2024 Posts: 3345 Rating: (379)
|
Hi, haven't done this, but seems it is not very complicated. Here is an example, try to integrate that in app.js. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
Follow us on