Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Some programming help on compressors and cylinder pressure (http://www.chiefdelphi.com/forums/showthread.php?t=112909)

Roboto 06-02-2013 17:57

Some programming help on compressors and cylinder pressure
 
Programmer here. My team wants to have an on board compressor on the robot this year that turns on when the pressure in the tanks in x and shuts off at y pressure. We can can figure out how to turn it off and on. But any help or insights as to how we can get it to turn off/on at certain pressures would be most appreciated.

Cecil 06-02-2013 19:18

Re: Some programming help on compressors and cylinder pressure
 
As long as you have the pressure switch attached to the high side of your system, it will automatically turn itself off and on when it reaches 120 PSI. Make sure you have the switch wired between the signal and ground pins on Digital Input 1 (the default input for the code).

Alan Anderson 06-02-2013 22:13

Re: Some programming help on compressors and cylinder pressure
 
You'll need to Open the compressor in Begin, then Start it, then Set its RefNum with a handy name such as "Compressor". In Periodic Tasks there's already a bit of code that runs the Compressor Control Loop; you just need to enable it and make sure the RefNum Get name matches what you gave it in Begin.

The Compressor functions are in the WPI Robotics Library >> Actuators >> Compressor function subpalette.


All times are GMT -5. The time now is 12:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi