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.
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.
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:
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).
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.