PC control robot problem(labview, mastership,move)
chad su
✭
hi,everyone , I have done c# language to control our robot with sending messaging to rapid for moving robot. But I still have quesitons.Its jsut message method. Is there any other way to control robot move?
now I am trying to control robot with Labview. I wish there are someone who can discuss with me.In Labview, there are some funsiton of .net can not be used. For example,
if we want to control robot, we need to have access of mastership. In c# or vb, its
no problem to using mastership. But when I want to use the .net in Labview, I can not use
the mastership. There are no structure in mastership. How can I find the other way? Can anyone or ABB can provide the .net structure. Thank you very very very much.
0
Comments
-
Hi,using Messaging for this purpose is the right way to go. There are no methods in PC SDK which lets you execute a movement directly.About the problems you are facing in LabView, can you tell me more?What do you mean with "there is no structure for mastership"?Are you familiar with taking mastership using C# from a regular PC SDK application.If you want you can post a screenshot or copy the error message you get from LabView.0
-
You have mastership inside the curly brackets ( or an exception )
try
{
using(master = Mastership.Request(controller.Rapid))
{
try
{
YOUR CODE GOES HERE
0 -
chad su2010-07-15 04:03:550
-
As the photos I post, lets see the networkscanner first. For this funciton , I can use it from our .NET . First we can choose our objects from the list, like ABB.ROBOTICS or ABB.ROBOTCS.CONTROLLERS...,ETC. After you choose the objects, you can use its constructors. So I can use networkscanner.Apparently the button OK can be pressed. So it can excute in Block Diagram. But for mastership,it just show that the class contains no public constructors. So I can not use it , the OK button either. That is what I say.So I really hope someone can help me. Thank you.
0 -
0
-
Hi,
thanks for the screenshots.The Masterhip class cannot be created by the client (your code), but is used from the property Controller.Mastership.You have to try to translate the following lines of C# to LabView[CODE]IMastershipResource master = Mastership.Request(controller.Rapid);// do calls to controllermaster.Release();[/CODE]as Laro said you normally put the call to Request(...) in a using{} clause, which will help you call Release() when the using{} exists. But as this is C# syntactic suger, lets start with the raw functionality which might be easier when you port it to LabView.0 -
Hi,I have been using Labview 8.6 to interface with ACS550-u1 controller from ABB and can't seem to get it to link up. It keeps stating an 6106 error and says its timing out after its reached a modbus. The vi I'm using now has modbusing in it. Do I need to do that or can I just use a frequency generator vi to control the motor. Do anyone have a program already written for this type of control or know where I can go to find one. I went to NI's forum and the code that they had didn't work either, it stated a similar error. Any help would greatly be appreciated.0
-
hi chad,have you made some progress?0
-
Dear,The LabVIEW code to get the mastership of the controller is like this:Best regards,binbin
0 -
I'm having the same issues as above - "Mastership" contains no public constructors. It seems binbin has imported it, however. Can anyone provide an update on this?0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings