Opened 5 years ago

Last modified 3 years ago

#5764 assigned defect

OPC UA seems to miss DataType at the nodes attributes

Reported by: anonymous Owned by: sjoelund.se
Priority: high Milestone:
Component: *unknown* Version: v.1.15.0-dev
Keywords: Cc:

Description

Hi,

just played around with the OPC UA Server in OpenModelica and tried to connect with different clients (UA Expert, Beckhoff TwinCat PLC OPC IO, Android Suppanel) to a simple model (Just a sine source, a resistor and ground). Connection to the OPC-UA server works fine and in UA Expert I can set values and watch variables changing.

But there seems to be something broken between version 1.12 and 1.13+. The OPC clients can't reliably determine the datatype for the attributes presented by the OPC-UA server. UA Expert may work around that somehow, but the other clients I tested, reject using the variables - due to the missing variable information?

Please see the following screenshots:

OpenModelica v1.12.0
https://s19.directupload.net/images/200102/5fuez2h6.png

OpenModelica v1.13 to v1.15-dev
https://s19.directupload.net/images/200102/kqrkdtc3.png

Change History (10)

comment:1 Changed 5 years ago by casella

  • Milestone changed from Future to 1.14.1

@sjoelund.se, any chance to fix this in 1.14.1?

Thanks!

comment:2 Changed 5 years ago by adrpo

I already tagged 1.14.1, but we can make a 1.14.2.

comment:3 Changed 5 years ago by casella

No problem :)

comment:4 Changed 5 years ago by Michael G. <michael@…>

Replying to casella:

@sjoelund.se, any chance to fix this in 1.14.1?

Thanks!

Thanks for taking care. Would love to test a hotfix as soon as it is available... As nightly?

comment:5 follow-up: Changed 5 years ago by casella

Of course we could first get this into the latest 1.16.0-dev nightly, then cherry-pick it for 1.14.2 (1.14.1 has already been tagged)

comment:6 in reply to: ↑ 5 Changed 5 years ago by Michael G. <michael@…>

Replying to casella:

Of course we could first get this into the latest 1.16.0-dev nightly, then cherry-pick it for 1.14.2 (1.14.1 has already been tagged)

If this is possible, I would appreciate. Just let me know when it's ready so I load it and test it with Beckhoff TwinCat...

comment:7 Changed 4 years ago by casella

  • Milestone changed from 1.14.1 to 1.16.0
  • Owner changed from somebody to sjoelund.se
  • Status changed from new to assigned

@sjoelund.se, any chance to fix this for 1.16.0?

comment:8 Changed 4 years ago by casella

  • Milestone changed from 1.16.0 to 1.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:9 Changed 4 years ago by casella

  • Milestone changed from 1.17.0 to 1.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:10 Changed 3 years ago by casella

  • Milestone 1.18.0 deleted

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.