|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
CAN Rules
Quote:
Also, R40 defines acceptable positive and negative wire colors, but I see no rules that define CAN wire colors. |
|
#2
|
||||
|
||||
|
Re: CAN Rules
Quote:
Quote:
|
|
#3
|
|||
|
|||
|
Re: CAN Rules
Though the green and yellow wires in your kit will match the coloring on the connectors so that may be a wise choice.
|
|
#4
|
||||
|
||||
|
Re: CAN Rules
Of course, but virtually the entire control system uses the Red:+, Black: - convention, and you could use White:+, Blue - if you wanted to.
|
|
#5
|
||||
|
||||
|
Re: CAN Rules
The 4 ft of green/yellow wire is enough for some short runs for PDP and PCM connections. We plan on using CAN elsewhere as well.
I have not found a good source for green/yellow twisted pair. I know it doesn't have to be the same color, but it's good consistent reminder and it's our school colors. :-) Does anyone have a good source for the green/yellow twisted pair wire? Thanks |
|
#6
|
||||
|
||||
|
Re: CAN Rules
And while I'm at it, do teams have any recommendations for connectors for the CAN wires?
We are likely to try out the new Talon SRX. They have wires for CAN. How should We connect the CAN wires together? What kind of connector would be good here? We're considering PWM connectors, but they PWM connector notoriously do not lock. Thanks for the ideas. |
|
#7
|
|||
|
|||
|
Re: CAN Rules
Quote:
|
|
#8
|
|||
|
|||
|
Re: CAN Rules
The connectors form Hansen Hobbies are at a price premium. They are just Molex connectors - try digikey http://www.digikey.com/product-detai...2573-ND/134131
Also, electricity is color blind to insulation color. Twisting your pairs isn't absolutely critical on CAN, but not doing so will turn 2 minutes of laziness into two hours of hair pulling. CAN uses a differential signal: both will rest to the same voltage, then when signaling, CAN High gets pulled up a volt or two and CAN low gets pulled down a volt or two and they are compared against each other. If there is noise it'll effect them the same and that differential will remain intact. Good stuff. Where you can find another opportunity to pull your hair out is loose connections on the CAN bus. It is a bus, all CAN High connections should be congruent with each other and all CAN Low connections likewise. If you have a bad connection in the middle, you'll lose not just the other half of devices, but the terminating resistor as well and the whole bus itself... well, in an ideal world. But fortunately theory and reality don't agree and sometimes you'll still have an intact bus. BTW, I'd use WAGO lever locks for the motor controllers. |
|
#9
|
||||
|
||||
|
Re: CAN Rules
Yeah, the green/yellow is helpful for other reasons.
-Makes robot inspection and troubleshooting easier. -The colors are labeled on the roboRIO CAN connector -The colors are present on the PDP/PCM Weidmuller connectors. -The colors match the Talon SRX cable harness It all adds up to a better CAN bus experience. Very well put. |
|
#10
|
|||
|
|||
|
Re: CAN Rules
What we did (temporarily) is just twist the ends together, then wrap with electrical tape. It lets you verify everything works, you can address each Talon, and drive it around.
|
|
#11
|
||||
|
||||
|
It is a differential pair, not signal and ground. It should be a twisted pair.
|
|
#12
|
|||
|
|||
|
Re: CAN Rules
It should be twisted, but does not have to. During beta testing, we were running it using non-twisted to a worse case than using twisted, no issues.
|
|
#13
|
||||
|
||||
|
Re: CAN Rules
|
|
#14
|
|||||
|
|||||
|
Re: CAN Rules
It is not really a "balanced" signal but it is a transmission line. You will need CAN enabled if you wish to use the pneumatics PCM module and turn on your compressor. As always, CAN implementation requires a terminating resistor at each end of the buss. One is provided in the RoboRio (The start of the buss) and another is provided in the PDP (possible end of the buss). If you wish to configure your CAN wiring differently or not use the PDP CAN, then be sure to provide the required termination resistor at the last device in your chain. The majority of CAN problems in the past have centered around the termination resistor.
|
|
#15
|
||||||
|
||||||
|
Re: CAN Rules
Per R61, PDP CAN is required.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|