Go to Post I don't miss the manufactured magic of Disney because Championships creates magic in itself; wherever the event may be held. - Erin Rapacki [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-11-2015, 19:47
TheChosenOne TheChosenOne is offline
Registered User
FRC #5190
 
Join Date: Nov 2015
Location: North Carolina
Posts: 2
TheChosenOne is an unknown quantity at this point
Exclamation Can Talon SRX Reverse The Slave

Hey, I am trying to reverse the output of the slave motor using a master and slave configuration. I can get both of the motors to run, but I am not completely sure about why the slave doesn't reverse. I looked it up in the Talon SRX Software Reference Manual and it said to toggle the Revere Closed-Loop Output but it didn't do anything.

Our Setup:

Master Motor: On CAN with device number of 11 and has a analog potentiometer connected to it.

Slave Motor: On CAN with device number of 12 and has no encoder connected to it.
Attached Thumbnails
Click image for larger version

Name:	OrWNGym.png
Views:	92
Size:	11.6 KB
ID:	19397  Click image for larger version

Name:	Screenshot_3.png
Views:	80
Size:	10.4 KB
ID:	19398  
Reply With Quote
  #2   Spotlight this post!  
Unread 05-11-2015, 21:58
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Can Talon SRX Reverse The Slave

Add a terminating SetOutput(0) to the signal chain in Begin.vi. It's better explained in Section 21.20 of the Talon SRX software reference manual. Also this limitation won't exist in the FRC2016 season.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-11-2015, 16:12
cmoon71 cmoon71 is offline
Mentor
AKA: Chuck Moon
FRC #3015 (Ranger Robots)
Team Role: Leadership
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Rochester, NY
Posts: 10
cmoon71 is an unknown quantity at this point
Re: Talon SRX CAN closed-loop multi-motor options

Using a single PWM signal using a 3-wire Y-Cable, 2 or more Talon SRXs may be driven by the same input signal command. Is there any do way to do a similar thing using any SRX CAN closed-loop mode (via some kind of legal FIRST master/slave configuration)?
Reply With Quote
  #4   Spotlight this post!  
Unread 13-11-2015, 17:14
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Can Talon SRX Reverse The Slave

A "slave" CAN Talon SRX can be told to follow the output of ANY other CAN Talon SRX, even Talons that are closed-looping.

Please read section 9. Follower Mode in the Talon SRX Software reference Manual.
http://www.ctr-electronics.com/talon...ical_resources

Last edited by ozrien : 13-11-2015 at 17:17.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-11-2015, 19:59
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,659
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Can Talon SRX Reverse The Slave

Quote:
Originally Posted by ozrien View Post
A "slave" CAN Talon SRX can be told to follow the output of ANY other CAN Talon SRX, even Talons that are closed-looping.

Please read section 9. Follower Mode in the Talon SRX Software reference Manual.
http://www.ctr-electronics.com/talon...ical_resources
While not germane to OP, it says there in section 21.15 that the Reverse Closed-Loop Output option is not available in C++. If you need it while using C++, you can just wire the motor backwards (e.g. red to green on the master and red to white on the slave). If you need to reverse it dynamically, you'll need Java or LV, or an updated version of C++. Note that "wiring one of the motors backwards" can also be used with a single motor controller if using Window/Wiper/Door, AM PG, Bosch, or Snow-Blower motors (according to the 2015 control rules R42, second row of table).
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-11-2015, 22:05
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Can Talon SRX Reverse The Slave

Quote:
Originally Posted by GeeTwo View Post
While not germane to OP, it says there in section 21.15 that the Reverse Closed-Loop Output option is not available in C++.
C++ users can absolutely reverse the output of a slave Talon so that is opposite in direction in respect to the master Talon it is following. Section 21.15 describes how to do this.
Reply With Quote
  #7   Spotlight this post!  
Unread 14-11-2015, 07:28
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,659
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Can Talon SRX Reverse The Slave

Quote:
Originally Posted by ozrien View Post
C++ users can absolutely reverse the output of a slave Talon so that is opposite in direction in respect to the master Talon it is following. Section 21.15 describes how to do this.
The document on-line must be out of date. It begins with:
Quote:
Originally Posted by 217-8080, top of page 84
21.15. C++: There is no method to reverse the output of a slave Talon SRX.
Edit: Not being a C++ programmer, I skipped on to the Java section. Looking at it now, I see that it is misleading rather than out of date.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 14-11-2015 at 07:34.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi