PC control robot problem(labview, mastership,move) |
Post Reply
|
| Author | |
chad su
Newbie
Joined: 2010-June-04 Online Status: Offline Posts: 7 |
Quote Reply
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.
|
|
![]() |
|
Niklas Skoglund
Moderator Group
Joined: 2007-December-12 Location: Sweden Online Status: Offline Posts: 109 |
Quote Reply
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 |
|
![]() |
|
Laro88
Senior Member
Joined: 2009-March-21 Location: Denmark Online Status: Offline Posts: 106 |
Quote Reply
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 |
|
![]() |
|
chad su
Newbie
Joined: 2010-June-04 Online Status: Offline Posts: 7 |
Quote Reply
Posted: 2010-July-15 at 03:49 |
|
Edited by chad su - 2010-July-15 at 04:03 |
|
![]() |
|
chad su
Newbie
Joined: 2010-June-04 Online Status: Offline Posts: 7 |
Quote Reply
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. |
|
![]() |
|
chad su
Newbie
Joined: 2010-June-04 Online Status: Offline Posts: 7 |
Quote Reply
Posted: 2010-July-15 at 04:11 |
|
|
|
![]() |
|
Niklas Skoglund
Moderator Group
Joined: 2007-December-12 Location: Sweden Online Status: Offline Posts: 109 |
Quote Reply
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
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 |
|
![]() |
|
Nivek
Newbie
Joined: 2010-July-29 Online Status: Offline Posts: 1 |
Quote Reply
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.
|
|
![]() |
|
Niklas Skoglund
Moderator Group
Joined: 2007-December-12 Location: Sweden Online Status: Offline Posts: 109 |
Quote Reply
Posted: 2010-August-17 at 10:01 |
|
hi chad,
have you made some progress?
|
|
|
Best Regards, Niklas Skoglund
ABB Robotics |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |