Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

OPC UA in RoboDK

#1
Is there any documentation about how to connect and interact withOPCUA signals?
#2
We have a plugin that you can use to make RoboDK behave as anOPC-UA server or anOPC-UA client. You can follow these steps to activate it:
  1. SelectTools-Plug-Ins
  2. SelectLoad Plug-In
  3. SelectOPC-UA
You should see an additional menu with someOPC-UA options.

Among other things, RoboDK'sOPC-UA server exposes access to station parameters by using the nodesStationParameterandStationValue. You can set the station parameter you want to see or modify in StationParameter field and view/modify the value using StationValue. You can also retrieve items by name (like you can do with the API) and retrieve or update the position of robots and mechanisms.

You'll find the station parameters by right clicking the station root and selecting "Station Parameters". When you use Inputs and Outputs some IO parameters are automatically created and updated.



You may need to customize the plugin if you want to use RoboDK as anOPC-UA client (it currently retrieves the station parameters of a RoboDK server as an example). This plugin is open source and available onGitHub(it uses theOPC-UA Open62541 library).
#3
Can you useOPCUA to:
  • Run an existing simulation program created using the GUI
  • Execute an existing program instruction created using the GUI. What is the difference between the setJoints method in the UA interface and a MoveJ instruction? I would like to be able to call an existing MoveJ instruction usingOPCUA.
  • Execute an off-line python program?
I can modify theOPCUA server source code if needed to add a variable to control the program. Is there an example of calling a simulation program built using the GUI from an external python program?
#4
Hi,

We are trying to link Robodk with Unity3D. The goal is to create a simulation of our laboratory which consists of several different robot systems, conveyorbelt systems tooling machines and so on...
Therefore we tried to establish aOPCUA communication between RoboDK and Unity. First we tried it with the built inOPCUA server in RoboDK- and failed.
So we wrote a very basic, simple Server in Python and we were able to establish a communication. However, this very basicOPCServer we wrote does not support subscribe, authentication and so on.

So I was wondering what where we went wrong when we tried to use the RoboDKOPCUA server.
So when I activate the plug in and start the server I can access it with UA Expert client.
But how do I have to enter the parameters in the station.
You explained, that if I want to access objects, robots or anything else from the station, that it is similar to the python method.
So I opened the station parameters and tried several different options but none did work

你能举个例子如何设置parameters for accessing the joints of a robot...

Thx,
Thomas Schichl
#5
Hello,
I have been trying to get some assistance for the attached concerns via the web form. I was asked to post the question in this forum.
Could you kindly assist me with these difficulties that I am facing (see the attachment) with when configuringOPCUA feature in RoboDK?

Thank you
Regards
Anu


Attached Files
.pdf 7th June 2023 observations.pdf(Size: 95.02 KB / Downloads: 46)




Users browsing this thread:
1 Guest(s)