Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
The Simulation tab is grayed out for imported namespaces objects
July 9, 2021
10:15, EEST
Avatar
Gaetano
Member
Members
Forum Posts: 4
Member Since:
July 9, 2021
sp_UserOfflineSmall Offline

I recently started to evaluate the “OPC UA Simulation Server” and I am trying to simulate imported namespaces.
The namespace is imported with the “Import Nodeset file” command available in the “Namespaces” tab. The import success without errors.
Exploring the imported namespace in the “Objects” tab, all the variables (of type BaseVariableType) cannot be simulated. The Simulation Tab is grayed out.
How can I simulate imported namespace objects?

July 9, 2021
10:27, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 346
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

At the moment, simulations can’t be added to Variables imported from NodeSet files. If you need to add simulations to your Variables, you will have to recreate the imported Objects and Variables manually with Add Nodes in the Objects tab.

July 9, 2021
10:53, EEST
Avatar
Gaetano
Member
Members
Forum Posts: 4
Member Since:
July 9, 2021
sp_UserOfflineSmall Offline

I’d like to use an OPC UA Server Simulator, to “simulate” a real OPC UA Server while it is in a development stage.
I tried to recreate my Objects and Variables as you said, but in this case the NodeId of the variable doesn’t match with my client application.
My client application use NodeIds from the imported namespace. My client application must be not aware if below there is a simulated or real OPC UA Server. That’s the goal!
So, at the end… what’s the benefit to pay for a Professional license, to have a Simulator, with the functionality to import a NodeSet, which defines my server information models that I cannot simulate! Confused

July 9, 2021
11:17, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 346
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

If the imported Variables support writing to, i.e. their AccessLevel and UserAccessLevel includes CurrentWrite, you could use another Client application, such as Prosys OPC UA Browser, to write Values to those Variables so that your main Client application will see them change.

July 9, 2021
11:49, EEST
Avatar
Gaetano
Member
Members
Forum Posts: 4
Member Since:
July 9, 2021
sp_UserOfflineSmall Offline

I am actually using Unified Automation UAExpert as Client application. When I insert a variable node in the Data Access View, the DataType is Null and the value cannot be set. Non any value is displayed.

Even in your OPC UA Server Simulator, in the “Address Space” tab, the variable with AccessLevel and UserAccessLevel set to [CurrentRead, CurrentWrite] does not show any value.

However, the target is that client applications can receive notifications of read only variables as well. For example I’d like to get values of the actual position of an axis. This is a read only variable and clients, such as Prosys OPC UA Browser, cannot set the value for. This is one of the main reason, because I need server side simulation.

July 9, 2021
16:00, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Hi Gaetano,

You are correct that this is a main use case for the Simulation Server Pro. Unfortunately, there is still a limitation that the models loaded from nodeset files are mainly considered to contain type information and the simulator does not prepare any simulation model for them. But, we will need to work on to overcome this limitation in near future.

UaExpert also has the limitation that if the value of a variable is Null, you cannot write a value, since it uses the data type of the current value, instead of the DataType of the variable. Please, try Prosys OPC UA Browser instead: it always uses the DataType of the variable correctly in write.

As you say, in a real system these variables should not be writable by client applications, but I am afraid that for the time being, you will need to enable write from external clients to achieve this, since this is the only way that enables you to simulate data in your nodes properly.

July 9, 2021
17:51, EEST
Avatar
Gaetano
Member
Members
Forum Posts: 4
Member Since:
July 9, 2021
sp_UserOfflineSmall Offline

Hi Jouni,
thank you for your explanation and your quick support.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 737

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6450

Newest Members:

fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1