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
Adding static String, Int variables in simulation with read and write.
February 5, 2019
5:43, EEST
Avatar
kcdico
Member
Members
Forum Posts: 5
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline

How do I add static string and int variables in the simulation?
Do I do it in the simulation tab or by editing simulation.xml?

I’m also getting this error from my MES.
“Cannot cast an absolute ExpandedNodeId to a NodeId. Use ExpandedNodeId.ToNodeId instead.”
What could be causing this?

Thanks!

February 5, 2019
12:07, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 336
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Currently adding nodes is limited to what can be done via the ‘Simulation’ tab, i.e. there is no way to add “static nodes” (or well you can pause the simulation, and those nodes allow writing, but technically it was not designed for that). There is a set of static nodes in Root/Objects/StaticData/StaticVariables which can be used. We have some plans/work-in-progress on more advanced simulations, but no estimates when those would be available.

For the MES, I’ll probably know why. It has been a somewhat long standing issue that our (java) SDK (which is used in the SimulationServer) returns ExpandedNodeIds with the namespace uri set for the standard namespace in some cases. This mostly affect Browse responses. Most of the times clients will handle this as normally (they will convert the uri to the index via the namespace array information), but e.g. in this case apparently not. This is fixed for SDK version 4 (which is work in progress, release hopefully soon), so it will be part of SimulationServer version 4.

February 13, 2019
4:21, EEST
Avatar
kcdico
Member
Members
Forum Posts: 5
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline

Thank you, Bjarne. For now, I made some OPC UA servers using Node in Ubuntu. I’m still using your OPC UA Client – which is a beast.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 78

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 89

pramanj: 86

ibrahim: 68

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 36

Rainer Versteeg: 32

vonGohren: 25

Member Stats:

Guest Posters: 0

Members: 815

Moderators: 11

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 841

Posts: 3556

Newest Members:

waldlatscher, keithwalmar, shanjaved, opcua-user, DmitryPervukhin, DPer, YeaTeshy, marttin, bouncycastlerentals, Sayan B

Moderators: Jouni Aro: 824, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 336, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 14

Administrators: admin: 0