Forum Home Forum Home > RobotStudio > Developer Tools
  New Posts New Posts
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

PC control robot problem(labview, mastership,move)

 Post Reply Post Reply
Author
Message
  Topic Search Topic Search  Topic Options Topic Options
chad su View Drop Down
Newbie
Newbie


Joined: 2010-June-04
Online Status: Offline
Posts: 7
  Quote chad su Quote  Post ReplyReply Direct Link To This Post Topic: PC control robot problem(labview, mastership,move)
    Posted: 2010-July-13 at 08:18
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.
Back to Top
Niklas Skoglund View Drop Down
Moderator Group
Moderator Group


Joined: 2007-December-12
Location: Sweden
Online Status: Offline
Posts: 111
  Quote Niklas Skoglund Quote  Post ReplyReply Direct Link To This Post Posted: 2010-July-14 at 14:26
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.  
Best Regards, Niklas Skoglund
ABB Robotics
Back to Top
Laro88 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 2009-March-21
Location: Denmark
Online Status: Offline
Posts: 106
  Quote Laro88 Quote  Post ReplyReply Direct Link To This Post Posted: 2010-July-14 at 15:14
You have mastership inside the curly brackets ( or an exception )

try
            {
                using(master = Mastership.Request(controller.Rapid))
                {
                    try
                    {
                          YOUR CODE GOES HERE

Back to Top
chad su View Drop Down
Newbie
Newbie


Joined: 2010-June-04
Online Status: Offline
Posts: 7
  Quote chad su Quote  Post ReplyReply Direct Link To This Post Posted: 2010-July-15 at 03:49



Edited by chad su - 2010-July-15 at 04:03
Back to Top
chad su View Drop Down
Newbie
Newbie


Joined: 2010-June-04
Online Status: Offline
Posts: 7
  Quote chad su Quote  Post ReplyReply Direct Link To This Post Posted: 2010-July-15 at 03:59

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.

Back to Top
chad su View Drop Down
Newbie
Newbie


Joined: 2010-June-04
Online Status: Offline
Posts: 7
  Quote chad su Quote  Post ReplyReply Direct Link To This Post Posted: 2010-July-15 at 04:11
Even there are no constructors in  version 5.13.225 either
Back to Top
Niklas Skoglund View Drop Down
Moderator Group
Moderator Group


Joined: 2007-December-12
Location: Sweden
Online Status: Offline
Posts: 111
  Quote Niklas Skoglund Quote  Post ReplyReply Direct Link To This Post Posted: 2010-July-15 at 05:21
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
 
IMastershipResource master = Mastership.Request(controller.Rapid);
// do calls to controller
master.Release();
 
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. 
Best Regards, Niklas Skoglund
ABB Robotics
Back to Top
Nivek View Drop Down
Newbie
Newbie


Joined: 2010-July-29
Online Status: Offline
Posts: 1
  Quote Nivek Quote  Post ReplyReply Direct Link To This Post Posted: 2010-July-29 at 02:24
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. 
Back to Top
Niklas Skoglund View Drop Down
Moderator Group
Moderator Group


Joined: 2007-December-12
Location: Sweden
Online Status: Offline
Posts: 111
  Quote Niklas Skoglund Quote  Post ReplyReply Direct Link To This Post Posted: 2010-August-17 at 10:01
hi chad,
 
have you made some progress?
Best Regards, Niklas Skoglund
ABB Robotics
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.53
Copyright ©2001-2008 Web Wiz