Log in

View Full Version : Two Breakouts


VaneRaklan
14-02-2015, 20:59
So I had a question about wiring up more than one pneumatic breakouts. We have two wired up but the RoboRIO is only reading/seeing one of them. Any ideas on why this is or how to fix this?

rtfgnow
14-02-2015, 21:03
Do you have them both wired through the CAN network?

Can you see two if you go to roboRIO-2557.local in your web browser? If so, what are their CAN addresses?

VaneRaklan
14-02-2015, 21:06
Yes we do. They are both wired through the CAN network and when we access the viewer for the RoboRIO, we are only seeing one of the breakouts (ID being 0)

rtfgnow
14-02-2015, 21:09
What are the lights on each device doing?

ozrien
14-02-2015, 21:48
If you have two PCMs on the bus with the same ID they will show up as one device. The "Software Status" will report "There are two devices with this Device ID". Use the webdash to change it's ID and then full-refresh the browser so the treeview updates.

This is better explained in section 2.2 of the Talon SRX Software Reference Manual. Even though you are using PCMs, the webdash features are the same for PCM and Talon for the most part.

rich2202
14-02-2015, 22:38
I'm not a CAN expert, but I think that all PCM's have the same CAN ID. If you want two, then you have to modify one of them to have a different CAN address.

However, why do you need more than one PCM? If you need to run more solenoids, then use the PWM outputs. The MXP port gives you access to 10 to 15 more ports.

Schnabel
15-02-2015, 01:41
However, why do you need more than one PCM? If you need to run more solenoids, then use the PWM outputs. The MXP port gives you access to 10 to 15 more ports.

And how do you suggest they convert a 5v pwm signal into the required 12/24v a solenoid runs on?

rich2202
15-02-2015, 06:07
And how do you suggest they convert a 5v pwm signal into the required 12/24v a solenoid runs on?

Good point. I forgot about that. It would be expensive to use spike relays.

I think the instructions to change the CAN BUS ID of the PCM is here:
http://wpilib.screenstepslive.com/s/4485/m/13503/l/216217-updating-and-configuring-pneumatics-control-module-and-power-distribution-panel

Then, in your software, there should be a way to create a second Pneumatics process with the 2nd ID.