I need to wire a Talon SRX to be able to use in PWM, when I plug it into the PWM, then apply power, it flashes red, indicating no PWM device has been detected. The manual says to taper the remaining wires away from eachother, as they will not be in use, however when I do that, it remains red. When I plug in the extra wires into the PDP, it flashes orange, which is what I for the time being.
You need to have the other end of that cable set up to a PWM source, that is, the [strIke]DIO [/strIke] PWM port on the RIO. You also have to have code to set up a motor controller on that port on your RIO, and make sure the state is enabled, because PWM outputs are turned off when the RIO is disabled.
Edit: on re-read. What remaining/extra wires are you talking about?
If you mean that you plugged the extra CAN wires into the PDP, the lights are orange because it is connected via CAN. If you can, I would highly recommend connecting all of your Talon SRXs through CAN.
^ this
Do you want feedback and diagnostics? PID run faster than the roboRIO? Ability to switch brake/coast whenever you want? Easy and clean daisy chained wires instead of a mess of PWM cables all going to the roboRIO? Use CAN!
The PWM source is the PWM ports on the roboRIO, not the DIO ports.
The other wires he is talking about are: there are two pairs of yellow/green wires on an SRX, only one pair is used for PWM, and the other two just shouldn’t touch each other.
+1 CAN Jaguars through a serial adapter on a cRIO were rough and not really worth it. CAN Talons on a roboRIO are really rather easy to wire up and get working. About the only advantage I can think of for PWM is that swapping or replacing controllers only requires moving PWM cables around, not logging into the RIO web interface. On the other hand, there’s that giant mess of wires to keep track of and plugged into the right ports…
Okay, thank you for your help everyone. I appreciate it.