|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Compressor on/off button programming
I`m looking to program one of the buttons on our joystick for our robot so the compressor can be turned on and off during operation. we plan on driving it around for a pep assembly and i don`t want the battery's to get low, plus we wont be using very much of our pneumatics system during it, so a button to turn off the compressor would be very ideal. any help with this would be greatly appreciated
![]() Last edited by kdems : 21-10-2015 at 21:26. Reason: I cant english |
|
#2
|
|||||
|
|||||
|
Re: Compressor on/off button programming
A properly-connected pneumatics system will run the compressor only when the pressure drops below 90 PSI, and will turn it off once it reaches 115 PSI. Unless you have a significant air leak, your compressor will stay off when you're not using air.
If you still want to disable the compressor completely under program control, you can do that. There are a pair of functions in the Compressor palette named Start and Stop. Just invoke the Stop function when the joystick button is pressed (and invoke the Start function when a different button is pressed so you can go back to normal operation). |
|
#3
|
|||
|
|||
|
Re: Compressor on/off button programming
oh thanks im noob at programming
|
|
#4
|
||||
|
||||
|
Re: Compressor on/off button programming
Could you take the breaker out of the compressor circuit for the time being?
Someone can advise if this would be unsafe. I don't see why it would be, but I am not all-knowing. |
|
#5
|
||||
|
||||
|
Re: Compressor on/off button programming
With the new control system, there is no (accessible) breaker for the compressor; power comes directly from the PCM. You can unplug the compressor from the PCM, but then you will have to deal with a dangling wire and remembering how to plug it in when you want to use it. It's probably easier to just disable it with code, and then you can re-enable it remotely without needing to power off the robot, find the wire, etc.
|
|
#6
|
|||
|
|||
|
Re: Compressor on/off button programming
I have some code for a compressor on/off buttons if you still need it.
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|