Lynxmotion Tech Support

www.lynxmotion.com
Join the Accelerator Program
It is currently Wed Jun 19, 2013 6:21 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Labview control issue
PostPosted: Tue Apr 27, 2010 6:12 pm 
Offline
Roboteer

Joined: Wed Sep 30, 2009 9:00 am
Posts: 8
I'm having a bit of trouble controlling my servo properly with labview and i was wondering if anyone could give me a hand.

My problem is that I'm trying to set up a lynx 6 arm with force feedback using an FSR for the force measurement and a potentiometer for the positioning. My goal is that I will have a master and slave gripper, the master gripper was savanged from another lynx 6 arm, and I want to use the force reading from the slave to determine the resistance to the masters movement. The way I have it currently set up is that the potentiometer is connected to the master which feeds the position to the slave. The force value is used as a multiplier to set the position of the master and as the force increases the master will try to open by an increased amount. Anyway the problem i seem to have is that i only send a position to the master when the force is greater than or equal to 1 Newton which results in the servo activating when this condition is met but when the force returns to zero the servo is held at its last position.

Has anyone got any suggestions on how to solve this or does anyone know if the servo can be reset to run freely again?


Top
 Profile  
 
 Post subject: Re: Servo control issue
PostPosted: Wed Apr 28, 2010 8:50 am 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
That Guy wrote:
I want to use the force reading from the slave to determine the resistance to the masters movement.


Um, what? :shock: Sorry, not sure what you are trying to do here.

What is controlling the arm?

Are you writing a program? Can you post the code?

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Top
 Profile  
 
PostPosted: Wed Apr 28, 2010 9:53 am 
Offline
Roboteer

Joined: Wed Sep 30, 2009 9:00 am
Posts: 8
Sorry I made a mess explaining that properly. I have labview controlling the servos and the problem I have is the servo remains active at its last position even if it is not sent any position string. I don't want this because I want the servo to allow me to move it manually when no signal is sent. Can this be achieved or the servo be reset?

Heres the code just in case.
Image


Top
 Profile  
 
PostPosted: Wed Apr 28, 2010 10:23 am 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
What servo controller are you using?

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Top
 Profile  
 
PostPosted: Wed Apr 28, 2010 10:59 am 
Offline
Roboteer

Joined: Wed Sep 30, 2009 9:00 am
Posts: 8
Oh i'm using the SSC-32 and i'm just sending a string to the board.


Top
 Profile  
 
PostPosted: Wed Apr 28, 2010 1:14 pm 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
That Guy wrote:
Oh i'm using the SSC-32 and i'm just sending a string to the board.


Ok then it should be easy to get it to do what you want it to do.

Check out the SSC-32 manuals...
http://www.lynxmotion.com/ViewPage.aspx ... ID=70#serv

The servo motor can be stopped by doing a discrete output. Like this...

#0 L CR

That command makes the #0 output stop generating position pulses and go low. Sending a new servo position will enable the pulses again.

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Top
 Profile  
 
PostPosted: Wed Apr 28, 2010 4:39 pm 
Offline
Roboteer

Joined: Wed Sep 30, 2009 9:00 am
Posts: 8
Thank you so much I really appreciate the quick response times,patience and all round helpfulness of the people on this forum! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group