|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Wiring Multiple PCMs
Our team is using lots of pneumatics this year, enough that we need 2 PCMs on the robot. There was not enough room on the power distribution board to wire 2 PCMs and a VRM, so we split the wires for one to power both of the PCMs, which may be problematic considering most people say that each PCM has to be on its own circuit.
However, even if we can power them both, we do not know how we would wire the CAN wires to the power distribution board, considering there are only two spots to connect CAN wires (one for the roboRIO and another free one). We can't split those wires because we need to talk to each PCM individually with the code. If any of you guys have been able to pull this off, could you let us know how you wired it? Worst case scenario we can always get rid of two of our solenoids and split the air instead (bringing us back down to 1 PCM), but we would really like to have 2. Thanks! |
|
#2
|
|||||
|
|||||
|
Re: Wiring Multiple PCMs
CAN is wired in series, you just put the additional PCM in the chain...it has two places to put pairs of wires.
|
|
#3
|
||||
|
||||
|
Re: Wiring Multiple PCMs
Make sure that each PCM has its own CAN ID.
https://wpilib.screenstepslive.com/s...ribution-panel The solenoids on the second PCM need to use the second CAN ID. |
|
#4
|
|||
|
|||
|
Re: Wiring Multiple PCMs
Quote:
As for CAN, it's a bus. Wire from the roboRIO to the first pair of ports on 1 PCM, use the second pair of ports to wire to the second PCM, which then goes to the PDP. |
|
#5
|
||||
|
||||
|
Re: Wiring Multiple PCMs
But don't you need a spot to wire the roboRIO as well? Or is there somewhere else it can go?
|
|
#6
|
|||
|
|||
|
Re: Wiring Multiple PCMs
Quote:
If your question is about canbus: Roborio -> pcm1 -> pcm2 -> pdp Last edited by rich2202 : 19-02-2016 at 13:09. |
|
#7
|
||||
|
||||
|
Re: Wiring Multiple PCMs
Got it thank you so much!
|
|
#8
|
|||||
|
|||||
|
Re: Wiring Multiple PCMs
The order does not matter for CAN. You can also put the PCMs after the PDP on a bus as short as an FRC robot.
|
|
#9
|
|||
|
|||
|
Re: Wiring Multiple PCMs
Quote:
On a can bus as short as the FRC robot, you could get away from best practices. But, they make it easy for a team to be compliant, so why not? |
|
#10
|
|||||
|
|||||
|
Re: Wiring Multiple PCMs
Quote:
CAN also allows for unterminated stubs from the bus, at 1mbps the recommended length without any electrical design thought is 0.3m. With careful design this can be increased, on a full-length bus. A FRC CAN bus with only a roboRIO, two PCM's and a PDP could be below the recommended length for an unterminated stub. You definitely need at least one resistor to pull the bus to a recessive state, but the entire bus should be below the length where reflections are significant (~2m). It's also likely that the length after the PDP could be less than 0.3m and be within the spec for an unterminated stub. tl;dr CAN is very tolerant of non-ideal bus layout if the wires are relatively short. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|