| 5 | | For normal environments, I like using RJ45 cables to connect my CANOpen equipment. Quality cables are readily available - just use Ethernet cables. The connector's latch keeps the cables connected, but is a lot quicker to use than screwing/unscrewing DB9 thumbscrews. Many CANOpen drives come with dual RJ45 jacks, which makes daisy chaining equipment easy (much much easier using single DB9M connectors or doing custom cables with poke & crimp connectors). |
|---|
| | 5 | For normal environments, I like using RJ45 cables to connect my CANOpen equipment. Why? |
|---|
| | 6 | * Quality cables are readily available - just use Ethernet cables. |
|---|
| | 7 | * The connector's latch keeps the cables connected, but is a lot quicker to use than screwing/unscrewing DB9 thumbscrews. |
|---|
| | 8 | * Many CANOpen drives come with dual RJ45 jacks, which makes daisy chaining equipment easy (much much easier using single DB9M connectors or doing custom cables with poke & crimp connectors). |
|---|
| 15 | | If all the equipment has dual RJ45 jacks, life is easy. Just start with a RJ45 terminator plug, daisy chain chain the equipment together with Ethernet cables, and then finish with another RJ45 terminator plug. With mixed connectors, you can convert everything to RJ45 (my approach) or convert the RJ45 to another connector. |
|---|
| | 18 | If all the equipment has dual RJ45 jacks, life is easy. Just start with a RJ45 terminator plug, daisy chain chain the equipment together with Ethernet cables, and then finish with another RJ45 terminator plug. |
|---|
| | 19 | |
|---|
| | 20 | With mixed connectors, you can convert everything to RJ45 (my approach) or convert the RJ45 to another connector. |
|---|
| | 21 | * If a CANOpen device only has one RJ45 jack (such as the Ixxat USB-to-CAN compact with RJ45 jack), you can use a RJ45 duplex adapter (Tee) to convert it to two jacks. |
|---|
| | 22 | * If a CANOpen device only has a DB9M connector [CableDbrj it is easy to convert to a RJ45 jack]. |
|---|
| | 23 | |
|---|
| | 24 | == RJ45 Terminators == |
|---|
| | 25 | |
|---|
| | 26 | I haven't found a good source of pre-made RJ45 terminators. But they're easy to make: |
|---|
| | 27 | 1. Take a TIA T-568B RJ45 patch cable and cut it close to the connector (if you don't use a T-568B cable, you'll have to check the color scheme). |
|---|
| | 28 | 1. Strip off the outer insulation. |
|---|
| | 29 | 1. Cut off all the wires except 1 (orange/white) and 2 (orange). |
|---|
| | 30 | 1. Put some heat shrink tubing onto wires 1 and 2. |
|---|
| | 31 | 1. Crimp a 120 Ohm resistor (I used a 1/4 watt) to wires 1 (orange/white) and 2 (orange) |
|---|
| | 32 | 1. Move the heat shrink tubing so it covers up any bare wires, and use a heat gun to shrink it. |
|---|
| | 33 | 1. Put some larger heat shrink tubing over the wires and resistor, and use a heat gun to shrink it. |
|---|
| | 34 | 1. As always, test the result. |
|---|
| | 35 | |
|---|
| | 36 | [[Image(http://factoryswblog.org/wp-content/uploads/2008/rj45_term.jpg)]][[BR]] |
|---|
| | 37 | RJ45 Terminator Plug[[BR]] |
|---|
| | 38 | |
|---|
| | 39 | == RJ45 Troubleshooting == |
|---|
| | 40 | |
|---|
| | 41 | It's simple to make a RJ45 breakout plug so you can easily use an oscilloscope to view the CAN bus: |
|---|
| | 42 | 1. Take a RJ45 patch cable, and cut it. |
|---|
| | 43 | 1. Strip the wires and connect them to 8 position terminal block strip. The terminal block keeps the wires apart and organized, and lets you easily connect a terminating resistor. Some terminal blocks have built-in test points. |
|---|
| | 44 | 1. I like to add a 120-Ohm resistor and use the breakout plug instead of a RJ45 terminator. |
|---|
| | 45 | |
|---|
| | 46 | I have more on troubleshooting [CanCableTrouble here]. |
|---|
| | 47 | |
|---|
| | 48 | '''TIA T-568B Color Scheme''' |
|---|
| | 49 | ||'''Pin Number'''||'''Color'''||'''CANOpen Signal'''|| |
|---|
| | 50 | ||1||Orange/White||CAN_H|| |
|---|
| | 51 | ||2||Orange ||CAN_L|| |
|---|
| | 52 | ||3||Green/White ||CAN_GND|| |
|---|
| | 53 | ||4||Blue ||Reserved|| |
|---|
| | 54 | ||5||Blue/White ||Reserved|| |
|---|
| | 55 | ||6||Green ||(CAN_SHLD)|| |
|---|
| | 56 | ||7||Brown/White ||(CAN_GND)|| |
|---|
| | 57 | ||8||Brown ||(CAN_V+)|| |
|---|
| | 58 | |
|---|