Bug: RW 7.15.2 OPC U/A Subscribe issue on embedded OPC server
Hello!
Im trying to setup OPC client with a subscription on OPC variables on a irb6730 Rw 7.15.2 directly to the OPC U/A server on the controller, hence not through IoT Gateway, and it keeps giving me null reference exception.
It works to read and write the variables directly, but when I try to setup the subscription, I provide the variable paths for existing variables and a callback to handle when the variables has changed, I keep getting the following exception:
System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=Opc.UaFx.Advanced StackTrace: at Opc.Ua.Client.Session.ProcessPublishResponse(ResponseHeader responseHeader, UInt32 subscriptionId, UInt32Collection availableSequenceNumbers, Boolean moreNotifications, NotificationMessage notificationMessage)
When I do exactly the same thing through IoTGateway, I manage to subscribe without no issue and exception?
I would really like to use the embedded server and not IoT gateway since this requires the standalone application to run on a computer.
I have tried this on RW 7.15.2 with irb6730 and also tried it with gofa (some earlier RW), same issues..
Im trying to setup OPC client with a subscription on OPC variables on a irb6730 Rw 7.15.2 directly to the OPC U/A server on the controller, hence not through IoT Gateway, and it keeps giving me null reference exception.
It works to read and write the variables directly, but when I try to setup the subscription, I provide the variable paths for existing variables and a callback to handle when the variables has changed, I keep getting the following exception:
System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=Opc.UaFx.Advanced StackTrace: at Opc.Ua.Client.Session.ProcessPublishResponse(ResponseHeader responseHeader, UInt32 subscriptionId, UInt32Collection availableSequenceNumbers, Boolean moreNotifications, NotificationMessage notificationMessage)
When I do exactly the same thing through IoTGateway, I manage to subscribe without no issue and exception?
I would really like to use the embedded server and not IoT gateway since this requires the standalone application to run on a computer.
I have tried this on RW 7.15.2 with irb6730 and also tried it with gofa (some earlier RW), same issues..
0
Comments
-
Hello @Fanny,
Please reach out to your local ABB and report this issue as a potential bug.
https://new.abb.com/contact-centers
Thanks!Best regards,Maxim—Maxim RiabichevPC Software Support Engineer0 -
@Maxim Riabichev thank you! I have contacted them now.0
-
The answer from Robot support is that the subscribe functionality is not available right now in the embedded server. The planned release is RW 7.17, and it requires the option 3154-2 IoT Data Client.1
Categories
- All Categories
- 5.5K RobotStudio
- 392 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 306 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 777 RAPID Programming
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings