Log in

View Full Version : Can Talon SRX Reverse The Slave


TheChosenOne
05-11-2015, 19:47
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
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
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
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-srx.html#product_tabs_technical_resources

GeeTwo
13-11-2015, 19:59
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-srx.html#product_tabs_technical_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
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
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:

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.