View Full Version : How to access 2nd Pnuematic Control
ScottRandallWay
27-09-2015, 12:48
Our robot features two pnuematic module controllers. We can access the ports on the first module properly (0-7). I am unclear how to access the solenoids hooked to the second unit. When you create a new Solenoid object one of the constructors takes a module number and a port. I assume I need to use this call and designate the proper module number. Am I on the right track? How do I figure out what the module number is?
Scott
notmattlythgoe
27-09-2015, 13:53
Our robot features two pnuematic module controllers. We can access the ports on the first module properly (0-7). I am unclear how to access the solenoids hooked to the second unit. When you create a new Solenoid object one of the constructors takes a module number and a port. I assume I need to use this call and designate the proper module number. Am I on the right track? How do I figure out what the module number is?
Scott
Next module will be 1.
Joe Ross
27-09-2015, 15:24
Next module will be 1.
The next module will be whatever address you assign in the roboRIO WebDash: http://wpilib.screenstepslive.com/s/4485/m/24166/l/216217-updating-and-configuring-pneumatics-control-module-and-power-distribution-panel. A new address needs to be assigned so that it won't conflict with the existing PCM, as both have an address of 0 by default.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.