![]() |
Programming a compressor
Pleas Help! we are having trouble programming and getting the compressor to work, we have it wired correctly via the port 1 and 1 on the DIO and Relay ports and the compressor does have the pressure sensor hooked up but have not the slightest clue on how i would get it to start running, anything would be of help, preferebly pictures too. thanks!
|
Re: Programming a compressor
Part of a general LabVIEW document I wrote explains how to initialize and configure a compressor. You can read what I wrote here.
|
Re: Programming a compressor
it says i cant access that link because it requires a hightend security
|
Re: Programming a compressor
1 Attachment(s)
Quote:
|
Re: Programming a compressor
Quote:
|
Re: Programming a compressor
yeah it still isnt working, ill provide screenshots and maybe ya guys can tell me whats wrong?
![]() |
Re: Programming a compressor
Did you make sure to put the control loop in Periodic Tasks? You'll need that if you actually want the compressor to do anything.
|
Re: Programming a compressor
yeah its at the bottom here.
![]() |
Re: Programming a compressor
Your code looks fine. I do notice that your code has Relay 3 listed for the compressor in Begin, but you said in your original post that you have the compressor connected to port 1 on the relay module. That might be your problem...
|
Re: Programming a compressor
oh yes, i noticed that. that wasw because i was testing something eright before i posted that, but that isnt the problem
|
Re: Programming a compressor
wish i knew why it wont work =(
|
Re: Programming a compressor
Are you sure everything is wired correctly? Can you take a multimeter and see if the spike is sending voltage to the compressor? What colour is the LED on the spike? What is the pressure switch saying (can also be checked with a multimeter)?
|
Re: Programming a compressor
Quote:
|
Re: Programming a compressor
also it connected to a spike relay but idk if thats what causing the issue.. just know its still not working
|
Re: Programming a compressor
Quote:
Quote:
Quote:
Take a look at the Signal Wiring Diagram and the Power Wiring Diagram to see how to wire the pressure switch and a spike relay. |
Re: Programming a compressor
Quote:
|
Re: Programming a compressor
so looks like it was a bad spike relay. compressor works fine now and even more issues arise today such as the trigger button not working even though before it did and now our motor that is suppose to be triggered by it turns on when teleop is enabled =/
|
Re: Programming a compressor
That happened to us yesterday evening. We added a servo, and suddenly one of the other motors decided to run backwards full speed. It turns out that the "database" we use to track robot I/O had duplicated a bunch of PWM channels.
Read the Diagnostics window on the Driver Station. It might be telling you something about trying to open a PWM output twice. |
| All times are GMT -5. The time now is 22:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi