From my understanding since there are 8 pairs of connections on the PCM, at most 4 solenoids can be connected to the PCM at once. However if we need to use more solenoids, how would you connect and control them
To my knowledge you can have more then 1 PCM on the robot.
You can also use single solenoids that only require one channel if they fulfill your requirements.
Correct. In addition to the one powered from the dedicated port on the PDP, the last row of R59 allows up to three PCMs on each regular PDP port. Just remember to set the CAN addresses!
Also yes, you can use up to eight single solenoid valves per PCM.
Per R37, you can also control solenoids using relays. Simply adding a second PCM is probably easier, more space and weight efficient, depending on the number of solenoids.
Note that there is no requirement the PCM be powered from this port. You may, but be aware that it shares a fuse with the VRM powering your radio (which DOES have to be powered there (per R55). Personally, I don’t want to put any power through that fuse other than the radio, just to ensure I don’t risk overloading it and burning it out during a match!
If planning multiple PCMs all powered through breakers (not fuses), note that the next to last row of R57 means that the PCM powering the compressor must be on its own PDP circuit.
Of course, the compressor could be controlled through a relay, but then it needs its own PDP circuit per R37 + R57.