Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Can Talon SRX Reverse The Slave (http://www.chiefdelphi.com/forums/showthread.php?t=138957)

TheChosenOne 05-11-2015 19:47

Can Talon SRX Reverse The Slave
 
2 Attachment(s)
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.

ozrien 05-11-2015 21:58

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.

cmoon71 13-11-2015 16:12

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)? :rolleyes:

ozrien 13-11-2015 17:14

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

GeeTwo 13-11-2015 19:59

Re: Can Talon SRX Reverse The Slave
 
Quote:

Originally Posted by ozrien (Post 1505081)
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).

ozrien 13-11-2015 22:05

Re: Can Talon SRX Reverse The Slave
 
Quote:

Originally Posted by GeeTwo (Post 1505102)
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.

GeeTwo 14-11-2015 07:28

Re: Can Talon SRX Reverse The Slave
 
Quote:

Originally Posted by ozrien (Post 1505125)
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.


All times are GMT -5. The time now is 04:00.

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